Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_page.php - 602 lines - 17766 bytes - Source - Print

Description: Pages panel.

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

Defines 11 functions

page_edit()
page_list()
page_delete()
page_skin_change()
page_save()
page_new()
page_tagbuild()
taglinks()
page_partial_name()
page_partial_name_value()
page_partial_template()

Functions

Functions that are not part of a class:

page_edit($message = '', $refresh_partials = false)  line: 76
The main Page editor panel.

param: string|array $message          The activity message
param: bool         $refresh_partials Whether to refresh partial contents
page_list($current line: 259
Renders a list of page templates.

return: string HTML
param: string $current The selected template info
page_delete()  line: 297
Deletes a page template.

page_skin_change($skin = null)  line: 335
Changes the skin in which styles are being edited.

Keeps track of which skin is being edited from panel to panel.

param: string $skin Optional skin name. Read from GET/POST otherwise
page_save()  line: 351
Saves or clones a page template.

page_new()  line: 460
Directs requests to page_edit() armed with a 'page_new' step.

page_tagbuild()  line: 471
Return a list of tag builder tags.

return: HTML
taglinks($type line: 509
Renders a list of tag builder options.

return: HTML
param: string $type
page_partial_name($rs line: 523
Renders page name field.

return: string HTML
param: array  $rs Record set
page_partial_name_value($rs line: 556
Renders page name value.

return: string HTML
param: array  $rs Record set
page_partial_template($rs line: 568
Renders page textarea field.

return: string HTML
param: array  $rs Record set

title

Body