Beispiel #1
0
        echo $core->lang($v->getInfoVal('name'));
        ?>
</a></li>
              	  <?php 
    }
}
?>
	<!-- notifications mobile -->
	<li class="notifsNumber">
		<a href="#" data-reveal-id="notifs"><?php 
echo $core->lang('Notifications');
?>
 <span class="notif round label"></span></a>
	</li>
    <li><a href="index.php?action=logout&token=<?php 
echo administrator::getToken();
?>
" class="tiny button alert"><?php 
echo $core->lang('Logout');
?>
</a></li>
    <li><a href="../" class="tiny button" onclick="window.open(this.href);return false;"><?php 
echo $core->lang('Back to website');
?>
</a></li>	
  </ul>
</aside>

<a class="exit-off-canvas"></a>

        <!-- CONTENU & SIDEBAR NAVIGATION PRINCIPALE -->
Beispiel #2
0
 public static function adminTokenField()
 {
     $core = core::getInstance();
     eval($core->callHook('startShowAdminTokenField'));
     $output = '<input type="hidden" name="token" value="' . administrator::getToken() . '" />';
     eval($core->callHook('endShowAdminTokenField'));
     echo $output;
 }
Beispiel #3
0
page/other/down.png" alt="icon" /></a></td>
		<td>
		 <!-- Boutons d'actions -->
         <ul class="button-group radius">
             <li><a class="tiny button success" href="index.php?p=page&amp;action=edit&amp;id=<?php 
        echo $pageItem->getId();
        ?>
"><?php 
        echo $core->lang("Edit");
        ?>
</a></li>
             <?php 
        if (!$pageItem->getIsHomepage() && $pageItem->targetIs() != 'plugin') {
            ?>
<li><a class="tiny button alert" href="index.php?p=page&amp;action=del&amp;id=<?php 
            echo $pageItem->getId() . '&amp;token=' . administrator::getToken();
            ?>
" onclick = "if(!confirm('<?php 
            echo $core->lang("Delete this page ?");
            ?>
')) return false;"><?php 
            echo $core->lang("Delete");
            ?>
</a></li><?php 
        }
        ?>
         </ul>	
		</td>
	</tr>	
	<?php 
    }