mirror of
https://github.com/e107inc/e107.git
synced 2025-08-09 08:06:38 +02:00
Fix for 'edit' button
This commit is contained in:
@@ -1096,7 +1096,7 @@ class admin_newspost
|
|||||||
|
|
||||||
$row['news_allow_comments'] = !$row['news_allow_comments'] ? true : false; // old reverse logic
|
$row['news_allow_comments'] = !$row['news_allow_comments'] ? true : false; // old reverse logic
|
||||||
$row['options'] = "
|
$row['options'] = "
|
||||||
<a class='action' href='".e_SELF."?create.edit.{$row['news_id']}' tabindex='".$frm->getNext()."'>".ADMIN_EDIT_ICON."</a>
|
<a class='action' href='".e_SELF."?action=create&sub=edit&id={$row['news_id']}' tabindex='".$frm->getNext()."'>".ADMIN_EDIT_ICON."</a>
|
||||||
".$frm->submit_image("delete[main_{$row['news_id']}]", LAN_DELETE, 'delete', NWSLAN_39." [ID: {$row['news_id']}]")."
|
".$frm->submit_image("delete[main_{$row['news_id']}]", LAN_DELETE, 'delete', NWSLAN_39." [ID: {$row['news_id']}]")."
|
||||||
";
|
";
|
||||||
$row['checkboxes'] = $row['news_id'];
|
$row['checkboxes'] = $row['news_id'];
|
||||||
|
Reference in New Issue
Block a user