im not sure if this is a bug with the module or my theme. but the starsign is misaligned on the table when created without age.

http://img510.imageshack.us/img510/1599/starsignoc6.jpg

ive taken a look on the source of the page in question and saw the code below. the table head has four titles namely: User, Birthday, Starsign, and  

<thead><tr><th>User</th><th>Birthday</th><th>Starsign</th><th>&nbsp;</th> </tr></thead>

but the table datas have five. the third empty table data is for the age(after the username and birthday). but since i disabled the showing of the user's age then shouldnt it also be taken out in the table data instead of just keeping the <td></td> empty?

<tr class="odd"><td><a href="/user/4" title="View user profile.">rochabotics</a></td><td>May 10</td><td></td><td><a href="http://astrology.yahoo.com/astrology/general/dailyoverview/taurus" target="_blank" title="taurus"><img src="/modules/birthdays/starsigns/taurus.gif" alt="taurus" /></a></td><td><div class="picture"><a href="/user/4" title="View user profile."><img src="/files/images/nopic.jpg" alt="rochabotics&#039;s picture" title="rochabotics&#039;s picture"  /></a></div></td> </tr>

Comments

zerocool.asia’s picture

fixed it.

i edited this code in the birthdays.module

  if (variable_get('birthdays_hide_year', 0) != 1) {
    $age = _birthdays_show_age($account);
    $rows[$i][] = isset($age) ? $age : '';
  }
maartenvg’s picture

Status: Active » Fixed

I've committed it to CVS. Thanks for your work!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.