groupmgr.tmpl

来自「eGroupWare is a multi-user, web-based gr」· TMPL 代码 · 共 278 行

TMPL
278
字号
/**************************************************************************** copyright            : (C) 2001-2003 Advanced Internet Designs Inc.* email                : forum@prohost.org* $Id: groupmgr.tmpl,v 1.4 2003/12/18 18:52:05 iliaa Exp $** This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or * (at your option) any later version.***************************************************************************/{PHP_FILE: input: groupmgr.php.t; output: groupmgr.php;}{REF: security.tmpl}{REF: header.tmpl}{REF: footer.tmpl}{REF: stats.tmpl}{REF: header.tmpl}{REF: footer.tmpl}{REF: stats.tmpl}{REF: alt_var.tmpl}{REF: groups.tmpl}{REF: draw_select_opt.tmpl}{REF: rev_fmt.tmpl}{SECTION: group_selection allows group manager to choose which group to edit}<br /><br /><form method="post" action="{TEMPLATE: group_selection_lnk3}"><table border="0" cellspacing="1" cellpadding="2" class="ContentTable"><tr><th colspan=2>{MSG: group_mgr_heading}</th></tr><tr class="RowStyleA">	<td nowrap><b>{MSG: group_mgr_group}</b></td>	<td width="100%"><select name="group_id">{TEMPLATE-DATA: group_selection}</select></td></tr><tr class="RowStyleC"><td colspan=2 align="left"><input type="submit" class="button" name="btn_groupswitch" value="{MSG: group_mgr_edit_btn}"></td></tr></table>{DEF: _hs}</form>{SECTION: END}{SECTION: group_control_panel}{TEMPLATE-DATA: group_selection}<br />{TEMPLATE-DATA: indicator}<br /><form method="post" action="{TEMPLATE: group_control_panel_lnk3}" name="groupmgr"><table border="0" cellspacing="1" cellpadding="2" class="ContentTable">{TEMPLATE-DATA: member_input}<tr class="RowStyleB">	<td colspan=2>		<table border=0 cellspacing=1 cellpadding=3 width="100%" class="COntentTable">			{TEMPLATE-DATA: perm_sel_hdr}		</table>	</td></tr><tr>	<td align=right colspan=2 class="RowStyleC">		{TEMPLATE-DATA: submit_button}	</td></tr></table><input type="hidden" name="group_id" value="{VAR: group_id}"><input type="hidden" name="edit" value="{VAR: edit}">{DEF: _hs}</form><br /><br /><table border="0" cellspacing="1" cellpadding="2" class="ContentTable"><tr><th>{MSG: groupmgr_member}</th><th colspan="{VAR: n_perms}">{MSG: groups_perms_header}</th><th align="center">{MSG: groupmgr_action}</th></tr>{TEMPLATE-DATA: group_members_list}</table>{SECTION: END}{SECTION: no_group_control_panel}<div align="center">{MSG: groupmgr_no_groups}</div>{SECTION: END}{PAGE: GROUP_MANAGER group permissions manager}{TEMPLATE: header}{TEMPLATE-DATA: group_control_panel}{TEMPLATE-DATA: page_stats}{TEMPLATE: footer}{PAGE: END}{SECTION: grp_find_user}&nbsp;&nbsp;&nbsp;[{MSG: group_mgr_search}]{SECTION: END}{SECTION: member_add add new member}<tr class="RowStyleA"><td nowrap><b>{MSG: groupmgr_member}</b></td><td width="100%" align="left">{TEMPLATE-DATA: login_error}<input type="text" name="gr_member" value="{VAR: gr_member}">{TEMPLATE-DATA: find_user}</td></tr>{SECTION: END}{SECTION: member_edit edit an existing member}<tr class="RowStyleA"><td nowrap><b>{MSG: groupmgr_member}</b></td><td width="100%" align="left">{TEMPLATE-DATA: gr_member}</td></tr>{SECTION: END}{SECTION: perm_yes permissions set to YES indicator}<td title="{VAR: names[$k]}" class="permYES">{MSG: groupmgr_yes}</td>{SECTION: END}{SECTION: perm_no permissions set to NO indicator}<td title="{VAR: names[$k]}" class="permNO">{MSG: groupmgr_no}</td>{SECTION: END}{SECTION: submit_button}<input type="submit" class="button" name="btn_submit" value="{MSG: groupmgr_add_member}">{SECTION: END}{SECTION: update_buttons}<input type="submit" class="button" name="btn_cancel" value="{MSG: groupmgr_cancel}"> <input type="submit" class="button" name="btn_submit" value="{MSG: groupmgr_update_member}">{SECTION: END}{SECTION: group_member_entry permissions for a user in a group}<tr class="{ALT-VAR: mem_list_alt RowStyleA RowStyleB}"><td nowrap>{VAR: member_name}</td>{TEMPLATE-DATA: perm_table}<td nowrap>[<a href="{TEMPLATE: group_member_entry_lnk}">{MSG: groupmgr_edit}</a>] [<a href="{TEMPLATE: group_member_entry_lnk1}">{MSG: groupmgr_delete}</a>]</td></tr>{SECTION: END}{SECTION: group_const_entry permissions for a constant (hardcoded) in a group}<tr class="{ALT-VAR: mem_list_alt RowStyleA RowStyleB}"><td nowrap>{VAR: member_name}</td>{TEMPLATE-DATA: perm_table}<td nowrap>[<a href="{TEMPLATE: group_const_entry_lnk}">{MSG: groupmgr_edit}</a>]</td></tr>{SECTION: END}{SECTION: groupmgr_no_user no such user error}<font class="ErrorText">{MSG: groupmgr_no_user}</font><br />{SECTION: END}{SECTION: groupmgr_already_exists user is already in the group error}<font class="ErrorText">{MSG: groupmgr_already_exists}</font><br />{SECTION: END}{SECTION: group_mgr_anon}<font class="anon">{MSG: group_mgr_anon}</font>{SECTION: END}{SECTION: group_mgr_reged}<font class="reg">{MSG: group_mgr_reged}</font>{SECTION: END}{SECTION: p_VISIBLE}{MSG: p_VISIBLE}{SECTION: END}{SECTION: p_READ}{MSG: p_READ}{SECTION: END}{SECTION: p_POST}{MSG: p_POST}{SECTION: END}{SECTION: p_REPLY}{MSG: p_REPLY}{SECTION: END}{SECTION: p_EDIT}{MSG: p_EDIT}{SECTION: END}{SECTION: p_DEL}{MSG: p_DEL}{SECTION: END}{SECTION: p_STICKY}{MSG: p_STICKY}{SECTION: END}{SECTION: p_POLL}{MSG: p_POLL}{SECTION: END}{SECTION: p_FILE}{MSG: p_FILE}{SECTION: END}{SECTION: p_VOTE}{MSG: p_VOTE}{SECTION: END}{SECTION: p_RATE}{MSG: p_RATE}{SECTION: END}{SECTION: p_SPLIT}{MSG: p_SPLIT}{SECTION: END}{SECTION: p_LOCK}{MSG: p_LOCK}{SECTION: END}{SECTION: p_MOVE}{MSG: p_MOVE}{SECTION: END}{SECTION: p_SML}{MSG: p_SML}{SECTION: END}{SECTION: p_IMG}{MSG: p_IMG}{SECTION: END}{SECTION: indicator shows which groups is currently being edited}<div align="center">{MSG: group_mgr_indicator}<br>{TEMPLATE-DATA: group_resources}</div>{SECTION: END}{SECTION: group_resources}<b>{MSG: group_resources}:</b><br>{SECTION: END}{SECTION: group_resource_ent}&nbsp;&nbsp;&nbsp;{VAR: r[0]}<br>{SECTION: END}{SECTION: primary_group_resource}<b>{MSG: primary_group_prefix}</b> {VAR-HTML: fname}{SECTION: END}{SECTION: groups_na_perms a permission which group manager cannot modify}<td align="center">{MSG: na}</td>{SECTION: END}{SECTION: groups_perm_selection a dropdown that allows the group manager to select perms for users in the group}<td align="center"><select name="{VAR: k}" class="SmallText">	<option value="0">{MSG: groupmgr_no}</option>	<option value="{VAR: v[0]}"{VAR: selyes}>{MSG: groupmgr_yes}</option></select></td>{SECTION: END}{SECTION: groups_header_entry}<th align="center">{VAR: ts_list[$k]}</th>{SECTION: END}{SECTION: groups_draw_perm_entry}<td nowrap><font size=-1>{VAR: inherit}{VAR: perm_str}<br />{VAR: val}</font></td>{SECTION: END}{SECTION: groups_header_entry_row}<tr>{VAR: tmp}</tr><tr class="RowStyleB">{VAR: perm_select}</tr>{SECTION: END}{SECTION: groups_hdr_sp}<th> </th>{SECTION: END}{SECTION: groups_col_sp}<td> </td>{SECTION: END}{SECTION: groups_perm_per_row number of permissions to show per row}6{SECTION: END}{SECTION: p_SEARCH}{MSG: p_SEARCH}{SECTION: END}{SECTION: group_member_entry_lnk}{ROOT}?t=groupmgr&amp;{DEF: _rsid}&amp;edit={VAR: obj->mmid}&amp;group_id={VAR: obj->group_id}{SECTION: END}{SECTION: group_member_entry_lnk1}{ROOT}?t=groupmgr&amp;{DEF: _rsid}&amp;del={VAR: obj->user_id}&amp;group_id={VAR: obj->group_id}{SECTION: END}{SECTION: group_const_entry_lnk}{ROOT}?t=groupmgr&amp;{DEF: _rsid}&amp;edit={VAR: obj->mmid}&amp;group_id={VAR: obj->group_id}{SECTION: END}{SECTION: group_selection_lnk3}{ROOT}?t=groupmgr{SECTION: END}{SECTION: group_control_panel_lnk3}{ROOT}?t=groupmgr{SECTION: END}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?