ZenphotoCMS 1.5.x
_zp_captcha | Standins for when no captcha is enabled |
_zp_HTML_cache | stand-in for when there is no HTML cache plugin enabled |
admin_approval | |
Album | Album Class |
AlbumBase | Album Base Class |
AlbumZip | |
AMFReader | |
AMFStream | |
AnyFile | Core class for handling "non-image" files |
AnyFile_Options | Option class for textobjects objects |
auto_backup | Option handler class |
AVCSequenceParameterSetReader | |
bxslider | Plugin option handling class |
cacheManager | |
cachemanager_internal_deprecations | |
cacheManagerFeed | Fake feed descendent class so we can use the feed::clearCache() |
CI_jsmin | |
CI_load | |
cloneZenphoto | |
codeIgniter_kludge | |
colorbox | |
Combi | |
Comment | Persistent Object Class |
comment_form | |
contactformOptions | Plugin option handling class |
cookieConsent | |
crop_image | |
cycle | Plugin option handling class |
defaultCodeblocks | |
deprecated_functions | |
DownloadList | Plugin option handling class |
dynamic_locale | |
dynamicAlbum | Dynamic Album Class for "saved searches" |
elFinder | elFinder - file manager for web. Core class. |
elFinder_options | Option handler class |
elFinderConnector | Default elFinder connector |
elFinderEditor | Abstract class of editor plugins. |
elFinderEditorOnlineConvert | Abstract class of editor plugins. |
elFinderEditorZipArchive | Abstract class of editor plugins. |
elFinderEditorZohoOffice | Abstract class of editor plugins. |
elFinderLibGdBmp | |
elFinderPlugin | elFinder Plugin Abstract |
elFinderPluginAutoResize | elFinder Plugin AutoResize Auto resize on file upload. ex. binding, configure on connector options $opts = array( 'bind' => array( 'upload.presave' => array( 'Plugin.AutoResize.onUpLoadPreSave' ) ), // global configure (optional) 'plugin' => array( 'AutoResize' => array( 'enable' => true, // For control by volume driver 'maxWidth' => 1024, // Path to Water mark image 'maxHeight' => 1024, // Margin right pixel 'quality' => 95, // JPEG image save quality 'preserveExif' => false, // Preserve EXIF data (Imagick only) 'forceEffect' => false, // For change quality or make progressive JPEG of small images 'targetType' => IMG_GIF|IMG_JPG|IMG_PNG|IMG_WBMP, // Target image formats ( bit-field ) 'offDropWith' => null, // Enabled by default. To disable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array 'onDropWith' => null // Disabled by default. To enable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array ) ), // each volume configure (optional) 'roots' => array( array( 'driver' => 'LocalFileSystem', 'path' => '/path/to/files/', 'URL' => 'http://localhost/to/files/' 'plugin' => array( 'AutoResize' => array( 'enable' => true, // For control by volume driver 'maxWidth' => 1024, // Path to Water mark image 'maxHeight' => 1024, // Margin right pixel 'quality' => 95, // JPEG image save quality 'preserveExif' => false, // Preserve EXIF data (Imagick only) 'forceEffect' => false, // For change quality or make progressive JPEG of small images 'targetType' => IMG_GIF|IMG_JPG|IMG_PNG|IMG_WBMP, // Target image formats ( bit-field ) 'offDropWith' => null, // Enabled by default. To disable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array 'onDropWith' => null // Disabled by default. To enable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array ) ) ) ) ); |
elFinderPluginAutoRotate | elFinder Plugin AutoRotate Auto rotation on file upload of JPEG file by EXIF Orientation. ex. binding, configure on connector options $opts = array( 'bind' => array( 'upload.presave' => array( 'Plugin.AutoRotate.onUpLoadPreSave' ) ), // global configure (optional) 'plugin' => array( 'AutoRotate' => array( 'enable' => true, // For control by volume driver 'quality' => 95, // JPEG image save quality 'offDropWith' => null, // Enabled by default. To disable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array 'onDropWith' => null // Disabled by default. To enable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array ) ), // each volume configure (optional) 'roots' => array( array( 'driver' => 'LocalFileSystem', 'path' => '/path/to/files/', 'URL' => 'http://localhost/to/files/' 'plugin' => array( 'AutoRotate' => array( 'enable' => true, // For control by volume driver 'quality' => 95, // JPEG image save quality 'offDropWith' => null, // Enabled by default. To disable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array 'onDropWith' => null // Disabled by default. To enable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array ) ) ) ) ); |
elFinderPluginNormalizer | elFinder Plugin Normalizer UTF-8 Normalizer of file-name and file-path etc. nfc(NFC): Canonical Decomposition followed by Canonical Composition nfkc(NFKC): Compatibility Decomposition followed by Canonical This plugin require Class "Normalizer" (PHP 5 >= 5.3.0, PECL intl >= 1.0.0) or PEAR package "I18N_UnicodeNormalizer" ex. binding, configure on connector options $opts = array( 'bind' => array( 'upload.pre mkdir.pre mkfile.pre rename.pre archive.pre ls.pre' => array( 'Plugin.Normalizer.cmdPreprocess' ), 'upload.presave paste.copyfrom' => array( 'Plugin.Normalizer.onUpLoadPreSave' ) ), // global configure (optional) 'plugin' => array( 'Normalizer' => array( 'enable' => true, 'nfc' => true, 'nfkc' => true, 'umlauts' => false, 'lowercase' => false, 'convmap' => array() ) ), // each volume configure (optional) 'roots' => array( array( 'driver' => 'LocalFileSystem', 'path' => '/path/to/files/', 'URL' => 'http://localhost/to/files/' 'plugin' => array( 'Normalizer' => array( 'enable' => true, 'nfc' => true, 'nfkc' => true, 'umlauts' => false, 'lowercase' => false, 'convmap' => array() ) ) ) ) ); |
elFinderPluginSanitizer | elFinder Plugin Sanitizer Sanitizer of file-name and file-path etc. ex. binding, configure on connector options $opts = array( 'bind' => array( 'upload.pre mkdir.pre mkfile.pre rename.pre archive.pre ls.pre' => array( 'Plugin.Sanitizer.cmdPreprocess' ), 'upload.presave paste.copyfrom' => array( 'Plugin.Sanitizer.onUpLoadPreSave' ) ), // global configure (optional) 'plugin' => array( 'Sanitizer' => array( 'enable' => true, 'targets' => array('\','/',':','','?','"','<','>','|'), // target chars 'replace' => '_', // replace to this 'callBack' => null // Or @callable sanitize function ) ), // each volume configure (optional) 'roots' => array( array( 'driver' => 'LocalFileSystem', 'path' => '/path/to/files/', 'URL' => 'http://localhost/to/files/' 'plugin' => array( 'Sanitizer' => array( 'enable' => true, 'targets' => array('\','/',':','','?','"','<','>','|'), // target chars 'replace' => '_', // replace to this 'callBack' => null // Or @callable sanitize function ) ) ) ) ); |
elFinderPluginWatermark | elFinder Plugin Watermark Print watermark on file upload. ex. binding, configure on connector options $opts = array( 'bind' => array( 'upload.presave' => array( 'Plugin.Watermark.onUpLoadPreSave' ) ), // global configure (optional) 'plugin' => array( 'Watermark' => array( 'enable' => true, // For control by volume driver 'source' => 'logo.png', // Path to Water mark image 'ratio' => 0.2, // Ratio to original image (ratio > 0 and ratio <= 1) 'position' => 'RB', // Position L(eft)/C(enter)/R(ight) and T(op)/M(edium)/B(ottom) 'marginX' => 5, // Margin horizontal pixel 'marginY' => 5, // Margin vertical pixel 'quality' => 95, // JPEG image save quality 'transparency' => 70, // Water mark image transparency ( other than PNG ) 'targetType' => IMG_GIF|IMG_JPG|IMG_PNG|IMG_WBMP, // Target image formats ( bit-field ) 'targetMinPixel' => 200, // Target image minimum pixel size 'interlace' => IMG_GIF|IMG_JPG, // Set interlacebit image formats ( bit-field ) 'offDropWith' => null, // Enabled by default. To disable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array 'onDropWith' => null // Disabled by default. To enable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array ) ), // each volume configure (optional) 'roots' => array( array( 'driver' => 'LocalFileSystem', 'path' => '/path/to/files/', 'URL' => 'http://localhost/to/files/' 'plugin' => array( 'Watermark' => array( 'enable' => true, // For control by volume driver 'source' => 'logo.png', // Path to Water mark image 'ratio' => 0.2, // Ratio to original image (ratio > 0 and ratio <= 1) 'position' => 'RB', // Position L(eft)/C(enter)/R(ight) and T(op)/M(edium)/B(ottom) 'marginX' => 5, // Margin horizontal pixel 'marginY' => 5, // Margin vertical pixel 'quality' => 95, // JPEG image save quality 'transparency' => 70, // Water mark image transparency ( other than PNG ) 'targetType' => IMG_GIF|IMG_JPG|IMG_PNG|IMG_WBMP, // Target image formats ( bit-field ) 'targetMinPixel' => 200, // Target image minimum pixel size 'interlace' => IMG_GIF|IMG_JPG, // Set interlacebit image formats ( bit-field ) 'offDropWith' => null, // Enabled by default. To disable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array 'onDropWith' => null // Disabled by default. To enable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array ) ) ) ) ); |
elFinderSession | elFinder - file manager for web. Session Wrapper Class. |
elFinderVolumeBox | Simple elFinder driver for BoxDrive Box.com API v2.0. |
elFinderVolumeDriver | Base class for elFinder volume. Provide 2 layers: 1. Public API (commands) 2. abstract fs API All abstract methods begin with "_" |
elFinderVolumeDropbox | Simple elFinder driver for FTP |
elFinderVolumeDropbox2 | Simple elFinder driver for Dropbox kunalvarma05/dropbox-php-sdk:0.1.5 or above. |
elFinderVolumeFlysystemGoogleDriveCache | |
elFinderVolumeFlysystemGoogleDriveNetmount | |
elFinderVolumeFTP | Simple elFinder driver for FTP |
elFinderVolumeGoogleDrive | Simple elFinder driver for GoogleDrive google-api-php-client-2.x or above. |
elFinderVolumeGroup | elFinder driver for Volume Group. |
elFinderVolumeLocalFileSystem | elFinder driver for local filesystem. |
elFinderVolumeMySQL | Simple elFinder driver for MySQL. |
elFinderVolumeOneDrive | Simple elFinder driver for OneDrive onedrive api v5.0. |
elFinderVolumeTrash | elFinder driver for trash bin at local filesystem. |
elFinderVolumeTrashMySQL | elFinder driver for trash bin at MySQL Database |
email_new_user | |
exampleMacros | |
external_auth | |
favorites | This is the class declaration |
favoritesOptions | |
feed | |
fieldExtender | |
flag_thumbnail | Plugin option handling class |
Gallery | Gallery Class |
galleryArticles | |
getID3 | |
getid3_aac | |
getid3_apetag | |
getid3_flv | |
getid3_handler | |
getid3_id3v1 | |
getid3_id3v2 | |
getid3_lib | |
getid3_lyrics3 | |
getid3_mp3 | |
getid3_mpeg | |
getid3_quicktime | |
getid3_swf | |
GoogleMap | googleMap |
Googlemaps | CodeIgniter Google Maps API V3 Class |
hitcounter | Plugin option handling class |
htmlmetatags | |
Image | Image Class |
internal_deprecations | Zenphoto general deprecated functions |
ipBlocker | Option handler class |
jPlayer | |
jplayer_options | |
jquery_rating | Option handler class |
JSMin | jsmin.php - PHP implementation of Douglas Crockford's JSMin. |
lazyload | Filter HTML to add JS lazyloading using the script lazysizes |
lib_GD_Options | Option class for lib-GD |
lib_Imagick_Options | Option class for lib-Imagick |
lib_NoGraphics | Option class for lib-GD |
matomoStats | |
MediaObject | Root class for images and albums |
menu_manager | |
MergedRSS | |
MergedRSSOptions | |
mobile | Mobile Detect Library Motto: "Every business should have a mobile detection script to detect mobile readers" |
Mobile_Detect | Mobile Detect Library Motto: "Every business should have a mobile detection script to detect mobile readers" |
mobileTheme | |
multipleLayoutOptions | Plugin option handling class |
null_seo | Option handler class |
OAuthConsumer | |
OAuthDataStore | |
OAuthRequest | |
OAuthServer | |
OAuthSignatureMethod | A class for implementing a Signature Method See section 9 ("Signing Requests") in the spec |
OAuthSignatureMethod_HMAC_SHA1 | The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty. - Chapter 9.2 ("HMAC-SHA1") |
OAuthSignatureMethod_PLAINTEXT | The PLAINTEXT method does not provide any security protection and SHOULD only be used over a secure channel such as HTTPS. It does not use the Signature Base String. - Chapter 9.4 ("PLAINTEXT") |
OAuthSignatureMethod_RSA_SHA1 | The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in [RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a verified way to the Service Provider, in a manner which is beyond the scope of this specification. - Chapter 9.3 ("RSA-SHA1") |
OAuthToken | |
OAuthUtil | |
openStreetMap | The class for all OSM map related functionality |
openStreetMapOptions | |
pagedThumbsNav | |
pagedthumbsOptions | Plugin option handling class |
PersistentObject | Persistent Object Class |
PHPMailer\PHPMailer\PHPMailer | PHPMailer - PHP email creation and transport class. |
PHPMailer\PHPMailer\POP3 | PHPMailer POP-Before-SMTP Authentication Class. Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. 1) This class does not support APOP authentication. 2) Opening and closing lots of POP3 connections can be quite slow. If you need to send a batch of emails then just perform the authentication once at the start, and then loop through your mail sending script. Providing this process doesn't take longer than the verification period lasts on your POP3 server, you should be fine. 3) This is really ancient technology; you should only need to use it to talk to very old systems. 4) This POP3 class is deliberately lightweight and incomplete, implementing just enough to do authentication. If you want a more complete class there are other POP3 classes for PHP available. |
PHPMailer\PHPMailer\SMTP | PHPMailer RFC821 SMTP email transport class. Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server. |
print_album_menu | Plugin option handling class |
pseudoPlayer | |
publishContent | |
quota_manager | Option handler class |
reCaptcha | Standins for when no captcha is enabled |
RecursiveCallbackFilterIterator | |
redirector | redirection handler class |
redirectorOptions | redirector plugin options |
register_user | Plugin class |
rewriteRules | |
rewriteTokens | |
RSS | |
rss_options | |
scriptlessSocialsharing | Static class wrapper |
scriptlessSocialsharingOptions | |
search_statistics | Option handler class |
SearchEngine | search class |
security_logger | Option handler class |
securityHeaders | Static class to generate the headers as set on the plugin options |
securityheadersOptions | Options handler for http_security_headers plugin |
seo_locale | |
Services_JSON | Converts to and from JSON format. |
Services_JSON_Error | |
setup | setup support class |
setupMutex | Zenphoto Mutex class |
setupRSS | |
show_not_loggedin | |
sitemap | Sitemap class |
sitemapOptions | Plugin option handling class |
static_html_cache | |
staticHTMLCacheOptions | |
tagsuggest | |
TextObject | Core class for handling "non-image" files |
TextObject_Options | Option class for textobjects objects |
ThemeObject | The basic ThemeObject class. Extends PersistentObject, is extended by various Theme related objects. Provides some basic methods that all use. |
themeSwitcher | |
tinymce4Options | Plugin option handling class |
tinyURL | |
Transientimage | Transient image class |
UploadHandler | |
user_expiry | Option handler class |
user_groups | |
user_logout_options | Plugin option handling class |
userAddressFields | |
userDataExport | Class for exporting possible privacy related user data |
utf8 | UTF-8 friendly replacement functions - v0.2 Copyright (C) 2004-2006 Niels Leenheer & Andy Matsubara |
Video | Image Class |
VideoObject_Options | Option class for video objects |
WEBdocs | Core class for handling "non-image" files |
WEBdocs_Options | Option class for textobjects objects |
xmpMetadata | Plugin option handling class |
Zenpage | Zenpage root classes |
Zenpage_internal_deprecations | |
ZenpageCategory | zenpage news category class |
zenpagecms | |
ZenpageItems | Base class from which Zenpage news articles and pages derive |
ZenpageNews | zenpage news class |
ZenpagePage | zenpage page class |
ZenpageRoot | Base class from which all Zenpage classes derive |
Zenphoto_Administrator | This is a simple class so that we have a convienient "handle" for manipulating Administrators. |
Zenphoto_Authority | Provides the methods used for user authorization and management
store an instantiation of this class in |
zenphoto_org_news | |
zenphoto_seo | Option handler class |
zenphotoDonate | |
ZipStream | |
zp_PHPMailer | Option handler class |
zpFunctions | |
zpMutex | Zenphoto Mutex class |
zpSimpleSpam | This implements the standard SpamFilter class for the Simple spam filter. |
zpTrivialSpam | This implements the standard SpamFilter class for the none spam filter. |
elFinderSessionInterface | elFinder - file manager for web. Session Wrapper Interface. |
elFinderAbortException | Custom exception class for aborting request |
elFinderTriggerException | |
getid3_exception | |
JSMin_UnterminatedCommentException | |
JSMin_UnterminatedRegExpException | |
JSMin_UnterminatedStringException | |
OAuthExcept | |
PHPMailer\PHPMailer\Exception | PHPMailer exception handler. |
access | Simple function to demonstrate how to control file access using "accessControl" callback. This method will disable accessing files/folders starting from '.' (dot) |
accessAlbums | |
accessAllAlbums | Checks access for the album root |
accessImage | |
add_context | |
addalbumsToDatabase | Adds albums to the menu set. Returns the next sort order base |
addCategoriesToDatabase | Adds Zenpage news categories to the menu set |
addDateToTitlelink | Append or prepends a date string to a titlelink as defined. Note: This does not check the item type option and will add to any string passed! |
addGeoCoord | Add a point to a map object |
addItem | Adds an menu item set via POST |
addMissingDefaultRewriteTokens | Adds missing individual default rewrite tokens to $_zp_conf_vars['special_pages'] |
addPagesToDatabase | Adds Zenpage pages to the menu set |
addReconfigureNote | Adds the reconfigure notification via filters |
addSubalbumMenus | adds (sub)albums to menu base with their gallery sorting order intact |
addWatermark | Adds a watermark to a resized image. If no watermark is set it just returns the image |
admin_album_list | Returns an option list of administrators who can own albums or images |
admin_securityChecks | Standard admin pages checks |
admin_showupdate | |
adminPageNav | |
adminToolbox | Prints the clickable drop down toolbox on any theme page with generic admin helpers |
albumNumber | Gets the 'n' for n of m albums |
applyMacros | Deals with the [macro parameters] substitutions |
authorSelector | Prints a dropdown to select the author of a page or news article (Admin rights users only) |
bind_textdomain_codeset | |
bindtextdomain | |
build_query | createsa query string from the array passed |
build_url | Builds a url from parts |
bulkActionRedirect | |
bulkTags | Process the bulk tags |
byteConvert | Returns a byte size from a size value (eg: 100M). |
cacheImage | Creates the cache folder version of the image, including watermarking |
checkAccess | Checks to see if a password is needed |
checkAlbumForImages | Checks if an album has images for display on the form |
checkAlbumimagesort | Make sure the albumimagesort is only an allowed value. Otherwise returns nothing. |
checkAlbumParentid | |
checkAlbumPassword | Checks to see access is allowed to an album Returns true if access is allowed. There is no password dialog--you must have already had authorization via a cookie. |
checkChosenItemStatus | Checks if the menu item is set visible or not |
checkChosenMenuset | Checks which menu set is chosen via $_GET. If none is explicity chosen the "default" one (create initially) is used. |
checked | Used for checkbox and radiobox form elements to compare the $checked value with the $current.
Echos the attribute |
checkFolder | |
checkForEmptyTitle | Checks if no title has been provide for items on new item creation |
checkForGuest | returns the auth type of a guest login |
checkForPage | If the titlelink is valid this will setup for the page Returns true if page is setup and valid, otherwise returns false |
checkForUpdate | Searches the zenphoto.org home page for the current zenphoto download locates the version number of the download and compares it to the version we are running. |
checkHitcounterDisplay | Checks if there are hitcounts and if they are displayed behind the news article, page or category title |
checkIfChecked | Checks if a checkbox is selected and checks it if. |
checkIfLockedNews | Checks if the current logged in admin user is the author that locked the article. Only that author or any user with admin rights will be able to edit or unlock. |
checkIfLockedPage | Checks if the current logged in admin user is the author that locked the page/article. Only that author or any user with admin rights will be able to edit or unlock. |
checkIfNew | A little helper function that checks if an image or album is to be considered 'new' within the time range set in relation to getImageDate()/getAlbumDate() Returns true or false. |
checkInstall | |
checkLayoutUseForImages | Gets the selected layout page for images if the album option to use the equivalent of their album layout is seleted. |
checkObjectsThumb | Search for a thumbnail for the image |
checkPageValidity | Checks for URL page out-of-bounds for "standard" themes Note: This function assumes that an "index" page will display albums and the pagination be determined by them. Any other "index" page strategy needs to be handled by the theme itself. |
checkParentLayouts | Checks if there is a layout inherited from a parent items (album, page or category) and returns it. Returns false otherwise. |
checkPublishDates | checks if the item has expired |
checkRequiredField | Helper function that checks if the field is a required one. If it returns '*" to be appended to the field name as an indicator. Not for the CAPTCHA field that is always required if shown... |
checkSchedulePublishingNotes | Helper to check if notes are to be printed (only needed because of the inconvenient legacy table based layout on image edit pages) |
checkSelectedAlbum | A printAlbumMenu() helper function for the jump menu mode of printAlbumMenu() that only checks which the current album so that the entry in the in the dropdown jump menu can be selected Not for standalone use. |
checkSignature | Checks details of configuration change |
checkTitlelinkDuplicate | Checks if a title link of this itemtype already exists |
cleanAlbum | |
cleanHTML | |
clonedFrom | |
codeblocktabsJS | Codeblock tabs JavaScript code |
comment_form_addComment | Generic comment adding routine. Called by album objects or image objects to add comments. |
comment_form_handle_comment | |
comment_form_PaginationJS | |
comment_form_postcomment | |
comment_form_print10Most | Admin overview summary |
comment_form_visualEditor | |
commentFormUseCaptcha | Use see if a captcha should be displayed |
commentReply | Takes a comment and makes the body of an email. |
commentsAllowed | Returns true if all the right conditions are set to allow comments for the $type |
compressRow | |
consolidatedEditMessages | |
copyLayoutSelection | |
copyThemeDirectory | Copy a theme directory to create a new custom theme |
createMenuIfNotExists | Creates a menu set from the items passed. But only if the menu set does not already exist |
createRelatedItemsResultArray | Helper function for getRelatedItems() only. Returns an array with array for each item with name, album (images only), type and weight (search weight value) Excludes the current item itself. |
createTitlelink | Creates the titlelink from the title passed. |
cron_starter | Starts a sechedule script run |
curlRequest | Sends a simple cURL request to the $uri specified. |
currentRelativeURL | Return URL of current admin page |
customOptions | |
dateDiff | getPageSelector "diff" function |
datepickerJS | |
dateTimeConvert | Converts a datetime to connoical form |
db_affected_rows | |
db_close | |
db_collation | |
db_connect | |
db_count | |
db_create | |
db_create_table | |
db_error | |
db_fetch_assoc | |
db_fetch_row | |
db_free_result | |
db_getClientInfo | |
db_getServerInfo | |
db_getSQLmode | |
db_getVersion | |
db_insert_id | |
db_isMariaDB | |
db_LIKE_escape | |
db_list_fields | |
db_name | |
db_num_rows | |
db_permissions | |
db_quote | |
db_setSQLmode | |
db_show | |
db_software | |
db_table_update | |
db_truncate_table | |
debug404 | produce debugging information on 404 errors |
debugLog | |
debugLogBacktrace | Logs the calling stack |
debuglogReconfigureNote | Adds debuglog entries about the reconfigure note |
debugLogVar | Records a Var to the debug log |
decompressField | |
decompressRow | |
defaultCodeblocks_codebox | |
deleteArticle | Deletes an news article from the database |
deleteCategory | Deletes a category (and also if existing its subpages) from the database |
deleteItem | Deletes a menu item set via GET |
deleteLayoutSelection | processes object removals if they have been assigned layouts |
deletePage | Deletes a page (and also if existing its subpages) from the database |
deleteThemeDirectory | Deletes a theme |
dircopy | Copies a directory recursively |
disableExtension | Disables an extension |
elFinder_admin_tabs | |
elFinder_tinymce | |
elFinderAutoloader | |
enableExtension | Enables a plugin |
executeRSS | |
exitZP | |
exposeZenPhotoInformations | Expose some informations in a HTML comment |
extendExecution | |
extensionEnabled | Returns if a plugin is enabled |
fetchComments | Gets an array of comments for the current admin |
filesystemToInternal | Converts a file system filename to UTF-8 for zenphoto internal storage |
fillbuffer | |
filterImageQuery | |
fix_path_redirect | Checks to see if the current URL is a query string url when mod_rewrite is active. If so it will redirects to the rewritten URL with a 301 Moved Permanently. |
formatList | |
fullText | getPageSelector "diff" function |
galleryAlbumsPerPage | Returns the number of album thumbs that go on a gallery page |
gallerystats_filesize_r | |
genAlbumList | Populatest $list with an one dimensional list with album name and title of all albums or the subalbums of a specific album |
generateAttributesFromArray | Helper to generate attributename="attributevalue" for HTML elements based on an array consisting of key => value pairs |
generateImageCacheFile | Sends a cURL request to i.php to generate the image requested without printing it. Returns the uri to the cache version of the image on success or false. It also returns false if cURL is not available. |
generateLanguageList | Returns an array of available language locales. |
generateListFromArray | Creates the body of a select list |
generateListFromFiles | Generates a selection list from files found on disk |
generateRadiobuttonsFromArray | Prints radio buttons from an array |
generateUnorderedListFromArray | Creates the body of an unordered list with checkbox label/input fields (scrollable sortables) |
get_AnyFile_suffixes | |
get_context | |
get_filterScript | |
get_instance | |
get_language_string | Returns the sring for the current language from a serialized set of language strings Defaults to the string for the current locale, the en_US string, or the first string which ever is present |
getAdminstratorsOptionsArray | Gets an array of administrators ready for using with selector, radioboxes and checkbox lists |
getAdminThumb | Gets the URL of the adminthumb |
getAdminThumbHTML | Returns the full HTML element of an admin thumb Applies the filters 'adminthumb_html' |
getAlbumArray | getAlbumArray - returns an array of folder names corresponding to the given album string. |
getAlbumBreadcrumb | returns the breadcrumb item for the current images's album |
getAlbumBreadcrumbAdmin | |
getAlbumCustomData | Returns the custom_data field of the current album |
getAlbumData | A composit for getting album data |
getAlbumDate | Returns the formatted date field of the album |
getAlbumDesc | Returns the raw description of the current album. |
getAlbumFolder | Returns the fully qualified path to the album folders |
getAlbumGeodata | Gathers the map data for an album |
getAlbumInherited | returns the non-empty value of $field from the album or one of its parents |
getAlbumLocation | Returns the Location of the album. |
getAlbumPage | Returns the album page number of the current image |
getAlbumStatistic | Returns a array of album objects of album statistic accordingly to $option |
getAlbumThumb | Returns the name of the defined album thumbnail image. |
getAlbumTitle | Returns the raw title of the current album. |
getAlbumURL | Returns the album link url of the current album. |
getAllAccessibleAlbums | Gets an array of the album ids of all accessible albums (publich or user dependend) |
getAllAlbums | Returns a list of all albums decendent from an album |
getAllDates | Retrieves a list of all unique years & months from the images in the gallery |
getAllowedTags | |
getAllSubAlbumIDs | Returns an array of album ids whose parent is the folder |
getAllTagsCount | Returns an array indexed by 'tag' with the element value the count of the tag |
getAllTagsFromAlbum | Prints a tag cloud list of the tags in one album and optionally its subalbums. Returns FALSE if no value. |
getAllTagsFromAlbum_multi_unique | Removes duplicate entries in multi dimensional array. From kenrbnsn at rbnsn dot com http://uk.php.net/manual/en/function.array-unique.php#57202 |
getAllTagsFromZenpage | Gets all tags used by either all Zenpage news articles or pages. |
getAllTagsUnique | Returns an array of unique tag names |
getAllTranslations | returns a serialized "multilingual array" of translations Used for setting default options with multi-lingual strings. |
getAnnotatedAlbumTitle | Returns an album title taged with of Not visible or password protected status |
getAnnotatedImageTitle | Returns the image title taged with not visible annotation. |
getAnonymIP | Anonymizing of IP addresses |
getAuthor | Wrapper function to get the author of a news article or page: Used by getNewsAuthor() and getPageAuthor(). |
getBare | Cleans tags and some content. |
getBareAlbumDesc | Returns a text-only description of the current album. |
getBareAlbumTitle | Returns a text-only title of the current album. |
getBareGalleryDesc | Returns a text-only description of the gallery. |
getBareGalleryTitle | Returns a text-only title of the gallery. |
getBareImageDesc | Returns a text-only description of the current image. |
getBareImageTitle | Returns a text-only title of the current image. |
getBareNewsTitle | Returns the raw title of a news article. |
getBarePageTitle | Returns the raw title of a page. |
getCheckboxState | Returns the value of a checkbox form item |
getCodeblock | Gets the content of a codeblock for an image, album or Zenpage newsarticle or page. |
getCommentAddress | Processes the post of an address |
getCommentAuthorEmail | Returns the comment author's email |
getCommentAuthorLink | Prints a link to the author |
getCommentAuthorName | Returns the comment author's name |
getCommentAuthorSite | Returns the comment author's website |
getCommentBody | Returns the body of the current comment |
getCommentCount | Retuns the count of comments on the current image |
getCommentDateTime | Returns a formatted date and time for the comment. Uses the "date_format" option for the formatting unless a format string is passed. |
getCommentErrors | Returns an error message if a comment posting was not accepted |
getCommentStored | Returns the data from the last comment posted |
getContactFormMacros | Registers the content macro(s) |
getContentShorten | Shorten the content of any type of item and add the shorten indicator and readmore link set on the Zenpage plugin options. Helper function for getNewsContent() but usage of course not limited to that. If there is nothing to shorten the content passed. |
getCookieInfoData | Returns an array with predefined info about general cookies set by the system and/or plugins |
getCookieInfoHTML | Returns a definition list with predefined info about general cookies set by the system and/or plugins as a string |
getCookieInfoMacro | Registers the content macro(s) |
getCurrentMenuItem | Returns the data of the current menu item |
getCurrentNewsArchive | Gets the current select news date (year-month) or formatted |
getCurrentPage | Returns the number of the current page without printing it. |
getCurrentTheme | Returns the name of the currently active theme |
getCustomAlbumThumb | Returns a link to a custom sized thumbnail of the current album |
getCustomAlbumThumbMaxSpace | Returns a link to a un-cropped custom sized version of the current album thumb within the given height and width dimensions. |
getCustomGalleryIndexPage | Returns the name to the individual custom gallery index page name if set,
otherwise returns generic custom gallery page "gallery.php" that is widely supported by themes
If you need to check if there is an indovidual custom_index_page set use
|
getCustomGalleryIndexURL | Gets the custom gallery index url if one is set, otherwise false |
getCustomImageURL | Returns the url to the image with the dimensions you define with this function. |
getCustomPageURL | Produces the url to a custom page (e.g. one that is not album.php, image.php, or index.php) |
getCustomSizedImageMaxSpace | Returns a link to a un-cropped custom sized version of the current image within the given height and width dimensions. Use for sized images. |
getCustomSizedImageThumbMaxSpace | Returns a link to a un-cropped custom sized version of the current image within the given height and width dimensions. Use for sized thumbnails. |
getDataUsageNotice | Returns an array the data privacy policy page and the data usage confirmation text as defined on Options > Security
array(
'notice' => ' |
getDefaultHeight | Returns the height of the default-sized image (in printDefaultSizedImage) |
getDefaultRewriteTokens | Reads the core default rewrite token define array from the config template file |
getDefaultSizedImage | Returns the url to the default sized image. |
getDefaultWidth | The width of the default-sized image (in printDefaultSizedImage) |
getdownloadList | Gets the actual download list included all subfolders and files |
getDownloadURL | Gets the download url for a file |
getE | |
getEnabledPlugins | Returns an array of the currently enabled plugins |
getExpiryDatePost | Retrieves posted expiry date and checks it against the current date/time Returns the posted date if it is in the future Returns NULL if the date is past |
getFavoritesURL | |
getField | Retrieves the post field if it exists |
getFullHeight | Returns the height of the original image |
getFullImageFilesize | Returns the file size of the full original image |
getFullImageURL | Returns the url to original image. It will return a protected image is the option "protect_full_image" is set |
getFullWidth | Returns the width of the original image |
getGalleryDesc | Returns the raw description of the gallery. |
getGalleryIndexURL | Returns the URL of the main gallery index page. If a custom index page is set this returns that page. So this is not necessarily the home page of the site! |
getGalleryTitle | Returns the raw title of the gallery. |
getGeoCoord | $returns coordinate informations for an image |
getHeadTitle | Function to create the page title to be used within the html |
getHitcounter | returns the hitcounter for the current page or for the object passed |
getImageArgs | Extract the image parameters from the input variables |
getImageCacheFilename | Returns the path of an image for uses in caching it NOTE: character set if for the filesystem |
getImageCachePostfix | Returns the crop/sizing string to postfix to a cache image |
getImageCity | Returns the City field of the current image |
getImageCountry | Returns the Country field of the current image |
getImageCustomData | Returns the custom_data field of the current image |
getImageData | A composit for getting image data |
getImageDate | Returns the image date of the current image in yyyy-mm-dd hh:mm:ss format. Pass it a date format string for custom formatting |
getImageDesc | Returns the raw description of the current image.
new lines are replaced with |
getImageGeodata | Gathers the data for an image |
getImageLocation | Returns the Location field of the current image |
getImageMetaData | Returns the Metadata infromation from the current image |
getImageParameters | Validates and edits image size/cropping parameters |
getImageProcessorURI | forms the i.php parameter list for an image. |
getImageProcessorURIFromCacheName | Extracts the image processor URI from an existing cache filename |
getImageRotation | |
getImageState | Returns the State field of the current image |
getImageStatistic | Returns a array of image objects of image statistic according to $option |
getImageThumb | Returns the url to the thumbnail of the current image. |
getImageTitle | Returns the raw title of the current image. |
getImageType | Returns the object "type" of the "image". |
getImageURI | |
getImageURL | Returns the url of the current image. |
getItem | Gets a menu item by its id |
getItemByID | Gets an item object by id |
getItemTitleAndURL | Gets the title, url and name of a menu item |
getjPlayerSkinCSS | Gets the css files for a skin. Helper function for getjPlayerSkins(). |
getjPlayerSkins | Gets the skin names and css files |
getLangAttributeLocale | Converts underscore locales like "en_US" to valid IANA/BCP 47 hyphen locales like "en-US" Needed for example in JS or HTML "lang" attributes. |
getLanguageArray | |
getLanguageDisplayName | Returns the real language name to the locale passed. |
getLanguageFlag | |
getLanguageSubdomains | creates an SEO language prefix list |
getLanguageText | Returns a canonical language name string for the location |
getLatestComments | Gets latest comments for images, albums, news and pages |
getLatestNews | Gets the latest news either only news articles or with the latest images or albums |
getLatestZenpageComments | Gets latest comments for news articles and pages |
getLayout | Gets the select layout page and returns it to the load_theme_script filter |
getLayoutSelector | Worker function for creating layout selectors. Returns the HTML |
getLinkHTML | |
getLogTabs | Figures out which log tabs to display |
getMacros | |
getMainSiteName | Returns the name of the main website as set by the "Website Title" option on the gallery options tab. Use this if Zenphoto is only a part of your website. |
getMainSiteURL | Returns the URL of the main website as set by the "Website URL" option on the gallery options tab. Use this if Zenphoto is only a part of your website. |
getManagedAlbumList | Populates and returns the $_zp_admin_album_list array |
getMaxSpaceContainer | Called by ***MaxSpace functions to compute the parameters to be passed to xxCustomyyy functions. |
getMenuFromLink | Returns the menu item corresponding to $link |
getMenuItemChilds | Gets the direct child menu items of the current menu item. Returns the array of the items or false. |
getMenuItems | Gets the menu items |
getMenumanagerPredicessor | Returns the link to the predicessor of the current menu item |
getMenumanagerSuccessor | Returns the successor link of the current menu item |
getMenuSetSelector | returns the menu set selector |
getMenuVisibility | Gets the menu visibility |
getMimeString | |
getNestedAlbumList | generates a nested list of albums for the album tab sorting Returns an array of "albums" each element contains: 'name' which is the folder name 'sort_order' which is an array of the sort order set |
getNewsAdminOption | |
getNewsAdminOptionPath | Creates the admin paths for news articles if you use the dropdowns on the admin news article list together |
getNewsArchivePath | Returns path of news date archive |
getNewsArchiveURL | Returns the full path of the news archive page |
getNewsAuthor | Gets the author of a news article (if in Combinews mode for gallery items the owner) |
getNewsCategories | Gets the categories of the current news article |
getNewsCategoryCustomData | Gets the custom data field of the current news category |
getNewsCategoryDesc | Gets the description of the current news category |
getNewsCategoryURL | Returns the full path to a news category |
getNewsContent | Gets the content of a news article |
getNewsCustomData | Gets the custom data field of the curent news article |
getNewsDate | Gets the date of the current news article |
getNewsExtraContent | Gets the extracontent of a news article if in single news articles view or returns FALSE |
getNewsID | Gets the id of a news article/item |
getNewsIndexURL | Returns the full path of the news index page |
getNewsPagesStatistic | returns an array of how many pages, articles, categories and news or pages comments we got. |
getNewsPathNav | |
getNewsReadMore | Returns the text for the read more link for news articles or gallery items if in CombiNews mode |
getNewsTitle | Gets the news article title |
getNewsURL | Returns the link (url) of the current news article. or of the titlelink passed if not empty |
getNextAlbum | Returns the next album |
getNextAlbumURL | Get the URL of the next album in the gallery. |
getNextImageThumb | Returns the thumbnail of the next image. |
getNextImageURL | Returns the url of the next image. |
getNextNewsPageURL | Returns the url to the next news page |
getNextNewsURL | Returns the title and the titlelink of the next article in single news article pagination as an array Returns false if there is none (or option is empty) |
getNextPageURL | Returns the URL of the next page. Use within If or while loops for pagination. |
getNextPrevNews | Returns the title and the titlelink of the next or previous article in single news article pagination as an array Returns false if there is none (or option is empty) |
getNotViewableAlbums | Returns a list of album IDs that the current viewer is not allowed to see |
getNotViewableImages | Returns a list of image IDs that the current viewer is not allowed to see |
getNumAlbums | Returns the number of albums. |
getNumAllSubalbums | Gets the number of all subalbums of all subalbum levels of either the current album or $albumobj |
getNumImages | Returns the number of images in the album. |
getNumNews | Returns the number of news articles. |
getNumPages | Returns a count of the pages |
getOption | |
getOptionFromDB | |
getOptionList | Retuns the option array |
getOwnerAuthor | Gets current item's owner (gallery images and albums) or author (Zenpage articles and pages) |
getOwnerAuthorURL | Returns the search url for items the current item's owner (gallery) or author (Zenpage) is assigned to |
getPageAuthor | Returns the author of the current page |
getPageContent | Returns page content either of the current page or if requested by titlelink directly. If not both return false Set the titlelink of a page to call a specific even un-published page ($published = false) as a gallery description or on another custom page for example |
getPageCustomData | Gets the custom data field of the current page |
getPageDate | Returns the creation date of a page |
getPageExtraContent | Returns page extra content either of the current page or if requested by titlelink directly. If not both return false Set the titlelink of a page to call a specific even un-published page ($published = false) as a gallery description or on another custom page for example |
getPageID | Returns the id of a page |
getPageLastChangeDate | Returns the last change date of a page if available |
getPageNavList | returns a page nav list. |
getPageNumURL | Returns the URL of the page number passed as a parameter |
getPageParentID | Returns the id of the parent page of a page |
getPageRedirect | Returns a redirection link for the password form |
getPageSelector | returns a selector list based on the "names" of the list items |
getPageSortorder | Returns the sortorder of a page |
getPageTitle | Returns title of a page |
getPageTitleLink | Returns titlelink of a page |
getPageURL | Returns full path to a specific page |
getParentAlbums | Returns an array of the names of the parents of the current album. |
getParentAlbumsAdmin | Returns an array of the names of the parents of the current album. |
getParentBreadcrumb | returns the breadcrumb navigation for album, gallery and image view. |
getParentMenuItems | Gets the parent menu items of the current menu item. Returns the array of the items or false. |
getPasswordProtectImage | Returns an img src link to the password protect thumb substitute |
getPHPFiles | |
getPictureOfTheDay | Returns an randomly selected image objecet from the gallery per day. Returns null on failure |
getPlugin | Returns the fully qualified file name of the plugin file. |
getPluginFiles | Returns a consolidated list of plugins The array structure is key=plugin name, value=plugin path |
getPluginTabs | Figures out which plugin tabs to display |
getPrevAlbum | Returns the previous album |
getPrevAlbumURL | Get the URL of the previous album in the gallery. |
getPrevImageThumb | Returns the thumbnail of the previous image. |
getPrevImageURL | Returns the url of the previous image. |
getPrevNewsPageURL | Returns the url to the previous news page |
getPrevNewsURL | Returns the title and the titlelink of the previous article in single news article pagination as an array Returns false if there is none (or option is empty) |
getPrevPageURL | Returns the URL of the previous page. |
getProtectedImageURL | Returns an url to the password protected/watermarked current image |
getRandomImages | Returns a randomly selected image from the gallery. (May be NULL if none exists) |
getRandomImagesAlbum | Returns a randomly selected image from the album or its subalbums. (May be NULL if none exists) |
getRating | Returns the current rating of an object |
getReconfigureNote | Gets data for the configuration change notification |
getRelatedItems | |
getRequestURI | |
getrow | |
getRSSLink | Prints a RSS link for if (class_exists('RSS')) printRSSLink() and if (class_exists('RSS')) printRSSHeaderLink() |
getRules | |
getSearchDate | Returns the date of the search |
getSearchURL | Returns a search URL |
getSearchWords | Returns the a sanitized version of the search string |
getSelectedLayout | Gets the selected layout page for this item. Returns false if nothing is selected. |
getSerializedArray | if $string is an serialzied array it is unserialized otherwise an appropriate array is returned |
getSetClause | Constructs a SET clause ("SET uniqueid1='uniquevalue1', uniqueid2='uniquevalue2' ...") from an array (map) of variables and their values which identifies a unique record in the database table. Used to 'move' records. Note: does not check anything. |
getSiteHomeURL | Returns the home page link (WEBPATH) to the Zenphoto theme index.php page Use in breadcrumbs if the theme uses a custom gallery index page so the gallery is not the site's home page |
getSizeCustomImage | Returns an array with the height & width |
getSizeDefaultImage | Returns an array [width, height] of the default-sized image. |
getSizeDefaultThumb | Gets the width and height of a default thumb for the tag height/width |
getSizedImageURL | Returns a link to the current image custom sized to $size |
getSizeFullImage | Returns an array [width, height] of the original image. |
getSortByOptions | Returns the option array for the sort by selectors for gallery, albums and images |
getSortByStatusOptions | Returns an array of the status order options for all items |
getStandardGalleryIndexURL | Returns the url to the standard gallery index.php page |
getSubtabs | |
getSuffix | Returns the suffix of a file name |
getSystemLocales | Gets all locales suppported on the current server as a multidimensional array |
getTagCountByAccess | Checks if a tag is assigned at all and if it can be viewed by the current visitor and returns the corrected count Helper function used optionally within getAllTagsCount() and getAllTagsUnique() |
getTagOrder | Returns the desired tagsort order (0 for alphabetic, 1 for most used) |
getTags | Returns a list of tags for context of the page called where called |
gettext | |
gettext_pl | Gettext replacement function for separate translations of third party plugins within the root plugins folder. |
gettext_th | Gettext replacement function for separate translations of third party themes. |
getThemeFiles | returns an array of the theme scripts not in the exclude array |
getThemeOption | Returns the value of a theme option |
getTimezones | Returns a list of timezones |
getTinyMCE4ConfigFiles | |
getTitle | |
getTotalHitcounter | Gets the total hitcounter sum of one or several items |
getTotalImagesIn | Returns the count of all the images in the album and any subalbums |
getTotalNewsPages | |
getTotalPages | Returns the number of pages for the current object |
getUnprotectedImageURL | Returns the "raw" url to the image in the albums folder |
getUrAlbum | Returns the oldest ancestor of an alubm; |
getUserIP | Returns the viewer's IP address Deals with transparent proxies |
getUserLocale | Returns a saved (or posted) locale. Posted locales are stored as a cookie. |
getUserURL | Returns a an url for the search engine for results of all items the user with $username is assigned to either as owner (gallery) or author (Zenpage) Note there is no check if the user name is actually a vaild user account name, owner or author! Use the *OwerAuthor() function for that instead |
getVersion | Returns the zenphoto version string |
getWatermarkParam | Returns the watermark image to pass to i.php |
getWatermarkPath | Returns the path to a watermark |
getWatermarks | Returns a merged list of available watermarks |
getWhereClause | Constructs a WHERE clause ("WHERE uniqueid1='uniquevalue1' AND uniqueid2='uniquevalue2' ...") from an array (map) of variables and their values which identifies a unique record in the database table. |
getXSRFToken | returns an XSRF token |
getZenpagePagesOptionsArray | Gets an array of Zenpage pages ready for using with selector, radioboxes and checkbox lists |
getZenpageStatistic | Gets the statistic for pages, news articles or categories as an unordered list |
handleSearchParms | recovers search parameters from stored cookie, clears the cookie |
hasDynamicAlbumSuffix | Returns true if the file has the dynamic album suffix |
hasNextImage | True if there is a next image |
hasNextNewsPage | Returns true if there is a next news page |
hasNextPage | Returns true if there is a next page |
hasPrevImage | True if there is a previous image |
hasPrevNewsPage | Returns true there is a previous news page |
hasPrevPage | Returns TRUE if there is a previous page. Use within If or while loops for pagination. |
hasPrimaryScripts | |
hl_attrval | |
hl_bal | |
hl_cmtcd | |
hl_ent | |
hl_prot | |
hl_regex | |
hl_spec | |
hl_tag | |
hl_tag2 | |
hl_tidy | |
hl_version | |
html_decode | |
html_encode | encodes a pre-sanitized string to be used in an HTML text-only field (value, alt, title, etc.) |
html_encodeTagged | HTML encodes the non-metatag part of the string. |
html_pathurlencode | Convenience wrapper of html_encode(pathurlencode($url)) Primarily intended for use with img src URLs |
htmLawed | |
httpsRedirect | Checks if protocol not https and redirects if https required |
httpUploadHandler | |
httpUploadHandler_admin_tabs | |
i18nSetLocale | Wrapper function for setLocale() so that all the proper permutations are used Returns the result from the setLocale call |
ignoreSetupRunRequest | If setup request a run because of a signature change this refreshes the signature on full admin user request so it is ignored until the next signature change. |
imageBlurGD | |
imagecreatefrombmp | |
imageDebug | Prints debug information from the arguments to i.php. |
imageError | |
imageNumber | Returns the 'n' of n of m images |
imgSrcURI | Returns an img src URI encoded based on the OS of the server |
in_context | |
installSignature | |
instrument | Tool to log execution times of script bits |
internalToFilesystem | Converts a Zenphoto Internal filename string to one compatible with the file system |
inventMenuItem | "invents" a menu item for the current page (for when one does not exist) Adds the item to the current menuset and modifies its "parent" as needed |
iptc_make_tag | iptc_make_tag() function by Thies C. Arntzen |
is_AdminEditPage | Checks if the current admin-edit.php page is called for news articles or for pages. |
is_connected | Returns true if there is an internet connection |
is_News | Checks if the current page is in news context. |
is_NewsArchive | Checks if the current page is a news archive page |
is_NewsArticle | Checks if the current page is a single news article page |
is_NewsCategory | Checks if the current page is a news category page |
is_NewsPage | Checks if the current page is the news page in general. |
is_Pages | Checks if the current page is a zenpage page |
is_valid_email_zp | Determines if the input is an e-mail address. Adapted from WordPress. Name changed to avoid conflicts in WP integrations. |
is_zip | Checks for a zip file |
isAlbumClass | Returns true if the object is a zenphoto 'album' |
isAlbumPage | Returns true if this page has album thumbs on it |
isArchive | tests if a search page is an "archive" page |
isCurrentitemParent | Checks if the item $item is a parent item of the current item |
isHandledAlbum | checks if there is a file with the prefix and one of the handled suffixes. Returns the found suffix |
isImageClass | Returns true if the object is a zenphoto 'image' |
isImagePage | Returns true if this page has image thumbs on it |
isImagePhoto | Returns true if the image is a standard photo type |
isImageVideo | Returns video argument of the current Image. |
isIncompatibleExtension | Checks plugin and theme definition for $plugin_disable / $theme_description['disable'] so plugins/themes are deaktivated respectively cannot be activated if they don't match conditions/requirements. See the plugin/theme documentation for info how to define these. |
isLandscape | Returns true if the image is landscape-oriented (width is greater than height) or - kept here for backwards compatibility - square (equal widht and height) |
isolate | Extracts and returns a 'statement' from a PHP script so that it may be 'evaled' |
isSetupProtected | Checks if setup files are protected. Returns array of the protected files or empty array |
isValidEmail | Returns true if the mail address passed is valid.
It uses PHP's internal |
isValidURL | Checks to see if a URL is valid |
jQueryUpload_head | |
jQueryUpload_headers | |
jQueryUploadHandler | |
jQueryUploadHandler_admin_tabs | |
js_encode | encodes a pre-sanitized string to be used as a Javascript parameter |
json_decode | |
json_encode | |
kses | This function makes sure that only the allowed HTML element names, attribute names and attribute values plus only sane HTML entities will occur in $string. You have to remove any slashes from PHP's magic quotes before you call this function. |
kses_array_lc | This function goes through an array, and changes the keys to all lower case. |
kses_attr | This function removes all attributes, if none are allowed for this element. If some are allowed it calls kses_hair() to split them further, and then it builds up new HTML code from the data that kses_hair() returns. It also removes "<" and ">" characters, if there are any left. One more thing it does is to check if the tag has a closing XHTML slash, and if it does, it puts one in the returned code as well. |
kses_bad_protocol | This function removes all non-allowed protocols from the beginning of $string. It ignores whitespace and the case of the letters, and it does understand HTML entities. It does its work in a while loop, so it won't be fooled by a string like "javascript:javascript:alert(57)". |
kses_bad_protocol_once | This function searches for URL protocols at the beginning of $string, while handling whitespace and HTML entities. |
kses_bad_protocol_once2 | This function processes URL protocols, checks to see if they're in the white- list or not, and returns different data depending on the answer. |
kses_check_attr_val | This function performs different checks for attribute values. The currently implemented checks are "maxlen", "minlen", "maxval", "minval" and "valueless" with even more checks to come soon. |
kses_decode_entities | This function decodes numeric HTML entities (A and A). It doesn't do anything with other entities like ä, but we don't need them in the URL protocol whitelisting system anyway. |
kses_hair | This function does a lot of work. It parses an attribute list into an array with attribute data, and tries to do the right thing even if it gets weird input. It will add quotes around attribute values that don't have any quotes or apostrophes around them, to make it easier to produce HTML code that will conform to W3C's HTML specification. It will also remove bad URL protocols from attribute values. |
kses_hook | You add any kses hooks here. |
kses_html_error | This function deals with parsing errors in kses_hair(). The general plan is to remove everything to and including some whitespace, but it deals with quotes and apostrophes as well. |
kses_js_entities | This function removes the HTML JavaScript entities found in early versions of Netscape 4. |
kses_no_null | This function removes any NULL characters in $string. |
kses_normalize_entities | This function normalizes HTML entities. It will convert "AT&T" to the correct "AT&T", ":" to ":", "YZZY;" to "&#XYZZY;" and so on. |
kses_normalize_entities2 | This function helps kses_normalize_entities() to only accept 16 bit values and nothing more for number; entities. |
kses_split | This function searches for HTML tags, no matter how malformed. It also matches stray ">" characters. |
kses_split2 | This function does a lot of work. It rejects some very malformed things like <:::>. It returns an empty string, if the element isn't allowed (look ma, no strip_tags()!). Otherwise it splits the tag into an element and an attribute list. |
kses_stripslashes | This function changes the character sequence \" to just " It leaves all other slashes alone. It's really weird, but the quoting from preg_replace(//e) seems to require this. |
kses_version | This function returns kses' version number. |
ksesProcess | Internal "helper" function to apply the tag removal |
layoutSelector | returns the layout selector for an object. |
layoutSelector_album | returns the layout selectors for an album. |
listDBUses | |
listDirectoryFiles | Return an array of files from a directory and sub directories |
listUses | |
load_zenpage_news | Loads a zenpage news article Sets up $_zp_current_zenpage_news and returns it as the function result. |
load_zenpage_pages | Loads a zenpage pages page Sets up $_zp_current_zenpage_page and returns it as the function result. |
loadLocalOptions | Loads option table with album/theme options |
log_message | |
lookupSortKey | Returns a sort field part for querying Note: $sorttype may be a comma separated list of field names. If so, these are peckmarked and returned otherwise unchanged. |
macro_admin_tabs | |
macroList_show | |
makeAlbumCurrent | Sets the album passed as the current album |
makeImageCurrent | Sets the image passed as the current image |
makeSpecialImageName | Returns an i.php "image name" for an image not within the albums structure |
markRelease_button | |
mb_strlen | |
mb_strpos | |
mb_strrpos | |
mb_strtolower | |
mb_strtoupper | |
mb_substr | |
mb_substr_count | |
menu_admin_toolbox_global | |
menu_tabs | Adds menu manager to admin tabs |
minDiff | getPageSelector "diff" function |
mkdir_recursive | Makes directory recursively, returns TRUE if exists or was created sucessfuly. Note: PHP5 includes a recursive parameter to mkdir, but it apparently does not does not traverse symlinks! |
myts_date | Simple SQL timestamp formatting function. |
newAlbum | Wrapper instantiation function for albums. Do not instantiate directly |
newImage | Returns a new "image" object based on the file extension |
next_album | WHILE next_album(): context switches to Album. If we're already in the album context, this is a sub-albums loop, which, quite simply, changes the source of the album list. Switch back to the previous context when there are no more albums. |
next_comment | Iterate through comments; use the ZP_COMMENT context. Return true if there are more comments |
next_image | Returns the next image on a page. sets $_zp_current_image to the next image in the album. |
next_news | Returns the next news item on a page. sets $_zp_current_zenpage_news to the next news item Returns true if there is an new item to be shown |
next_page | Returns pages from the current page object/search/or parent pages based on context Updates $_zp_zenpage_curent_page and returns true if there is another page to be delivered |
ngettext | |
ngettext_pl | ngettext replacement function for separate translations of third party plugins within the root plugins folder. |
ngettext_th | ngettext replacement function for separate translations of third party themes. |
omsAdditions | |
parse_query | parses a query string WITHOUT url decoding it! |
parse_size | Parses a byte size from a size value (eg: 100M) for comparison. |
parseAllowedTags | parses the allowed HTML tags for use by htmLawed |
parseHttpAcceptLanguage | This function will parse a given HTTP Accepted language instruction (or retrieve it from $_SERVER if not provided) and will return a sorted array. For example, it will parse fr;en-us;q=0.8 |
pathurlencode | rawurlencode function that is path-safe (does not encode /) |
pluginDebug | |
populateManagedObjectsList | Returns a list of album names managed by $id |
postAlbumSort | POST handler for album tree sorts |
postIndexDecode | Decodes encoded $_POST index |
postIndexEncode | Encodes for use as a $_POST index |
prefix | Prefix a table name with a user-defined string to avoid conflicts. This MUST be used in all database queries. |
prepareAlbumPage | |
prepareCustomPage | |
prepareImagePage | |
prepareIndexPage | |
print404status | |
print_language_string_list | Generates an editable list of language strings |
printAddToFavorites | |
printAdminFooter | Print the footer < div> for the bottom of all admin pages. |
printAdminHeader | Print the header for all admin pages. Starts at |
printAdminRightsTable | Outputs the rights checkbox table for admin |
printAdminThumb | Prints an admin thumb |
printAlbumBreadcrumb | prints the breadcrumb item for the current images's album |
printAlbumButtons | puts out the maintenance buttons for an album |
printAlbumCustomData | Prints the custom_data field of the current album.
Converts and displays line break in the admin field as |
printAlbumData | Prints arbitrary data from the album object |
printAlbumDate | Prints the date of the current album |
printAlbumDesc | Prints description of the current album |
printAlbumEditForm | emits the html for editing album information called in edit album and mass edit |
printAlbumEditRow | puts out a row in the edit album table |
printAlbumLegend | |
printAlbumLocation | Prints the location of the album |
printAlbumMenu | Prints a list of all albums context sensitive. Since 1.4.3 this is a wrapper function for the separate functions printAlbumMenuList() and printAlbumMenuJump(). that was included to remain compatiblility with older installs of this menu. |
printAlbumMenuJump | Prints a dropdown menu of all albums(not context sensitive) Is used by the wrapper function printAlbumMenu() if the options "jump" is choosen. For standalone use, too. |
printAlbumMenuList | Prints a nested html list of all albums context sensitive. |
printAlbumMenuListAlbum | Handles an album for printAlbumMenuList |
printAlbumsSelector | Prints all albums of the Zenphoto gallery as a partial drop down menu ( parts). |
printAlbumStatistic | Prints album statistic according to $option as an unordered HTML list A css id is attached by default named '$option_album' |
printAlbumStatisticItem | A helper function that only prints a item of the loop within printAlbumStatistic() Not for standalone use. |
printAlbumThumbImage | Prints the album thumbnail image. |
printAlbumTitle | Prints an encapsulated title of the current album. If you are logged in you can click on this to modify the title on the fly. |
printAlbumURL | Prints the album link url of the current album. |
printAllDates | Prints a compendum of dates and links to a search page that will show results of the date |
printAllNestedList | Prints all available pages or categories in Zenpage |
printAllNewsCategories | Prints all news categories as a unordered html list |
printAllTags | Prints a tag cloud list of the tags in one album and optionally its subalbums. Base function to printAllTagsFromAlbum(). |
printAllTagsAs | Either prints all of the galleries tgs as a UL list or a cloud |
printAllTagsFromAlbum | Prints a tag cloud list of the tags in one album and optionally its subalbums. Known limitation: If $mode is set to "all" there is no tag count and therefore no tag cloud but a simple list |
printAllTagsFromZenpage | Prints a tag cloud list of the tags used by either all Zenpage news articles or pages. |
printAnnotatedAlbumTitle | |
printAnnotatedImageTitle | |
printArticleCategories | Print the categories of a news article for the news articles list |
printArticleDatesDropdown | Prints the dropdown menu for the date archive selector for the news articles list |
printArticlesPerPageDropdown | Prints the dropdown menu for the articles per page selector for the news articles list |
printAuthorDropdown | Prints the dropdown menu all authors that currently are authors of news articles |
printBareAlbumDesc | |
printBareAlbumTitle | |
printBareGalleryDesc | |
printBareGalleryTitle | |
printBareImageDesc | |
printBareImageTitle | |
printBareNewsTitle | |
printBarePageTitle | prints the raw title of a page. |
printBarGraph | |
printBulkActions | Edit tab bulk actions drop-down |
printCategoriesStatistic | |
printCategoryCheckboxListEntry | Prints the checkboxes to select and/or show the category of an news article on the edit or add page |
printCategoryDropdown | Prints the dropdown menu for the category selector for the news articles list |
printCategoryListSortableTable | Prints the list entry of a single category for the sortable list |
printCategorySelection | Prints the checkboxes to select and/or show the category of an news article on the edit or add page |
printCodeblock | Prints the content of a codeblock for an image, album or Zenpage newsarticle or page. |
printCodeblockEdit | |
printCommentAuthorLink | Prints a link to the author |
printCommentErrors | Tool to output an error message if a comment posting was not accepted |
printCommentForm | Prints a form for posting comments |
printContactForm | Prints the mail contact form, handles checks and the mail sending. It uses Zenphoto's check for valid e-mail address and website URL and also supports CAPTCHA. The contact form itself is a separate file and is located within the /contact_form/form.php so that it can be style as needed. |
printContactFormMacro | Buffers the contact form print out so it can be passed to its content macro |
printCookieInfo | Prints a definition list with predefined info about general cookies set by the system and/or plugins |
printCopyrightNotice | Display the site copyright notice if defined and display is enabled |
printCurrentNewsArchive | Prints the current select news date (year-month) or formatted |
printCurrentNewsCategory | Prints the title of the currently selected news category |
printCustomAlbumThumbImage | Prints a link to a custom sized thumbnail of the current album |
printCustomAlbumThumbMaxSpace | Prints a un-cropped custom sized album thumb within the given height and width dimensions. Note: a class of 'not_visible' or 'password_protected' will be added as appropriate |
printCustomMenu | Prints a context sensitive menu of all pages as a unordered html list |
printCustomPageSelector | Prints the selector for custom pages |
printCustomPageURL | Prints the url to a custom page (e.g. one that is not album.php, image.php, or index.php) |
printCustomSizedImage | Print normal video or custom sized images. Note: a class of 'not_visible' or 'password_protected' will be added as appropriate |
printCustomSizedImageMaxSpace | Print normal video or un-cropped within the given height and width dimensions. Use for sized images or thumbnails in an album. Note: a class of 'not_visible' or 'password_protected' will be added as appropriate |
printCustomSizedImageThumbMaxSpace | Creates image thumbnails which will fit un-cropped within the width & height parameters given |
printDataUsageNotice | Prints the data privacy policy page and the data usage confirmation text as defined on Options > Security If there is no page defined it only prints the default text. |
printDefaultSizedImage | Show video player with video loaded or display the image. |
printDownloadAlbumZipURL | |
printdownloadList | Prints the actual download list included all subfolders and files |
printDownloadURL | Prints a download link for a file, depending on the plugin options including the downloadcount and filesize |
printEditCommentLink | Creates a link to the admin comment edit page for the current comment |
printEditDropdown | Prints the dropdown menu for the nesting level depth for the album sorting |
printExpired | Prints the expiration or expired date for items |
printFavoritesURL | Prints links to the favorites "albums" |
printFullAlbumsList | Prints all albums of the Zenphoto gallery as a partial drop down menu ( parts). |
printFullImageDownloadURL | Prints the dwnload url link for a full image |
printGalleryDesc | Prints the description of the gallery. |
printGalleryIndexURL | If a custom gallery index page is set this first prints a link to the actual site index (home page = index.php) followed by the gallery index page link. Otherwise just the gallery index link |
printGalleryTitle | Prints the title of the gallery. |
printGoogleMap | Output the google map |
printHeadTitle | Function to print the html |
printHomeLink | Prints a link to the 'main website', not the Zenphoto site home page! Only prints the link if the url is not empty and does not point back the gallery page |
printImageCustomData | Prints the custom_data field of the current image.
Converts and displays line breaks set in the admin field as |
printImageData | Prints arbitrary data from the image object |
printImageDate | Prints the date of the current album |
printImageDesc | Prints the description of the current image.
Converts and displays line breaks set in the admin field as |
printImageMetadata | Prints the Metadata data of the current image |
printImageslist | Prints the images and/or albums as thumbnails of the selected album |
printImageStatistic | Prints image statistic according to $option as an unordered HTML list A css id is attached by default named accordingly'$option' |
printImageThumb | |
printImageTitle | Prints title of the current image |
printImageURL | Prints the link to the current image. |
printItemEditLink | Prints the link to the edit page of a menu item. For gallery and Zenpage items it links to their normal edit pages, for custom pages and custom links to menu specific edit page. |
printItemsList | Prints the sortable pages list returns true if nesting levels exceede the database container |
printItemsListTable | Prints the table part of a single page item for the sortable pages list |
printItemStatusDropdown | Prints the item status selector to choose if all items or only hidden or visible should be listed |
printjPlayerPlaylist | |
printLangAttribute | Prints the lang="" attribute for the main element. |
printLanguageSelector | prints a form for selecting a locale The POST handling is by getUserLocale() called in functions.php |
printLastChangeInfo | Prints the last change date and last change user notice on backend edit pages Also for albums it prints the updateddate |
printLatestAlbums | |
printLatestComments | Prints latest comments for images, albums, news and pages |
printLatestImages | |
printLatestImagesByDate | |
printLatestImagesByMtime | |
printLatestNews | Prints the latest news either only news articles or with the latest images or albums as a unordered html list |
printLatestUpdatedAlbums | |
printLinkHTML | General link printing function |
printLogoAndLinks | Print the html required to display the ZP logo and links in the top section of the admin page. |
printManagedObjects | Creates the managed album table for Admin |
printMenuemanagerPageList | Prints a full page navigation including previous and next page links with a list of all pages in between. |
printMenuemanagerPageListWithNav | Prints a list of all pages. |
printMenumanagerBreadcrumb | Prints the breadcrumbs of the current page |
printMenumanagerNextLink | Gets the link to the next menu item |
printMenumanagerPrevLink | Prints the previous link of the current menu item |
printMostPopularItems | Prints the most popular pages, news articles and categories as an unordered list |
printMostRatedAlbums | |
printMostRatedImages | |
printMostRatedItems | Prints the most rated pages and news articles as an unordered list |
printNestedAlbumsList | Prints the sortable nested albums list returns true if nesting levels exceede the database container |
printNestedItemsList | Prints the nested list for pages and categories |
printNestedMenu | Prints a context sensitive menu of all pages as a unordered html list |
printNews | |
printNewsArchive | Prints the monthy news archives sorted by year NOTE: This does only include news articles. |
printNewsArticlesList | Prints all available articles in Zenpage |
printNewsAuthor | Prints the author of the current news article |
printNewsCategories | Prints the categories of current article as a unordered html list |
printNewsCategoryCustomData | Prints the custom data field of the news category |
printNewsCategoryDesc | Prints the description of the news category |
printNewsCategoryURL | Prints the full link to a news category |
printNewsContent | Prints the news article content. Note: TinyMCE used by Zenpage for news articles may already add a surrounding to the content. |
printNewsCustomData | Prints the custom data field of the curent news article |
printNewsDate | Prints the date of the current news article |
printNewsExtraContent | Prints the extracontent of a news article if in single news articles view |
printNewsIndexURL | Prints the full link of the news index page (news page 1 by default) |
printNewsPageList | Prints the page number list for news page navigation |
printNewsPageListWithNav | Prints the full news page navigation with prev/next links and the page number list |
printNewsStatistic | |
printNewsTitle | prints the news article title |
printNewsURL | Prints the title of a news article as a full html link |
printNextNewsLink | Prints the link of the next article in single news article pagination if available |
printNextNewsPageLink | Prints the link to the next news page |
printNextPageURL | Prints the URL of the next page. |
printOpenStreetMap | Template function wrapper for the openStreetMap class to show a map with geodata markers for the current image or collected the images of an album. |
printOwnerAuthor | Prints current item's owner (gallery images and albums) or author (Zenpage articles and pages) |
printOwnerAuthorURL | Prints the link to the search engine for results of all items the current item's owner (gallery) or author (Zenpage) is assigned to |
printPageArticleTags | Print the categories of a news article for the news articles list |
printPageAuthor | Prints the author of the current page |
printPageContent | Print page content either of the current page or if requested by titlelink directly. If not both return false Set the titlelink of a page to call a specific even un-published page ($published = false) as a gallery description or on another custom page for example |
printPageCustomData | Prints the custom data field of the current page |
printPageDate | Prints the creation date of a page |
printPagedThumbsNav | Prints a paged thumbnail navigation to be used on a theme's image.php, independent of the album.php's thumbs loop |
printPageExtraContent | Prints page extra content if on a page either of the current page or if requested by titlelink directly. If not both return false Set the titlelink of a page to call a specific even un-published page ($published = false) as a gallery description or on another custom page for example |
printPageID | Prints the id of a page |
printPageLastChangeDate | Prints the last change date of a page |
printPageList | Prints a list of all pages. |
printPageListWithNav | Prints a full page navigation including previous and next page links with a list of all pages in between. |
printPageMenu | Prints a context sensitive menu of all pages as a unordered html list |
printPageNav | Prints a page navigation including previous and next page links |
printPageSelector | |
printPagesListTable | Prints the table part of a single page item for the sortable pages list |
printPagesStatistic | |
printPageTitle | Prints the title of a page |
printPageTitleLink | Prints titlelink of a page !!!!!!!!!!NOT THE URL TO THE PAGE!!!!!!!!!!!!! |
printPageURL | Prints the url to a specific zenpage page |
printParentBreadcrumb | Prints the breadcrumb navigation for album, gallery and image view. |
printPasswordForm | Prints the album password form |
printPopularAlbums | |
printPopularImages | |
printPrevNewsLink | Prints the link of the previous article in single news article pagination if available |
printPrevNewsPageLink | Prints the link to the previous news page |
printPrevPageURL | Returns the URL of the previous page. |
printPrivacyPageLink | If the privacy page url option is set this prints a link to it |
printPublished | Prints the scheduled publishing date for items if set. Also prints the date for Zenpage news articles and pages |
printPublishIconLink | Prints the publish/un-published/scheduled publishing icon with a link for the pages and news articles list. |
printPublishIconLinkGallery | Prints the publish icon link to change the status on the album and thumb image list |
printRandomImages | Puts up random image thumbs from the gallery |
printRating | Prints the rating star form and the current rating Insert this function call in the page script where you want the star ratings to appear. |
printReconfigureError | Prints an error page on the frontend if a mandatory reconfigure issue occurred but the visitor is not loggedin with appropiate rights. |
printReconfigureNote | prints HTML for the configuration change notification |
printRegisterURL | prints the link to the register user page |
printRegistrationForm | Parses the verification and registration if they have occurred places the user registration form |
printRelatedItems | Prints the x related articles based on a tag search |
printRSSHeaderLink | Prints the RSS link for use in the HTML HEAD |
printRSSLink | Prints an RSS link |
printScheduledPublishingNotes | Prints various notes regarding the scheduled publishing status for single edit pages |
printSearchBreadcrumb | Prints the "breadcrumb" for a search page if the search was for a data range, the breadcrumb is "Archive" otherwise it is "Search" |
printSearchForm | Prints the search form |
printSelectorWithCustomField | Prints a selector (select list) with a custom text field from the values parameter. The following array entries will be created automatically: |
printSiteHomeURL | Prints the home page link (WEBPATH with trailing slash) to a Zenphoto theme index.php page Use in breadcrumbs if the theme uses a custom gallery index page so the gallery is not the site's home page |
printSizedImageURL | Prints link to an image of specific size |
printSlideShow | Prints the slideshow using the jQuery plugin Cycle2 |
printSlideShowLink | Prints a link to call the slideshow (not shown if there are no images in the album) To be used on album.php and image.php A CSS id names 'slideshowlink' is attached to the link so it can be directly styled. |
printSortableHead | |
printSortOrderDropdown | Prints the dropdown menu for the sortorder selector for the news articles list |
printSubLevelAlbums | Recursive helper function for printFullAlbumsList() to get all sub albums of each top level album |
printSubPagesExcerpts | Prints excerpts of the direct subpages (1 level) of a page for a kind of overview. The setup is: page titlepage content excerpt read more |
printSubtabs | |
printTabs | 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". |
printTags | Prints a list of tags, editable by admin |
printThumbNav | Prints the jQuery bxslider HTML setup to be replaced by JS |
printTinyPageNav | Prints the page navigation for albums or Zenpage news articles |
printTinyZenpageCategorySelector | Prints the dropdown menu for the category selector for the news articles list |
printTopRatedAlbums | |
printTopRatedImages | |
printTopRatedItems | Prints the top rated pages and news articles as an unordered list |
printUnpublishedDropdown | Prints the dropdown menu for the published/un-publishd selector for the news articles list |
printUserLogin_out | Prints the logout link if the user is logged in. This is for album passwords only, not admin users; |
printUserSelector | Prints an select list option for users |
printUserURL | Prints the link to the search engine for results of all items $username is assigned to either as owner (gallery) or author (Zenpage) Note there is no check if the user name is actually a vaild user account name, owner or author! Use the *OwerAuthor() function for that instead |
printVersion | Prints the zenphoto version string |
printZenJavascripts | Print any Javascript required by zenphoto. |
printZenpageIconLegend | |
printZenpageItems | Prints the Zenpage items as a partial dropdown (pages, news articles, categories) |
printZenpageItemsBreadcrumb | Prints the parent items breadcrumb navigation for pages or categories |
printZenpageNewsCategorySelector | Prints all available articles or categories in Zenpage |
printZenpagePageSelector | Prints an select list option for Zenpage pages |
printZenpagePagesSelector | Prints all available pages in Zenpage |
printZenpageStatistic | Prints the statistics Zenpage items as an unordered list |
printZenphotoLink | prints the zenphoto logo and link |
process_language_string_save | process the post of a language string form |
processAlbumBulkActions | Processes the check box bulk actions for albums |
processAlbumEdit | processes the post from the above |
processCodeblockSave | |
processCommentBulkActions | Processes the check box bulk actions for comments |
processCredentials | |
processCustomOptionSave | |
processEditSelection | |
processExtensionVariable | Processes a plugin or theme definition variable. |
processImageBulkActions | Handles Image bulk actions |
processImageEdit | Process the image edit form posted |
processManagedObjects | |
processMenuBulkActions | Processes the check box bulk actions |
processOrder | Processes the serialized array from tree sort. Returns an array in the form [$id=>array(sort orders), $id=>array(sort orders),...] |
processRights | processes the post of administrator rights |
processTags | processes the taglist save |
processZenpageBulkActions | Processes the check box bulk actions |
propSizes | Calculates proprotional width and height Used internally by cacheImage |
protectSetupFiles | Protects setup files |
publishItem | Sets a menu item to published/visible |
purgeOption | Deletes an option from the database |
purgeThemeOption | Deletes an option from the database |
query | |
query_full_array | |
query_single_row | |
rc4 | |
read_exif_data_protected | Provides an error protected read of image EXIF/IPTC data |
readTags | Retrieves the tags for an object Returns them in an array |
reconfigureAction | Executes the configuration change code |
reconfigureCSS | |
recordMissing | |
redirectionHandler | Handles redirections via filter hook "redirection_handler". It is meant to perform redirections of pages that have been removed or renamed. |
redirectURL | General url redirection handler using header() |
rem_context | |
removeDir | |
removeParentAlbumNames | Removes the parent album name so that we can print a album breadcrumb with them |
removeTrailingSlash | Removes a trailing slash from a string if one exists, otherwise just returns the string Used primarily within date and tag searches and news date archive results |
renameOption | Replaces/renames an option. If the old option exits, it creates the new option with the old option's value as the default unless the new option has already been set otherwise. Independently it always deletes the old option. |
replaceOption | Replaces/renames an option. If the old option exits, it creates the new option with the old option's value as the default unless the new option has already been set otherwise. Independently it always deletes the old option. |
replaceThemeOption | Replaces/renames an option. If the old option exits, it creates the new option with the old option's value as the default unless the new option has already been set otherwise. Independently it always deletes the old option. |
restore_context | |
reveal | uses down and up arrow links to show and hide sections of HTML |
rewrite_get_album_image | Handles the special cases of album/image[rewrite_suffix] |
rewrite_path | Returns either the rewrite path or the plain, non-mod_rewrite path based on the mod_rewrite option. The given paths can start /with or without a slash, it doesn't matter. |
rewriteHandler | "Rewrite" handling for Zenphoto |
RSS_Channel | |
RSS_Retrieve | |
RSS_Tags | |
rulesList | |
safe_fnmatch | pattern match function Works with characters with diacritical marks where the PHP one does not. |
safe_glob | Provide an alternative to glob which does not return filenames with accented charactes in them |
sanitize | Make strings generally clean. Takes an input string and cleans out null-bytes, and optionally use KSES library to prevent XSS attacks and other malicious user input. |
sanitize_numeric | Checks if the input is numeric, rounds if so, otherwise returns false. |
sanitize_path | Takes user input meant to be used within a path to a file or folder and removes anything that could be insecure or malicious, or result in duplicate representations for the same physical file. |
sanitize_script | removes script tags |
sanitize_string | returns a sanitized string for the sanitize function |
sanitizeRedirect | Sanitizes a "redirect" post to always be within the site |
save_context | |
saveLayoutSelection | Saves the layout page assignment via filter on the backend |
saveZenphotoLayoutSelection | Saves the layout page assignment via filter on the backend for images and albums |
search_quote | |
secureServer | Checks to see if access was through a secure protocol |
seo_cleanup_button | |
seoFriendly | Strips out and/or replaces characters from the string that are not "soe" friendly |
seoFriendlyJS | |
set_context | |
setAlbumSubtabs | |
setexifvars | initializes the $_zp_exifvars array display state |
setMainDomain | Sets the locale, etc. to the zenphoto domain details. Returns the result of setupCurrentLocale() |
setOption | |
setOptionDefault | |
setSiteState | updates the site status |
setThemeColumns | controls the thumbnail layout of themes. |
setThemeOption | Set options local to theme and/or album |
setThemeOptionDefault | Used to set default values for theme specific options |
setTinyZenpageLocale | Set the locale for gettext translation of this plugin. Somehow ZenPhoto's setupDomain() does not work here... |
setupCurrentLocale | Setup code for gettext translation Returns the result of the setlocale call |
setupDomain | Sets the translation domain and type for optional theme or plugin based translations |
setupTheme | Returns the theme folder If there is an album theme, loads the theme options. |
shortenContent | Returns truncated html formatted content |
shortentitle | shortens a string, truncate_string() was not exact enough. |
showOrNotShowField | Helper function that checks if a field should be shown ("required" or "show") or omitted ("ommitt"). Only for the fields set by radioboxes. |
showZenphotoOptions | Checks if the full Zenphoto include form options should be shown |
shuffle_assoc | shuffles an array maintaining the keys |
signatureChange | Notification handler for configuration change |
site_upgrade_button | |
site_upgrade_status | |
skipScheduledPublishing | Skips the scheduled future publishing by setting the date of a page or article to the current date to publish it immediately or the expiration handling by setting the expiredate to null. |
sortArray | General one dimensional array sorting function. Key/value associations are preserved. |
sortByKey | sorts the found albums (images) by the required key(s) |
sortByMultilingual | Sorts the results of a DB search by the current locale string for $field |
sortMultiArray | multidimensional array column sort |
standardScripts | Returns an array of "standard" theme scripts. This list is normally used to exclude these scripts form various option seletors. |
standardThemeOptions | |
stickyNews | returns the "sticky" value of the news article |
storeConfig | backs-up and updates the Zenphoto configuration file |
storeTags | Stores tags for an object |
stripSuffix | returns a file name sans the suffix |
submenuOf | Returns true if the current menu item is a sub item of $link |
switchLog | Rolls a log over if it has grown too large. |
tagSelector | Creates an unordered checklist of the tags |
tagSuggestJS | |
tagSuggestJS_admin | |
tagSuggestJS_frontend | |
tagURLs | inserts location independent WEB path tags in place of site path tags |
textdomain | |
themeIsEditable | Check if a theme is editable (ie not a bundled theme) |
themeSetup | primitive theme setup for image handling scripts |
tidyHTML | Fixes unbalanced HTML tags. Uses the library htmlawed or if available the native PHP extension tidy |
timezoneDiff | Returns the difference between the server timez one and the local (users) time zone |
tinymce4ConfigJS | |
truncate_string | Returns a truncated string |
unprotectSetupFiles | Unprotectes setup files |
unpublishedZenpageItemCheck | checks if a news article or page is un-published and/or protected and returns a '*' |
unpublishedZenphotoItemCheck | |
unpublishSubalbums | |
unQuote | Strips off quotes from the strng |
unTagURLs | reverses tagURLs() |
unzip | Unzips an image archive |
updateArticle | Updates or adds a news article and returns the object of that article |
updateCacheName | |
updateCategory | Updates or adds a category |
updateConfigItem | Updates an item in the configuration file |
updateImageProcessorLink | Searches out i.php image links and replaces them with cache links if image is cached |
updateItemSortorder | Updates the sortorder of the items list in the database |
updateItemsSortorder | Updates the sortorder of the pages list in the database |
updateMenuItem | Updates a menu item (custom link, custom page only) set via POST |
updatePage | Updates or adds a page and returns the object of that page |
upload_extra | |
upload_form | |
upload_head | |
user_mailing_list_button | |
validateLocale | checks a "supplied" locale against the valid locales. Returns a valid locale if one exists else returns NULL |
writeHeader | |
XSRFdefender | Checks for Cross Site Request Forgeries |
XSRFToken | Emits a "hidden" input for the XSRF token |
zenpageAlbumImage | support to show an image from an album The imagename is optional. If absent the album thumb image will be used and the link will be to the album. If present the link will be to the image. |
zenpageBulkActionMessage | |
zenpageJSCSS | Prints the links to JavaScript and CSS files zenpage needs. Actually the same as for zenphoto but with different paths since we are in the plugins folder. |
zenpagePublish | Publishes a page or news article |
zenphoto_PHPMailer | |
zenphoto_sendmail | |
zenPhotoTheme | |
zp_apply_filter | Performs a filtering operation on a zenphoto element or event. This function is called for each zenphoto element which supports plugin filtering. It is called after any zenphoto specific actions are completed and before the element is used. |
zp_clearCookie | Clears a cookie |
zp_colorAllocate | |
zp_cookieEncode | |
zp_copyCanvas | |
zp_createImage | |
zp_drawRectangle | |
zp_error | triggers an error |
zp_filter_slot | |
zp_filter_unique_id | Build Unique ID for storage and retrieval. |
zp_getCookie | Returns the value of a cookie from either the cookies or from $_SESSION[] |
zp_getFonts | |
zp_graphicsLibInfo | |
zp_handle_password | checks password posting |
zp_handle_password_single | Handles a passwort |
zp_has_filter | Check if any filter has been registered for a hook. |
zp_image_types | returns a list of comment record 'types' for "images" |
zp_imageCanRotate | |
zp_imageColorTransparent | |
zp_imageDims | |
zp_imageFill | |
zp_imageFontHeight | |
zp_imageFontWidth | |
zp_imageFromString | |
zp_imageGet | |
zp_imageGray | |
zp_imageHeight | |
zp_imageIPTC | |
zp_imageKill | |
zp_imageLoadFont | |
zp_imageMerge | |
zp_imageOutput | |
zp_imageResizeAlpha | |
zp_imageResizeTransparent | |
zp_imageUnsharpMask | |
zp_imageWidth | |
zp_load_album | zp_load_album - loads the album given by the folder name $folder into the global context, and sets the context appropriately. |
zp_load_gallery | initializes the gallery. |
zp_load_image | zp_load_image - loads the image given by the $folder and $filename into the global context, and sets the context appropriately. |
zp_load_page | |
zp_load_request | Figures out what is being accessed and calls the appropriate load function |
zp_load_search | Loads the search object. |
zp_loggedin | |
zp_mail | Send an mail to the mailing list. We also attempt to intercept any form injection attacks by slime ball spammers. Returns error message if send failure. |
zp_register_filter | Registers a filtering function Filtering functions are used to post process zenphoto elements or to trigger functions when a filter occur |
zp_remove_filter | Removes a function from a specified filter hook. |
zp_resampleImage | |
zp_rotateImage | |
zp_session_destroy | Ends a zenphoto session if there is one and clear the session cookie |
zp_session_start | |
zp_setCookie | Sets a cookie both in the browser cookies and in $_SESSION[] |
zp_writeString | |
zpErrorHandler | |
zpFormattedDate | Returns a formated date for output |
zpRewriteURL | Creates a "REWRITE" url given the query parameters that represent the link |