plugins/gallery/viewimage.php
changeset 38 512951548faa
parent 37 3afbd6374442
child 42 7c6e2e97aa08
equal deleted inserted replaced
37:3afbd6374442 38:512951548faa
   514       $this->error_404();
   514       $this->error_404();
   515       $output->footer();
   515       $output->footer();
   516     }
   516     }
   517   }
   517   }
   518   
   518   
   519   function error_404($userpage = false)
   519   function error_404()
   520   {
   520   {
   521     echo '<h3>There is no image in the gallery with this ID.</h3>';
   521     echo '<h3>There is no image in the gallery with this ID.</h3>';
   522     echo '<p>You have requested an image that couldn\'t be looked up. Please check the URL and try again, or visit the <a href="' . makeUrlNS('Special', 'Gallery') . '">Gallery index</a>.</p>';
   522     echo '<p>You have requested an image that couldn\'t be looked up. Please check the URL and try again, or visit the <a href="' . makeUrlNS('Special', 'Gallery') . '">Gallery index</a>.</p>';
   523   }
   523   }
   524 }
   524 }