plugins/SpecialAdmin.php
changeset 966 2db0975aa31a
parent 960 e74741b8360b
child 983 36e42d787d1d
equal deleted inserted replaced
965:72b37471cce0 966:2db0975aa31a
   806           <?php echo $lang->get('acpgc_field_avatar_upload_methods'); ?><br />
   806           <?php echo $lang->get('acpgc_field_avatar_upload_methods'); ?><br />
   807           <small></small>
   807           <small></small>
   808         </td>
   808         </td>
   809         <td class="row1">
   809         <td class="row1">
   810           <label>
   810           <label>
   811             <input type="checkbox" name="avatar_upload_file" <?php if ( getConfig('avatar_upload_file') == '1' || getConfig('avatar_upload_file') === false ) echo 'checked="checked" '; ?>/>
   811             <input type="checkbox" name="avatar_upload_file" <?php if ( getConfig('avatar_upload_file', 1) == 1 ) echo 'checked="checked" '; ?>/>
   812             <?php echo $lang->get('acpgc_field_avatar_upload_file'); ?>
   812             <?php echo $lang->get('acpgc_field_avatar_upload_file'); ?>
   813           </label>
   813           </label>
   814           
   814           
   815           <br />
   815           <br />
   816           
   816           
   817           <label>
   817           <label>
   818             <input type="checkbox" name="avatar_upload_http" <?php if ( getConfig('avatar_upload_http') == '1' || getConfig('avatar_upload_http') === false ) echo 'checked="checked" '; ?>/>
   818             <input type="checkbox" name="avatar_upload_http" <?php if ( getConfig('avatar_upload_http', 1) == 1 ) echo 'checked="checked" '; ?>/>
   819             <?php echo $lang->get('acpgc_field_avatar_upload_http'); ?>
   819             <?php echo $lang->get('acpgc_field_avatar_upload_http'); ?>
   820           </label>
   820           </label>
   821           
   821           
   822           <br />
   822           <br />
   823           
   823           
   824           <label>
   824           <label>
   825           <input type="checkbox" name="avatar_upload_gravatar" <?php if ( getConfig('avatar_upload_gravatar') == '1' || getConfig('avatar_upload_gravatar') === false ) echo 'checked="checked" '; ?>onclick="document.getElementById('acp_gravatar_rating').style.display = ( this.checked ) ? 'block' : 'none';" />
   825           <input type="checkbox" name="avatar_upload_gravatar" <?php if ( getConfig('avatar_upload_gravatar', 1) == 1 ) echo 'checked="checked" '; ?>onclick="document.getElementById('acp_gravatar_rating').style.display = ( this.checked ) ? 'block' : 'none';" />
   826             <?php echo $lang->get('acpgc_field_avatar_upload_gravatar'); ?>
   826             <?php echo $lang->get('acpgc_field_avatar_upload_gravatar'); ?>
   827           </label>
   827           </label>
   828           
   828           
   829           <br />
   829           <br />
   830           
   830           
   831           <fieldset id="acp_gravatar_rating" style="margin-top: 10px; <?php if ( getConfig('avatar_upload_gravatar') === '0' ) echo ' display: none;'; ?>">
   831           <fieldset id="acp_gravatar_rating" style="margin-top: 10px; <?php if ( getConfig('avatar_upload_gravatar', 1) == 0 ) echo ' display: none;'; ?>">
   832           
   832           
   833             <?php /* The four ratings are g, pg, r, and x - loop through each and output a localized string and a radiobutton */ ?>
   833             <?php /* The four ratings are g, pg, r, and x - loop through each and output a localized string and a radiobutton */ ?>
   834             <legend><?php echo $lang->get('acpgc_field_avatar_gravatar_rating'); ?></legend>
   834             <legend><?php echo $lang->get('acpgc_field_avatar_gravatar_rating'); ?></legend>
   835             
   835             
   836             <?php foreach ( array('g', 'pg', 'r', 'x') as $rating ): ?>
   836             <?php foreach ( array('g', 'pg', 'r', 'x') as $rating ): ?>