Changeset 1198 for trunk/bb-admin/options-general.php
- Timestamp:
- 03/03/2008 06:16:23 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bb-admin/options-general.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-admin/options-general.php
r1174 r1198 67 67 $selected[bb_get_option('mod_rewrite')] = ' selected="selected"'; 68 68 ?> 69 <option value="0"<?php echo $selected[0]; ?>><?php _e('None') ?> .../forums.php?id=1</option> 70 <option value="1"<?php echo $selected[1]; ?>><?php _e('Numeric') ?> .../forums/1</option> 71 <option value="slugs"<?php echo $selected['slugs']; ?>><?php _e('Name based') ?> .../forums/first-forum</option> 69 <option value="0"<?php echo $selected[0]; ?>><?php _e('None'); ?> .../forums.php?id=1</option> 70 <option value="1"<?php echo $selected[1]; ?>><?php _e('Numeric'); ?> .../forums/1</option> 71 <option value="slugs"<?php echo $selected['slugs']; ?>><?php _e('Name based'); ?> .../forums/first-forum</option> 72 <?php 73 unset($selected); 74 ?> 72 75 </select> 73 76 </div> … … 122 125 </fieldset> 123 126 <fieldset> 127 <legend><?php _e('Avatars'); ?></legend> 128 <p> 129 <?php _e('bbPress includes built-in support for <a href="http://gravatar.com/">Gravatars</a>, you can enable this feature here.'); ?> 130 </p> 131 <label for="avatars_show"> 132 <?php _e('Show avatars:') ?> 133 </label> 134 <div> 135 <?php 136 $checked = array(); 137 $checked[bb_get_option('avatars_show')] = ' checked="checked"'; 138 ?> 139 <input type="checkbox" class="checkbox" name="avatars_show" id="avatars_show" value="1"<?php echo $checked[1]; ?> /> 140 <?php 141 unset($checked); 142 ?> 143 </div> 144 <label for="avatars_rating"> 145 <?php _e('Gravatar maximum rating:'); ?> 146 </label> 147 <div> 148 <select name="avatars_rating" id="avatars_rating"> 149 <?php 150 $selected = array(); 151 $selected[bb_get_option('avatars_rating')] = ' selected="selected"'; 152 ?> 153 <option value="0"<?php echo $selected[0]; ?>><?php _e('None'); ?></option> 154 <option value="X"<?php echo $selected['X']; ?>><?php _e('X'); ?></option> 155 <option value="R"<?php echo $selected['R']; ?>><?php _e('R'); ?></option> 156 <option value="PG"<?php echo $selected['PG']; ?>><?php _e('PG'); ?></option> 157 <option value="G"<?php echo $selected['G']; ?>><?php _e('G'); ?></option> 158 <?php 159 unset($selected); 160 ?> 161 </select> 162 <p> 163 <img src="http://site.gravatar.com/images/gravatars/ratings/3.gif" alt="Rated X" style="height:30px; width:30px; float:left; margin-right:10px;" /> 164 <?php _e('X rated gravatars may contain hardcore sexual imagery or extremely disturbing violence.'); ?> 165 </p> 166 <p> 167 <img src="http://site.gravatar.com/images/gravatars/ratings/2.gif" alt="Rated R" style="height:30px; width:30px; float:left; margin-right:10px;" /> 168 <?php _e('R rated gravatars may contain such things as harsh profanity, intense violence, nudity, or hard drug use.'); ?> 169 </p> 170 <p> 171 <img src="http://site.gravatar.com/images/gravatars/ratings/1.gif" alt="Rated PG" style="height:30px; width:30px; float:left; margin-right:10px;" /> 172 <?php _e('PG rated gravatars may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.'); ?> 173 </p> 174 <p> 175 <img src="http://site.gravatar.com/images/gravatars/ratings/0.gif" alt="Rated G" style="height:30px; width:30px; float:left; margin-right:10px;" /> 176 <?php _e('A G rated gravatar is suitable for display on all websites with any audience type.'); ?> 177 </p> 178 </div> 179 </fieldset> 180 <fieldset> 124 181 <?php bb_nonce_field( 'options-general-update' ); ?> 125 182 <input type="hidden" name="action" id="action" value="update" />
Note: See TracChangeset
for help on using the changeset viewer.