Explorar el Código

add squirrelmail attribution to the bottom of message list,
to keep a path to the about page from our "main" interface.

Thijs Kinkhorst hace 18 años
padre
commit
f26e2cc9d3
Se han modificado 2 ficheros con 15 adiciones y 3 borrados
  1. 10 2
      templates/default/css/default.css
  2. 5 1
      templates/default/message_list.tpl

+ 10 - 2
templates/default/css/default.css

@@ -385,6 +385,15 @@ td.message_count	{
     background: #ffffff /* __COLOR4__*/;
 }
 
+.sqm_squirrelcopyright, .sqm_squirrelcopyright a:link, .sqm_squirrelcopyright a:visited {
+   font-size: xx-small;
+   color: gray;
+   text-align: center;
+}
+.sqm_squirrelcopyright a:hover {
+   color: navy;
+}
+
 /* folder_manip.tpl defs */
 #folderManip   {
     text-align:center;
@@ -1069,8 +1078,7 @@ div.viewText td.header2 a {
     font-weight: normal;
 }
 
-div.viewText td.actions {
-    text-align: center;
+div.viewText td.actions {    text-align: center;
     padding-top: 4px;
     padding-bottom: 4px;
 }

+ 5 - 1
templates/default/message_list.tpl

@@ -19,7 +19,7 @@
  *    $header_sent
  *    $body_tag_js
  *    $shortBoxName
- *    $sm_attribute_str
+ *    $provider_link
  *    $frame_top
  *    $urlMailbox
  *    $startMessage
@@ -521,3 +521,7 @@ if ($class != 'even' && $class != 'odd')
     </table>
 </form>
 </div>
+
+<?php if (!$hide_sm_attributions): ?>
+<p class="sqm_squirrelcopyright">&copy; 1999-2007 The SquirrelMail Project Team - <a href="about.php">About SquirrelMail</a></p>
+<?php endif; ?>