function template_c03655eb51fe83cd6f6dfa0a9512650e($t) { if ($t->_vars['id'] === null) { ?> <h1><?php echo jLocale::get('jelix~crud.title.create'); ?> </h1> <?php $formfull = $t->_vars['form']; $formfullBuilder = $formfull->getBuilder('html'); $formfullBuilder->setAction($t->_vars['submitAction'], array()); $formfullBuilder->outputHeader(array()); $formfullBuilder->outputAllControls(); $formfullBuilder->outputFooter(); ?> <?php } else { ?> <h1><?php echo jLocale::get('jelix~crud.title.update'); ?> </h1> <?php $formfull = $t->_vars['form']; $formfullBuilder = $formfull->getBuilder('html'); $formfullBuilder->setAction($t->_vars['submitAction'], array('id' => $t->_vars['id'])); $formfullBuilder->outputHeader(array()); $formfullBuilder->outputAllControls(); $formfullBuilder->outputFooter(); ?> <?php } ?> <p><a href="<?php jtpl_function_html_jurl($t, $t->_vars['listAction']); ?> " class="crud-link"><?php echo jLocale::get('jelix~crud.link.return.to.list'); ?> </a>.</p><?php }
function template_2c4240f6b4d64a7da159e91e95a8315a($t) { ?> <h1><?php echo jLocale::get('common.albums'); ?> </h1> <table> <?php $t->_vars['i'] = 0; foreach ($t->_vars['albums'] as $t->_vars['album']) { ?> <?php if ($t->_vars['i'] % 4 == 0) { ?> <tr><?php } ?> <td style="padding:5px 5px 5px 5px;height:50px"> <a href="<?php jtpl_function_html_jurl($t, 'basicGallery:images', array('albumId' => $t->_vars['album']->id)); ?> albumId=<?php echo $t->_vars['album']->id; ?> "> <img src="<?php echo $t->_vars['album']->thumbnailUrl; ?> " /> <p style="text-align:center;font-size:80%"><?php echo $t->_vars['album']->name; ?> </p> </a> </td> <?php if ($t->_vars['i'] % 4 == 3) { ?> </tr><?php } $t->_vars['i'] = $t->_vars['i'] + 1; ?> <?php } ?> </table><?php }
function template_0239d0b823243b5ed66125b29e6c8937($t) { ?> <div id="navigation"> <h1>NewsLetter Tools</h1> <ul> <li> <a href="<?php jtpl_function_html_jurl($t, 'newPaintingsLetter'); ?> "><?php echo jLocale::get('news.last.paintings'); ?> </a> </li> <li> <a href="<?php jtpl_function_html_jurl($t, 'newLetter'); ?> "><?php echo jLocale::get('news.custom'); ?> </a> </li> <li> <a href="<?php jtpl_function_html_jurl($t, 'newsletters:index'); ?> ">Lister les news letters</a> </li> <li> <a href="<?php jtpl_function_html_jurl($t, 'emails:index'); ?> "><?php echo jLocale::get('news.view.edit.contacts'); ?> </a> </li> <li> <a href="<?php jtpl_function_html_jurl($t, 'emails_logs:index'); ?> ">Logs</a> </li> </ul> </div><?php }
function template_4870c643ce0f402d15b20aff5d50fb00($t) { if (jAuth::isConnected()) { ?> <div class="option"> <ul> <li><a href="<?php jtpl_function_html_jurl($t, 'editPage', array('page' => $t->_vars['page'])); ?> "><?php echo jLocale::get('jelix~crud.link.edit.record'); ?> </a></li> </ul> </div> <?php } }
function template_d0875a3f1ed36a19a196c25b7063be8a($t) { ?> <h1><?php echo jLocale::get('jelix~crud.title.view'); ?> </h1> <?php jtpl_function_html_formdatafull($t, $t->_vars['form']); ?> <ul class="crud-links-list"> <li><a href="<?php jtpl_function_html_jurl($t, $t->_vars['editAction'], array('id' => $t->_vars['id'])); ?> " class="crud-link"><?php echo jLocale::get('jelix~crud.link.edit.record'); ?> </a></li> <li><a href="<?php jtpl_function_html_jurl($t, $t->_vars['deleteAction'], array('id' => $t->_vars['id'])); ?> " class="crud-link" onclick="return confirm('<?php echo jLocale::get('jelix~crud.confirm.deletion'); ?> ')"><?php echo jLocale::get('jelix~crud.link.delete.record'); ?> </a></li> <li><a href="<?php jtpl_function_html_jurl($t, $t->_vars['listAction']); ?> " class="crud-link"><?php echo jLocale::get('jelix~crud.link.return.to.list'); ?> </a></li> </ul> <?php }
function template_29356549c4e38e1b87c94c26e0e931bc($t) { if ($t->_vars['id'] != null) { ?> <?php echo jZone::get('viewevent', array('id' => $t->_vars['id'])); ?> <div class="option"> <ul> <li><a href="<?php jtpl_function_html_jurl($t, $t->_vars['listAction']); ?> " class="crud-link"><?php echo jLocale::get('events.events'); ?> </a></li> </ul> </div> <?php } }
function template_1118db1659259a7ca2b017290be67914($t) { ?> <div class="navpanel"> <a href="<?php jtpl_function_html_jurl($t, 'base~accueil:'); ?> ">Accueil</a> </div> <div class="navpanel" id="nav_membre"> <a id="link_membre">Membres</a> <div class="navpart" id="panel_membre"> <a href="">Liste</a> </div> </div> <div class="navpanel" id="nav_site"> <a id="link_site">Site</a> <div class="navpart" id="panel_site"> <a href="">Les règles</a> <a href="">Les Fanfics</a> <a href="">Les articles</a> </div> </div> <div class="navpanel" id="nav_extras"> <a id="link_extras">Communauté</a> <div class="navpart" id="panel_extras"> <a href="">Forum</a> <a href="">Partenaires</a> <a href="">Contact</a> </div> </div> <?php }
function template_c6c3209f21a9d1f4126c529d5d56c118($t) { if (jAuth::isConnected()) { ?> <div class="option"> <ul> <li> <a href="<?php jtpl_function_html_jurl($t, $t->_vars['createAction']); ?> " class="crud-link"><?php echo jLocale::get('jelix~crud.link.create.record'); ?> </a> </li> </ul> </div> <?php } foreach ($t->_vars['list'] as $t->_vars['record']) { ?> <?php echo jZone::get('viewevent', array('id' => $t->_vars['record']->id)); } if ($t->_vars['recordCount'] > $t->_vars['listPageSize']) { ?> <p class="record-pages-list">Pages : <?php jtpl_function_html_pagelinks($t, $t->_vars['listAction'], array(), $t->_vars['recordCount'], $t->_vars['page'], $t->_vars['listPageSize'], $t->_vars['offsetParameterName']); ?> </p> <?php } ?> <?php }
function template_377c9c29562f7a56eb46d7dfdb6a5adc($t) { ?> <script type="text/javascript"> $("#progressbar").reportprogress(0); var pct=0; var handle=0; var n_emails=<?php echo $t->_vars['n_emails']; ?> ; var mailInter=0; var logs=""; var locked=0; var SERVER = "http://localhost/www/"; var getLogs="<?php jtpl_function_html_jurl($t, 'getLogs', array('id' => $t->_vars['id'])); ?> "; var nbSent="<?php jtpl_function_html_jurl($t, 'getNbSent', array('id' => $t->_vars['id'])); ?> "; var send="<?php jtpl_function_html_jurl($t, 'send', array('id' => $t->_vars['id'])); ?> "; var percent="<?php jtpl_function_html_jurl($t, 'getPercentDone', array('id' => $t->_vars['id'])); ?> "; var getEmailsToSend="<?php jtpl_function_html_jurl($t, 'getEmailsToSend', array('id' => $t->_vars['id'])); ?> "; function update(){ $.get(getLogs, { }, function(data){ $("#emails").html(data); }); $.get(percent, { }, function(data){ if(data == "100") stop(); $("#progressbar").reportprogress(data); }); $.get(nbSent, { }, function(data){ $("#n_emails_sent").html(data); }); $.get(getEmailsToSend, { }, function(data){ $("#n_emails_to_send").html(data); }); if(pct==16){ clearInterval(handle); $("#run").val("start"); pct=0; } } function mail(){ $.get(send, { }, function(data){ logs+= data; $("#logs").html(logs); }); logs+="<b>Send Request Planned for <?php echo $t->_vars['maxMailPerMin']; ?> mails</b><br>"; $("#logs").html(logs); } function stop(){ clearInterval(handle); clearInterval(mailInter); document.body.style.cursor = ''; } jQuery(function($){ $("#run").click(function(){ if(this.value=="start"){ $("#progressbar").reportprogress(0); document.body.style.cursor = 'wait'; handle=setInterval("update()",1000); mail(); mailInter=setInterval("mail()",60000); this.value="stop"; }else{ stop(); this.value="start"; } }); $("#reset").click(function(){ pct=0; $("#progressbar").reportprogress(0); }); }); var newwindow; function poptastic(url) { newwindow=window.open(url,'name'); if (window.focus) { newwindow.focus() } } </script> <h1>NewsLetter APP</h1> <b>Servers :</b><br> <?php foreach ($t->_vars['servers'] as $t->_vars['k'] => $t->_vars['serv']) { ?> <?php echo $t->_vars['serv']; ?> <br> <?php } ?> <b>Max number of mails per min :</b> <?php echo $t->_vars['maxMailPerMin']; ?> <br> <b>Max number of mails per day :</b> <?php echo $t->_vars['maxMailPerDay']; ?> <br> <b>Mail not sent yet : </b> <span id="n_emails_to_send"><?php echo $t->_vars['n_emails']; ?> </span>.<br> <b>Mail sent : </b> <span id="n_emails_sent"><?php echo $t->_vars['n_emails_sent']; ?> </span>.<br> <div id="progressbar"></div> <p> <input id="run" value="start" type="button"> <input id="reset" value="reset" type="button"> </p> <a href="javascript:poptastic('http://appengine.google.com/dashboard/quotadetails?&app_id=helenklingserv1&version_id=1.333113632130813954');"> Check the quotas </a><br> <h1>Logs</h1> <div id="logs"></div> <h1>Sent Emails</h1> <div id="emails"></div><?php }
function template_db7ca66f6ed1c8c65b9872ef562338bd($t) { ?> <h1><?php echo jLocale::get('jelix~crud.title.list'); ?> </h1> <table class="records-list"> <thead> <tr> <?php foreach ($t->_vars['properties'] as $t->_vars['propname']) { ?> <?php if (isset($t->_vars['controls'][$t->_vars['propname']])) { ?> <th><?php echo htmlspecialchars($t->_vars['controls'][$t->_vars['propname']]->label); ?> </th> <?php } else { ?> <th><?php echo htmlspecialchars($t->_vars['propname']); ?> </th> <?php } ?> <?php } ?> <th> </th> </tr> </thead> <tbody> <?php $t->_vars['lineparity'] = true; foreach ($t->_vars['list'] as $t->_vars['record']) { ?> <tr class="<?php if ($t->_vars['lineparity']) { ?> odd<?php } else { ?> even<?php } ?> "> <?php foreach ($t->_vars['properties'] as $t->_vars['propname']) { ?> <td><?php echo htmlspecialchars($t->_vars['record']->{$t->_vars['propname']}); ?> </td> <?php } ?> <td> <a href="<?php jtpl_function_html_jurl($t, $t->_vars['viewAction'], array('id' => $t->_vars['record']->{$t->_vars['primarykey']})); ?> "><?php echo jLocale::get('jelix~crud.link.view.record'); ?> </a> </td> </tr> <?php $t->_vars['lineparity'] = !$t->_vars['lineparity']; } ?> </tbody> </table> <?php if ($t->_vars['recordCount'] > $t->_vars['listPageSize']) { ?> <p class="record-pages-list">Pages : <?php jtpl_function_html_pagelinks($t, $t->_vars['listAction'], array(), $t->_vars['recordCount'], $t->_vars['page'], $t->_vars['listPageSize'], $t->_vars['offsetParameterName']); ?> </p> <?php } ?> <p><a href="<?php jtpl_function_html_jurl($t, $t->_vars['createAction']); ?> " class="crud-link"><?php echo jLocale::get('jelix~crud.link.create.record'); ?> </a>.</p> <?php }
function template_c261e67fad08751a1009b749ecc25ea1($t) { ?> <!-- left column, contains navigation and photos --> <div id="column1"> <div id="nav"> <ul> <li> <li><a href="#" accesskey="a">Catégories</a></li> <li> <ul> <li><a href="<?php jtpl_function_html_jurl($t, 'index'); ?> "><?php echo jLocale::get('menu.index'); ?> </a></li> <li><a href="<?php jtpl_function_html_jurl($t, 'jPicasa~index'); ?> "><?php echo jLocale::get('menu.paintings'); ?> <b style="color:red"> <?php echo jLocale::get('menu.new'); ?> </b></a></li> <li><a href="<?php jtpl_function_html_jurl($t, 'viewPage', array('page' => 'school')); ?> "><?php echo jLocale::get('menu.school'); ?> </a></li> <!-- <li><a href="<?php jtpl_function_html_jurl($t, 'viewPage', array('page' => 'expo')); ?> "><?php echo jLocale::get('menu.expo'); ?> </a></li> !--> <li><a href="<?php jtpl_function_html_jurl($t, 'events~events:index'); ?> "><?php echo jLocale::get('menu.events'); ?> </a></li> <li><a href="<?php jtpl_function_html_jurl($t, 'NewsLetter~emails:precreate'); ?> "><?php echo jLocale::get('menu.keep.update'); ?> <b style="color:red"> <?php echo jLocale::get('menu.new'); ?> </b></a></li> <li><a href="<?php jtpl_function_html_jurl($t, 'viewPage', array('page' => 'contacts')); ?> "><?php echo jLocale::get('menu.contacts'); ?> </a></li> <?php if (!jAuth::isConnected()) { ?> <li><a href="<?php jtpl_function_html_jurl($t, 'login'); ?> "><?php echo jLocale::get('menu.login'); ?> </a></li><?php } ?> </ul> </li> <?php if (jAuth::isConnected()) { ?> <li><a href="#" accesskey="a">Administration</a></li> <li> <ul> <li><a href="<?php jtpl_function_html_jurl($t, 'NewsLetter~default:index'); ?> "><?php echo jLocale::get('menu.newsletter'); ?> </a></li> <li><a href="<?php jtpl_function_html_jurl($t, 'events~files:index'); ?> "><?php echo jLocale::get('menu.files'); ?> </a></li> </ul> </li> <?php } ?> </ul> <div style="padding-left : 50%; padding-top: 20px;"> <a href="<?php jtpl_function_html_jurl($t, 'index', array('lang' => 'fr_FR')); ?> " hreflang="fr" ></a> <a href="<?php jtpl_function_html_jurl($t, 'index', array('lang' => 'en_US')); ?> " hreflang="en" ></a> </div> </div> </div> <?php }
function template_31b9b44a33309d480e7f3683318bbb47($t) { ?> <h1><?php echo jLocale::get('jelix~crud.title.list'); ?> </h1> <table class="records-list"> <thead> <tr> <th>Id</th> <th>Date de Creation</th> <th>Lettre</th> <th></th> <th></th> </tr> </thead> <tbody> <?php $t->_vars['lineparity'] = true; foreach ($t->_vars['list'] as $t->_vars['record']) { ?> <tr class="<?php if ($t->_vars['lineparity']) { ?> odd<?php } else { ?> even<?php } ?> "> <?php foreach ($t->_vars['properties'] as $t->_vars['propname']) { ?> <td><?php echo $t->_vars['record']->{$t->_vars['propname']}; ?> </td> <?php } ?> <td> <a href="<?php jtpl_function_html_jurl($t, $t->_vars['viewAction'], array('id' => $t->_vars['record']->{$t->_vars['primarykey']})); ?> "><?php echo jLocale::get('jelix~crud.link.view.record'); ?> </a> </td> <td> <a href="<?php jtpl_function_html_jurl($t, 'prepareToSave', array('id' => $t->_vars['record']->{$t->_vars['primarykey']})); ?> ">Envoyer</a> </td> </tr> <?php $t->_vars['lineparity'] = !$t->_vars['lineparity']; } ?> </tbody> </table> <?php if ($t->_vars['recordCount'] > $t->_vars['listPageSize']) { ?> <p class="record-pages-list">Pages : <?php jtpl_function_html_pagelinks($t, $t->_vars['listAction'], array(), $t->_vars['recordCount'], $t->_vars['page'], $t->_vars['listPageSize'], $t->_vars['offsetParameterName']); ?> </p> <?php } ?> <p><a href="<?php jtpl_function_html_jurl($t, 'newLetter'); ?> " class="crud-link"><?php echo jLocale::get('jelix~crud.link.create.record'); ?> </a>.</p> <?php }
function template_124e5a7a278c192a967422a1d4e8dba9($t) { ?> <div class="event"> <div style="min-height:160px;margin: 20px 0px 0px 0px"> <h1><?php echo $t->_vars['record']->name; ?> </h1> <div style="float:right;margin: 20px 0px 0px 0px;border:1px solid #ccc;max-width:200px"> <table style="padding:5px 5px 5px 5px;"> <tr> <td><b><?php echo jLocale::get('events.opening'); ?> </b></td> <td>:</td> <td><?php echo $t->_vars['record']->date_debut; ?> </td> </tr> <tr> <td><b><?php echo jLocale::get('events.closing'); ?> </b></td> <td>:</td> <td><?php echo $t->_vars['record']->date_fin; ?> </td> </tr> <tr> <td><b><?php echo jLocale::get('events.horaires'); ?> </b></td> <td>:</td> <td><?php echo $t->_vars['record']->horaires; ?> </td> </tr> <tr> <td><b><?php echo jLocale::get('events.adresse'); ?> </b></td> <td>:</td> <td><a href="http://maps.google.fr/?q=<?php echo $t->_vars['record']->adresse; ?> "><?php echo $t->_vars['record']->adresse; ?> </a></td> </tr> <tr> <td><b><?php echo jLocale::get('events.else'); ?> </b></td> <td>:</td> <td><a href="../../../flyers/<?php echo $t->_vars['record']->flyer; ?> "><?php echo jLocale::get('events.flyer'); ?> </a></td> </tr> </table> </div> <div> <?php echo $t->_vars['record']->description; ?> </div> </div> <?php if (jAuth::isConnected()) { ?> <div class="option"><ul> <li> <a href="<?php jtpl_function_html_jurl($t, $t->_vars['editAction'], array('id' => $t->_vars['record']->id)); ?> "><?php echo jLocale::get('jelix~crud.link.edit.record'); ?> </a> </li> <li> <a href="<?php jtpl_function_html_jurl($t, $t->_vars['deleteAction'], array('id' => $t->_vars['record']->id)); ?> " class="crud-link" onclick="return confirm('<?php echo jLocale::get('jelix~crud.confirm.deletion'); ?> ')"><?php echo jLocale::get('jelix~crud.link.delete.record'); ?> </a> </li> </ul></div> <?php } ?> </div><?php }
function template_6683987b065eaada7dd5997c4b29b819($t) { ?> <script language="javascript"> var state = 'none'; function showhide(layer_ref) { if (state == 'block') { state = 'none'; } else { state = 'block'; } if (document.all) { //IS IE 4 or 5 (or 6 beta) eval( "document.all." + layer_ref + ".style.display = state"); } if (document.layers) { //IS NETSCAPE 4 or below document.layers[layer_ref].display = state; } if (document.getElementById &&!document.all) { hza = document.getElementById(layer_ref); hza.style.display = state; } } function getAjax(id,url){ $.get(url,function(data){ alert(data); $("#"+id).html(data); }); } </script> <?php if ($t->_vars['video'] != null) { ?> <a href="#" onclick="showhide('slideshow');"><?php echo jLocale::get('common.view.slideshow'); ?> </a> <div id="slideshow" style="display: none;"> <h1><?php echo jLocale::get('common.album.slideshow'); ?> </h1> <?php echo jZone::get('widgets~videoFLV', array('video' => $t->_vars['video']->url)); ?> </div> <?php } if ($t->_vars['images'] == null) { ?> <p>No Paintings</p> <?php } else { ?> <?php if ($t->_vars['commented']) { ?> <p>Commentaire ajouté</p> <?php } ?> <?php foreach ($t->_vars['images'] as $t->_vars['image']) { ?> <div class="bloc"> <h1><?php echo $t->_vars['image']->name; ?> </h1> <div style="position:relative;"> <img width="50%" src="<?php echo $t->_vars['image']->url; ?> "/> <div style="position:absolute;top:1em;left:50%"> <ul> <li style="font-size:150%;list-style-type:none"><?php echo $t->_vars['image']->price; ?> </li> <li style="font-size:150%;list-style-type:none"><?php echo $t->_vars['image']->size; ?> </li> <li style="font-size:80%;list-style-type:none"> <!-- <a href="<?php jtpl_function_html_jurl($t, 'basicGallery:addComment', array('albumId' => $t->_vars['albumId'])); ?> &imageId=<?php echo $t->_vars['image']->id; ?> ">Add Comment</a> --> <a href="#" onclick="showhide('com<?php echo $t->_vars['image']->id; ?> ')">Add Comment</a> </li> <div id="com<?php echo $t->_vars['image']->id; ?> " style="max-width:330px;display:none;float:right"> <li style="font-size:80%;list-style-type:none"> <?php $formfull = $t->_vars['form']; $formfullBuilder = $formfull->getBuilder('html'); $formfullBuilder->setAction('basicGallery:addComment', array('imageId' => $t->_vars['image']->id)); $formfullBuilder->outputHeader(array()); $formfullBuilder->outputAllControls(); $formfullBuilder->outputFooter(); ?> </li> </div> <li style="font-size:80%;list-style-type:none"> <a href="#" onclick="window.open('<?php jtpl_function_html_jurl($t, "basicGallery:viewComment", array("albumId" => $t->_vars['albumId'])); ?> &imageId=<?php echo $t->_vars['image']->id; ?> ','nom','toolbar=0,menubar=0,location=0,scrollbars=1,width=400,height=300')">View Comments</a> <!-- <a href="#" onclick='getAjax("coms<?php echo $t->_vars['image']->id; ?> ","<?php jtpl_function_html_jurl($t, "basicGallery:viewComment", array("albumId" => $t->_vars['albumId'])); ?> &imageId=<?php echo $t->_vars['image']->id; ?> ")'>View Comments</a> --> </li> </ul> </div> <div id="coms<?php echo $t->_vars['image']->id; ?> "> <!-- AJAX --> </div> </div> </div> <?php } ?> <?php } ?> <br> <a href="<?php jtpl_function_html_jurl($t, 'basicGallery:albums'); ?> "><?php echo jLocale::get('common.back.to.albums'); ?> </a> <?php }
function template_54c3a220f4717fd5a9383e8f2ba2aee0($t) { ?> <div id="navigation"> <h1>Galleries</h1> <ul> <li><a href="../../PhotoGallery/PhotoGallery.html"><?php echo jLocale::get('common.view.cool.gallery'); ?> </a></li> <li><a href="<?php jtpl_function_html_jurl($t, 'basicGallery:index'); ?> "><?php echo jLocale::get('common.view.basic.gallery'); ?> </a></li> </ul> </div> <div id="contenu"> <div class="bloc"> <h1>Last paintings</h1> <table> <?php $t->_vars['i'] = 0; ?> <?php foreach ($t->_vars['images'] as $t->_vars['image']) { ?> <?php if ($t->_vars['i'] % 4 == 0) { ?> <tr><?php } ?> <td style="padding:5px 5px 5px 5px;height:50px;align:center"> <h3><?php echo $t->_vars['image']->name; ?> </h3> <img align="center" height="150px" src="<?php echo $t->_vars['image']->url; ?> "/> <p style="font-size:100%;text-align:center;padding:0px 0px 0px 0px;"><?php echo $t->_vars['image']->price; ?> | <?php echo $t->_vars['image']->size; ?> </p> </td> <?php if ($t->_vars['i'] % 4 == 3) { ?> </tr><?php } ?> <?php $t->_vars['i'] = $t->_vars['i'] + 1; ?> <?php } ?> </table> </div> </div> <div class="bloc"> <h1><?php echo jLocale::get('common.search'); ?> </h1> <?php $formfull = $t->_vars['formulaire']; $formfullBuilder = $formfull->getBuilder('html'); $formfullBuilder->setAction('jPicasa~basicGallery:search', array()); $formfullBuilder->outputHeader(array()); $formfullBuilder->outputAllControls(); $formfullBuilder->outputFooter(); ?> </div> <div class="bloc"> <h1>Video : <?php echo $t->_vars['video']->name; ?> </h1> <div style="margin-left: 20px; margin-right: auto; "><?php echo jZone::get('widgets~videoFLV', array('video' => $t->_vars['video']->url)); ?> </div> <p><?php echo $t->_vars['video']->description; ?> </p> </div> <?php }
function template_e867509d90cdadf5aa77293af075f3f6($t) { ?> <div id="auth_login_zone"> <?php if ($t->_vars['failed']) { ?> <p><?php echo jLocale::get('jauth~auth.failedToLogin'); ?> </p> <?php } ?> <?php if (!$t->_vars['isLogged']) { ?> <form action="<?php jtpl_function_html_formurl($t, 'jauth~login:in'); ?> " method="post" id="loginForm"> <label class="petit" for="login">Login :</label> <input type="text" name="login" id="login" size="9" value="<?php echo $t->_vars['login']; ?> " /> <br /> <label class="petit" for="password">Mot de passe :</label></th> <input type="password" name="password" id="password" size="9" /> <br /> <?php if ($t->_vars['showRememberMe']) { ?> <p> <label for="rememberMe"><?php echo jLocale::get('jauth~auth.rememberMe'); ?> </label> <p><input type="checkbox" name="rememberMe" id="rememberMe" value="1" /> <?php } ?> <?php jtpl_function_html_formurlparam($t, 'jauth~login:in'); ?> <?php if (!empty($t->_vars['auth_url_return'])) { ?> <input type="hidden" name="auth_url_return" value="<?php echo htmlspecialchars($t->_vars['auth_url_return']); ?> " /> <?php } ?> <br /> <input type="submit" value="<?php echo jLocale::get('jauth~auth.buttons.login'); ?> "/> </form> <p class="petit"><a href="<?php jtpl_function_html_jurl($t, 'base~identity:register'); ?> ">Je veux m'inscrire !</a></p> <?php } else { ?> <?php if ($t->_vars['user']->nickname) { ?> <p><?php echo $t->_vars['user']->nickname; ?> </p> <?php } else { ?> <p><?php echo $t->_vars['user']->login; ?> </p> <?php } ?> <a href="<?php jtpl_function_html_jurl($t, 'jauth~login:out'); ?> ">Déconnexion</a> <?php } ?> </div> <hr /> <?php }