Changeset 671469
- Timestamp:
- 02/21/2013 10:18:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
all-in-one-favicon/trunk/includes/settings-page/sp-plugin-favicon-settings.php
r671468 r671469 26 26 </td> 27 27 <td> 28 <!-- text input field so URLs may be copy'n'pasted --> 28 29 <input id="<?php echo AIOFAVICON_SETTINGSNAME .'-'. $iconName ?>-text" type="text" name="<?php echo AIOFAVICON_SETTINGSNAME . '[' . $iconName ?>-text]" size="60" maxlength="100000" value="<?php echo $this->aioFaviconSettings[$iconName] ?>"/> 30 <!-- label for file input, is displayed as upload button. All browsers then trigger file upload but Mozilla, see aiofavicon.js for workaround. --> 29 31 <label id="<?php echo AIOFAVICON_SETTINGSNAME .'-'. $iconName ?>-button" name="<?php echo $iconName ?>-button" class="button-secondary trigger-file-input" for="<?php echo AIOFAVICON_SETTINGSNAME .'-'. $iconName ?>" ><?php _e('Upload') ?></label> 30 32 <br /> … … 33 35 <input type="checkbox" name="delete-<?php echo $iconName ?>"/><?php _e('Check box to delete favicon.',AIOFAVICON_TEXTDOMAIN) ?> 34 36 <?php } ?> 35 <!-- input is just not displayed with width:0 and opacity:0 because some browsers will not display the file upload dialog if it's not displayedwith display:none -->37 <!-- input is hidden with width:0 and opacity:0 because some browsers will not display the file upload dialog if it's hidden with display:none --> 36 38 <input id="<?php echo AIOFAVICON_SETTINGSNAME .'-'. $iconName ?>" type="file" name="<?php echo $iconName ?>" size="50" maxlength="100000" accept="image/*" value="<?php echo $this->aioFaviconSettings[$iconName] ?>" style="width: 0; opacity: 0;"/> 37 39 </td>
Note: See TracChangeset
for help on using the changeset viewer.