So I start poking around, checking everything after EVERY change. I was trying to figure out how to get my membersList tables to be all the same width. I found the code for creating the borders, changed it ever so slightly to allow for a width variable. Boom ... sigs stop working.
Here's what I changed:
in lib/commonfunctions.lib.php:
find:
- Code: Select all
function border($style,$mode,$header_text=null)
{
replace with:
- Code: Select all
function border($style,$mode,$header_text=null,$wide)
{
find:
- Code: Select all
global $roster_conf;
add after:
- Code: Select all
if ($wide == '') { $wide = 1; }
find:
- Code: Select all
$start = '
<!-- START [open-'.$style.] container -->
<table cellspacing="0" cellpadding="0" border="0">
replace with:
- Code: Select all
$start = '
<!-- START [open-'.$style.'] container -->
<table width="'.$wide.%" cellspacing="0" cellpadding="0" border="0">
I even tried only changing the last part to
- Code: Select all
$start = '
<!-- START [open-'.$style.] container -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
Now at least on that one, the avatars show up ... just the signatures are garbled. And of course I don't want ALL my tables to be 100% wide :/
Now for the really odd part:
When I take out the changes and resave the file, the images still don't come back. I have to actually reupload the original file from the zip package for SigGen to go back to normal.
I'm really at a loss here. I'd like to make some minor changes, but if I can't even change the width of a table without SigGen going awol on me, then I'm kinda fubar'd.