diff options
author | Sem <sembrestels@riseup.net> | 2012-10-21 12:50:18 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-10-21 12:50:18 +0200 |
commit | 1ad82d4657bb4ce678f437f135bae2803bb80d8e (patch) | |
tree | 56f2244ba07ff19d84a52e853f7322f9de773112 /views/default/n1_theme | |
parent | 9117f53b1f77ee25568b809fc038453dc630f9b3 (diff) | |
parent | 832a0972233142dc069a56fd836506db9d88003a (diff) | |
download | saravea_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')
-rw-r--r-- | views/default/n1_theme/header.php | 11 | ||||
-rw-r--r-- | views/default/n1_theme/landing.php | 2 |
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'); |