Stan’s Obligatory Blog


Warning: mysql_connect() [function.mysql-connect]: User stan7826 already has more than 'max_user_connections' active connections in /home/stan7826/www/blog/wp-holidaydecor.php on line 6

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/stan7826/www/blog/wp-holidaydecor.php on line 7

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/stan7826/www/blog/wp-holidaydecor.php on line 19

Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in /home/stan7826/www/blog/wp-holidaydecor.php on line 21

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>

Powered by WordPress