Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_plugin.php - 802 lines - 25228 bytes - Source - Print

Description: Plugins panel.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 15 functions

plugin_list()
switch_status()
plugin_edit()
plugin_help()
plugin_edit_form()
plugin_save()
status_link()
plugin_verify()
plugin_install()
plugin_upload()
plugin_load()
plugin_form()
plugin_change_pageby()
plugin_multiedit_form()
plugin_multi_edit()

Functions

Functions that are not part of a class:

plugin_list($message = '')  line: 60
The main panel listing all installed plugins.

param: string|array $message The activity message
switch_status()  line: 377
Toggles a plugin's status.

plugin_edit()  line: 391
Renders and outputs the plugin editor panel.

plugin_help()  line: 403
Plugin help viewer panel.

plugin_edit_form($name = '')  line: 439
Renders an editor form for plugins.

return: string HTML
param: string $name The plugin
plugin_save()  line: 472
Saves edited plugin code.

status_link($status, $name, $linktext line: 487
Renders a status link.

return: string HTML
param: string $status   The new status
param: string $name     The plugin
param: string $linktext The label
plugin_verify()  line: 509
Plugin installation's preview step.

Outputs a panel displaying the plugin's source code
and the included help file.
plugin_install()  line: 582
Installs a plugin.

plugin_upload()  line: 594
Uploads a plugin.

plugin_load()  line: 640
Uploads a plugin.

plugin_form($existing_files = array()  line: 656
Renders a plugin installation form.

return: string HTML
param: array  $existing_files
plugin_change_pageby()  line: 704
Updates pageby value.

plugin_multiedit_form($page, $sort, $dir, $crit, $search_method line: 716
Renders a multi-edit form widget for plugins.

return: string HTML
param: int    $page          The current page
param: string $sort          The sort criteria
param: string $dir           The sort direction
param: string $crit          The search term
param: string $search_method The search method
plugin_multi_edit()  line: 761
Processes multi-edit actions.

title

Body