1. Hervé Coatanhay
  2. vae-web

Source

vae-web / woworga / smarty / templates / index.tpl

{php}header("Content-Type: text/html; charset=ISO-8859-1");{/php}
<!DOCTYPE html>
<html lang="fr">
  <head>
    <meta charset="ISO-8859-1">
    <title>{$title}</title>
    <meta name="description" content="">
    <meta name="author" content="">
    {include file="head.tpl"}

  </head>

  <body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <span class="brand">{$title}</span>
          <div class="nav-collapse">
            {if $user}
            {include file="menu.tpl"}
            {else}
            {include file="security/login.tpl"}
            {/if}
          </div>
        </div>
      </div>
    </div>

    <div class="container">
      {if $user}
      <div class="content">
         <div class="notification">
         {foreach from=$messages item=message}
          <div class="alert alert-block alert-{$message.type} fade in"><a class="close" data-dismiss="alert" href="#">&times;</a>{$message.message}</div>
          {/foreach}
          </div>
          {include file="$content"}
      </div>
      {else}
      <div class="login-notification">
           {foreach from=$messages item=message}
               <div class="alert alert-block alert-{$message.type} fade in"><a class="close" data-dismiss="alert" href="#">&times;</a>{$message.message}</div>
           {/foreach}
      </div>
      {/if}

      <!--<footer class="footer">
        <p>{$title}</p>
      </footer>-->

    </div> <!-- /container -->
    <script src="/static/js/jquery-1.7.1.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
    <script src="/static/js/jquery-ui-1.8.16.custom.min.js"></script>
    <script src="/static/js/script.js"></script>
    <script>
        {literal}
        $(function() {
		$( ".datepicker" ).datepicker();
	});
        {/literal}
    </script>
  </body>
</html>