"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/modules/user/admin_permissions.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

admin_permissions.php  (mybb_1822):admin_permissions.php  (mybb_1823)
skipping to change at line 356 skipping to change at line 356
$group['title'] = htmlspecialchars_uni($group['title']); $group['title'] = htmlspecialchars_uni($group['title']);
$table->construct_cell("<div class=\"float_right\"><img src=\"sty les/{$page->style}/images/icons/{$perm_type}.png\" title=\"{$lang->permissions_t ype_group}\" alt=\"{$perm_type}\" /></div><div><strong><a href=\"index.php?modul e=user-admin_permissions&amp;action=edit&amp;uid={$uid}\" title=\"{$lang->edit_g roup}\">{$group['title']}</a></strong><br /></div>"); $table->construct_cell("<div class=\"float_right\"><img src=\"sty les/{$page->style}/images/icons/{$perm_type}.png\" title=\"{$lang->permissions_t ype_group}\" alt=\"{$perm_type}\" /></div><div><strong><a href=\"index.php?modul e=user-admin_permissions&amp;action=edit&amp;uid={$uid}\" title=\"{$lang->edit_g roup}\">{$group['title']}</a></strong><br /></div>");
if($group['permissions'] != "") if($group['permissions'] != "")
{ {
$popup = new PopupMenu("groupperm_{$uid}", $lang->options ); $popup = new PopupMenu("groupperm_{$uid}", $lang->options );
$popup->add_item($lang->edit_permissions, "index.php?modu le=user-admin_permissions&amp;action=edit&amp;uid={$uid}"); $popup->add_item($lang->edit_permissions, "index.php?modu le=user-admin_permissions&amp;action=edit&amp;uid={$uid}");
// Check permissions for Revoke // Check permissions for Revoke
$popup->add_item($lang->revoke_permissions, "index.php?mo dule=user-admin_permissions&amp;action=delete&amp;uid={$uid}&amp;my_post_key={$m ybb->post_code}", "return AdminCP.deleteConfirmation(this, 'Are you sure you wis h to revoke this group\'s permissions?')"); $popup->add_item($lang->revoke_permissions, "index.php?mo dule=user-admin_permissions&amp;action=delete&amp;uid={$uid}&amp;my_post_key={$m ybb->post_code}", "return AdminCP.deleteConfirmation(this, '$lang->confirm_perms _deletion3')");
$table->construct_cell($popup->fetch(), array("class" => "align_center")); $table->construct_cell($popup->fetch(), array("class" => "align_center"));
} }
else else
{ {
$table->construct_cell("<a href=\"index.php?module=user-a dmin_permissions&amp;action=edit&amp;uid={$uid}\">{$lang->set_permissions}</a>", array("class" => "align_center")); $table->construct_cell("<a href=\"index.php?module=user-a dmin_permissions&amp;action=edit&amp;uid={$uid}\">{$lang->set_permissions}</a>", array("class" => "align_center"));
} }
$table->construct_row(); $table->construct_row();
} }
if($table->num_rows() == 0) if($table->num_rows() == 0)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)