Changeset 538
- Timestamp:
- 10/28/08 12:07:04 (15 years ago)
- google:author:
- appears
- Location:
- plugins/robotsTxt
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/robotsTxt/_define.php
r535 r538 25 25 /* Description*/ "robots.txt file generator", 26 26 /* Author */ "William Dauchy and contributors", 27 /* Version */ '0.1-beta 1',27 /* Version */ '0.1-beta2', 28 28 /* Permissions */ 'contentadmin' 29 29 ); -
plugins/robotsTxt/index.php
r535 r538 163 163 else 164 164 { 165 echo 'robotsTxt is now unactive';165 echo __('robotsTxt is now unactive'); 166 166 } 167 167 exit; … … 331 331 </fieldset> 332 332 <fieldset> 333 <legend> General</legend>333 <legend><?php echo(__('General')); ?></legend> 334 334 <table class="maximal"> 335 335 <tbody> … … 337 337 <td> 338 338 <?php echo form::radio(array('defaultRule', 'allowAll'), 'allow', ($defaultRule == true ? true : false)); ?> 339 <label for="allowAll" class="classic"> Allow all robots (recommended)</label>339 <label for="allowAll" class="classic"><?php echo(__('Allow all robots (recommended)')); ?></label> 340 340 </td> 341 341 <td> 342 342 <?php echo form::radio(array('defaultRule', 'disallowAll'), 'disallow', ($defaultRule == true ? false : true)); ?> 343 <label for="disallowAll" class="classic"> Block all robots</label>343 <label for="disallowAll" class="classic"><?php echo(__('Block all robots')); ?></label> 344 344 </td> 345 345 </tr> … … 366 366 <form method="get" action="<?php http::getSelfURI(); ?>" id="addRule"> 367 367 <fieldset> 368 <legend> Rule</legend>368 <legend><?php echo(__('Rule')); ?></legend> 369 369 <p class="field"> 370 <label for="userAgent" class="classic"> User-agent:</label>370 <label for="userAgent" class="classic"><?php echo(__('User-agent:')); ?></label> 371 371 <?php echo form::field('userAgent', 40, 128, '*'); ?> 372 372 </p> 373 373 <p class="field"> 374 <label for="ruleAction" class="classic"> Action:</label>375 <?php echo form::combo('ruleAction', array( 'Allow' => 'allow', 'Disallow'=> 'disallow')); ?>374 <label for="ruleAction" class="classic"><?php echo(__('Action:')); ?></label> 375 <?php echo form::combo('ruleAction', array(__('Allow') => 'allow', __('Disallow') => 'disallow')); ?> 376 376 </p> 377 377 <p class="field"> 378 <label for="actionValue" class="classic"> Action value:</label>378 <label for="actionValue" class="classic"><?php echo(__('Action value:')); ?></label> 379 379 <?php echo form::field('actionValue', 40, 128, ''); ?> 380 380 </p> … … 386 386 </form> 387 387 <fieldset> 388 <legend> Result</legend>388 <legend><?php echo(__('Result')); ?></legend> 389 389 <div class="contentToChange"> 390 390 <p><?php displayRobotsTxt($rules, $sitemapUrl, $defaultRule, $sitemapUrlActive); ?></p> … … 395 395 <div class="help-content"> 396 396 <h2><?php echo(__('Help')); ?></h2> 397 <p><?php echo(__('If the plugin is activated, you will be able to see the result at http://yourdomain e/robots.txt')); ?></p>398 <p><?php echo(__('You could see differences between your configuration and the result. To resolve it, erase the dotclear cache.'))?></p>399 <p><?php echo(__('More about robots.txt on <a title="robotstxt.org" href="http://www.robotstxt.org/">robotstxt.org</a>.'))?></p>397 <p><?php echo(__('If the plugin is activated, you will be able to see the result at http://yourdomain/robots.txt')); ?></p> 398 <p><?php echo(__('You could see differences between your configuration and the result. To resolve it, erase the Dotclear cache.')); ?></p> 399 <p><?php printf(__('More about robots.txt on %s.'),'<a title="robotstxt.org" href="http://www.robotstxt.org/">robotstxt.org</a>'); ?></p> 400 400 </div> 401 401 </div>
Note: See TracChangeset
for help on using the changeset viewer.