mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
change torrent-delete permission judge
This commit is contained in:
+1
-1
@@ -227,7 +227,7 @@ else {
|
||||
print("<tr><td class=\"toolbox\" colspan=\"2\" align=\"center\"><input id=\"qr\" type=\"submit\" value=\"".$lang_edit['submit_edit_it']."\" /> <input type=\"reset\" value=\"".$lang_edit['submit_revert_changes']."\" /></td></tr>\n");
|
||||
print("</table>\n");
|
||||
print("</form>\n");
|
||||
if (user_can('torrent-delete')) {
|
||||
if (user_can('torrent-delete') && user_can('torrentmanage')) {
|
||||
print("<br /><br />");
|
||||
print("<form method=\"post\" action=\"delete.php\">\n");
|
||||
print("<input type=\"hidden\" name=\"id\" value=\"$id\" />\n");
|
||||
|
||||
Reference in New Issue
Block a user