Changeset 1273 for trunk/wp-admin/options-permalink.php
- Timestamp:
- 05/14/2004 08:38:34 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-permalink.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-permalink.php
r1245 r1273 107 107 if ($permalink_structure) { 108 108 ?> 109 < ?php printf(__('<p>Using the permalink structure value you currently have, <code>%s</code>, these are the mod_rewrite rules you should have in your <code>.htaccess</code> file.</p>'), $permalink_structure) ?>109 <p><?php printf(__('Using the permalink structure value you currently have, <code>%s</code>, 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.'), $permalink_structure) ?></p> 110 110 <?php 111 111 $site_root = str_replace('http://', '', trim(get_settings('siteurl'))); … … 120 120 <form action=""> 121 121 <p> 122 <textarea rows="5" style="width: 100%;">RewriteEngine On122 <textarea rows="5" style="width: 98%;">RewriteEngine On 123 123 RewriteBase <?php echo $home_root; ?> 124 124 <?php … … 126 126 foreach ($rewrite as $match => $query) { 127 127 if (strstr($query, 'index.php')) echo 'RewriteRule ^' . $match . ' ' . $home_root . $query . " [QSA]\n"; 128 e cho 'RewriteRule ^' . $match . ' ' . $site_root . $query . " [QSA]\n";128 else echo 'RewriteRule ^' . $match . ' ' . $site_root . $query . " [QSA]\n"; 129 129 } 130 130 ?> … … 140 140 <?php _e('You are not currently using customized permalinks. No special mod_rewrite rules are needed.') ?> 141 141 </p> 142 <?php } ?> 143 </div> 144 142 145 <?php 143 }144 echo "</div>\n";145 146 146 require('./admin-footer.php'); 147 147 ?>
Note: See TracChangeset
for help on using the changeset viewer.