Changeset 20202 for extensions/Piwecard/admin/template
- Timestamp:
- Jan 17, 2013, 12:06:49 AM (12 years ago)
- Location:
- extensions/Piwecard/admin/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Piwecard/admin/template/admin_configuration.tpl
r20162 r20202 3 3 {combine_script id='jquery.tokeninput' load='async' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'} 4 4 {combine_script id='piwecard' load="footer" path='plugins/Piwecard/js/piwecard.js'} 5 {combine_script id='colorpicker' load="footer" path='plugins/Piwecard/js/colorpicker/js/colorpicker.js'} 6 {combine_css path="plugins/Piwecard/js/colorpicker/css/colorpicker.css"} 5 7 6 8 {footer_script require="piwecard"} … … 31 33 $("#ecard_email_format_default_text").prop('checked', true); 32 34 } 35 }); 36 37 if ($("#ecard_image_border").prop('checked') == true) { 38 $("#ecard_image_border_options").css("display","block"); 39 } else { 40 $("#ecard_image_border_options").css("display","none"); 41 } 42 43 $("#ecard_image_border").change(function(){ 44 if ($("#ecard_image_border").prop('checked') == true) { 45 $("#ecard_image_border_options").show("fast"); 46 } else { 47 $("#ecard_image_border_options").hide("fast"); 48 } 49 }); 50 51 $('#ecard_image_border_color').ColorPicker({ 52 onSubmit: function(hsb, hex, rgb, element) { 53 $(element).val(hex); 54 $(element).ColorPickerHide(); 55 }, 56 onBeforeShow: function () { 57 $(this).ColorPickerSetColor(this.value); 58 }, 59 onChange: function (hsb, hex, rgb) { 60 $('#ecard_image_border_color').val(hex); 61 } 62 }) 63 .bind('keyup', function(){ 64 $(this).ColorPickerSetColor(this.value); 33 65 }); 34 66 }); … … 110 142 {/foreach} 111 143 </div> 144 <div class="ecard_form_line"> 145 <div> 146 <input type="checkbox" name="ecard_image_border" id="ecard_image_border" {$ecard_image_border} value="1" /> 147 <label for="ecard_image_border"> {'piwecard_image_border'|@translate}</label> 148 </div> 149 <div id="ecard_image_border_options"> 150 <span> 151 <label for="ecard_image_border_style">{'piwecard_image_border_style'|@translate}</label> 152 <select name="ecard_image_border_style" id="ecard_image_border_style"> 153 <option value="solid" {$ecard_image_border_style.solid}>{'piwecard_image_border_solid'|@translate}</option> 154 <option value="dashed" {$ecard_image_border_style.dashed}>{'piwecard_image_border_dashed'|@translate}</option> 155 <option value="dotted" {$ecard_image_border_style.dotted}>{'piwecard_image_border_dotted'|@translate}</option> 156 <option value="double"{$ecard_image_border_style.double}>{'piwecard_image_border_double'|@translate}</option> 157 </select> 158 </span> 159 <span> 160 <label for="ecard_image_border_width">{'piwecard_image_border_width'|@translate}</label> 161 <input type="text" size="6" maxlength="20" name="ecard_image_border_width" id="ecard_image_border_width" value="{$ecard_image_border_width}" /> 162 </span> 163 <span> 164 <label for="ecard_image_border_color">{'piwecard_image_border_color'|@translate}</label> 165 <input type="text" maxlength="6" size="6" name="ecard_image_border_color" id="ecard_image_border_color" value="{$ecard_image_border_color}" /> 166 </span> 167 </div> 168 </div> 112 169 </fieldset> 113 170 -
extensions/Piwecard/admin/template/admin_management.tpl
r20112 r20202 103 103 </td> 104 104 <td> 105 <a href="{$ecard_file.url}" >{$ecard_file.title}</a>105 <a href="{$ecard_file.url}" target="_blank">{$ecard_file.title}</a> 106 106 </td> 107 107 <td> … … 109 109 </td> 110 110 <td> 111 {$ecard_file.recipient_name} ({$ecard_file.recipient_email}) 111 {foreach from=$ecard_file.recipients item=recipient} 112 {$recipient.name} ({$recipient.email})<br /> 113 {/foreach} 112 114 </td> 113 115 <td> … … 123 125 </tbody> 124 126 </table> 127 {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} 125 128 <fieldset> 126 129 <legend>{'piwecard_delete_selected'|@translate}</legend> … … 144 147 {/if} 145 148 </div> 146 {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
Note: See TracChangeset
for help on using the changeset viewer.