[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/include/ -> functions_plugins_admin.inc.php (sommaire)

(pas de description)

Poids: 701 lignes (27 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 9 fonctions

  serendipity_groupname()
  serendipity_pluginListSort()
  show_plugins()
  ownership()
  placement_box()
  serendipity_plugin_config()
  change_preview()
  choose_media()
  Spawnnugget()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

serendipity_groupname($group)   X-Ref
Returns the name of a usergroup.

If a special constant is defined for the name of the group, the name has been
internationalized. This applies to the Admin/Chief Editor/Editor group names,
which are different for each language. If such a constant is not present,
the simple name of the group will be returned.

param: string  name of the group
return: string  realname of the group

serendipity_pluginListSort($x, $y)   X-Ref
Sort the pluginlist by case-insensitive string functions

param: array    Compared Plugin #1
param: array    Compared Plugin #2
return: boolean  Return code for array comparison

show_plugins($event_only = false, $sidebars = null)   X-Ref
Show the list of plugins

Shows a HTML list of all installed plugins, complete with config/delete/sort order options

param: boolean  Indicates if event plugins (TRUE) or sidebar plugins (FALSE) shall be shown
return: null

ownership($authorid, $name, $is_plugin_owner = false)   X-Ref
Returns HTML code for the ownership column of the plugin listing

Used by the function show_plugins()

param: int     ID of the current user
param: string  plugin name
param: boolean Toggle whether the plugin belongs to the current author
return: null

placement_box($name, $val, $is_plugin_editable = false, $is_event = false, $opts = null)   X-Ref
Show a placement box on where to move a sidebar plugin to

param: string   plugin name
param: string   current position of the plugin
param: boolean  Toggle whether a plugin is editable (depends on authorid and permissions)
param: boolean  Toggle whether a plugin is an event plugin
return: string   HTML code for placement select box

serendipity_plugin_config(&$plugin, &$bag, &$name, &$desc, &$config_names, $showTable = true, $showSubmit = true, $showExample = true, $spawnNuggets = true, $postKey = 'plugin')   X-Ref
Show a placement box on where to move a sidebar plugin to

param: object   A plugin object
param: object   The plugins property bag object
param: string   The name of the plugin
param: string   The description of the plugin
param: array    The property bag 'configuration' array, holding the array of config items.
param: boolean  Shows the surrounding HTML table?
param: boolean  Shows the FORM submit button?
param: boolean  Shows a plugin's "example" method output?
param: boolean  Spawn a plugins' configuration WYSIWYG items?
param: string   The array index name of POSTed values ($serendipity['POST'][xxx])
return: boolean

change_preview(id)   X-Ref
Pas de description

choose_media(id)   X-Ref
Pas de description

Spawnnugget()   X-Ref
Pas de description



Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics