Viewing file: df66c73eb31303812ef439b77188eeaaaf002331.file.photo.tpl.php (5.57 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-05-10 23:43:27 compiled from "modules/photogallery/templates/photo.tpl" */ ?> <?php /*%%SmartyHeaderCode:4604759534fac286f739eb6-36106557%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'df66c73eb31303812ef439b77188eeaaaf002331' => array ( 0 => 'modules/photogallery/templates/photo.tpl', 1 => 1336682551, ), ), 'nocache_hash' => '4604759534fac286f739eb6-36106557', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php if (!is_callable('smarty_function_html_options')) include 'modules-alien/smarty/libs/plugins/function.html_options.php'; ?><div class="message"><?php echo $_smarty_tpl->getVariable('message')->value;?> </div> <form method="post" enctype="multipart/form-data"> <table 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['PhotogalleryAlbumSelect'];?> :<br /> <select name="photo_album_id" id="photo_album_id"> <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->getVariable('photo_album_values')->value,'output'=>$_smarty_tpl->getVariable('photo_album_captions')->value,'selected'=>($_smarty_tpl->getVariable('photo_album_id')->value)),$_smarty_tpl->smarty,$_smarty_tpl);?>
</select> </td> </tr> <tr> <td> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Photogallery_photo_name'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <input name="photo_title_ukr" type="text" id="photo_title_ukr" value="<?php echo $_smarty_tpl->getVariable('photo_title_ukr')->value;?> " size="80" /> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Photogallery_photo_name'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <input name="photo_title_rus" type="text" id="photo_title_rus" value="<?php echo $_smarty_tpl->getVariable('photo_title_rus')->value;?> " size="80" /> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Photogallery_photo_name'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <input name="photo_title_eng" type="text" id="photo_title_eng" value="<?php echo $_smarty_tpl->getVariable('photo_title_eng')->value;?> " size="80" /> </div> </td> </tr> <tr> <td> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Photogallery_photo_caption'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="70" name="photo_caption_ukr" class="ckeditor"><?php echo $_smarty_tpl->getVariable('photo_caption_ukr')->value;?> </textarea> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Photogallery_photo_caption'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="70" name="photo_caption_rus" class="ckeditor"><?php echo $_smarty_tpl->getVariable('photo_caption_rus')->value;?> </textarea> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Photogallery_photo_caption'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="70" name="photo_caption_eng" class="ckeditor"><?php echo $_smarty_tpl->getVariable('photo_caption_eng')->value;?> </textarea> </div> </td> </tr> <tr> <td><?php if (isset($_smarty_tpl->getVariable('photo_album_id')->value)){?> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Photogallery_photo_new_filename'];?> <?php }else{ ?> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Photogallery_photo_filename'];?> <?php }?><br /> <label> <input name="photo_filename" type="file" id="photo_filename" size="50" /> </label> </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>
|