Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_plugin.php - 666 lines - 21951 bytes - Source - Print

Description: Plugins panel.

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

Defines 12 functions

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

Functions

Functions that are not part of a class:

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

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

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

plugin_help()  line: 293
Plugin help viewer panel.

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

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

status_link($status, $name, $linktext line: 349
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: 368
Plugin installation's preview step.

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

plugin_form()  line: 564
Renders a plugin installation form.

return: string HTML
plugin_multiedit_form($page, $sort, $dir, $crit, $search_method line: 582
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: 616
Processes multi-edit actions.

title

Body