|
|
|
@ -137,7 +137,7 @@ foreach($sortable_data as $row) { |
|
|
|
|
$url_id = $row['id']; |
|
|
|
|
$actions = '<a href="access_url_edit.php?url_id='.$url_id.'">'.Display::return_icon('edit.png', get_lang('Edit'), array(), 22).'</a> '; |
|
|
|
|
if ($url_id != '1') { |
|
|
|
|
$actions = '<a href="access_urls.php?action=delete_url&url_id='.$url_id.'&sec_token='.$_SESSION['sec_token'].'" onclick="javascript:if(!confirm('."'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES,$charset))."'".')) return false;">'.Display::return_icon('delete.png', get_lang('Delete'), array(), 22).'</a>'; |
|
|
|
|
$actions .= '<a href="access_urls.php?action=delete_url&url_id='.$url_id.'&sec_token='.$_SESSION['sec_token'].'" onclick="javascript:if(!confirm('."'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES,$charset))."'".')) return false;">'.Display::return_icon('delete.png', get_lang('Delete'), array(), 22).'</a>'; |
|
|
|
|
} |
|
|
|
|
$urls[] = array($url, $description, $status, $actions); |
|
|
|
|
} |
|
|
|
|