Viewing file: 1fe96ed82f2b876aa22c4aac8b996057a36d2c50.file.chapter.tpl.php (4.36 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-02-15 16:00:29 compiled from "modules/pages/templates/chapter.tpl" */ ?> <?php /*%%SmartyHeaderCode:2738191454f3bba7d476dc1-56387406%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '1fe96ed82f2b876aa22c4aac8b996057a36d2c50' => array ( 0 => 'modules/pages/templates/chapter.tpl', 1 => 1328738791, ), ), 'nocache_hash' => '2738191454f3bba7d476dc1-56387406', '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);?> <form class="editorform" method="post"> <table align="center" class="editor-table"> <tr> <th> <div id="current-language"> <?php $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('languages')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']=0; if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value){ $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']++; ?> <input type="radio" <?php if ($_smarty_tpl->tpl_vars['lang']->value==$_smarty_tpl->getVariable('alang')->value){?> checked="checked" <?php }?> id="current-language<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> " name="current-language" value="<?php echo $_smarty_tpl->tpl_vars['lang']->value;?> " /><label for="current-language<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> "><img src="/admin/images/<?php echo $_smarty_tpl->tpl_vars['lang']->value;?> 30x20.gif" /></label> <?php }} ?> </div> </th> </tr> <tr> <td> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_chapter_parent_id'];?> :<br /> <select name="chapter_parent_id" id="chapter_parent_id"> <?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_parent_id')->value){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->tpl_vars['chapter']->value['title'];?> </option> <?php }} ?> </select> </td> </tr> <tr> <td> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_chapter_title'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="3" cols="80" name="chapter_title_ukr" id="chapter_title_ukr"><?php echo $_smarty_tpl->getVariable('chapter_title_ukr')->value;?> </textarea> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_chapter_title'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="3" cols="80" name="chapter_title_rus" id="chapter_title_rus"><?php echo $_smarty_tpl->getVariable('chapter_title_rus')->value;?> </textarea> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_chapter_title'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="3" cols="80" name="chapter_title_eng" id="chapter_title_eng"><?php echo $_smarty_tpl->getVariable('chapter_title_eng')->value;?> </textarea> </div> </td> </tr> <tr> <td><input value="<?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreSave'];?> " type="submit" name="submit" id="submit" class="ui-state-default ui-widget ui-corner-all" /></td> </tr> </table> <input type="hidden" name="<?php echo $_smarty_tpl->getVariable('oper')->value;?> " value="yes" /> </form>
|