add localization and move timezone selection to the right place
This commit is contained in:
parent
5badc9f0cd
commit
379328434b
15 changed files with 141 additions and 13 deletions
|
|
@ -1,2 +1,2 @@
|
|||
<h1>Fehler</h1>
|
||||
<h1><?=_('Error')?></h1>
|
||||
<p class="error"><?=$code?>: <?=$string?></p>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
</nav>
|
||||
</header>
|
||||
<article>
|
||||
<h1><?=$title?></h1>
|
||||
<?=$intermediate?>
|
||||
</article>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<h1><?=_('Introduction')?></h1>
|
||||
<p>Ein Projekt zum Thema „Gamification im Lehrumfeld“ – basierend auf <a href="http://legende-von-zyren.de">Die Legende von Zyren</a>.</p>
|
||||
<p>Entwickler:</p>
|
||||
<ul>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<menu>
|
||||
<li><a href="<?=$linker->link("users")?>">Users</a></li>
|
||||
<li><a href="<?=$linker->link("seminaries")?>">Seminaries</a></li>
|
||||
<li><a href="<?=$linker->link("users")?>"><?=_('Users')?></a></li>
|
||||
<li><a href="<?=$linker->link("seminaries")?>"><?=_('Seminaries')?></a></li>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -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 ?>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
<h1><?=_('Users')?></h1>
|
||||
<ul>
|
||||
<?php foreach($users as &$user) : ?>
|
||||
<li>
|
||||
<h2><a href="<?=$linker->link(array('user', $user['username']), 1)?>"><?=$user['username']?></a></h2>
|
||||
<details>
|
||||
<summary>registriert seit <?=date(\hhu\z\Utils::DATEFORMAT, strtotime($user['created']))?></summary>
|
||||
<summary><?=_('registered on')?> <?=date(\hhu\z\Utils::DATEFORMAT, strtotime($user['created']))?></summary>
|
||||
</details>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<h1><?=_('Users')?></h1>
|
||||
<h2><?=$user['username']?></h2>
|
||||
<p>
|
||||
registriert seit <?=date(\hhu\z\Utils::DATEFORMAT, strtotime($user['created']))?>
|
||||
<?=_('registered on')?> <?=date(\hhu\z\Utils::DATEFORMAT, strtotime($user['created']))?>
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue