Update of /cvsroot/php-blog/serendipity/templates/default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16887/templates/default
Modified Files:
layout.php style.css
Log Message:
Added home-link in templates to easily access the startup-page of your blog.
Have fun, Bananenprinz. :)
Index: layout.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/default/layout.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- layout.php 11 Nov 2003 15:45:32 -0000 1.13
+++ layout.php 15 Mar 2004 08:51:13 -0000 1.14
@@ -14,12 +14,12 @@
?>
<div id="serendipity_banner">
- <h1><?php echo htmlentities($serendipity['blogTitle']) ?></h1>
+ <h1><a class="homelink1" href="<?php echo $serendipity['baseURL']; ?>"><?php echo htmlentities($serendipity['blogTitle']) ?></a></h1>
<?php
$sub = isset($serendipity['blogSubTitle']) ? $serendipity['blogSubTitle'] : $serendipity['blogDescription'];
if (strlen($sub)) {
?>
- <h2><?php echo $sub ?></h2>
+ <h2><a class="homelink2" href="<?php echo $serendipity['baseURL']; ?>"><?php echo $sub ?></a></h2>
<?php
}
?>
Index: style.css
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/default/style.css,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- style.css 30 Aug 2003 12:35:54 -0000 1.12
+++ style.css 15 Mar 2004 08:51:13 -0000 1.13
@@ -67,6 +67,10 @@
background-image: url({TEMPLATE_PATH}img/background.png);
}
+a.homelink1,
+a.homelink1:hover,
+a.homelink1:link,
+a.homelink1:visited,
#serendipity_banner h1 {
color: #FFFFFF;
font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
@@ -74,13 +78,19 @@
padding-left:15px;
padding-top: 10px;
margin: 0px;
+ text-decoration: none;
}
+a.homelink2,
+a.homelink2:hover,
+a.homelink2:link,
+a.homelink2:visited,
#serendipity_banner h2 {
color: #FFFFFF;
padding-left: 15px;
font-size: 14px;
margin: 0px;
+ text-decoration: none;
}
.serendipity_title {
|