add IntroductionAgent
This commit is contained in:
parent
168ebde8c8
commit
c8c5800427
3 changed files with 84 additions and 0 deletions
35
agents/intermediate/IntroductionAgent.inc
Normal file
35
agents/intermediate/IntroductionAgent.inc
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Legend of Z
|
||||||
|
*
|
||||||
|
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
|
||||||
|
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
|
||||||
|
* @license http://www.gnu.org/licenses/gpl.html
|
||||||
|
* @link https://bitbucket.org/coderkun/the-legend-of-z
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace hhu\z\agents\intermediate;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Agent to show an introduction page.
|
||||||
|
*
|
||||||
|
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
|
||||||
|
*/
|
||||||
|
class IntroductionAgent extends \nre\agents\IntermediateAgent
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Action: index.
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
35
controllers/IntroductionController.inc
Normal file
35
controllers/IntroductionController.inc
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Legend of Z
|
||||||
|
*
|
||||||
|
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
|
||||||
|
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
|
||||||
|
* @license http://www.gnu.org/licenses/gpl.html
|
||||||
|
* @link https://bitbucket.org/coderkun/the-legend-of-z
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace hhu\z\controllers;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Controller of the Agent to show an introduction page.
|
||||||
|
*
|
||||||
|
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
|
||||||
|
*/
|
||||||
|
class IntroductionController extends \hhu\z\Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Action: index.
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
14
views/html/introduction/index.tpl
Normal file
14
views/html/introduction/index.tpl
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<ul>
|
||||||
|
<li itemscope itemtype="http://schema.org/Person">
|
||||||
|
<span itemprop="name">Oliver Hanraths</span> <<span itemprop="email">oliver.hanraths@uni-duesseldorf.de</span>>
|
||||||
|
</li>
|
||||||
|
<li itemscope itemtype="http://schema.org/Person">
|
||||||
|
<span itemprop="name">Daniel Miskovic</span> <<span itemprop="email">daniel.miskovic@uni-duesseldorf.de</span>>
|
||||||
|
</li>
|
||||||
|
<li itemscope itemtype="http://schema.org/Person">
|
||||||
|
Leitung: <span itemprop="name">Kathrin Knautz</span>, <span itemprop="honorificSuffix">B.A., M.A.</span> <<span itemprop="email">kathrin.knautz@uni-duesseldorf.de</span>>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p itemscope itemtype="http://schema.org/CollegeOrUniversity">
|
||||||
|
<a itemprop="name" href="http://www.uni-duesseldorf.de">Heinrich-Heine-Universität Düsseldorf</a>
|
||||||
|
</p>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue