Plugin Directory

Changeset 755999


Ignore:
Timestamp:
08/14/2013 08:42:40 AM (13 years ago)
Author:
RenaudMG
Message:

Version 1.1 : added the sitemap.xml location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xml-sitemap-generator/trunk/wp-xml-sitemap-generator.php

    r672383 r755999  
    44Plugin URI: http://www.responsive-mind.fr/wp-xml-sitemap-generator
    55Description: Xml sitemap generator for WordPress.
    6 Version: 1.0
     6Version: 1.1
    77Author: Renaud Mariage-Gaudron
    88Author URI: http://www.responsive-mind.fr
     
    173173                $wpdb -> query('UPDATE '.$wpdb->prefix.TABLE_CONFIG.' SET lastGenerated = \''.time().'\'');
    174174            } else {
    175                 echo "Le fichier ".$filename." n'est pas accessible en écriture.";
     175                echo "File ".$filename." could not be written. Please check your rights";
    176176            }
    177177        }
     
    254254            ?><strong>No sitemap generated yet !</strong><br>Please click the <em>"Go baby"</em> button to create your sitemap.<?php
    255255        } else {
    256             ?><strong>Sitemap generated on <?php echo date(DATE_RSS, $lastGenerated); ?>.</strong><br>Please click the <em>"Go baby"</em> button to create a new sitemap.<?php
     256            ?>
     257                <p><strong>Sitemap generated on <?php echo date(DATE_RSS, $lastGenerated); ?>.</strong><br>Please click the <em>"Go baby"</em> button to create a new sitemap.</p>
     258                <p>The sitemap file is located on : <em><a href="<?php echo plugin_dir_url( __FILE__ ); ?>sitemap.xml" target="_blank"><?php echo plugin_dir_url( __FILE__ ); ?>/sitemap.xml</a></em></p>
     259            <?php
    257260        }
    258261        ?>
Note: See TracChangeset for help on using the changeset viewer.