LOL ok.. try # 2 :) RE: [dev] Diff File for imp\templates\mailbox \header.inc

Scott Singleton scott@beacon-inc.com
Mon, 5 Nov 2001 09:25:32 -0500


---------------------- multipart/mixed attachment


-----Original Message-----
From: Chuck Hagenbuch [mailto:chuck@horde.org]
Sent: Monday, November 05, 2001 9:13 AM
To: dev@lists.horde.org
Subject: Re: [dev] Diff File for imp\templates\mailbox\header.inc


Quoting Scott Singleton <scott@beacon-inc.com>:

> decided to try one of my one-line mods first.  This one simply puts the
Full
> name (or from address if fullname is blank) on the inbox line so you can
> tell what account and identity is being used while viewing your mailbox in
> IMP.
>  
>  <<header.inc.diff>> 

Diffs need to be text/plain attachments to come through to the list.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in
the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin

-- 
Horde Developers mailing list: http://horde.org/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@lists.horde.org


---------------------- multipart/mixed attachment
Index: header.inc=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /repository/imp/templates/mailbox/header.inc,v=0A=
retrieving revision 2.39=0A=
diff -u -r2.39 header.inc=0A=
--- header.inc	2001/09/17 14:33:10	2.39=0A=
+++ header.inc	2001/11/05 13:53:42=0A=
@@ -1,27 +1,28 @@=0A=
-<?php // $Horde: imp/templates/mailbox/header.inc,v 2.39 2001/09/17 =
14:33:10 chuck Exp $ ?>=0A=
-<table border=3D"0" align=3D"center" width=3D"100%" cellpadding=3D"0" =
cellspacing=3D"0">=0A=
-<tr><td class=3D"header" colspan=3D"6" align=3D"center">=0A=
-<table border=3D"0" width=3D"100%" cellpadding=3D"0" =
cellspacing=3D"0">=0A=
-<tr>=0A=
-    <td align=3D"left" width=3D"39%" class=3D"header" =
nowrap=3D"nowrap">=0A=
-        &nbsp;<?=3D $imp['label'] ?>=0A=
-        <a class=3D"menuitem" onmouseover=3D"status=3D'<?=3D =
sprintf("%s %s", _("Refresh"), $imp['label']) ?>'; return true;" =
onmouseout=3D"status=3D'';" href=3D"<?=3D =
Horde::url("mailbox.php?page=3D$page&uniq=3D" . uniqid(rand())) ?>">=0A=
-        <?=3D Horde::img('reload.gif', 'alt=3D"' . sprintf("%s %s", =
_("Refresh"), $imp['label']) . '" hspace=3D"2"') ?></a>=0A=
-<?php if (!$prefs->isLocked('filters') && $imp['label'] =3D=3D =
'INBOX'): ?>=0A=
-        <a class=3D"menuitem" onmouseover=3D"status=3D'<?=3D =
sprintf("%s %s", _("Filter"), $imp['label']) ?>'; return true;" =
onmouseout=3D"status=3D'';" href=3D"<?=3D =
Horde::url("mailbox.php?actionID=3D" . FILTER . "&page=3D$page&uniq=3D" =
. uniqid(rand())) ?>">=0A=
-        <?=3D Horde::img('filters.gif', 'alt=3D"' . sprintf("%s %s", =
_("Apply Filters on"), $imp['label']) . '"') ?></a>&nbsp;=0A=
-<?php endif; ?>=0A=
-    </td>=0A=
-    <td align=3D"center" width=3D"20%" class=3D"header">=0A=
-    <?php if (isset($page_count)): ?>=0A=
-        <?=3D sprintf(_("Page %d of %d"), $page, $page_count) ?>=0A=
-    <?php endif; ?>=0A=
-    </td>=0A=
-    <td align=3D"right" width=3D"40%" class=3D"header">=0A=
-        <?=3D $msg_count ?>=0A=
-    </td>=0A=
-</tr>=0A=
-</table>=0A=
-=0A=
-    </td>=0A=
-</tr>=0A=
+<?php // $Horde: imp/templates/mailbox/header.inc,v 2.39 2001/09/17 =
14:33:10 chuck Exp $ ?>
+<table border=3D"0" align=3D"center" width=3D"100%" cellpadding=3D"0" =
cellspacing=3D"0">
+<tr><td class=3D"header" colspan=3D"6" align=3D"center">
+<table border=3D"0" width=3D"100%" cellpadding=3D"0" =
cellspacing=3D"0">
+<tr>
+    <td align=3D"left" width=3D"39%" class=3D"header" =
nowrap=3D"nowrap">
+        &nbsp;<?=3D $imp['label'] ?>
+        <a class=3D"menuitem" onmouseover=3D"status=3D'<?=3D =
sprintf("%s %s", _("Refresh"), $imp['label']) ?>'; return true;" =
onmouseout=3D"status=3D'';" href=3D"<?=3D =
Horde::url("mailbox.php?page=3D$page&uniq=3D" . uniqid(rand())) ?>">
+        <?=3D Horde::img('reload.gif', 'alt=3D"' . sprintf("%s %s", =
_("Refresh"), $imp['label']) . '" hspace=3D"2"') ?></a>
+<?php if (!$prefs->isLocked('filters') && $imp['label'] =3D=3D =
'INBOX'): ?>
+        <a class=3D"menuitem" onmouseover=3D"status=3D'<?=3D =
sprintf("%s %s", _("Filter"), $imp['label']) ?>'; return true;" =
onmouseout=3D"status=3D'';" href=3D"<?=3D =
Horde::url("mailbox.php?actionID=3D" . FILTER . "&page=3D$page&uniq=3D" =
. uniqid(rand())) ?>">
+        <?=3D Horde::img('filters.gif', 'alt=3D"' . sprintf("%s %s", =
_("Apply Filters on"), $imp['label']) . '"') ?></a>&nbsp;
+<?php endif; ?>
+    <?=3D ( $identity->getFullName()=3D=3D'' ? =
$identity->getFromaddress() : $identity->getFullName() ) ?>
+    </td>
+    <td align=3D"center" width=3D"20%" class=3D"header">
+    <?php if (isset($page_count)): ?>
+        <?=3D sprintf(_("Page %d of %d"), $page, $page_count) ?>
+    <?php endif; ?>
+    </td>
+    <td align=3D"right" width=3D"40%" class=3D"header">
+        <?=3D $msg_count ?>
+    </td>
+</tr>
+</table>
+
+    </td>
+</tr>

---------------------- multipart/mixed attachment--