ACK_DISPLAY_ERRORS
public
mixed
ACK_DISPLAY_ERRORS
= 2
public
mixed
ACK_DISPLAY_ERRORS
= 2
public
mixed
ADMIN_IMAGES_STEP
= 5
Defines the bitmask for load order priority of admin plugins
public
mixed
ADMIN_PLUGIN
= 4096
public
mixed
ADMIN_RIGHTS
= 1
public
mixed
ALBUM_FOLDER_EMPTY
= \getAlbumFolder('')
public
mixed
ALBUM_FOLDER_SERVERPATH
= \getAlbumFolder(\SERVERPATH)
public
mixed
ALBUM_FOLDER_WEBPATH
= \getAlbumFolder(\WEBPATH)
public
mixed
ALBUM_MENU_COUNT
= \getOption('print_album_menu_count')
public
mixed
ALBUM_MENU_SHOWSUBS
= \getOption('print_album_menu_showsubs')
Defines the name of the albums folder
public
mixed
ALBUMFOLDER
= 'albums'
public
mixed
ALL_ALBUMS_RIGHTS
= \VIEW_ALL_RIGHTS
public
mixed
ALL_NEWS_RIGHTS
= \VIEW_ALL_RIGHTS
public
mixed
ALL_PAGES_RIGHTS
= \VIEW_ALL_RIGHTS
Defines the name of the backup folder
public
mixed
BACKUPFOLDER
= 'backup'
public
mixed
BASEPATH
= true
public
mixed
CACHE_HASH_LENGTH
= \strlen(\sha1(\strval(\HASH_SEED)))
Defines the name of the image cache folder
public
mixed
CACHEFOLDER
= 'cache'
Defines if the server file system is case insensitive
public
mixed
CASE_INSENSITIVE
= \file_exists(\dirname(__FILE__) . '/VERSION.PHP')
public
mixed
CHMOD_VALUE
= \fileperms(\dirname(__FILE__)) & 0666
Defines the bitmask for load order priority of class plugins
public
mixed
CLASS_PLUGIN
= 8192
public
mixed
COMMENT_BODY_REQUIRED
= 16
public
mixed
COMMENT_DATACONFIRMATION
= 64
public
mixed
COMMENT_EMAIL_REQUIRED
= 1
public
mixed
COMMENT_MATHQUIZ
= 256
public
mixed
COMMENT_NAME_REQUIRED
= 2
public
mixed
COMMENT_SEND_EMAIL
= 32
public
mixed
COMMENT_TEXTQUIZ
= 128
public
mixed
COMMENT_WEB_REQUIRED
= 4
public
mixed
COMMENTS_PER_PAGE
= \max(1, \getOption('comment_form_comments_per_page'))
Defines the name of the shared "common" folder within/for core extensions
public
mixed
COMMON_FOLDER
= \PLUGIN_FOLDER . '/common'
Defines the name of the config file
public
mixed
CONFIGFILE
= 'zenphoto.cfg.php'
public
mixed
COOKIE_PATH
= \WEBPATH
public
mixed
COOKIE_PERSISTENCE
= $persistence
public
mixed
CUSTOM_OPTION_PREFIX
= '_ZP_CUSTOM_'
Defines the name of the zp-data folder outside the core folder
public
mixed
DATA_FOLDER
= 'zp-data'
public
mixed
DATA_MOD
= \fileperms(\SERVERPATH . '/' . \DATA_FOLDER . '/' . \CONFIGFILE) & 0777
public
mixed
DATABASE_DESIRED_VERSION
= '5.7.0'
public
mixed
DATABASE_DESIRED_VERSION
= '0.0.0'
public
mixed
DATABASE_MARIADB_DESIRED_VERSION
= '10.1.0'
public
mixed
DATABASE_MARIADB_DESIRED_VERSION
= '0.0.0'
public
mixed
DATABASE_MARIADB_MIN_VERSION
= '5.5.0'
public
mixed
DATABASE_MARIADB_MIN_VERSION
= '0.0.0'
public
mixed
DATABASE_MIN_VERSION
= '5.5.3'
public
mixed
DATABASE_MIN_VERSION
= '0.0.0'
public
mixed
DATABASE_PREFIX
= $mysql_prefix
public
mixed
DATABASE_SOFTWARE
= $_zp_conf_vars['db_software']
public
mixed
DATABASE_SOFTWARE
= 'Database setup'
public
mixed
DATE_FORMAT
= \trim(\strval(\getOption('date_format')))
public
mixed
DATETIME_DISPLAYFORMAT
= \DATETIME_FORMAT
public
mixed
DATETIME_FORMAT
= \DATE_FORMAT . ' ' . \TIME_FORMAT
set to true to log 404 error processing debug information.
public
mixed
DEBUG_404
= isset($_zp_conf_vars['debug_404']) && $_zp_conf_vars['debug_404'] || \TEST_RELEASE
set to true to supplies the calling sequence with zp_error messages
public
mixed
DEBUG_ERROR
= isset($_zp_conf_vars['debug_error']) && $_zp_conf_vars['debug_error'] || \TEST_RELEASE
set to true to log start/finish of exif processing. Useful to find problematic images.
public
mixed
DEBUG_EXIF
= isset($_zp_conf_vars['debug_exif']) && $_zp_conf_vars['debug_exif']
set to true to log filter application sequence.
public
mixed
DEBUG_FILTERS
= isset($_zp_conf_vars['debug_filters']) && $_zp_conf_vars['debug_filters']
set to true to log image processing debug information.
public
mixed
DEBUG_IMAGE
= isset($_zp_conf_vars['debug_image']) && $_zp_conf_vars['debug_image']
set to true to flag image processing errors.
public
mixed
DEBUG_IMAGE_ERR
= isset($_zp_conf_vars['debug_image_err']) && $_zp_conf_vars['debug_image_err'] || \TEST_RELEASE
used for examining language selection problems
public
mixed
DEBUG_LOCALE
= isset($_zp_conf_vars['debug_locale']) && $_zp_conf_vars['debug_locale']
public
mixed
DEBUG_LOG_SIZE
= \getOption('debug_log_size')
set to true to log admin saves and login attempts
public
mixed
DEBUG_LOGIN
= isset($_zp_conf_vars['debug_login']) && $_zp_conf_vars['debug_login']
set to true to log plugin load sequence.
public
mixed
DEBUG_PLUGINS
= isset($_zp_conf_vars['debug_plugins']) && $_zp_conf_vars['debug_plugins']
public
mixed
EDITOR_SANITIZE_LEVEL
= 1
public
mixed
EDITOR_SANITIZE_LEVEL
= 4
public
mixed
EDITOR_SANITIZE_LEVEL
= 4
public
mixed
ELFINDER_PHP_ROOT_PATH
= \dirname(__FILE__)
public
mixed
ENT_SUBSTITUTE
= \defined('ENT_IGNORE') ? \ENT_IGNORE : 8
public
mixed
EXACT_TAG_MATCH
= \getOption('exact_tag_match')
set to true to log the "EXPLAIN" of SELECT queries in the debug log
public
mixed
EXPLAIN_SELECTS
= isset($_zp_conf_vars['explain_selects']) && $_zp_conf_vars['explain_selects']
Defines the bitmask for load order priority of feature plugins
public
mixed
FEATURE_PLUGIN
= 2048
public
mixed
FILE_MOD
= \CHMOD_VALUE & 0666
public
mixed
FILESYSTEM_CHARSET
= $data
public
mixed
FILESYSTEM_CHARSET
= 'UTF-8'
public
mixed
FOLDER_MOD
= \CHMOD_VALUE | 0311
public
mixed
FULLIMAGE_WATERMARK
= \getOption('fullsizeimage_watermark')
public
mixed
FULLWEBPATH
= \SERVER_HTTP_HOST . \WEBPATH
public
mixed
GALLERY_SECURITY
= @$data['gallery_security']
public
mixed
GALLERY_SESSION
= @$data['album_session']
public
mixed
GD_FREETYPE
= (bool) $this->info['FreeType']
public
mixed
GD_FREETYPE_SAMPLE
= 'The quick brown fox jumps over the lazy dog'
public
mixed
GD_FREETYPE_SAMPLE_CHARS
= strlen('GD_FREETYPE_SAMPLE')
public
mixed
GETID3_HELPERAPPSDIR
= $helperappsdir . DIRECTORY_SEPARATOR
public
mixed
GETID3_INCLUDEPATH
= \dirname(__FILE__) . \DIRECTORY_SEPARATOR
public
mixed
GETID3_INCLUDEPATH
= \SERVERPATH . '/' . \ZENFOLDER . '/' . \PLUGIN_FOLDER . '/class-video/getid3/'
public
mixed
GETID3_LIBXML_OPTIONS
= \LIBXML_NOENT | \LIBXML_NONET | \LIBXML_NOWARNING
public
mixed
GETID3_OS_ISWINDOWS
= \stripos(\PHP_OS, 'WIN') === 0
public
mixed
GETID3_TEMP_DIR
= $temp_dir
public
mixed
GOOGLE_SITEMAP
= \getOption('sitemap_google')
public
mixed
GRAPHICS_LIBRARY
= $_zp_cachefile_suffix['Library']
public
mixed
HASH_SEED
= \getOption('extra_auth_hash_text')
public
mixed
HTACCESS_VERSION
= '1.4.12'
public
mixed
IM_SUFFIX
= \getOption('mod_rewrite_image_suffix')
public
mixed
IMAGE_CACHE_SUFFIX
= \getOption('image_cache_suffix')
public
mixed
IMAGE_SORT_DIRECTION
= \getOption('image_sortdirection')
public
mixed
IMAGE_SORT_TYPE
= \getOption('image_sorttype')
public
mixed
IMAGE_WATERMARK
= \getOption('fullimage_watermark')
public
mixed
IMAGEMAGICK_REQUIRED_VERSION
= '6.3.8'
public
mixed
IMAGICK_REQUIRED_VERSION
= '3.0.0'
public
mixed
IP_TIED_COOKIES
= \getOption('IP_tied_cookies')
public
mixed
LIST_RIGHTS
= \NO_RIGHTS
public
mixed
LOCAL_CHARSET
= $data
public
mixed
LOCAL_CHARSET
= 'UTF-8'
public
mixed
LOCALE_TYPE
= 0
public
mixed
LOGS_MOD
= \DATA_MOD
public
mixed
MANAGED_OBJECT_RIGHTS_EDIT
= 1
public
mixed
MANAGED_OBJECT_RIGHTS_UPLOAD
= 2
public
mixed
MANAGED_OBJECT_RIGHTS_VIEW
= 4
public
mixed
MAX_SIZE
= \getOption('image_max_size')
public
mixed
MEMBERS_ONLY_COMMENTS
= \getOption('comment_form_members_only')
public
mixed
MENU_TRUNCATE_INDICATOR
= \getOption('menu_truncate_indicator')
public
mixed
MENU_TRUNCATE_STRING
= \getOption('menu_truncate_string')
public
mixed
METATAG_LOCALE_TYPE
= 0
public
mixed
MOD_REWRITE
= \getOption('mod_rewrite')
Defines the mutex folder
public
mixed
MUTEX_FOLDER
= '.mutex'
public
mixed
NEWS_POSITION_NORMAL
= 0
public
mixed
NEWS_POSITION_STICK_TO_TOP
= 9
public
mixed
NEWS_POSITION_STICKY
= 1
public
mixed
NO_WATERMARK
= '!'
public
mixed
OBJECT_CACHE_DEPTH
= 150
used in sorting the images within and album
public
mixed
OFFSET_PATH
= 1
This script is used to create dynamic albums from a search.
public
mixed
OFFSET_PATH
= 1
admin-edit.php editing of albums.
public
mixed
OFFSET_PATH
= 1
user_groups log--tabs
public
mixed
OFFSET_PATH
= 1
provides the Options tab of admin
public
mixed
OFFSET_PATH
= 1
provides the Plugins tab of admin
public
mixed
OFFSET_PATH
= 1
This template is used to reload metadata from images. Running it will process the entire gallery, supplying an album name (ex: loadAlbums.php?album=newalbum) will only process the album named.
public
mixed
OFFSET_PATH
= 2
provides the TAGS tab of admin
public
mixed
OFFSET_PATH
= 1
Theme file editor
public
mixed
OFFSET_PATH
= 1
provides the Themes tab of admin
public
mixed
OFFSET_PATH
= 1
public
mixed
OFFSET_PATH
= 1
provides the Upload tab of admin
public
mixed
OFFSET_PATH
= 1
provides the Options tab of admin
public
mixed
OFFSET_PATH
= 1
admin.php is the main script for administrative functions.
public
mixed
OFFSET_PATH
= 1
public
mixed
OFFSET_PATH
= 1
public
mixed
OFFSET_PATH
= 1
public
mixed
OFFSET_PATH
= 0
public
mixed
OFFSET_PATH
= 2
public
mixed
OFFSET_PATH
= 1
public
mixed
OFFSET_PATH
= 2
public
mixed
OFFSET_PATH
= 2
Used for changing permissions on a mass basis
public
mixed
OFFSET_PATH
= 2
Used for setting theme/plugin default options
public
mixed
OFFSET_PATH
= 2
Used for setting theme/plugin default options
public
mixed
OFFSET_PATH
= 2
public
mixed
OFFSET_PATH
= 3
Database quick reference
public
mixed
OFFSET_PATH
= 3
Detailed Gallery Statistics
public
mixed
OFFSET_PATH
= 3
This plugin shows statistical graphs and info about your gallery's images and albums
Displays which HTTP headers your site sends
public
mixed
OFFSET_PATH
= 3
Displays locale information of the system
public
mixed
OFFSET_PATH
= 3
Maintenance mode utility based on the former site_upgrade plugin
public
mixed
OFFSET_PATH
= 3
Displays the PHP configuration information
public
mixed
OFFSET_PATH
= 3
Use this utility to reset your album thumbnails to either "random" or from an ordered field query
public
mixed
OFFSET_PATH
= 3
GDPR data export tool
public
mixed
OFFSET_PATH
= 3
This template is used to generate cache images. Running it will process the entire gallery, supplying an album name (ex: loadAlbums.php?album=newalbum) will only process the album named.
public
mixed
OFFSET_PATH
= 3
Passing clear=on will purge the designated cache before generating cache images
This template is used to generate cache images. Running it will process the entire gallery, supplying an album name (ex: loadAlbums.php?album=newalbum) will only process the album named.
public
mixed
OFFSET_PATH
= 3
Passing clear=on will purge the designated cache before generating cache images
Zenphoto site cloner
public
mixed
OFFSET_PATH
= 4
public
mixed
OFFSET_PATH
= 4
provides the Comments tab of admin
public
mixed
OFFSET_PATH
= 1
public
mixed
OFFSET_PATH
= 3
Check for use of deprecated functions
public
mixed
OFFSET_PATH
= 4
Detailed Gallery Statistics
public
mixed
OFFSET_PATH
= 3
This plugin shows statistical graphs and info about your gallery's images and albums
This plugin is dependent on the css of the gallery_statistics utility plugin!
public
mixed
OFFSET_PATH
= 3
public
mixed
OFFSET_PATH
= 3
The Matomo statistis page if widgets are defined
public
mixed
OFFSET_PATH
= 3
public
mixed
OFFSET_PATH
= 4
public
mixed
OFFSET_PATH
= 4
public
mixed
OFFSET_PATH
= 3
public
mixed
OFFSET_PATH
= 4
public
mixed
OFFSET_PATH
= 3
This is the "rewrite rules" tab
public
mixed
OFFSET_PATH
= 3
Collects and analyzes searches
public
mixed
OFFSET_PATH
= 4
public
mixed
OFFSET_PATH
= 3
Sitemap Tools
public
mixed
OFFSET_PATH
= 3
Tool to generate sitemaps
public
mixed
OFFSET_PATH
= 3
public
mixed
OFFSET_PATH
= 3
public
mixed
OFFSET_PATH
= 3
public
mixed
OFFSET_PATH
= 3
public
mixed
OFFSET_PATH
= 3
public
mixed
OFFSET_PATH
= 3
user_groups plugin--tabs
public
mixed
OFFSET_PATH
= 4
user_groups plugin--tabs
public
mixed
OFFSET_PATH
= 4
public
mixed
OFFSET_PATH
= 3
zenpage admin-categories.php
public
mixed
OFFSET_PATH
= 4
zenpage admin-edit.php
public
mixed
OFFSET_PATH
= 4
zenpage admin-news-articles.php
public
mixed
OFFSET_PATH
= 4
zenpage admin-pages.php
public
mixed
OFFSET_PATH
= 4
public
mixed
OPEN_IMAGE_CACHE
= !\getOption('protected_image_cache')
public
mixed
OPTION_TYPE_CHECKBOX
= 1
public
mixed
OPTION_TYPE_CHECKBOX_ARRAY
= 6
public
mixed
OPTION_TYPE_CHECKBOX_UL
= 7
public
mixed
OPTION_TYPE_CLEARTEXT
= 9
public
mixed
OPTION_TYPE_COLOR_PICKER
= 8
public
mixed
OPTION_TYPE_CUSTOM
= 2
public
mixed
OPTION_TYPE_NOTE
= 10
public
mixed
OPTION_TYPE_PASSWORD
= 11
public
mixed
OPTION_TYPE_RADIO
= 4
public
mixed
OPTION_TYPE_RICHTEXT
= 12
public
mixed
OPTION_TYPE_SELECTOR
= 5
public
mixed
OPTION_TYPE_TEXTAREA
= 3
Generates the HTML for custom options (e.g. theme options, plugin options, etc.) Note: option names may not contain '.', '+', nor '%' as PHP POST handling will replace these with an underscore.
public
mixed
OPTION_TYPE_TEXTBOX
= 0
public
mixed
PHP_INT_MAX
= 2147483647
public
mixed
PHP_INT_MIN
= ~PHP_INT_MAX
Defines the name of the core extensions folder
public
mixed
PLUGIN_FOLDER
= 'zp-extensions'
Defines the bitmask for load order priority of standard plugins
public
mixed
PLUGIN_PRIORITY
= 1023
public
mixed
PLUGINS_PER_PAGE
= \max(1, \getOption('plugins_per_page'))
public
mixed
PLUGINS_PER_PAGE
= \max(1, \getOption('plugins_per_page'))
public
mixed
PRIMARY_INSTALLATION
= true
public
mixed
PROTOCOL
= 'http'
public
mixed
PROTOCOL
= 'http'
public
mixed
RECORD_LIMIT
= 5
public
mixed
SAFE_MODE
= \false
public
mixed
SAFE_MODE_ALBUM_SEP
= ''
public
mixed
SEARCH_CACHE_DURATION
= \getOption('search_cache_duration')
public
mixed
SEARCH_DURATION
= 3000
public
mixed
SEO_FULLWEBPATH
= \FULLWEBPATH
public
mixed
SEO_FULLWEBPATH
= \seo_locale::localePath(\true)
public
mixed
SEO_WEBPATH
= \WEBPATH
public
mixed
SEO_WEBPATH
= \seo_locale::localePath()
public
mixed
SERVER_HTTP_HOST
= \PROTOCOL . "://" . $_SERVER['HTTP_HOST']
public
mixed
SERVER_PROTOCOL
= 'http'
public
mixed
SERVERCACHE
= \SERVERPATH . '/' . \CACHEFOLDER
public
mixed
SERVERPATH
= $const_serverpath
public
mixed
SERVERPATH
= $_zp_setup_serverpath
public
mixed
SERVERPATH
= $_zp_setup_serverpath
public
mixed
SETUPLOG
= $_zp_setup_serverpath . '/' . \DATA_FOLDER . '/setup.log'
public
mixed
SITE_LOCALE
= 'en_US'
public
mixed
SITEMAP_CHUNK
= \getOption('sitemap_processing_chunk')
public
mixed
SITEMAP_LOCALE_TYPE
= 0
Defines sort flag case
public
mixed
SORT_FLAG_CASE
= 0
Defines if sorting should be natural order
public
mixed
SORT_NATURAL
= 0
Defines the name of the html cache folder
public
mixed
STATIC_CACHE_FOLDER
= "cache_html"
Defines if symlinks are supported on the server
public
mixed
SYMLINK
= \function_exists('symlink') && \strpos(@\ini_get("suhosin.executor.func.blacklist"), 'symlink') === \false
Enables test release mode, supports the markRelease plugin
public
mixed
TEST_RELEASE
= isset($_zp_conf_vars['test_release']) && $_zp_conf_vars['test_release'] || \preg_match('~-[^RC]~', \ZENPHOTO_VERSION)
public
mixed
TEXT_INPUT_SIZE
= 48
public
mixed
TEXT_INPUT_SIZE_SHORT
= 30
public
mixed
TEXTAREA_COLUMNS
= 50
public
mixed
TEXTAREA_COLUMNS_SHORT
= 32
Defines the bitmask for load order priority of theme plugins
public
mixed
THEME_PLUGIN
= 1024
Defines the name of the themes folder
public
mixed
THEMEFOLDER
= 'themes'
public
mixed
THUMB_WATERMARK
= \getOption('Image_watermark')
public
mixed
TIME_FORMAT
= \trim(\strval(\getOption('time_format')))
public
mixed
UPLOAD_ERR_BLOCKED
= -2
Initialize globals for Admin
public
mixed
UPLOAD_ERR_QUOTA
= -1
Defines name of the non albums upload folder
public
mixed
UPLOAD_FOLDER
= 'uploaded'
public
mixed
USE_CAPTCHA
= 8
Defines the user 3rd party plugin folder outside the Zenphoto core folder
public
mixed
USER_PLUGIN_FOLDER
= 'plugins'
public
mixed
USER_RIGHTS
= \NO_RIGHTS
public
mixed
USERS_PER_PAGE
= \max(1, \getOption('users_per_page'))
public
mixed
USERS_PER_PAGE
= \max(1, \getOption('users_per_page'))
public
mixed
UTF8_IMAGE_URI
= \getOption('UTF8_image_URI')
Defines the name of the core utlitlites folder
public
mixed
UTILITIES_FOLDER
= 'utilities'
public
mixed
VIEW_ALL_RIGHTS
= \ALL_ALBUMS_RIGHTS | \ALL_PAGES_RIGHTS | \ALL_NEWS_RIGHTS
public
mixed
VIEW_FULLIMAGE_RIGHTS
= \NO_RIGHTS
public
mixed
VIEW_GALLERY_RIGHTS
= \NO_RIGHTS
public
mixed
VIEW_SEARCH_RIGHTS
= \NO_RIGHTS
public
mixed
WATERMARK_FULL
= 4
public
mixed
WATERMARK_IMAGE
= 1
public
mixed
WATERMARK_THUMB
= 2
public
mixed
WEBPATH
= $const_webpath
public
mixed
WEBPATH
= $const_webpath
Defines the name of the Zenphoto core folder (zp-core)
public
mixed
ZENFOLDER
= 'zp-core'
Some global variable setup
public
mixed
ZENPAGE_COMBINEWS
= \false
public
mixed
ZENPHOTO_LOCALE
= \setMainDomain()
Defines the Zenphoto version
public
mixed
ZENPHOTO_VERSION
= '1.6.5'
public
mixed
ZP_ALBUM
= 2
public
mixed
ZP_ALBUM_LINKED
= 64
public
mixed
ZP_ARTICLES_PER_PAGE
= \getOption("zenpage_articles_per_page") >= 1 ? \getOption("zenpage_articles_per_page") : 1
public
mixed
ZP_COMBINEWS
= \false
public
mixed
ZP_COMMENT
= 8
public
mixed
ZP_IMAGE
= 4
public
mixed
ZP_IMAGE_LINKED
= 128
public
mixed
ZP_INDEX
= 1
Defines the date of the current session for use as a last modified date within the page header()
public
mixed
ZP_LAST_MODIFIED
= \gmdate('D, d M Y H:i:s') . ' GMT'
public
mixed
ZP_NEWS_ENABLED
= \false
public
mixed
ZP_PAGES_ENABLED
= \false
public
mixed
ZP_READ_MORE
= \getOption("zenpage_read_more")
public
mixed
ZP_SEARCH
= 16
public
mixed
ZP_SEARCH_LINKED
= 32
public
mixed
ZP_SHORTEN_LENGTH
= \getOption('zenpage_text_length')
public
mixed
ZP_SHORTENINDICATOR
= $shortenindicator = \getOption('zenpage_textshorten_indicator')
public
mixed
ZP_ZENPAGE_NEWS_ARTICLE
= 512
public
mixed
ZP_ZENPAGE_NEWS_CATEGORY
= 1024
public
mixed
ZP_ZENPAGE_NEWS_DATE
= 2048
public
mixed
ZP_ZENPAGE_NEWS_PAGE
= 256
public
mixed
ZP_ZENPAGE_PAGE
= 4096
public
mixed
ZP_ZENPAGE_SINGLE
= 8192
Print the footer <div> for the bottom of all admin pages.
printAdminFooter([string $addl = '' ]) : mixed
additional text to output on the footer.
datepickerJS() : mixed
Print the header for all admin pages. Starts at <DOCTYPE> but does not include the </head> tag, in case there is a need to add something further.
printAdminHeader(string $tab[, string $subtab = NULL ]) : mixed
the album page
the sub-tab if any
printSortableHead() : mixed
Print the html required to display the ZP logo and links in the top section of the admin page.
printLogoAndLinks() : mixed
Print the nav tabs for the admin section. We determine which tab should be highlighted from the $_GET['page']. If none is set, we default to "home".
printTabs() : mixed
getSubtabs() : mixed
printSubtabs() : mixed
setAlbumSubtabs(mixed $album) : mixed
Roughly fixes outdated usages of old admin "tab" globals and joins them with the actual globals.
handleDeprecatedMenuGlobals() : mixed
and also throws deprecation notices about this.
Used for checkbox and radiobox form elements to compare the $checked value with the $current.
checked(mixed $checked, mixed $current) : mixed
Echos the attribute checked="checked
customOptions(mixed $optionHandler[, mixed $indent = "" ][, mixed $album = NULL ][, mixed $showhide = false ][, mixed $supportedOptions = NULL ][, mixed $theme = false ][, mixed $initial = 'none' ][, mixed $extension = NULL ]) : mixed
processCustomOptionSave(mixed $returntab[, mixed $themename = NULL ][, mixed $themealbum = NULL ]) : mixed
Set defaults for standard theme options incase the theme has not done so
standardThemeOptions(string $theme, mixed $album) : mixed
Encodes for use as a $_POST index
postIndexEncode(string $str) : mixed
Decodes encoded $_POST index
postIndexDecode(string $str) : string
Prints radio buttons from an array
generateRadiobuttonsFromArray(string $currentvalue, string $list, string $option[, bool $behind = false ][, mixed $class = 'checkboxlabel' ][, mixed $disabled = NULL ]) : mixed
The current selected value
the array of the list items form is localtext => buttonvalue
the name of the option for the input field name
set true to have the "text" before the button
Creates the body of an unordered list with checkbox label/input fields (scrollable sortables)
generateUnorderedListFromArray(array<string|int, mixed> $currentValue, array<string|int, mixed> $list, string $prefix, string $alterrights, bool $sort, bool $localize[, string $class = NULL ][, mixed $extra = NULL ]) : mixed
list of items to be flagged as checked
the elements of the select list
prefix of the input item
are the items changable.
true for sorted list
true if the list local key is text for the item
optional class for items
Creates an unordered checklist of the tags
tagSelector(object $that, string $postit[, bool $showCounts = false ][, mixed $mostused = false ][, mixed $addnew = true ][, mixed $resizeable = false ][, mixed $class = 'checkTagsAuto' ]) : mixed
Object for which to get the tags
prefix to prepend for posting
set to true to get tag count displayed
emits the html for editing album information called in edit album and mass edit
printAlbumEditForm(string $index, object $album[, bool $buttons = true ]) : mixed
the index of the entry in mass edit or '0' if single album
the album object
set true for "apply" buttons
puts out the maintenance buttons for an album
printAlbumButtons(object $album) : mixed
is the album being emitted
printAlbumLegend() : mixed
puts out a row in the edit album table
printAlbumEditRow(object $album, bool $show_thumb, object $owner) : mixed
is the album being emitted
set to false to show thumb standin image rather than album thumb
the parent album (or NULL for gallery)
processes the post from the above
processAlbumEdit(int $index, object $album, string &$redirectto) : string
the index of the entry in mass edit or 0 if single album
the album object
used to redirect page refresh on move/copy/rename
error flag if passwords don't match
Process the image edit form posted
processImageEdit(obj $image, type $index[, bool $massedit = true ]) : mixed
Image object
Index of the image if within the images list or 0 if single image edit
Whether editing single image (false) or multiple images at once (true). Note: to determine whether to process additional fields in single image edit mode.
adminPageNav(mixed $pagenum, mixed $totalpages, mixed $adminpage, mixed $parms[, mixed $tab = '' ]) : mixed
Generates an editable list of language strings
print_language_string_list(string $dbstring, string $name[, bool $textbox = false ][, string $locale = NULL ][, string $edit = '' ][, int $wide = TEXT_INPUT_SIZE ][, string $ulclass = 'language_string_list' ][, int $rows = 6 ]) : mixed
either a serialized languag string array or a single string
the prefix for the label, id, and name tags
set to true for a textbox rather than a text field
optional locale of the translation desired
optional class
column size. true or false for the standard or short sizes. Or pass a column size
set to the class for the UL element
set to the number of rows to show.
process the post of a language string form
process_language_string_save(string $name[, $sanitize_level = 3 ]) : string
the prefix for the label, id, and name tags
the type of sanitization required
Returns the desired tagsort order (0 for alphabetic, 1 for most used)
getTagOrder() : int
Unzips an image archive
unzip(file $file, string $dir) : mixed
the archive
where the images go
Checks for a zip file
is_zip(string $filename) : bool
name of the file
Extracts and returns a 'statement' from a PHP script so that it may be 'evaled'
isolate(string $target, string $str) : string
the assignment variable to match on
the PHP script
Return an array of files from a directory and sub directories
listDirectoryFiles(string $dir) : array<string|int, mixed>
This is a non recursive function that digs through a directory. More info here:
directory
Check if a theme is editable (ie not a bundled theme)
themeIsEditable( $theme) : bool
zenPhotoTheme(mixed $theme) : mixed
Copy a theme directory to create a new custom theme
copyThemeDirectory( $source, $target, mixed $newname) : bool|string
either true or an error message
Deletes a theme
deleteThemeDirectory(string $source) : bool
Full serverpath of the theme
Return URL of current admin page
currentRelativeURL() : string
current URL
Returns an array of the names of the parents of the current album.
getParentAlbumsAdmin(object $album) : array<string|int, mixed>
optional album object to use inseted of the current album
getAlbumBreadcrumbAdmin(mixed $album) : mixed
Removes the parent album name so that we can print a album breadcrumb with them
removeParentAlbumNames(object $album) : string
Object of the album
Outputs the rights checkbox table for admin
printAdminRightsTable( $id, string $background, string $alterrights, bit $rights) : mixed
Creates the managed album table for Admin
printManagedObjects(string $type, array<string|int, mixed> $objlist, string $alterrights, object $userobj, mixed $prefix_id, string $kind, mixed $flag) : mixed
the kind of list
list of objects
are the items changable
the user
user, group, or template
processes the post of administrator rights
processRights(int $i) : bit
the admin row number
processManagedObjects(mixed $i, mixed &$rights) : mixed
Returns the value of a checkbox form item
getCheckboxState(string $id) : int
the $_REQUEST index
(0 or 1)
Returns an array of "standard" theme scripts. This list is normally used to exclude these scripts form various option seletors.
standardScripts() : array<string|int, mixed>
Returns a merged list of available watermarks
getWatermarks() : array<string|int, mixed>
Processes the serialized array from tree sort.
processOrder( $orderstr) : array<string|int, mixed>
Returns an array in the form [$id=>array(sort orders), $id=>array(sort orders),...]
POST handler for album tree sorts
postAlbumSort(int $parentid) : mixed
id of owning album
Prints the sortable nested albums list returns true if nesting levels exceede the database container
printNestedAlbumsList(mixed $albums, bool $show_thumb, object $owner) : bool
set false to use thumb standin image.
the album object of the owner or NULL for the gallery
Prints the dropdown menu for the nesting level depth for the album sorting
printEditDropdown(mixed $subtab, mixed $nestinglevels, mixed $nesting) : mixed
processEditSelection(mixed $subtab) : mixed
Edit tab bulk actions drop-down
printBulkActions(array<string|int, mixed> $checkarray[, bool $checkAll = false ]) : mixed
the list of actions
set true to include check all box
common redirector for bulk action handling return
bulkActionRedirect(string $action) : mixed
Process the bulk tags
bulkTags() : array<string|int, mixed>
Processes the check box bulk actions for albums
processAlbumBulkActions() : mixed
Handles Image bulk actions
processImageBulkActions( $album) : mixed
Processes the check box bulk actions for comments
processCommentBulkActions() : mixed
Codeblock tabs JavaScript code
codeblocktabsJS() : mixed
prints codeblock edit boxes
printCodeblockEdit(object $obj, int $id) : mixed
handles saveing of codeblock edits
processCodeblockSave(int $id) : string
Standard admin pages checks
admin_securityChecks(bit $rights, mixed $return) : mixed
getPageSelector "diff" function
minDiff(string $string1, string2 $string2) : mixed
returns the shortest string difference
getPageSelector "diff" function
fullText(string $string1, string $string2) : string
Used when you want getPgeSelector to show the full text of the items
getPageSelector "diff" function
dateDiff(string $date1, string $date2) : string
returns the shortest "date" difference
returns a selector list based on the "names" of the list items
getPageSelector(array<string|int, mixed> $list, int $itmes_per_page[, string $diff = 'fullText' ]) : array<string|int, mixed>
"fullText" for the complete names "minDiff" for a truncated string showing just the unique characters of the names "dateDiff" it the "names" are really dates.
printPageSelector(mixed $pagenumber, mixed $rangeset, mixed $script, mixed $queryParams) : mixed
Strips off quotes from the strng
unQuote( $string) : mixed
Returns an option list of administrators who can own albums or images
admin_album_list(string $owner) : string
Returns an array with the logtabs array, the default log tab and an array of log files to the default (current) log tab (for use in the logfile selector)
getLogTabs() : array<string|int, mixed>
Gets an array log tab names and localized (gettexted) log titles
getDefaultLogTabs() : array<string|int, mixed>
Gets a nested array with the log type (tab name) and corresponding log files
getLogFiles() : array<string|int, mixed>
Prints the selector for logfiles of the current log tab
printLogSelector([string $currentlogtab = '' ][, string $currentlogfile = '' ][, array<string|int, mixed> $logfiles = array() ]) : mixed
Current log tab
Current log file selected
Array of logfiles
Figures out which plugin tabs to display
getPluginTabs() : mixed
Gets an array with the size values for the admin thumb generation
getAdminThumbSizes(obj $imageobj[, string $size = 'small' ]) : array<string|int, mixed>
The image object
Adminthumb sizeame: 'large', 'small', 'large-uncropped', 'small-uncropped'
Gets the URL of the adminthumb
getAdminThumb(obj $imageobj[, string $size = 'small' ]) : string
The image object
Adminthumb sizeame: 'large', 'small', 'large-uncropped', 'small-uncropped'
Returns an array with width and height of the resized image
getSizeAdminThumb(obj $imageobj[, string $size = 'small' ]) : array<string|int, mixed>
The image object
Adminthumb sizeame: 'large', 'small', 'large-uncropped', 'small-uncropped'
Returns the full HTML element of an admin thumb Applies the filters 'adminthumb_html'
getAdminThumbHTML(obj $imageobj[, string $size = 'small' ][, string $class = null ][, string $id = null ][, string $alt = null ][, string $title = null ]) : string
The image object
Adminthumb sizeame: 'large', 'small', 'large-uncropped', 'small-uncropped'
Class name(s) to attach
ID to attach
Alt attribute
Title attribute
Prints an admin thumb
printAdminThumb(obj $imageobj[, string $size = 'small' ][, string $class = null ][, string $id = null ][, string $alt = null ][, string $title = null ]) : string
The image object
Adminthumb sizeame: 'large', 'small', 'large-uncropped', 'small-uncropped'
Class name(s) to attach
ID to attach
Alt attribute
Title attribute
handles save of user/password
processCredentials(object $object[, mixed $suffix = '' ]) : mixed
consolidatedEditMessages(mixed $subtab) : mixed
returns an array of the theme scripts not in the exclude array
getThemeFiles(array<string|int, mixed> $exclude) : array<string|int, mixed>
those scripts to ignore
Checks for bad parentIDs from old move/copy bug
checkAlbumParentid(unknown_type $albumname, unknown_type $id, mixed $recorder) : mixed
clonedFrom() : mixed
Make sure the albumimagesort is only an allowed value. Otherwise returns nothing.
checkAlbumimagesort(string $val[, string $type = 'albumimagesort' ]) : string
'albumimagesort' or 'albumimagesort_status'
Prints the last change date and last change user notice on backend edit pages Also for albums it prints the updateddate
printLastChangeInfo(obj $obj) : mixed
Object of any item type
Returns the option array for the sort by selectors for gallery, albums and images
getSortByOptions(string $type) : array<string|int, mixed>
"albums" (also for gallery), "albums-dynamic", 'images' "image-edit" (the images edit tab backend only ordering) "pages" and "news" for Zenpage items
Returns an array of the status order options for all items
getSortByStatusOptions() : array<string|int, mixed>
Helper to check if notes are to be printed (only needed because of the inconvenient legacy table based layout on image edit pages)
checkSchedulePublishingNotes(obj $obj) : bool
Image, album, news article or page object
Prints various notes regarding the scheduled publishing status for single edit pages
printScheduledPublishingNotes(obj $obj) : mixed
Image, album, news article or page object
Prints various notes regarding the scheduled publishing status for single edit pages
printStatusNotes(obj $obj) : mixed
Image, album, news article, new category or page object
Gets a specific predefined status note for an object (if available) Note: The notes are not status dependend!
getStatusNote([string $name = '' ]) : string
Name of the note
Gets an array of all predefined status notes
getStatusNotes() : array<string|int, mixed>
Gets an array with all status notes that apply to $obj currently
getStatusNotesByContext(string $obj) : array<string|int, mixed>
Gets an key => value array of all available object status icons as full <img> elements
getStatusIcons() : array<string|int, mixed>
Gets the icon img element for a specific status icon
getStatusIcon([string $name = '' ]) : string
(Internal) Name of the icon
Prints the publish icon link to change the status on the album and thumb image list
printPublishIconLinkGallery(object $obj[, bool $enableedit = false ][, string $owner = null ]) : mixed
Image or album object
true if allowed to use
User name of the owner
Returns the publish icon for the current status
getPublishIcon(obj $obj) : string
Object of the page or news article to check