header.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!doctype html>
  2. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
  5. <!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
  6. <head>
  7. <title>Leed</title>
  8. <meta charset="utf-8">
  9. <meta http-equiv="X-UA-Compatible" content="IE=100,chrome=1">
  10. <meta name="description" content="Agrégateur de flux RSS Leed">
  11. <meta name="author" content="IdleMan">
  12. <link rel="shortcut icon" type="image/png" href="favicon.png">
  13. <meta name="viewport" content="width=device-width">
  14. <link rel="stylesheet" href="css/style.css">
  15. {function="Plugin::callLink()"}
  16. {function="Plugin::callCss()"}
  17. </head>
  18. <body>
  19. <div class="global-wrapper">
  20. <!-- <!> Balise ayant double utilité : sert de base a javascript pour connaitre l'action courante permet le retour en haut de page -->
  21. <a id="pageTopAnvil"></a>
  22. <a id="pageTop" class="hidden">{$action}</a>
  23. <div id="header-container">
  24. <header class="wrapper clearfix">
  25. <h1 class="logo" id="title"><a href="./index.php">L<i>eed</i></a></h1>
  26. <div class="loginBloc">
  27. {if="!$myUser"}
  28. <form action="action.php?action=login" method="POST">
  29. <input id="inputlogin" type="text" class="miniInput left" name="login" placeholder="{function="_t('LOGIN')"}"/>
  30. <input type="password" class="miniInput left" name="password" placeholder="{function="_t('PASSWORD')"}"/>
  31. <button class="left">GO!!</button>
  32. <span id="rememberMe">
  33. <input type="checkbox" name="rememberMe">
  34. <span>{function="_t('REMEMBER_ME')"}</span>
  35. </span>
  36. <div class="clear"></div>
  37. </form>
  38. {else}
  39. <span>{function="_t('IDENTIFIED_WITH',array('<span>'.$myUser->getLogin().'</span>'))"} </span><button onclick="window.location='action.php?action=logout'">{function="_t('DISCONNECT')"}</button>
  40. {/if}
  41. <div class="clear"></div>
  42. </div>
  43. <nav>
  44. <ul>
  45. <li><a href="index.php">{function="_t('HOME')"}</a></li>
  46. <li><a href="index.php?action=favorites">{function="_t('FAVORITES')"}</a></li>
  47. <li><a href="settings.php">{function="_t('MANAGE')"}</a></li>
  48. <li><a class="synchronyzeButton" title="{function="_t('LAUNCH_SYNCHRONISATION')"}" onclick="synchronize('{if="$myUser"}{$synchronisationCode}{/if}');">↺</a></li>
  49. {function="Plugin::callHook("navigate_post_link", array(&$myUser))"}
  50. </ul>
  51. </nav>
  52. </header>
  53. </div>
  54. <div id="main-container">