includes/pageprocess.php
changeset 93 95c4d91bd954
parent 92 aa8ffe41d1c4
child 103 a8891e108c95
equal deleted inserted replaced
92:aa8ffe41d1c4 93:95c4d91bd954
  1082       }
  1082       }
  1083       if ( $db->numrows() > 0 )
  1083       if ( $db->numrows() > 0 )
  1084       {
  1084       {
  1085         $r = $db->fetchrow();
  1085         $r = $db->fetchrow();
  1086         echo '<p><b>This page was deleted on ' . $r['date_string'] . '.</b> The stated reason was:</p><blockquote>' . $r['edit_summary'] . '</blockquote><p>You can probably <a href="'.makeUrl($paths->page, 'do=rollback&amp;id='.$r['time_id']).'" onclick="ajaxRollback(\''.$r['time_id'].'\'); return false;">roll back</a> the deletion.</p>';
  1086         echo '<p><b>This page was deleted on ' . $r['date_string'] . '.</b> The stated reason was:</p><blockquote>' . $r['edit_summary'] . '</blockquote><p>You can probably <a href="'.makeUrl($paths->page, 'do=rollback&amp;id='.$r['time_id']).'" onclick="ajaxRollback(\''.$r['time_id'].'\'); return false;">roll back</a> the deletion.</p>';
       
  1087         if ( $session->user_level >= USER_LEVEL_ADMIN )
       
  1088         {
       
  1089           echo '<p>Additional admin options: <a href="' . makeUrl($paths->page, 'do=detag', true) . '" title="Remove any tags on this page">detag page</a></p>';
       
  1090         }
  1087       }
  1091       }
  1088       $db->free_result();
  1092       $db->free_result();
  1089     }
       
  1090     if ( $session->user_level >= USER_LEVEL_ADMIN )
       
  1091     {
       
  1092       echo '<p>Additional admin options: <a href="' . makeUrl($paths->page, 'do=detag', true) . '" title="Remove any tags on this page">detag page</a></p>';
       
  1093     }
  1093     }
  1094     echo '<p>
  1094     echo '<p>
  1095             HTTP Error: 404 Not Found
  1095             HTTP Error: 404 Not Found
  1096           </p>';
  1096           </p>';
  1097     $this->footer();
  1097     $this->footer();