diff options
author | MaZderMind | 2015-03-15 19:13:25 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-29 21:42:01 +0200 |
commit | ea4b6c7699a7fbb7be3d9e5ce86c84a36b63f569 (patch) | |
tree | c919029a8b12e43c363b898a1ff9f7adf5c3312b /template/page.phtml | |
parent | 97fe6bf0af2989abbaaba138df3c54c4e55af3c9 (diff) |
Move get/set-Calls into ModelBase and abstract all access into a Model
Conflicts:
model/Overview.php
model/Room.php
model/StreamList.php
tests/ModelTestbase.php
Diffstat (limited to '')
-rw-r--r-- | template/page.phtml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/template/page.phtml b/template/page.phtml index 9af5d7b..58f502c 100644 --- a/template/page.phtml +++ b/template/page.phtml @@ -8,20 +8,20 @@ <? include("$assemblies/motd.phtml") ?> - <title><?=h($title)?> – <?=h(get('CONFERENCE.TITLE', 'C3Voc'))?> Streaming</title> + <title><?=h($title)?> – <?=h($conference->getTitle())?> Streaming</title> <meta name="robots" content="index,follow" /> - <? if(has('CONFERENCE.AUTHOR')): ?> - <meta name="author" content="<?=h(get('CONFERENCE.AUTHOR'))?>" /> + <? if($conference->hasAuthor()): ?> + <meta name="author" content="<?=h($conference->getAuthor())?>" /> <? endif ?> - <? if(has('CONFERENCE.DESCRIPTION')): ?> - <meta name="description" content="<?=h(get('CONFERENCE.DESCRIPTION'))?>" /> + <? if($conference->hasDescription()): ?> + <meta name="description" content="<?=h($conference->getDescription())?>" /> <? endif ?> - <? if(has('CONFERENCE.KEYWORDS')): ?> - <meta name="keywords" content="<?=h(get('CONFERENCE.KEYWORDS'))?>" /> + <? if($conference->hasKeywords()): ?> + <meta name="keywords" content="<?=h($conference->getKeywords())?>" /> <? endif ?> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> @@ -57,7 +57,7 @@ <? include("$assemblies/footer.phtml") ?> <span class="js-settings" - data-scheduleoffset="<?=h(get('SCHEDULE.SIMULATE_OFFSET', 0))?>" + data-scheduleoffset="<?=h($schedule->getSimulationOffset())?>" ></span> </body> </html> |