golden hour
/home/phakp/public_html/formtools/themes/default/cache
⬆️ Go Up
Upload
File/Folder
Size
Actions
0ca43e1d7257dc2cf75e835e371fc73182631526_0.file.tab_publish.tpl.php
9.8 KB
Del
OK
2756f96971ce46fc01a2cf090d8aba7e50eea3f9_0.file.templates_html.tpl.php
14.19 KB
Del
OK
b88a4d027abbba2fccce3c7dc77e2f2feb0c4674_0.file.eval.tpl.php
916 B
Del
OK
f25d6942b738f736fad7fb7bad22221500930b57_0.file.placeholders_html.tpl.php
8.75 KB
Del
OK
Edit: f25d6942b738f736fad7fb7bad22221500930b57_0.file.placeholders_html.tpl.php
<?php /* Smarty version 3.1.31, created on 2019-08-18 12:13:59 from "/var/home/phakp/public_html/formtools/modules/form_builder/smarty_plugins/placeholders_html.tpl" */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.31', 'unifunc' => 'content_5d5916d755f215_51546809', 'has_nocache_code' => false, 'file_dependency' => array ( 'f25d6942b738f736fad7fb7bad22221500930b57' => array ( 0 => '/var/home/phakp/public_html/formtools/modules/form_builder/smarty_plugins/placeholders_html.tpl', 1 => 1557107192, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_5d5916d755f215_51546809 (Smarty_Internal_Template $_smarty_tpl) { ?> <?php if (count($_smarty_tpl->tpl_vars['placeholders']->value) == 0) {?> <div class="medium_grey"><?php echo $_smarty_tpl->tpl_vars['L']->value['notify_no_placeholders'];?> </div> <?php }?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['placeholders']->value, 'info'); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['info']->value) { ?> <?php $_smarty_tpl->_assignInScope('pid', $_smarty_tpl->tpl_vars['info']->value['placeholder_id']); ?> <input type="hidden" name="placeholder_ids[]" class="pids" value="<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> " /> <div> <label><?php echo $_smarty_tpl->tpl_vars['info']->value['placeholder_label'];?> </label> <div> <?php if ($_smarty_tpl->tpl_vars['info']->value['field_type'] == "textbox") {?> <input type="text" name="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> " value="<?php if (isset($_smarty_tpl->tpl_vars['placeholder_hash']->value[$_smarty_tpl->tpl_vars['pid']->value])) { echo htmlspecialchars($_smarty_tpl->tpl_vars['placeholder_hash']->value[$_smarty_tpl->tpl_vars['pid']->value], ENT_QUOTES, 'UTF-8', true); }?>" class="full" /> <?php } elseif ($_smarty_tpl->tpl_vars['info']->value['field_type'] == "textarea") {?> <textarea name="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> " style="width:98%; height: 60px"><?php echo $_smarty_tpl->tpl_vars['placeholder_hash']->value[$_smarty_tpl->tpl_vars['pid']->value];?> </textarea> <?php } elseif ($_smarty_tpl->tpl_vars['info']->value['field_type'] == "password") {?> <input type="password" name="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> " value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['placeholder_hash']->value[$_smarty_tpl->tpl_vars['pid']->value], ENT_QUOTES, 'UTF-8', true);?> " size="20" /> <?php } elseif ($_smarty_tpl->tpl_vars['info']->value['field_type'] == "radios") {?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['info']->value['options'], 'option', false, 'k2', 'row', array ( 'iteration' => true, )); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['k2']->value => $_smarty_tpl->tpl_vars['option']->value) { $_smarty_tpl->tpl_vars['__smarty_foreach_row']->value['iteration']++; ?> <?php $_smarty_tpl->_assignInScope('count', (isset($_smarty_tpl->tpl_vars['__smarty_foreach_row']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_row']->value['iteration'] : null)); ?> <input type="radio" name="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> " id="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> _<?php echo $_smarty_tpl->tpl_vars['count']->value;?> " value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['option_text'], ENT_QUOTES, 'UTF-8', true);?> " <?php if ($_smarty_tpl->tpl_vars['option']->value['option_text'] == $_smarty_tpl->tpl_vars['placeholder_hash']->value[$_smarty_tpl->tpl_vars['pid']->value]) {?>checked<?php }?> /> <label for="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> _<?php echo $_smarty_tpl->tpl_vars['count']->value;?> "><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['option_text'], ENT_QUOTES, 'UTF-8', true);?> </label> <?php if ($_smarty_tpl->tpl_vars['info']->value['field_orientation'] == "vertical") {?><br /><?php }?> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1); ?> <?php } elseif ($_smarty_tpl->tpl_vars['info']->value['field_type'] == "checkboxes") {?> <?php $_smarty_tpl->_assignInScope('selected_els', explode("|",$_smarty_tpl->tpl_vars['placeholder_hash']->value[$_smarty_tpl->tpl_vars['pid']->value])); ?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['info']->value['options'], 'option', false, 'k2', 'row', array ( 'iteration' => true, )); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['k2']->value => $_smarty_tpl->tpl_vars['option']->value) { $_smarty_tpl->tpl_vars['__smarty_foreach_row']->value['iteration']++; ?> <?php $_smarty_tpl->_assignInScope('count', (isset($_smarty_tpl->tpl_vars['__smarty_foreach_row']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_row']->value['iteration'] : null)); ?> <input type="checkbox" name="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> []" id="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> _<?php echo $_smarty_tpl->tpl_vars['count']->value;?> " value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['option_text'], ENT_QUOTES, 'UTF-8', true);?> " <?php if (in_array($_smarty_tpl->tpl_vars['option']->value['option_text'],$_smarty_tpl->tpl_vars['selected_els']->value)) {?>checked="checked"<?php }?> /> <label for="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> _<?php echo $_smarty_tpl->tpl_vars['count']->value;?> "><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['option_text'], ENT_QUOTES, 'UTF-8', true);?> </label> <?php if ($_smarty_tpl->tpl_vars['info']->value['field_orientation'] == "vertical") {?><br /><?php }?> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1); ?> <?php } elseif ($_smarty_tpl->tpl_vars['info']->value['field_type'] == "select") {?> <select name="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> " class="full"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['info']->value['options'], 'option', false, 'k2'); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['k2']->value => $_smarty_tpl->tpl_vars['option']->value) { ?> <?php $_smarty_tpl->_assignInScope('escaped_value', htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['option_text'], ENT_QUOTES, 'UTF-8', true)); ?> <option value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['option_text'], ENT_QUOTES, 'UTF-8', true);?> " <?php if ($_smarty_tpl->tpl_vars['escaped_value']->value == $_smarty_tpl->tpl_vars['placeholder_hash']->value[$_smarty_tpl->tpl_vars['pid']->value]) {?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['option']->value['option_text'];?> </option> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1); ?> </select> <?php } elseif ($_smarty_tpl->tpl_vars['info']->value['field_type'] == "multi-select") {?> <?php $_smarty_tpl->_assignInScope('selected_els', explode("|",$_smarty_tpl->tpl_vars['placeholder_hash']->value[$_smarty_tpl->tpl_vars['pid']->value])); ?> <select name="placeholder_<?php echo $_smarty_tpl->tpl_vars['pid']->value;?> []" multiple size="4" class="full"> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['info']->value['options'], 'option', false, 'k2'); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['k2']->value => $_smarty_tpl->tpl_vars['option']->value) { ?> <?php $_smarty_tpl->_assignInScope('escaped_value', htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['option_text'], ENT_QUOTES, 'UTF-8', true)); ?> <option value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['option']->value['option_text'], ENT_QUOTES, 'UTF-8', true);?> " <?php if (in_array($_smarty_tpl->tpl_vars['option']->value['option_text'],$_smarty_tpl->tpl_vars['selected_els']->value)) {?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['option']->value['option_text'];?> </option> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1); ?> </select> <?php }?> </div> </div> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1); ?> <input type="hidden" id="placeholders_loaded" /> <?php } }
Save