Viewing file: 57cfb0221963d5a946ffdbd6bde9d9afe58365ac.file.selector.tpl.php (1.74 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2020-11-24 19:40:38 compiled from "modules/pages/templates/selector.tpl" */ ?> <?php /*%%SmartyHeaderCode:10269815225fbd45961447f8-97711278%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '57cfb0221963d5a946ffdbd6bde9d9afe58365ac' => array ( 0 => 'modules/pages/templates/selector.tpl', 1 => 1606239472, ), ), 'nocache_hash' => '10269815225fbd45961447f8-97711278', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php ob_start();?><?php echo GetParam("DefaultLanguage");?> <?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["chapter_title"] = new Smarty_variable("chapter_title_".$_tmp1, null, null);?> <div style="text-align: center"> <form name="pages-chapter-select-form" method="post"><?php echo $_smarty_tpl->getVariable('ALANG')->value['PagesChapterSelect'];?>
<select name="chapter_id" id="chapter_id" onchange="submit();"> <?php $_smarty_tpl->tpl_vars['chapter'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('chapters')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['chapter']->key => $_smarty_tpl->tpl_vars['chapter']->value){ ?> <option value="<?php echo $_smarty_tpl->tpl_vars['chapter']->value['chapter_id'];?> " <?php if ($_smarty_tpl->tpl_vars['chapter']->value['chapter_id']==$_smarty_tpl->getVariable('chapter_id')->value){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->tpl_vars['chapter']->value['title'];?> </option> <?php }} ?> </select> </form></div><br>
|