header.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>{#PROGRAM_NAME} {$configurationManager->get('PROGRAM_VERSION')}</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <link rel="shortcut icon" type="image/x-icon" href="img/favicon.png">
  10. <!-- Le styles -->
  11. <link href="css/bootstrap.min.css" rel="stylesheet">
  12. <link href="css/jquery-ui-1.10.3.custom.css" rel="stylesheet">
  13. <link rel="stylesheet" href="css/font-awesome.min.css">
  14. <link href="css/style.css" rel="stylesheet">
  15. {function="Plugin::callLink()"}
  16. {function="Plugin::callCss()"}
  17. <link href="css/bootstrap-responsive.min.css" rel="stylesheet">
  18. <link rel="shortcut icon" href="ico/favicon.png">
  19. </head>
  20. <body>
  21. <div class="hidden" id="UPDATE_URL">{$configurationManager->get('UPDATE_URL')}</div>
  22. <div class="hidden" id="PROGRAM_VERSION">{$configurationManager->get('PROGRAM_VERSION')}</div>
  23. <div class="navbar navbar-inverse navbar-fixed-top" id="header">
  24. <div class="navbar-inner">
  25. <div class="container">
  26. <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
  27. <span class="icon-bar"></span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. </button>
  31. <div class="nav-collapse collapse">
  32. <ul class="nav">
  33. <li class="logoBox" title="Revenir à l'accueil"><a id="aLogoBox" href="index.php"><div class="logo"><span class="badge badge-warning" id="notification">&nbsp;</span>{$configurationManager->get('PROGRAM_VERSION')}</div></a></li>
  34. <!-- <li class="logoBox"><div class="logo"><span class="badge badge-warning" id="notification">&nbsp;</span>{$configurationManager->get('PROGRAM_VERSION')}</div></li>-->
  35. {if="$myUser!=false"}
  36. <li><a href="index.php"><i class="fa fa-home"></i> Accueil</a></li>
  37. {loop="menuItems"}
  38. <li>{$value.content}</li>
  39. {/loop}
  40. {if="$myUser!=false && $myUser->can('configuration','r')"}
  41. <li><a href="setting.php"><i class="fa fa-cog"></i> Configuration</a></li>
  42. {/if}
  43. {if="$myUser!=false"}
  44. <li class="infobulle" title="Connecté avec {$myUser->getFullName()} ({$rank->getLabel()})"><a href="action.php?action=logout"><i class="fa fa-bolt"></i> Déconnexion</a></li>
  45. {/if}
  46. {/if}
  47. </ul>
  48. </div><!--/.nav-collapse -->
  49. </div>
  50. </div>
  51. </div>
  52. <div id="body" class="container">
  53. {if="$error!=false"}
  54. <div class="alert alert-error fade in">
  55. <button type="button" class="close" data-dismiss="alert">&times;</button>
  56. {$error}
  57. </div>
  58. {/if}
  59. {if="$notice!=false"}
  60. <div class="alert alert-info fade in">
  61. <button type="button" class="close" data-dismiss="alert">&times;</button>
  62. {$notice}
  63. </div>
  64. {/if}
  65. {function="Plugin::callHook("header_post_notices", array())"}