summaryrefslogtreecommitdiff
path: root/views/default/n1_theme/header.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-10-21 12:50:18 +0200
committerSem <sembrestels@riseup.net>2012-10-21 12:50:18 +0200
commit1ad82d4657bb4ce678f437f135bae2803bb80d8e (patch)
tree56f2244ba07ff19d84a52e853f7322f9de773112 /views/default/n1_theme/header.php
parent9117f53b1f77ee25568b809fc038453dc630f9b3 (diff)
parent832a0972233142dc069a56fd836506db9d88003a (diff)
downloadsaravea_theme-1ad82d4657bb4ce678f437f135bae2803bb80d8e.tar.gz
saravea_theme-1ad82d4657bb4ce678f437f135bae2803bb80d8e.tar.bz2
Merge branch 'master' of gitorious.org:lorea/n1_theme
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');
+
+}