Improve titles on all pages

This commit is contained in:
2012-04-11 19:31:20 +01:00
parent eaef20d327
commit 3cabe9c9ee
10 changed files with 57 additions and 2 deletions

View File

@@ -43,7 +43,6 @@ class Homepage_Main extends SihnonFramework_Main {
$this->smarty->assign('base_uri', $this->base_uri);
$this->smarty->assign('base_url', static::absoluteUrl(''));
$this->smarty->assign('title', 'Homepage');
} break;

View File

@@ -0,0 +1,7 @@
<?php
$smarty = Homepage_Main::instance()->smarty();
$smarty->assign('title', 'Projects');
?>

View File

@@ -0,0 +1,7 @@
<?php
$smarty = Homepage_Main::instance()->smarty();
$smarty->assign('title', 'CV');
?>

View File

@@ -0,0 +1,7 @@
<?php
$smarty = Homepage_Main::instance()->smarty();
$smarty->assign('title', 'Third Year Project');
?>

View File

@@ -0,0 +1,7 @@
<?php
$smarty = Homepage_Main::instance()->smarty();
$smarty->assign('title', 'RippingCluster');
?>

View File

@@ -0,0 +1,7 @@
<?php
$smarty = Homepage_Main::instance()->smarty();
$smarty->assign('title', 'Entropy Repositories');
?>

View File

@@ -0,0 +1,7 @@
<?php
$smarty = Homepage_Main::instance()->smarty();
$smarty->assign('title', 'SCGen');
?>

View File

@@ -0,0 +1,7 @@
<?php
$smarty = Homepage_Main::instance()->smarty();
$smarty->assign('title', 'Sihnon Framework');
?>

View File

@@ -0,0 +1,7 @@
<?php
$smarty = Homepage_Main::instance()->smarty();
$smarty->assign('title', 'Status Board');
?>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>{$title}</title>
<title>{if $title}{$title} -{/if} Ben Roberts</title>
<!-- JQuery //-->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>