Changeset 22122
- Timestamp:
- 10/05/2012 02:36:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-permalink.php
r21994 r22122 192 192 <table class="form-table"> 193 193 <tr> 194 <th><label><input name="selection" type="radio" value="" class="tog"<?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th>194 <th><label><input name="selection" type="radio" value="" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th> 195 195 <td><code><?php echo get_option('home'); ?>/?p=123</code></td> 196 196 </tr> 197 197 <tr> 198 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" class="tog"<?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th>198 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th> 199 199 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td> 200 200 </tr> 201 201 <tr> 202 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[2]); ?>" class="tog"<?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th>202 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[2]); ?>" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th> 203 203 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td> 204 204 </tr> 205 205 <tr> 206 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[3]); ?>" class="tog"<?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th>206 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[3]); ?>" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th> 207 207 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . _x( 'archives', 'sample permalink base' ) . '/123'; ?></code></td> 208 208 </tr> 209 209 <tr> 210 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[4]); ?>" class="tog"<?php checked($structures[4], $permalink_structure); ?> /> <?php _e('Post name'); ?></label></th>210 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[4]); ?>" <?php checked($structures[4], $permalink_structure); ?> /> <?php _e('Post name'); ?></label></th> 211 211 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td> 212 212 </tr> 213 213 <tr> 214 214 <th> 215 <label><input name="selection" id="custom_selection" type="radio" value="custom" class="tog"<?php checked( !in_array($permalink_structure, $structures) ); ?> />215 <label><input name="selection" id="custom_selection" type="radio" value="custom" <?php checked( !in_array($permalink_structure, $structures) ); ?> /> 216 216 <?php _e('Custom Structure'); ?> 217 217 </label>
Note: See TracChangeset
for help on using the changeset viewer.