Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_admin.php - 789 lines - 22621 bytes - Source - Print

Description: Users panel.

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

Defines 14 functions

change_email()
author_save()
change_pass()
author_save_new()
privs()
get_priv_level()
new_pass_form()
change_email_form()
author_list()
author_edit()
admin_change_pageby()
author_multiedit_form()
admin_multi_edit()
admin()

Functions

Functions that are not part of a class:

change_email()  line: 64
Changes an email address.

author_save()  line: 91
Updates a user.

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

author_save_new()  line: 155
Creates a new user.

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

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

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

param: string|array $message The activity message
change_email_form($message = '')  line: 260
Email changing form.

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

param: string|array $message The activity message
author_edit($message = '')  line: 548
Renders and outputs the user editor panel.

Accessing requires 'admin.edit' privileges.

param: string|array $message The activity message
admin_change_pageby()  line: 643
Updates pageby value.

author_multiedit_form($page, $sort, $dir, $crit, $search_method line: 653
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: 686
Processes multi-edit actions.

Accessing requires 'admin.edit' privileges.
admin($message = '')  line: 779
Legacy panel.

param: string|array $message

title

Body