function template_4261b217a3062902590d34369028a1d0($t) { echo $t->_vars['text']; ?> <?php echo jZone::get('editButton', array('page' => 'expo')); }
function template_441bea46d13e71292de7307aa79707ac($t) { echo $t->_vars['text']; echo jZone::get('editButton', array('page' => 'index')); echo jZone::get('events~lastevent'); ?> <?php }
function onmasterAdminGetDashboardWidget($event) { if (jAcl2::check('servinfo.access')) { $box = new masterAdminDashboardWidget(); $box->title = jLocale::get('hfnuadmin~admin.system.infos'); $box->content = jZone::get('servinfo~server_info'); $event->add($box); } $box = new masterAdminDashboardWidget(); $box->title = jLocale::get('hfnuadmin~task.todo'); $box->content = jZone::get('hfnuadmin~hfnutasktodo'); $event->add($box); }
/** * function to get the statistics content + footer content * @pararm event $event Object of a listener */ function onHfnuBoxWidget($event) { $box = new HfnuBoxWidget(); $box->title = ''; $box->content = jZone::get('havefnubb~footer_menu'); $event->add($box); $box = new HfnuBoxWidget(); $box->title = ''; $box->content = jZone::get('havefnubb~lastposts'); $event->add($box); $box = new HfnuBoxWidget(); $box->title = ''; $box->content = jZone::get('havefnubb~stats'); $event->add($box); }
function template_3bac3c5f05ec9a1d1b4bfeb07a8293e0($t) { echo $t->_vars['text']; ?> <?php echo jZone::get('editButton', array('page' => 'school')); ?> <h1>[Extrait DVD] Cho Lo</h1> <?php echo jZone::get('widgets~videoFLV', array('video' => 'ChoLo--Paintings.flv')); ?> <?php echo jZone::get('widgets~videoFLV', array('video' => 'ChoLo--Portrait.flv')); }
/** * Displays the list of project for a given repository for ajax request. * * @param string $repository. Name of the repository. * @return Html fragment with a list of projects. */ function index() { $rep = $this->getResponse('htmlfragment'); // Get repository data $repository = $this->param('repository'); if ($repository) { $lrep = lizmap::getRepository($repository); if (!$lrep) { return $this->error404(''); } if (!jAcl2::check('lizmap.repositories.view', $lrep->getKey())) { return $this->error403(jLocale::get('view~default.repository.access.denied')); } } $content = jZone::get('ajax_view', array('repository' => $repository)); $rep->addContent($content); return $rep; }
/** * Displays the list of project for a given repository for ajax request. * * @param string $repository. Name of the repository. * @return Html fragment with a list of projects. */ function index() { $rep = $this->getResponse('htmlfragment'); // Get repository data $repository = $this->param('repository'); $repositoryList = array(); if ($repository) { if (!jAcl2::check('lizmap.repositories.view', $repository)) { jMessage::add(jLocale::get('view~default.repository.access.denied'), 'error'); return $rep; } } if ($repository) { $lrep = lizmap::getRepository($repository); $title .= ' - ' . $lrep->getData('label'); } $content = jZone::get('ajax_view', array('repository' => $repository)); $rep->addContent($content); return $rep; }
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_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 outbox() { $rep = $this->getResponse('html'); $rep->body->assign('MAIN', jZone::get('outbox')); return $rep; }
function template_0fa1cce1f427457608bbffc5417833e5($t) { echo $t->_vars['text']; echo jZone::get('editButton', array('page' => 'contacts')); }
/** * jZone::get alias * @param string $name zone selector * @param array $params associative array, parameters * @deprecated */ protected function processZone($name, $params = array()) { return jZone::get($name, $params); }
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 onhfbAccountEditDiv($event) { $event->add( jZone::get('havefnubb~member_subscriptions_list') ); }
/** * assign a zone content to a template variable only if this variable doesn't exist * @param string $name the variable name * @param string $zoneName a zone selector * @param array $params parameters for the zone * @see jZone */ function assignZoneIfNone($name, $zoneName, $params = array()) { if (!isset($this->_vars[$name])) { $this->_vars[$name] = jZone::get($zoneName, $params); } }
function template_7e9d4582edbd39fdaaacc4db09050405($t) { echo jZone::get('jauth~loginform'); }