summaryrefslogtreecommitdiff
path: root/views
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
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')
-rw-r--r--views/default/n1_theme/header.php11
-rw-r--r--views/default/n1_theme/landing.php2
2 files changed, 13 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');
+
+}
diff --git a/views/default/n1_theme/landing.php b/views/default/n1_theme/landing.php
index 83132a9..132b275 100644
--- a/views/default/n1_theme/landing.php
+++ b/views/default/n1_theme/landing.php
@@ -1,5 +1,7 @@
<?php
+elgg_load_css('n1:landing_page');
+
$title = elgg_echo('n1_theme:landing:title');
$subtitle = elgg_echo('n1_theme:landing:subtitle');