Plugin Directory

Changeset 671469


Ignore:
Timestamp:
02/21/2013 10:18:05 PM (13 years ago)
Author:
techotronic
Message:

add comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • all-in-one-favicon/trunk/includes/settings-page/sp-plugin-favicon-settings.php

    r671468 r671469  
    2626                </td>
    2727                <td>
     28                    <!-- text input field so URLs may be copy'n'pasted -->
    2829                    <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. -->
    2931                    <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>
    3032                    <br />
     
    3335                    <input type="checkbox" name="delete-<?php echo $iconName ?>"/><?php _e('Check box to delete favicon.',AIOFAVICON_TEXTDOMAIN) ?>
    3436                    <?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 displayed with 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 -->
    3638                    <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;"/>
    3739                </td>
Note: See TracChangeset for help on using the changeset viewer.