Changeset 23205 for extensions/ContactForm/admin/template/config.tpl
- Timestamp:
- Jun 14, 2013, 2:59:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/admin/template/config.tpl
r18393 r23205 1 1 {combine_css path=$CONTACT_FORM_PATH|@cat:"admin/template/style.css"} 2 {include file='include/colorbox.inc.tpl'} 3 4 {footer_script}{literal} 5 jQuery("a.preview-box").colorbox(); 6 7 jQuery("input[name='cf_theme']").change(function() { 8 jQuery("input[name='cf_theme']").parents(".themeBox").removeClass("themeDefault"); 9 jQuery(this).parents(".themeBox").addClass("themeDefault"); 10 }); 11 {/literal}{/footer_script} 2 12 3 13 <div class="titrePage"> … … 72 82 73 83 <fieldset> 84 <legend>{'Theme'|@translate}</legend> 85 86 <div class="themeBoxes"> 87 <div class="themeBox {if $cf_theme=='clear'}themeDefault{/if}"> 88 <div class="themeName"><label> 89 <input type="radio" name="cf_theme" value="clear" {if $cf_theme=='clear'}checked{/if}> 90 Clear 91 </label></div> 92 <div class="themeShot"> 93 <a href="{$CONTACT_FORM_PATH}admin/template/prev-clear.jpg" class="preview-box"><img src="{$CONTACT_FORM_PATH}admin/template/prev-clear.jpg" width="150"/></a> 94 </div> 95 </div> 96 <div class="themeBox {if $cf_theme=='dark'}themeDefault{/if}"> 97 <div class="themeName"><label> 98 <input type="radio" name="cf_theme" value="dark" {if $cf_theme=='dark'}checked{/if}> 99 Dark 100 </label></div> 101 <div class="themeShot"> 102 <a href="{$CONTACT_FORM_PATH}admin/template/prev-dark.jpg" class="preview-box"><img src="{$CONTACT_FORM_PATH}admin/template/prev-dark.jpg" width="150"/></a> 103 </div> 104 </div> 105 </div> 106 </fieldset> 107 108 <fieldset> 74 109 <legend>{'Text before the contact form'|@translate}</legend> 75 110 <textarea rows="4" cols="80" class="description" name="cf_before">{$cf_before}</textarea>
Note: See TracChangeset
for help on using the changeset viewer.