Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: groups.php 5380 2011-02-21 12:04:43Z Tomm $
| * $Id: groups.php 5648 2011-11-09 08:48:00Z Tomm $
|
*/ // Array of usergroup permission fields and their default values.
| */ // Array of usergroup permission fields and their default values.
|
Zeile 63 | Zeile 63 |
---|
"canwarnusers" => 0, "canreceivewarnings" => 1, "maxwarningsday" => 0,
|
"canwarnusers" => 0, "canreceivewarnings" => 1, "maxwarningsday" => 0,
|
"canmodcp" => 0
| "canmodcp" => 0, "showinbirthdaylist" => 0, "canoverridepm" => 0, "canusesig" => 0, "canusesigxposts" => 0, "signofollow" => 0
|
);
// Disallow direct access to this file for security reasons
| );
// Disallow direct access to this file for security reasons
|
Zeile 280 | Zeile 285 |
---|
while($request = $db->fetch_array($query)) { $table->construct_cell($form->generate_check_box("users[]", $request['uid'], ""));
|
while($request = $db->fetch_array($query)) { $table->construct_cell($form->generate_check_box("users[]", $request['uid'], ""));
|
$table->construct_cell("<strong>".build_profile_link($request['username'], $request['uid'])."</strong>");
| $table->construct_cell("<strong>".build_profile_link($request['username'], $request['uid'], "_blank")."</strong>");
|
$table->construct_cell(htmlspecialchars_uni($request['reason'])); $table->construct_cell(my_date($mybb->settings['dateformat'].", ".$mybb->settings['timeformat'], $request['dateline']), array('class' => 'align_center')); $table->construct_cell("<a href=\"index.php?module=user-groups&action=approve_join_request&rid={$request['rid']}\">{$lang->approve}</a>", array("class" => "align_center"));
| $table->construct_cell(htmlspecialchars_uni($request['reason'])); $table->construct_cell(my_date($mybb->settings['dateformat'].", ".$mybb->settings['timeformat'], $request['dateline']), array('class' => 'align_center')); $table->construct_cell("<a href=\"index.php?module=user-groups&action=approve_join_request&rid={$request['rid']}\">{$lang->approve}</a>", array("class" => "align_center"));
|
Zeile 423 | Zeile 428 |
---|
$canmanagerequests = $lang->no; }
|
$canmanagerequests = $lang->no; }
|
$table->construct_cell("<strong>".build_profile_link($leader['username'], $leader['uid'])."</strong>");
| $table->construct_cell("<strong>".build_profile_link($leader['username'], $leader['uid'], "_blank")."</strong>");
|
$table->construct_cell($canmanagemembers, array("class" => "align_center")); $table->construct_cell($canmanagerequests, array("class" => "align_center")); $table->construct_cell("<a href=\"index.php?module=user-groups&action=edit_leader&lid={$leader['lid']}\">{$lang->edit}</a>", array("class" => "align_center"));
| $table->construct_cell($canmanagemembers, array("class" => "align_center")); $table->construct_cell($canmanagerequests, array("class" => "align_center")); $table->construct_cell("<a href=\"index.php?module=user-groups&action=edit_leader&lid={$leader['lid']}\">{$lang->edit}</a>", array("class" => "align_center"));
|
Zeile 823 | Zeile 828 |
---|
"canwarnusers" => intval($mybb->input['canwarnusers']), "canreceivewarnings" =>intval($mybb->input['canreceivewarnings']), "maxwarningsday" => intval($mybb->input['maxwarningsday']),
|
"canwarnusers" => intval($mybb->input['canwarnusers']), "canreceivewarnings" =>intval($mybb->input['canreceivewarnings']), "maxwarningsday" => intval($mybb->input['maxwarningsday']),
|
"canmodcp" => intval($mybb->input['canmodcp'])
| "canmodcp" => intval($mybb->input['canmodcp']), "showinbirthdaylist" => intval($mybb->input['showinbirthdaylist']), "canoverridepm" => intval($mybb->input['canoverridepm']), "canusesig" => intval($mybb->input['canusesig']), "canusesigxposts" => intval($mybb->input['canusesigxposts']), "signofollow" => intval($mybb->input['signofollow'])
|
);
// Only update the candisplaygroup setting if not a default user group
| );
// Only update the candisplaygroup setting if not a default user group
|
Zeile 892 | Zeile 902 |
---|
"users_permissions" => $lang->users_permissions, "misc" => $lang->misc );
|
"users_permissions" => $lang->users_permissions, "misc" => $lang->misc );
|
$plugins->run_hooks_by_ref("admin_user_groups_edit_graph_tabs", $tabs);
| $tabs = $plugins->run_hooks("admin_user_groups_edit_graph_tabs", $tabs);
|
$page->output_tab_control($tabs); echo "<div id=\"tab_general\">";
| $page->output_tab_control($tabs); echo "<div id=\"tab_general\">";
|
Zeile 993 | Zeile 1003 |
---|
$form->generate_check_box("canusercp", 1, $lang->can_access_usercp, array("checked" => $mybb->input['canusercp'])), $form->generate_check_box("canchangename", 1, $lang->can_change_username, array("checked" => $mybb->input['canchangename'])), $form->generate_check_box("cancustomtitle", 1, $lang->can_use_usertitles, array("checked" => $mybb->input['cancustomtitle'])),
|
$form->generate_check_box("canusercp", 1, $lang->can_access_usercp, array("checked" => $mybb->input['canusercp'])), $form->generate_check_box("canchangename", 1, $lang->can_change_username, array("checked" => $mybb->input['canchangename'])), $form->generate_check_box("cancustomtitle", 1, $lang->can_use_usertitles, array("checked" => $mybb->input['cancustomtitle'])),
|
$form->generate_check_box("canuploadavatars", 1, $lang->can_upload_avatars, array("checked" => $mybb->input['canuploadavatars']))
| $form->generate_check_box("canuploadavatars", 1, $lang->can_upload_avatars, array("checked" => $mybb->input['canuploadavatars'])), $form->generate_check_box("canusesig", 1, $lang->can_use_signature, array("checked" => $mybb->input['canusesig'])), $form->generate_check_box("signofollow", 1, $lang->uses_no_follow, array("checked" => $mybb->input['signofollow'])), "{$lang->required_posts}<br /><small class=\"input\">{$lang->required_posts_desc}</small><br />".$form->generate_text_box('canusesigxposts', $mybb->input['canusesigxposts'], array('id' => 'canusesigxposts', 'class' => 'field50'))
|
); $form_container->output_row($lang->account_management, "", "<div class=\"group_settings_bit\">".implode("</div><div class=\"group_settings_bit\">", $account_options)."</div>");
| ); $form_container->output_row($lang->account_management, "", "<div class=\"group_settings_bit\">".implode("</div><div class=\"group_settings_bit\">", $account_options)."</div>");
|
Zeile 1016 | Zeile 1029 |
---|
$pm_options = array( $form->generate_check_box("canusepms", 1, $lang->can_use_pms, array("checked" => $mybb->input['canusepms'])), $form->generate_check_box("cansendpms", 1, $lang->can_send_pms, array("checked" => $mybb->input['cansendpms'])),
|
$pm_options = array( $form->generate_check_box("canusepms", 1, $lang->can_use_pms, array("checked" => $mybb->input['canusepms'])), $form->generate_check_box("cansendpms", 1, $lang->can_send_pms, array("checked" => $mybb->input['cansendpms'])),
|
| $form->generate_check_box("canoverridepm", 1, $lang->can_override_pms, array("checked" => $mybb->input['canoverridepm'])),
|
$form->generate_check_box("cantrackpms", 1, $lang->can_track_pms, array("checked" => $mybb->input['cantrackpms'])), $form->generate_check_box("candenypmreceipts", 1, $lang->can_deny_reciept, array("checked" => $mybb->input['candenypmreceipts'])),
|
$form->generate_check_box("cantrackpms", 1, $lang->can_track_pms, array("checked" => $mybb->input['cantrackpms'])), $form->generate_check_box("candenypmreceipts", 1, $lang->can_deny_reciept, array("checked" => $mybb->input['candenypmreceipts'])),
|
"{$lang->message_quota}:<br /><small>{$lang->message_quota_desc}</small><br />".$form->generate_text_box('pmquota', $mybb->input['pmquota'], array('id' => 'pmquota', 'class' => 'field50')), "{$lang->max_recipients}:<br /><small>{$lang->max_recipients_desc}</small><br />".$form->generate_text_box('maxpmrecipients', $mybb->input['maxpmrecipients'], array('id' => 'maxpmrecipients', 'class' => 'field50'))
| "{$lang->message_quota}<br /><small>{$lang->message_quota_desc}</small><br />".$form->generate_text_box('pmquota', $mybb->input['pmquota'], array('id' => 'pmquota', 'class' => 'field50')), "{$lang->max_recipients}<br /><small>{$lang->max_recipients_desc}</small><br />".$form->generate_text_box('maxpmrecipients', $mybb->input['maxpmrecipients'], array('id' => 'maxpmrecipients', 'class' => 'field50'))
|
); $form_container->output_row($lang->private_messaging, "", "<div class=\"group_settings_bit\">".implode("</div><div class=\"group_settings_bit\">", $pm_options)."</div>");
| ); $form_container->output_row($lang->private_messaging, "", "<div class=\"group_settings_bit\">".implode("</div><div class=\"group_settings_bit\">", $pm_options)."</div>");
|
Zeile 1049 | Zeile 1063 |
---|
$misc_options = array( $form->generate_check_box("canviewmemberlist", 1, $lang->can_view_member_list, array("checked" => $mybb->input['canviewmemberlist'])),
|
$misc_options = array( $form->generate_check_box("canviewmemberlist", 1, $lang->can_view_member_list, array("checked" => $mybb->input['canviewmemberlist'])),
|
| $form->generate_check_box("showinbirthdaylist", 1, $lang->show_in_birthday_list, array("checked" => $mybb->input['showinbirthdaylist'])),
|
$form->generate_check_box("cansendemail", 1, $lang->can_email_users, array("checked" => $mybb->input['cansendemail'])), "{$lang->max_emails_per_day}<br /><small class=\"input\">{$lang->max_emails_per_day_desc}</small><br />".$form->generate_text_box('maxemails', $mybb->input['maxemails'], array('id' => 'maxemails', 'class' => 'field50')) );
| $form->generate_check_box("cansendemail", 1, $lang->can_email_users, array("checked" => $mybb->input['cansendemail'])), "{$lang->max_emails_per_day}<br /><small class=\"input\">{$lang->max_emails_per_day_desc}</small><br />".$form->generate_text_box('maxemails', $mybb->input['maxemails'], array('id' => 'maxemails', 'class' => 'field50')) );
|