+ array("status" => array("ACTIVE" => "LOCKED", "LOCKED" => "ACTIVE")),
+ true
+ );
+} elseif (isset($_POST['undelete'])) {
+ // Undelete selected URLs. This does only work for deleted URLs... ;-)
+ ADMIN_UNDELETE_ENTRIES_CONFIRM(
+ $_POST['id'],
+ "surfbar_urls",
+ array("id", "userid", "url", "registered", "status"),
+ array("bigintval", "ADMIN_USER_PROFILE_LINK", "FRAMETESTER", "MAKE_DATETIME", "SURFBAR_TRANSLATE_STATUS"),
+ array("", "", "", "2", "")
+ );
+ $show = false;
+} elseif (isset($_POST['do_undelete'])) {
+ // Undelete selected URLs. This does only work for deleted URLs... ;-)
+ ADMIN_UNDELETE_ENTRIES_CONFIRM(
+ $_POST['id'],
+ "surfbar_urls",
+ array(),
+ array(),
+ array(),
+ array("status" => array("DELETED" => "ACTIVE")),