[dev] smallheader in agora

Vilius Šumskas vilius at lnk.lt
Wed Nov 3 02:45:24 PST 2004


Disregard first patch. This is the good one.

-------------- next part --------------
Index: agora/messages/index.php
===================================================================
RCS file: /repository/agora/messages/index.php,v
retrieving revision 1.12
diff -u -r1.12 index.php
--- agora/messages/index.php	19 Oct 2004 00:45:20 -0000	1.12
+++ agora/messages/index.php	3 Nov 2004 09:51:41 -0000
@@ -51,7 +51,7 @@
 if (Auth::isAdmin('agora:admin')) {
     $url = Agora::setAgoraId($forum_id, $message_id, Horde::applicationUrl('messages/lock.php'));
     $label = ($message->isLocked()) ? _("Unlock thread") : _("Lock thread");
-    $actions[] = Horde::link($url, $label, 'smallheader') . $label . '</a>';
+    $actions[] = Horde::link($url, $label) . $label . '</a>';
 }
 
 /* Get the thread table. */
Index: agora/messages/message.php
===================================================================
RCS file: /repository/agora/messages/message.php,v
retrieving revision 1.63
diff -u -r1.63 message.php
--- agora/messages/message.php	19 Oct 2004 00:45:20 -0000	1.63
+++ agora/messages/message.php	3 Nov 2004 09:51:41 -0000
@@ -66,19 +66,19 @@
 if (!$message->isLocked()) {
     $url = Agora::setAgoraId($forum_id, null, Horde::applicationUrl('messages/edit.php'));
     $url = Util::addParameter($url, 'message_parent_id', $message_id);
-    $actions[] = Horde::link($url, _("Reply"), 'smallheader') . _("Reply") . '</a>';
+    $actions[] = Horde::link($url, _("Reply")) . _("Reply") . '</a>';
 }
 
 if (Auth::isAdmin('agora:admin')) {
     $url = Agora::setAgoraId($forum_id, $message_id, Horde::applicationUrl('messages/edit.php'));
-    $actions[] = Horde::link($url, _("Edit"), 'smallheader') . _("Edit") . '</a>';
+    $actions[] = Horde::link($url, _("Edit")) . _("Edit") . '</a>';
 
     $url = Agora::setAgoraId($forum_id, $message_id, Horde::applicationUrl('messages/delete.php'));
-    $actions[] = Horde::link($url, _("Delete"), 'smallheader') . _("Delete") . '</a>';
+    $actions[] = Horde::link($url, _("Delete")) . _("Delete") . '</a>';
 
     $url = Agora::setAgoraId($forum_id, $message_id, Horde::applicationUrl('messages/lock.php'));
     $label = ($message->isLocked()) ? _("Unlock thread") : _("Lock thread");
-    $actions[] = Horde::link($url, $label, 'smallheader') . $label . '</a>';
+    $actions[] = Horde::link($url, $label) . $label . '</a>';
 }
 
 $template->setOption('gettext', true);
Index: themes/mozilla/screen.css
===================================================================
RCS file: /repository/horde/themes/mozilla/screen.css,v
retrieving revision 1.4
diff -u -r1.4 screen.css
--- themes/mozilla/screen.css	31 Oct 2004 03:12:12 -0000	1.4
+++ themes/mozilla/screen.css	3 Nov 2004 09:51:47 -0000
@@ -57,6 +57,9 @@
     background-image: none;
     background-color: transparent;
 }
+.smallheader a {
+    color: black;
+}
 .control {
     background-color: #AEBACA;
 }


More information about the dev mailing list