linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  4.  * @subpackage library
  5.  * @author Simon Georget <simon@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10.  
  11. //////////// Check Inclusion de pages ////////////
  12. if (!class_exists('auth')){
  13.   include_once("../lib/lib_common.php");
  14.   ReloadIndex('admin');
  15. }
  16. ////////////
  17.  
  18.  
  19. //////////// Check Droits utilisateur ////////////
  20. if (!$l21auth->isSuperAdmin()) ReloadIndex('admin');
  21. ////////////
  22.  
  23. if(isset($_REQUEST['expandedFolder'])) {
  24.   $url '&expandedFolder='.$_REQUEST['expandedFolder'];
  25. else {
  26.   $url ='';
  27. }
  28. ?>
  29.  
  30. <div id="chemin">
  31. <ul>
  32.     <li><a href="index.php" class="chemin_home"><?php echo _t('way','home'?></a>
  33.     </li>
  34.     <li><a href="<?php echo $rub_link?>" id="chemin_<?php echo $rub?>"
  35.         class="chemin_rub"> <?php echo _t('menu','library')?> </a></li>
  36. </ul>
  37. </div>
  38. <?php include_once(THEME_ADMIN_PATH."quickicons.php")?>
  39. <div class="contentcontainer">
  40. <div id="itemenu">
  41. <h1><?php echo _t('menu','library')?></h1>
  42. <div class="contentlink"></div>
  43. </div>
  44. <div id="content">
  45. <div>
  46. <div id="library"><iframe src="../library/access.php?langCode=<?php echo U_L.$url?>" style="width: 100%; height: 650px; border: 1px solid #ddd; overflow: hidden;"></iframe>
  47. </div>
  48. </div>
  49. </div>
  50. <?php include_once(override($dir.'/help.php'THEME_ADMIN_PATH))?>
  51. </div>

Documentation generated on Thu, 20 Mar 2014 16:48:07 +0100 by phpDocumentor 1.4.1