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 5016 2010-06-12 00:24:02Z RyanGordon $
| * $Id: groups.php 5453 2011-04-21 23:58:33Z jammerx2 $
|
*/ // Array of usergroup permission fields and their default values.
| */ // Array of usergroup permission fields and their default values.
|
Zeile 280 | Zeile 280 |
---|
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 423 |
---|
$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 1099 | Zeile 1099 |
---|
$updated_users = array("displaygroup" => "usergroup"); $plugins->run_hooks("admin_user_groups_delete_commit");
|
$updated_users = array("displaygroup" => "usergroup"); $plugins->run_hooks("admin_user_groups_delete_commit");
|
$db->update_query("users", $updated_users, "displaygroup='{$usergroup['gid']}'", "", false); // No quotes = displaygroup=usergroup
| $db->update_query("users", $updated_users, "displaygroup='{$usergroup['gid']}'", "", true); // No quotes = displaygroup=usergroup
|
switch($db->type) {
| switch($db->type) {
|