Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_admin.php - 794 lines - 24227 bytes - Source - Print

Description: Users panel.

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

Defines 12 functions

author_save()
change_pass()
author_save_new()
privs()
get_priv_level()
new_pass_form()
author_list()
author_edit_buttons()
author_edit()
admin_change_pageby()
author_multiedit_form()
admin_multi_edit()

Functions

Functions that are not part of a class:

author_save()  line: 59
Updates a user.

change_pass()  line: 120
Changes current user's password.

author_save_new()  line: 148
Creates a new user.

privs($priv = '')  line: 204
Lists user groups as a <select> input.

return: string HTML
param: int $priv Selected option
get_priv_level($priv line: 218
Translates a numeric ID to a human-readable user group.

return: string
param: int $priv The group
new_pass_form($message = '')  line: 232
Password changing form.

param: string|array $message The activity message
author_list($message = '')  line: 276
The main panel listing all authors.

param: string|array $message The activity message
author_edit_buttons()  line: 495
Create additional UI buttons.

author_edit($message = '', $fullEdit = false)  line: 513
Renders the user edit panel.

param: string|array $message  The activity message
param: bool         $fullEdit Whether the user has full edit permissions or not
admin_change_pageby()  line: 653
Updates pageby value.

author_multiedit_form($page, $sort, $dir, $crit, $search_method line: 665
Renders multi-edit form.

return: string HTML
param: int    $page          The page
param: string $sort          The sorting value
param: string $dir           The sorting direction
param: string $crit          The search string
param: string $search_method The search method
admin_multi_edit()  line: 701
Processes multi-edit actions.

Accessing requires 'admin.edit' privileges.

title

Body