<p><input type="file" name="catimage"></p> <p><label><input type="checkbox" name="imagedel"> Удалить</label></p> </td> </tr> </table> <?php } else { ?> <p><input type="file" name="catimage"></p> <?php } if ($this->_tpl_vars['options']['usetags']) { ?> <p>Теги (через запятую):</p> <p><?php echo smarty_function_tags(array('text' => $this->_tpl_vars['form']['tags']), $this); ?> </p> <?php } else { echo smarty_function_hidden(array('name' => 'tags', 'value' => $this->_tpl_vars['form']['tags']), $this); ?> <?php } ?> </div> <input type="hidden" name="id" value="<?php echo $this->_tpl_vars['form']['id']; ?> ">
<?php } if (!$this->_tpl_vars['options']['autoanons']) { ?> <p>Аннотация:</p> <p><?php echo smarty_function_textarea(array('name' => 'description', 'rows' => 3), $this); ?> </p> <?php } if ($this->_tpl_vars['options']['usetags']) { ?> <p>Теги (через запятую):</p> <p><?php echo smarty_function_tags(array(), $this); ?> </p> <?php } else { echo smarty_function_hidden(array('name' => 'tags', 'value' => ""), $this); ?> <?php } if ($this->_tpl_vars['options']['useimages']) { ?> <div class="box"> <div id="imageitems1"> <table class="invisiblegrid" width="100%"> <tr>