diff options
author | Maurice Svay <maurice@svay.com> | 2011-02-07 20:53:18 +0100 |
---|---|---|
committer | Maurice Svay <maurice@svay.com> | 2011-02-07 20:53:18 +0100 |
commit | e278db30317373ef4f011995a94137e439d37e59 (patch) | |
tree | 252e364cabf850eb725e381bac75795418c91ce7 | |
parent | 854ef9b5f55d95792aa1007351e92289f13e3f21 (diff) | |
download | planet-e278db30317373ef4f011995a94137e439d37e59.tar planet-e278db30317373ef4f011995a94137e439d37e59.tar.gz planet-e278db30317373ef4f011995a94137e439d37e59.tar.bz2 planet-e278db30317373ef4f011995a94137e439d37e59.tar.xz planet-e278db30317373ef4f011995a94137e439d37e59.zip |
Replace hardcoded value by config
-rw-r--r-- | custom/views/archive/top.tpl.php | 5 | ||||
-rw-r--r-- | custom/views/default/top.tpl.php | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/custom/views/archive/top.tpl.php b/custom/views/archive/top.tpl.php index 9533c15..7a818e1 100644 --- a/custom/views/archive/top.tpl.php +++ b/custom/views/archive/top.tpl.php @@ -1,3 +1,4 @@ <div id="top"> - <h1><a href="./index.php"><?php echo $PlanetConfig->getName(); ?></a></h1> - </div>
\ No newline at end of file + <h1><a href="<?php echo $PlanetConfig->getUrl() ?>"><?php echo $PlanetConfig->getName(); ?></a></h1> + </div> +
\ No newline at end of file diff --git a/custom/views/default/top.tpl.php b/custom/views/default/top.tpl.php index e0ea5b9..dd6206f 100644 --- a/custom/views/default/top.tpl.php +++ b/custom/views/default/top.tpl.php @@ -1,3 +1,3 @@ <div id="header"> - <h1 id="top"><a href="./index.php"><?php echo $PlanetConfig->getName(); ?></a></h1> + <h1 id="top"><a href="<?php echo $PlanetConfig->getUrl() ?>"><?php echo $PlanetConfig->getName(); ?></a></h1> </div>
\ No newline at end of file |