0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
pshoptuscamisetaspersonalizadas
/
cache
/
smarty
/
compile
/
d1
/
50
/
20
/
[
Home
]
Name File: d150209e4f89efce7f42e2b5ee64cfabc5338fb3.file.attachments.tpl.php
< back
<?php /* Smarty version Smarty-3.1.13, created on 2013-07-23 13:17:50 compiled from "/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/admin/themes/default/template/controllers/products/attachments.tpl" */ ?> <?php /*%%SmartyHeaderCode:161597170551ee665ec58a35-15335861%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'd150209e4f89efce7f42e2b5ee64cfabc5338fb3' => array ( 0 => '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/admin/themes/default/template/controllers/products/attachments.tpl', 1 => 1369704480, 2 => 'file', ), ), 'nocache_hash' => '161597170551ee665ec58a35-15335861', 'function' => array ( ), 'variables' => array ( 'obj' => 0, 'languages' => 0, 'language' => 0, 'default_form_language' => 0, 'attachment_name' => 0, 'attachment_description' => 0, 'PS_ATTACHMENT_MAXIMUM_SIZE' => 0, 'attach2' => 0, 'attach' => 0, 'attach1' => 0, 'iso_tiny_mce' => 0, 'ad' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.13', 'unifunc' => 'content_51ee665f1b02d6_61437515', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_51ee665f1b02d6_61437515')) {function content_51ee665f1b02d6_61437515($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_escape')) include '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/tools/smarty/plugins/modifier.escape.php'; ?> <?php if (isset($_smarty_tpl->tpl_vars['obj']->value->id)){?> <input type="hidden" name="submitted_tabs[]" value="Attachments" /> <h4><?php echo smartyTranslate(array('s'=>'Attachment'),$_smarty_tpl);?> </h4> <div class="separation"></div> <fieldset style="border:none;"> <label><?php echo smartyTranslate(array('s'=>'Filename:'),$_smarty_tpl);?> </label> <div class="margin-form translatable"> <?php $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false; $_from = $_smarty_tpl->tpl_vars['languages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value){ $_smarty_tpl->tpl_vars['language']->_loop = true; ?> <div class="lang_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?> " style="<?php if ($_smarty_tpl->tpl_vars['language']->value['id_lang']!=$_smarty_tpl->tpl_vars['default_form_language']->value){?>display:none;<?php }?>float: left;"> <input type="text" name="attachment_name_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?> " value="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['attachment_name']->value[$_smarty_tpl->tpl_vars['language']->value['id_lang']], 'htmlall', 'UTF-8');?> " /> </div> <?php } ?> <sup> *</sup> </div> <p class="margin-form preference_description"><?php echo smartyTranslate(array('s'=>'Maximum 32 characters.'),$_smarty_tpl);?> </p> <div class="clear"> </div> <label><?php echo smartyTranslate(array('s'=>'Description:'),$_smarty_tpl);?> </label> <div class="margin-form translatable"> <?php $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false; $_from = $_smarty_tpl->tpl_vars['languages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value){ $_smarty_tpl->tpl_vars['language']->_loop = true; ?> <div class="lang_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?> " style="display: <?php if ($_smarty_tpl->tpl_vars['language']->value['id_lang']==$_smarty_tpl->tpl_vars['default_form_language']->value){?>block<?php }else{ ?>none<?php }?>; float: left;"> <textarea name="attachment_description_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?> "><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['attachment_description']->value[$_smarty_tpl->tpl_vars['language']->value['id_lang']], 'htmlall', 'UTF-8');?> </textarea> </div> <?php } ?> </div> <div class="clear"> </div> <label><?php echo smartyTranslate(array('s'=>'File:'),$_smarty_tpl);?> </label> <div class="margin-form"> <p><input type="file" name="attachment_file" /></p> <p class="preference_description"><?php echo smartyTranslate(array('s'=>'Upload a file from your computer'),$_smarty_tpl);?> (<?php echo sprintf("%.2f",$_smarty_tpl->tpl_vars['PS_ATTACHMENT_MAXIMUM_SIZE']->value);?> <?php echo smartyTranslate(array('s'=>'MB max.'),$_smarty_tpl);?> )</p> </div> <div class="clear"> </div> <div class="margin-form"> <input type="submit" value="<?php echo smartyTranslate(array('s'=>'Upload attachment file'),$_smarty_tpl);?> " name="submitAddAttachments" class="button" /> </div> <div class="small"><sup>*</sup> <?php echo smartyTranslate(array('s'=>'Required field'),$_smarty_tpl);?> </div> </fieldset> <div class="separation"></div> <div class="clear"> </div> <table> <tr> <td> <p><?php echo smartyTranslate(array('s'=>'Available attachments:'),$_smarty_tpl);?> </p> <select multiple id="selectAttachment2" style="width:300px;height:160px;"> <?php $_smarty_tpl->tpl_vars['attach'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['attach']->_loop = false; $_from = $_smarty_tpl->tpl_vars['attach2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['attach']->key => $_smarty_tpl->tpl_vars['attach']->value){ $_smarty_tpl->tpl_vars['attach']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['attach']->value['id_attachment'];?> "><?php echo $_smarty_tpl->tpl_vars['attach']->value['name'];?> </option> <?php } ?> </select><br /><br /> <a href="#" id="addAttachment" style="text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px"> <?php echo smartyTranslate(array('s'=>'Add'),$_smarty_tpl);?> >> </a> </td> <td style="padding-left:20px;"> <p><?php echo smartyTranslate(array('s'=>'Attachments for this product:'),$_smarty_tpl);?> </p> <select multiple id="selectAttachment1" name="attachments[]" style="width:300px;height:160px;"> <?php $_smarty_tpl->tpl_vars['attach'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['attach']->_loop = false; $_from = $_smarty_tpl->tpl_vars['attach1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['attach']->key => $_smarty_tpl->tpl_vars['attach']->value){ $_smarty_tpl->tpl_vars['attach']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['attach']->value['id_attachment'];?> "><?php echo $_smarty_tpl->tpl_vars['attach']->value['name'];?> </option> <?php } ?> </select><br /><br /> <a href="#" id="removeAttachment" style="text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px"> << <?php echo smartyTranslate(array('s'=>'Remove'),$_smarty_tpl);?> </a> </td> </tr> </table> <div class="clear"> </div> <input type="hidden" name="arrayAttachments" id="arrayAttachments" value="<?php $_smarty_tpl->tpl_vars['attach'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['attach']->_loop = false; $_from = $_smarty_tpl->tpl_vars['attach1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['attach']->key => $_smarty_tpl->tpl_vars['attach']->value){ $_smarty_tpl->tpl_vars['attach']->_loop = true; ?><?php echo $_smarty_tpl->tpl_vars['attach']->value['id_attachment'];?> ,<?php } ?>" /> <script type="text/javascript"> var iso = '<?php echo $_smarty_tpl->tpl_vars['iso_tiny_mce']->value;?> '; var pathCSS = '<?php echo @constant('_THEME_CSS_DIR_');?> '; var ad = '<?php echo $_smarty_tpl->tpl_vars['ad']->value;?> '; </script> <?php }?> <?php }} ?>
©
2018. | Recode by D7net