diff --git a/source/lib/Homepage/Main.class.php b/source/lib/Homepage/Main.class.php index ef944ab..43d891f 100644 --- a/source/lib/Homepage/Main.class.php +++ b/source/lib/Homepage/Main.class.php @@ -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; diff --git a/source/webui/pages/cv.php b/source/webui/pages/cv.php new file mode 100644 index 0000000..c8b6ea9 --- /dev/null +++ b/source/webui/pages/cv.php @@ -0,0 +1,7 @@ +smarty(); + +$smarty->assign('title', 'Projects'); + +?> diff --git a/source/webui/pages/projects.php b/source/webui/pages/projects.php new file mode 100644 index 0000000..d6fddf8 --- /dev/null +++ b/source/webui/pages/projects.php @@ -0,0 +1,7 @@ +smarty(); + +$smarty->assign('title', 'CV'); + +?> diff --git a/source/webui/pages/projects/3yp.php b/source/webui/pages/projects/3yp.php new file mode 100644 index 0000000..a891774 --- /dev/null +++ b/source/webui/pages/projects/3yp.php @@ -0,0 +1,7 @@ +smarty(); + +$smarty->assign('title', 'Third Year Project'); + +?> diff --git a/source/webui/pages/projects/ripping-cluster.php b/source/webui/pages/projects/ripping-cluster.php new file mode 100644 index 0000000..7662164 --- /dev/null +++ b/source/webui/pages/projects/ripping-cluster.php @@ -0,0 +1,7 @@ +smarty(); + +$smarty->assign('title', 'RippingCluster'); + +?> diff --git a/source/webui/pages/projects/sabayon-crepo.php b/source/webui/pages/projects/sabayon-crepo.php new file mode 100644 index 0000000..734ea21 --- /dev/null +++ b/source/webui/pages/projects/sabayon-crepo.php @@ -0,0 +1,7 @@ +smarty(); + +$smarty->assign('title', 'Entropy Repositories'); + +?> diff --git a/source/webui/pages/projects/scgen.php b/source/webui/pages/projects/scgen.php new file mode 100644 index 0000000..57b60c1 --- /dev/null +++ b/source/webui/pages/projects/scgen.php @@ -0,0 +1,7 @@ +smarty(); + +$smarty->assign('title', 'SCGen'); + +?> diff --git a/source/webui/pages/projects/sihnon-framework.php b/source/webui/pages/projects/sihnon-framework.php new file mode 100644 index 0000000..35e66a3 --- /dev/null +++ b/source/webui/pages/projects/sihnon-framework.php @@ -0,0 +1,7 @@ +smarty(); + +$smarty->assign('title', 'Sihnon Framework'); + +?> diff --git a/source/webui/pages/projects/status-board.php b/source/webui/pages/projects/status-board.php new file mode 100644 index 0000000..ffb1fe9 --- /dev/null +++ b/source/webui/pages/projects/status-board.php @@ -0,0 +1,7 @@ +smarty(); + +$smarty->assign('title', 'Status Board'); + +?> diff --git a/source/webui/templates/index.tpl b/source/webui/templates/index.tpl index f6adca5..2b0a8ac 100644 --- a/source/webui/templates/index.tpl +++ b/source/webui/templates/index.tpl @@ -1,7 +1,7 @@ - {$title} + {if $title}{$title} -{/if} Ben Roberts