[horde] Layout Summary Header Patches
Hammad Dasti
hammad at brisksolutions.com
Tue Feb 28 20:42:55 PST 2006
Hi:
I noticed that there is a difference between IMP & Turba/Nag/Kronolith
Summary headers. One set of fonts are bigger then the other, I liked
the way IMP was displaying the header so I changed Turba/Nag/Kronolith.
It just a matter of pointing them to right stylesheet class.
Here are the patches, whoever wants to use them. You can apply the each
patch under horde directory.
Useage:
patch -p0 < patch-file
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
Index: turba/lib/Block/minisearch.php
===================================================================
RCS file: /cvsroot/HORDE/turba/lib/Block/minisearch.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
26,27c26,27
< $html = Horde::link(Horde::url($registry->getInitialPage(), true), $registry->get('name')) . $registry->get('name') . '</a> :: ';
< $html .= Horde::link(Horde::applicationUrl('add.php', true), _("New Contact")) . Horde::img('new.png', _("New Contact"), '', Horde::url($registry->getImageDir(), true, -1)) . ' ' . _("New Contact") . '</a>';
---
> $html = Horde::link(Horde::url($registry->getInitialPage(), true), $registry->get('name'), 'header') . $registry->get('name') . '</a> :: ';
> $html .= Horde::link(Horde::applicationUrl('add.php', true), _("New Contact"), 'smallheader') . Horde::img('new.png', _("New Contact"), '', Horde::url($registry->getImageDir(), true, -1)) . ' ' . _("New Contact") . '</a>';
-------------- next part --------------
Index: nag/lib/Block/summary.php
===================================================================
RCS file: /cvsroot/HORDE/nag/lib/Block/summary.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
17,18c17,18
< $html = Horde::link(Horde::applicationUrl($registry->getInitialPage(), true), $registry->get('name')) . $registry->get('name') . '</a> :: ';
< $html .= Horde::link(Util::addParameter(Horde::applicationUrl('task.php', true), 'actionID', 'add_task'), _("New Task")) . Horde::img('nag.png', _("New Task"), '', Horde::url($registry->getImageDir(), true, -1)) . ' ' . _("New Task") . '</a>';
---
> $html = Horde::link(Horde::applicationUrl($registry->getInitialPage(), true), $registry->get('name'), 'header') . $registry->get('name') . '</a> :: ';
> $html .= Horde::link(Util::addParameter(Horde::applicationUrl('task.php', true), 'actionID', 'add_task'), _("New Task"), 'smallheader') . Horde::img('nag.png', _("New Task"), '', Horde::url($registry->getImageDir(), true, -1)) . ' ' . _("New Task") . '</a>';
-------------- next part --------------
Index: mnemo/lib/Block/summary.php
===================================================================
RCS file: /cvsroot/HORDE/mnemo/lib/Block/summary.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
21,22c21,22
< $html = Horde::link(Horde::url($registry->getInitialPage(), true), $registry->get('name')) . $registry->get('name') . '</a> :: ';
< $html .= Horde::link(Horde::applicationUrl('memo.php?actionID=add_memo', true), _("New Note")) . Horde::img('mnemo.png', _("New Note"), '', Horde::url($registry->getImageDir(), true, -1)) . ' ' . _("New Note") . '</a>';
---
> $html = Horde::link(Horde::url($registry->getInitialPage(), true), $registry->get('name'), 'header') . $registry->get('name') . '</a> :: ';
> $html .= Horde::link(Horde::applicationUrl('memo.php?actionID=add_memo', true), _("New Note"), 'smallheader') . Horde::img('mnemo.png', _("New Note"), '', Horde::url($registry->getImageDir(), true, -1)) . ' ' . _("New Note") . '</a>';
-------------- next part --------------
Index: kronolith/lib/Block/summary.php
===================================================================
RCS file: /cvsroot/HORDE/kronolith/lib/Block/summary.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
42c42
< return Horde::link(Horde::url($registry->getInitialPage(), true), $registry->get('name')) . $registry->get('name') . '</a> :: ' . Horde::link(Horde::applicationUrl('addevent.php', true), _("New Event")) . Horde::img('new.png', _("New Event"), '', Horde::url($registry->getImageDir(), true, -1)) . ' ' . _("New Event") . '</a>';
---
> return Horde::link(Horde::url($registry->getInitialPage(), true), $registry->get('name'), 'header') . $registry->get('name') . '</a> :: ' . Horde::link(Horde::applicationUrl('addevent.php', true), _("New Event"), 'smallheader') . Horde::img('new.png', _("New Event"), '', Horde::url($registry->getImageDir(), true, -1)) . ' ' . _("New Event") . '</a>';
More information about the horde
mailing list