Changeset 1427853
- Timestamp:
- 05/31/2016 08:46:47 PM (10 years ago)
- File:
-
- 1 edited
-
oewa/trunk/oewa.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
oewa/trunk/oewa.php
r1401292 r1427853 134 134 } 135 135 136 /** 137 * Deactivation 138 * 139 * @author jjchinquist 140 */ 136 141 public function deactivate_oewa() { 137 142 … … 271 276 $createThisManyBlanks = 5; 272 277 273 // @todo: translation274 278 ?> 275 <p> Enter any number of path to category mappings. If additional rows are required, then submit the form and rows will be added. Paths <strong>may not</strong>276 start or end with "/". </p>277 <p><strong> Important!</strong></p>279 <p><?php echo __('Enter any number of path to category mappings. If additional rows are required, then submit the form and rows will be added. Paths <strong>may not</strong> 280 start or end with "/".', 'oewa'); ?></p> 281 <p><strong><?php echo __('Important!'); ?></strong></p> 278 282 <ol> 279 <li> The form will automatically throw out any unmatched pairs. If either the path or the category column are empty in a single row, then the row will be skipped.</li>280 <li> Do not include the Protocol and Domain. The URL Path must be relative to the site_url() path<i><?php echo site_url() . ('/' === substr(site_url(), -1) ? '' : '/'); ?></i>.</li>281 <li> If two patterns match a URL, then the one that is higher in this list will be used.</li>282 <li> If you are using post translations, then manage both URL schemes that are created.</li>283 <li> Lastly, please read the readme.txt concerning ÖWA audits and failure to comply to proper website categorization.</li>283 <li><?php echo __('The form will automatically throw out any unmatched pairs. If either the path or the category column are empty in a single row, then the row will be skipped.', 'oewa'); ?></li> 284 <li><?php echo __('Do not include the Protocol and Domain. The URL Path must be relative to the site_url() path', 'oewa'); ?> <i><?php echo site_url() . ('/' === substr(site_url(), -1) ? '' : '/'); ?></i>.</li> 285 <li><?php echo __('If two patterns match a URL, then the one that is higher in this list will be used.', 'oewa'); ?></li> 286 <li><?php echo __('If you are using post translations, then manage both URL schemes that are created.', 'oewa'); ?></li> 287 <li><?php echo __('Lastly, please read the readme.txt concerning ÖWA audits and failure to comply to proper website categorization.', 'oewa'); ?></li> 284 288 </ol> 285 <p> Example url paths</p>289 <p><?php echo __('Examples'); ?></p> 286 290 <ol> 287 <li> "<strong>about/faq</strong>": matches the exact URL "<i>/about/faq</i>"</li>288 <li> "<strong>about/*</strong>": matches pages such as "<i>about/faq</i>" or "<i>about/testing/unit-testing/faqs</i>"289 but would not match "<i>about</i>" </li>290 <li> "<strong>about/*/faq</strong>": matches pages such as "<i>about/testing/faq</i>" or "<i>about/testing/unit-testing/faqs</i>"291 but would not match "<i>about/faqs</i>" </li>291 <li><?php echo __('"<strong>about/faq</strong>": matches the exact URL "<i>/about/faq</i>"', 'oewa'); ?></li> 292 <li><?php echo __('"<strong>about/*</strong>": matches pages such as "<i>about/faq</i>" or "<i>about/testing/unit-testing/faqs</i>" 293 but would not match "<i>about</i>"', 'oewa'); ?></li> 294 <li><?php echo __('"<strong>about/*/faq</strong>": matches pages such as "<i>about/testing/faq</i>" or "<i>about/testing/unit-testing/faqs</i>" 295 but would not match "<i>about/faqs</i>"', 'oewa'); ?></li> 292 296 </ol> 293 297 <table style="witdth: 100%;"> … … 295 299 <th></th> 296 300 <th>URL Path (wildcard = *)</th> 297 <th> Category string</th>301 <th><?php echo __('Category'); ?></th> 298 302 </tr> 299 303 <?php if ($count) : ?>
Note: See TracChangeset
for help on using the changeset viewer.