[kronolith] Re: Monthly Side by side view

Jeroen Huinink j.huinink at wanadoo.nl
Thu Dec 12 09:21:24 PST 2002


Chuck Hagenbuch <chuck@horde.org> wrote:

>Quoting j.huinink@wanadoo.nl:
>
>> I submit this for your comments and criticism, but if it were up to me, I
>> would stick to the first implementation and fine tune it as already 
>> discussed on this list.
>
>After more consideration and a look, I think you've convinced me on this 
>one.
>
>-chuck

Attached you can find the fine-tuning I was talking about.

Regards,
Jeroen

PS I "posted" this on gmane with the Free Agent newsreader. I hope the
attachements work.
-------------- next part --------------
Index: month.php
===================================================================
RCS file: /repository/kronolith/month.php,v
retrieving revision 1.109
diff -r1.109 month.php
92c92
<         echo '<tr><th>' . $cal->getShareName() . '</th>';
---
>         echo '<tr>';
-------------- next part --------------
Index: head_side_by_side.inc
===================================================================
RCS file: /repository/kronolith/templates/month/head_side_by_side.inc,v
retrieving revision 1.1
diff -r1.1 head_side_by_side.inc
2c2
<     $prevurl = Horde::addParameter('month_shares.php', 'month=' . date('n', $prevstamp));
---
>     $prevurl = Horde::addParameter('month.php', 'month=' . date('n', $prevstamp));
6c6
<     $nexturl = Horde::addParameter('month_shares.php', 'month=' . date('n', $nextstamp));
---
>     $nexturl = Horde::addParameter('month.php', 'month=' . date('n', $nextstamp));
15c15,27
<   <th class="header">
---
>   <th class="header" width="20%">
>   <?php echo (!$print_view) ? Horde::link($prevurl, _("Last Month"), 'menuitem') . Horde::img('prev.gif', '&lt;'). '</a>' : '' ?>
>   <?php echo $title ?>
>   <?php echo (!$print_view) ? Horde::link($nexturl, _("Next Month"), 'menuitem') . Horde::img('next.gif', '&gt;') .'</a>' : '' ?>
>   </th>
>   <td class="header" width="20%"></td>
>   <th class="header" width="20%">
>   <?php echo (!$print_view) ? Horde::link($prevurl, _("Last Month"), 'menuitem') . Horde::img('prev.gif', '&lt;'). '</a>' : '' ?>
>   <?php echo $title ?>
>   <?php echo (!$print_view) ? Horde::link($nexturl, _("Next Month"), 'menuitem') . Horde::img('next.gif', '&gt;') .'</a>' : '' ?>
>   </th>
>   <td class="header" width="20%"></td>
>   <th class="header" width="20%">
22c34
< <tr><td class="control"><table border="0" cellpadding="2" cellspacing="1" width="100%">
---
> <tr><td class="control" colspan="5"><table border="0" cellpadding="2" cellspacing="1" width="100%">
24c36
< <tr><td>&nbsp;</td>
---
> <tr>


More information about the kronolith mailing list