Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Functions

  • admin_album_list
  • admin_securityChecks
  • adminPageNav
  • bulkActionRedirect
  • bulkTags
  • checkAlbumimagesort
  • checkAlbumParentid
  • checked
  • clonedFrom
  • codeblocktabsJS
  • consolidatedEditMessages
  • copyThemeDirectory
  • currentRelativeURL
  • customOptions
  • dateDiff
  • datepickerJS
  • deleteThemeDirectory
  • fullText
  • genAlbumList
  • generateRadiobuttonsFromArray
  • generateUnorderedListFromArray
  • getAdminThumb
  • getAlbumBreadcrumbAdmin
  • getCheckboxState
  • getLogTabs
  • getPageSelector
  • getParentAlbumsAdmin
  • getPluginTabs
  • getSubtabs
  • getTagOrder
  • getThemeFiles
  • getWatermarks
  • httpsRedirect
  • is_zip
  • isolate
  • listDirectoryFiles
  • minDiff
  • postAlbumSort
  • postIndexDecode
  • postIndexEncode
  • print_language_string_list
  • printAdminFooter
  • printAdminHeader
  • printAdminRightsTable
  • printAlbumButtons
  • printAlbumEditForm
  • printAlbumEditRow
  • printAlbumLegend
  • printBulkActions
  • printCodeblockEdit
  • printEditDropdown
  • printLogoAndLinks
  • printManagedObjects
  • printNestedAlbumsList
  • printPageSelector
  • printSortableHead
  • printSubtabs
  • printTabs
  • process_language_string_save
  • processAlbumBulkActions
  • processAlbumEdit
  • processCodeblockSave
  • processCommentBulkActions
  • processCredentials
  • processCustomOptionSave
  • processEditSelection
  • processImageBulkActions
  • processImageEdit
  • processManagedObjects
  • processOrder
  • processRights
  • removeParentAlbumNames
  • setAlbumSubtabs
  • standardScripts
  • standardThemeOptions
  • tagSelector
  • themeIsEditable
  • unQuote
  • unzip
  • XSRFdefender
  • zenPhotoTheme
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Package admin

Functions summary
admin_album_list Returns an option list of administrators who can own albums or images
admin_securityChecks Standard admin pages checks
adminPageNav
bulkActionRedirect
bulkTags Process the bulk tags
checkAlbumimagesort Make sure the albumimagesort is only an allowed value. Otherwise returns nothing.
checkAlbumParentid
checked
clonedFrom
codeblocktabsJS Codeblock tabs JavaScript code
consolidatedEditMessages
copyThemeDirectory Copy a theme directory to create a new custom theme
currentRelativeURL Return URL of current admin page
customOptions
dateDiff getPageSelector "diff" function
datepickerJS
deleteThemeDirectory
fullText getPageSelector "diff" function
genAlbumList
generateRadiobuttonsFromArray Prints radio buttons from an array
generateUnorderedListFromArray Creates the body of an unordered list with checkbox label/input fields (scrollable sortables)
getAdminThumb
getAlbumBreadcrumbAdmin
getCheckboxState Returns the value of a checkbox form item
getLogTabs Figures out which log tabs to display
getPageSelector returns a selector list based on the "names" of the list items
getParentAlbumsAdmin Returns an array of the names of the parents of the current album.
getPluginTabs Figures out which plugin tabs to display
getSubtabs
getTagOrder Returns the desired tagsort order (0 for alphabetic, 1 for most used)
getThemeFiles returns an array of the theme scripts not in the exclude array
getWatermarks Returns a merged list of available watermarks
httpsRedirect
is_zip Checks for a zip file
isolate Extracts and returns a 'statement' from a PHP script so that it may be 'evaled'
listDirectoryFiles Return an array of files from a directory and sub directories
minDiff getPageSelector "diff" function
postAlbumSort POST handler for album tree sorts
postIndexDecode Decodes encoded $_POST index
postIndexEncode Encodes for use as a $_POST index
print_language_string_list Generates an editable list of language strings
printAdminFooter

Print the footer

<

div> for the bottom of all admin pages.

printAdminHeader

Print the header for all admin pages. Starts at but does not include the tag, in case there is a need to add something further.

printAdminRightsTable Outputs the rights checkbox table for admin
printAlbumButtons puts out the maintenance buttons for an 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
printBulkActions Edit tab bulk actions drop-down
printCodeblockEdit
printEditDropdown Prints the dropdown menu for the nesting level depth for the album sorting
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
printNestedAlbumsList

Prints the sortable nested albums list returns true if nesting levels exceede the database container

printPageSelector
printSortableHead
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".

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
processImageBulkActions Handles Image bulk actions
processImageEdit Process the image edit form posted
processManagedObjects
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
removeParentAlbumNames Removes the parent album name so that we can print a album breadcrumb with them
setAlbumSubtabs
standardScripts

Returns an array of "standard" theme scripts. This list is normally used to exclude these scripts form various option seletors.

standardThemeOptions
tagSelector Creates an unordered checklist of the tags
themeIsEditable Check if a theme is editable (ie not a bundled theme)
unQuote Strips off quotes from the strng
unzip Unzips an image archive
XSRFdefender Checks for Cross Site Request Forgeries
zenPhotoTheme
Zenphoto doc API documentation generated by ApiGen