mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
Bug #4986 - Updated Google URLs. Thank you 2dopey. URLs removed from gsitemap language file.
This commit is contained in:
@@ -481,14 +481,29 @@ class gsitemap
|
|||||||
function instructions()
|
function instructions()
|
||||||
{
|
{
|
||||||
global $ns, $PLUGINS_DIRECTORY;
|
global $ns, $PLUGINS_DIRECTORY;
|
||||||
|
|
||||||
|
$LINK_1 = "https://www.google.com/accounts/ServiceLogin?service=sitemaps";
|
||||||
|
$LINK_2 = "http://www.google.com/support/webmasters/?hl=en";
|
||||||
|
|
||||||
|
$srch[0] = "[URL]";
|
||||||
|
$repl[0] = "<a href='".$LINK_1."'>".$LINK_1."</a>";
|
||||||
|
|
||||||
|
$srch[1] = "[URL2]";
|
||||||
|
$repl[1] = "<blockquote><b>".SITEURL."gsitemap.php</b></blockquote>";
|
||||||
|
|
||||||
|
$srch[2] = "[";
|
||||||
|
$repl[2] = "<a href='".e_ADMIN."prefs.php'>";
|
||||||
|
|
||||||
|
$srch[3] = "]";
|
||||||
|
$repl[3] = "</a>";
|
||||||
|
|
||||||
$text = "<b>".GSLAN_33."</b><br /><br />
|
$text = "<b>".GSLAN_33."</b><br /><br />
|
||||||
<ul>
|
<ul>
|
||||||
<li>".GSLAN_34."</li>
|
<li>".GSLAN_34."</li>
|
||||||
<li>".GSLAN_35."</li>
|
<li>".GSLAN_35."</li>
|
||||||
<li>".GSLAN_36."</li>
|
<li>".GSLAN_36."</li>
|
||||||
<li>".GSLAN_37."</li>
|
<li>".str_replace($srch,$repl,GSLAN_37)."</li>
|
||||||
<li>".GSLAN_38."</li>
|
<li>".str_replace("[URL]","<a href='".$LINK_2."'>".$LINK_2."</a>",GSLAN_38)."</li>
|
||||||
<ul>
|
<ul>
|
||||||
";
|
";
|
||||||
|
|
||||||
|
@@ -51,8 +51,8 @@ define("GSLAN_33", "GSiteMap Instructions");
|
|||||||
define("GSLAN_34", "First, create the links you wish to have listed in your sitemap. You can import most of your links by clicking the 'Import' button on the right");
|
define("GSLAN_34", "First, create the links you wish to have listed in your sitemap. You can import most of your links by clicking the 'Import' button on the right");
|
||||||
define("GSLAN_35", "If you've chosen to import your links, click 'Import' and then check the links you wish to import");
|
define("GSLAN_35", "If you've chosen to import your links, click 'Import' and then check the links you wish to import");
|
||||||
define("GSLAN_36", "You can also enter individual links manually by clicking 'Create New Entry'");
|
define("GSLAN_36", "You can also enter individual links manually by clicking 'Create New Entry'");
|
||||||
define("GSLAN_37", "Once you have some entries, go to <a href='https://www.google.com/webmasters/sitemaps/stats'>https://www.google.com/webmasters/sitemaps/stats</a> and enter the following URL -> <b>".SITEURL."gsitemap.php</b> - if this url doesn't look right to you, please make sure your site url is correct in admin -> preferences");
|
define("GSLAN_37", "Once you have some entries, go to [URL] and enter the following URL -> <b>".SITEURL."gsitemap.php</b> - if this url doesn't look right to you, please make sure your site url is correct in admin -> preferences");
|
||||||
define("GSLAN_38", "For more information on Google Sitemap protocol, go to <a href='http://www.google.com/webmasters/sitemaps/docs/en/protocol.html'>http://www.google.com/webmasters/sitemaps/docs/en/protocol.html</a>.");
|
define("GSLAN_38", "For more information on Google Sitemap protocol, go to [URL].");
|
||||||
define("GSLAN_39", "No links in sitemap - import sitelinks?");
|
define("GSLAN_39", "No links in sitemap - import sitelinks?");
|
||||||
define("GSLAN_40", "Google Sitemap Entries");
|
define("GSLAN_40", "Google Sitemap Entries");
|
||||||
define('GSLAN_41', "Google Sitemap. For more information on the Google Sitemap protocol, go to <a href='http://www.google.com/webmasters/sitemaps/docs/en/protocol.html'>http://www.google.com/webmasters/sitemaps/docs/en/protocol.html</a>");
|
define('GSLAN_41', "Google Sitemap. For more information on the Google Sitemap protocol, go to <a href='http://www.google.com/webmasters/sitemaps/docs/en/protocol.html'>http://www.google.com/webmasters/sitemaps/docs/en/protocol.html</a>");
|
||||||
|
Reference in New Issue
Block a user