Exemplo n.º 1
0
 /**
  * @deprecated
  */
 public function getController()
 {
     return Dispatcher::getInstance()->getController();
 }
Exemplo n.º 2
0
<?php

$currentAction = \ManiaLib\Application\Dispatcher::getInstance()->getAction();
?>
<link rel="stylesheet" href="<?php 
echo $mediaURL;
?>
css/navigation.css" type="text/css" media="all" />
<div class="content-secondary">
	<div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="d">
		<h3><?php 
echo _('Show more');
?>
</h3>
		<ul data-role="listview" data-theme="c" data-dividertheme="d">
			<li data-role="list-divider"><?php 
echo _('Quick menu');
?>
</li>
		<?php 
if (!$isRelay) {
    ?>
			<li data-icon="grid" <?php 
    echo in_array($currentAction, array('maps', 'addMaps')) ? 'data-theme="e"' : '';
    ?>
>
				<a href="<?php 
    echo htmlentities($r->createLinkArgList('../maps', 'host', 'port'), ENT_QUOTES, 'UTF-8');
    ?>
" data-ajax="false"><?php 
    echo _('Map list');