Hacking around
I installed Gallery for some of our photo albums. It’s pretty nice, except that there was no link from the top level gallery to get out. So I hacked the ‘gallery.header.default’ file in ‘html_wrap’ to add a ‘home’ link.
I installed Gallery for some of our photo albums. It’s pretty nice, except that there was no link from the top level gallery to get out. So I hacked the ‘gallery.header.default’ file in ‘html_wrap’ to add a ‘home’ link.
Powered by WordPress
December 15th, 2004 at 10:48 am
Here’s a patch file for this hack:
— gallery.header.default 2004-09-08 15:31:00.000000000 -0500
+++ gallery.header.default.orig 2004-09-08 15:26:13.000000000 -0500
@@ -41,17 +41,6 @@
– <td>
– <table cellspacing=”0″ cellpadding=”0″ class=”mod_toplight_bg”>
– <tr>
– <td class=”mod_toplight_left” align=”<?php echo $right ?>”></td>
– <td nowrap class=”head” align=”<?php echo $left ?>”>
– <a href=”/”>Home</a>
– </td>
– <td class=”mod_toplight_right” align=”<?php echo $left ?>”></td>
– </tr>
– </table>
– </td>