Stan’s Obligatory Blog

9/8/2004

Hacking around

Filed under: — site admin @ 1:37 pm

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.

One Response to “Hacking around”

  1. Stan Says:

    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 ?>”>
    - &nbsp;<a href=”/”>Home</a>&nbsp;
    - </td>
    - <td class=”mod_toplight_right” align=”<?php echo $left ?>”></td>
    - </tr>
    - </table>
    - </td>

Leave a Reply

Seals

Powered by WordPress