Changeset 6026 for trunk/wp-admin/options-permalink.php
- Timestamp:
- 09/03/2007 11:32:58 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-permalink.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-permalink.php
r5854 r6026 109 109 <?php endif; ?> 110 110 111 <div class="wrap"> 112 <h2><?php _e('Customize Permalink Structure') ?></h2> 113 <form name="form" action="options-permalink.php" method="post"> 111 <div class="wrap"> 112 <h2><?php _e('Customize Permalink Structure') ?></h2> 113 <form name="form" action="options-permalink.php" method="post"> 114 114 <?php wp_nonce_field('update-permalink') ?> 115 115 <p class="submit"><input type="submit" name="submit" value="<?php _e('Update Permalink Structure »') ?>" /></p> … … 131 131 <p> 132 132 <label> 133 <input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> 133 <input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> 134 134 <?php _e('Default'); ?><br /> <span> <?php echo _c('»|Used as a list bullet'); ?> <code><?php echo get_option('home'); ?>/?p=123</code></span> 135 135 </label> … … 137 137 <p> 138 138 <label> 139 <input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> 139 <input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> 140 140 <?php _e('Date and name based'); ?><br /> <span> <?php echo _c('»|Used as a list bullet'); ?> <code><?php echo get_option('home') . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></span> 141 141 </label> … … 143 143 <p> 144 144 <label> 145 <input name="selection" type="radio" value="<?php echo $structures[2]; ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> 145 <input name="selection" type="radio" value="<?php echo $structures[2]; ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> 146 146 <?php _e('Numeric'); ?><br /> <span> <?php echo _c('»|Used as a list bullet'); ?> <code><?php echo get_option('home') . $prefix ; ?>/archives/123</code></span> 147 147 </label> … … 166 166 <p><?php _e('If you like, you may enter custom bases for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p> 167 167 <?php endif; ?> 168 <p> 169 <?php _e('Category base'); ?>: <input name="category_base" id="category_base" type="text" class="code" value="<?php echo attribute_escape($category_base); ?>" size="30" /> 168 <p> 169 <?php _e('Category base'); ?>: <input name="category_base" id="category_base" type="text" class="code" value="<?php echo attribute_escape($category_base); ?>" size="30" /> 170 170 </p> 171 171 <p> 172 <?php _e('Tag base'); ?>: <input name="tag_base" id="tag_base" type="text" class="code" value="<?php echo attribute_escape($tag_base); ?>" size="30" /> 173 </p> 174 <p class="submit"> 175 <input type="submit" name="submit" value="<?php _e('Update Permalink Structure »') ?>" /> 176 </p> 177 </form> 172 <?php _e('Tag base'); ?>: <input name="tag_base" id="tag_base" type="text" class="code" value="<?php echo attribute_escape($tag_base); ?>" size="30" /> 173 </p> 174 <p class="submit"> 175 <input type="submit" name="submit" value="<?php _e('Update Permalink Structure »') ?>" /> 176 </p> 177 </form> 178 178 <?php if ( $permalink_structure && !$usingpi && !$writable ) : ?> 179 179 <p><?php _e('If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Make_a_Directory_Writable">writable</a>, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.') ?></p>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)