summaryrefslogtreecommitdiff
path: root/views/default/n1_theme/header.php
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-10-21 04:53:27 +0000
committerroot <root@migration.vz.lan>2012-10-21 04:53:45 +0000
commitddc8e975c3bbbd535fcaa1d2914e4f64ec270dde (patch)
tree3313dfee939342cb5024025c6f013e2357f46c0c /views/default/n1_theme/header.php
parent783e0fe18980e3a428b3eef17817ec64e22b6c2c (diff)
downloadsaravea_theme-ddc8e975c3bbbd535fcaa1d2914e4f64ec270dde.tar.gz
saravea_theme-ddc8e975c3bbbd535fcaa1d2914e4f64ec270dde.tar.bz2
change theme to extend front page instead of redeclaring it.
Diffstat (limited to 'views/default/n1_theme/header.php')
-rw-r--r--views/default/n1_theme/header.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/default/n1_theme/header.php b/views/default/n1_theme/header.php
new file mode 100644
index 0000000..5939df8
--- /dev/null
+++ b/views/default/n1_theme/header.php
@@ -0,0 +1,11 @@
+<?php
+
+$context = elgg_get_context();
+
+$title = $vars['title'];
+
+if ($context === 'main' && $title == elgg_echo('content:latest')) {
+
+ echo elgg_view('n1_theme/landing');
+
+}