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.
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
« Aug | Oct » | |||||
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
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>