Make WordPress Core


Ignore:
Timestamp:
05/14/2004 08:38:34 AM (22 years ago)
Author:
saxmatt
Message:

Some fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-permalink.php

    r1245 r1273  
    107107 if ($permalink_structure) {
    108108?>
    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>
    110110  <?php
    111111$site_root = str_replace('http://', '', trim(get_settings('siteurl')));
     
    120120<form action="">
    121121    <p>
    122         <textarea rows="5" style="width: 100%;">RewriteEngine On
     122        <textarea rows="5" style="width: 98%;">RewriteEngine On
    123123RewriteBase <?php echo $home_root; ?>
    124124<?php
     
    126126foreach ($rewrite as $match => $query) {
    127127    if (strstr($query, 'index.php')) echo 'RewriteRule ^' . $match . ' ' . $home_root . $query . " [QSA]\n";
    128     echo 'RewriteRule ^' . $match . ' ' . $site_root . $query . " [QSA]\n";
     128    else echo 'RewriteRule ^' . $match . ' ' . $site_root . $query . " [QSA]\n";
    129129}
    130130?>
     
    140140<?php _e('You are not currently using customized permalinks. No special mod_rewrite rules are needed.') ?>
    141141</p>
     142<?php } ?>
     143</div>
     144
    142145<?php
    143 }
    144 echo "</div>\n";
    145 
    146146require('./admin-footer.php');
    147147?>
Note: See TracChangeset for help on using the changeset viewer.