plugins/gallery/viewimage.php
changeset 37 3afbd6374442
parent 34 5e9bd8e5c6bf
child 38 512951548faa
equal deleted inserted replaced
36:60e80cd47b61 37:3afbd6374442
   514       $this->error_404();
   514       $this->error_404();
   515       $output->footer();
   515       $output->footer();
   516     }
   516     }
   517   }
   517   }
   518   
   518   
   519   function error_404()
   519   function error_404($userpage = false)
   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 }