rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 935c2d052fe259182f3ada5395a4d7a4299350c7
parent 84b07fbecbc1bc74e887355610d2d922386a8b63
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat,  3 Jan 2015 11:24:02 +0100

dynamic titles =D

Diffstat:
Mthemes/jumbotron/index.php | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -158,6 +158,9 @@ if ($root_3[1] == 'core') { while ($x < $post_id_clean+1){ include($root . '/core/config/connect.db.inc.php'); echo " + <script type=\"text/javascript\"> + document.title = \"$blog_name\"; + </script> <h1> <a href='index.php?id=$id' rel='bookmark'> $post_title </a> </h1> @@ -198,6 +201,9 @@ if ($root_3[1] == 'core') { next_id_category(); }else{ echo " + <script type=\"text/javascript\"> + document.title = \"$post_category\"; + </script> <h1> <a href='index.php?id=$id' rel='bookmark'> $post_title </a> </h1> @@ -239,6 +245,9 @@ if ($root_3[1] == 'core') { next_id_author(); }else{ echo " + <script type=\"text/javascript\"> + document.title = \"$post_author\"; + </script> <h1> <a href='index.php?id=$id' rel='bookmark'> $post_title </a> </h1> @@ -270,6 +279,9 @@ if ($root_3[1] == 'core') { }else{ include($root . '/core/backend/blog/posts.php'); echo " + <script type=\"text/javascript\"> + document.title = \"$post_title\"; + </script> <h1> <a href='index.php?id=$id' rel='bookmark'> $post_title </a> </h1>