add localization and move timezone selection to the right place

This commit is contained in:
coderkun 2014-01-19 23:03:55 +01:00
commit 379328434b
15 changed files with 141 additions and 13 deletions

View file

@ -1,9 +1,10 @@
<h1><?=_('Seminaries')?></h1>
<ul>
<?php foreach($seminaries as &$seminary) : ?>
<li>
<h2><a href="<?=$linker->link(array('seminary', $seminary['url']), 1)?>"><?=$seminary['title']?></a></h2>
<details>
<summary>erstellt von <?=$seminary['creator']['username']?></summary>
<summary><?=sprintf(_('created by %s on %s'), $seminary['creator']['username'], date(\hhu\z\Utils::DATEFORMAT, strtotime($seminary['created'])))?></summary>
</details>
</li>
<?php endforeach ?>

View file

@ -1,4 +1,5 @@
<h1><?=_('Seminaries')?></h1>
<h2><?=$seminary['title']?></h2>
<p>
erstellt am <?=date(\hhu\z\Utils::DATEFORMAT, strtotime($seminary['created']))?>
<?=sprintf(_('created by %s on %s'), $seminary['creator']['username'], date(\hhu\z\Utils::DATEFORMAT, strtotime($seminary['created'])))?>
</p>