Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_css.php - 504 lines - 14911 bytes - Source - Print

Description: Styles panel.

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

Defines 8 functions

css_list()
css_edit()
css_save()
css_delete()
css_skin_change()
css_partial_name()
css_partial_name_value()
css_partial_css()

Functions

Functions that are not part of a class:

css_list($current line: 73
Renders a list of stylesheets.

return: string HTML
param: array $current Current record set of the edited sheet
css_edit($message = '', $refresh_partials = false)  line: 113
The main stylesheet editor panel.

param: string|array $message          The activity message
param: bool         $refresh_partials Whether to refresh partial contents
css_save()  line: 284
Saves or clones a stylesheet.

css_delete()  line: 393
Deletes a stylesheet.

css_skin_change($skin = null)  line: 425
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
css_partial_name($rs line: 441
Renders css name field.

return: string HTML
param: array  $rs Record set
css_partial_name_value($rs line: 474
Renders css name value.

return: string HTML
param: array  $rs Record set
css_partial_css($rs line: 486
Renders css textarea field.

return: string HTML
param: array  $rs Record set

title

Body