[pLog-svn] r5318 - in plugins/branches/lifetype-1.2/sitemap: . class/view templates

mark at devel.lifetype.net mark at devel.lifetype.net
Tue Apr 17 06:31:47 EDT 2007


Author: mark
Date: 2007-04-17 06:31:46 -0400 (Tue, 17 Apr 2007)
New Revision: 5318

Modified:
   plugins/branches/lifetype-1.2/sitemap/class/view/adminsitemappluginsettingsview.class.php
   plugins/branches/lifetype-1.2/sitemap/pluginsitemap.class.php
   plugins/branches/lifetype-1.2/sitemap/templates/pluginsettings.template
Log:
Fixed some bugs and typo in last commits.

Modified: plugins/branches/lifetype-1.2/sitemap/class/view/adminsitemappluginsettingsview.class.php
===================================================================
--- plugins/branches/lifetype-1.2/sitemap/class/view/adminsitemappluginsettingsview.class.php	2007-04-17 10:13:29 UTC (rev 5317)
+++ plugins/branches/lifetype-1.2/sitemap/class/view/adminsitemappluginsettingsview.class.php	2007-04-17 10:31:46 UTC (rev 5318)
@@ -22,7 +22,7 @@
 			
 			// create a view and export the settings to the template
 			$this->setValue( "pluginEnabled", $pluginEnabled );		
-			$this->setValue( "notifyGoogleEnabled", $notifyGoogle );		
+			$this->setValue( "notifyGoogleEnabled", $notifyGoogle );
 			
 			parent::render();
 		}

Modified: plugins/branches/lifetype-1.2/sitemap/pluginsitemap.class.php
===================================================================
--- plugins/branches/lifetype-1.2/sitemap/pluginsitemap.class.php	2007-04-17 10:13:29 UTC (rev 5317)
+++ plugins/branches/lifetype-1.2/sitemap/pluginsitemap.class.php	2007-04-17 10:31:46 UTC (rev 5318)
@@ -181,7 +181,7 @@
 			if( $config->getValue( "request_format_mode" ) == NORMAL_REQUEST_MODE )
 				$siteMapUrl = $rg->getUrl($siteMapFile);
 			else
-				$siteMapUrl = $rg->getBlogLink().$siteMapFile;
+				$siteMapUrl = $rg->blogLink().$siteMapFile;
 
 			return $siteMapUrl;
 		}

Modified: plugins/branches/lifetype-1.2/sitemap/templates/pluginsettings.template
===================================================================
--- plugins/branches/lifetype-1.2/sitemap/templates/pluginsettings.template	2007-04-17 10:13:29 UTC (rev 5317)
+++ plugins/branches/lifetype-1.2/sitemap/templates/pluginsettings.template	2007-04-17 10:31:46 UTC (rev 5318)
@@ -11,7 +11,7 @@
     <input class="checkbox" type="checkbox" name="pluginEnabled" 
     	   id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} 
            {user_cannot_override
-             key=sitemap_plugin_enabled}disabled="disabled"
+             key=plugin_sitemap_enabled}disabled="disabled"
            {/user_cannot_override}   	   
     	   value="1" />{$locale->tr("sitemap_plugin_enabled")}
    </div>
@@ -23,14 +23,14 @@
     <input class="checkbox" type="checkbox" name="notifyGoogleEnabled" 
     	   id="notifyGoogleEnabled" {if $notifyGoogleEnabled} checked="checked" {/if}
            {user_cannot_override
-             key=google_notification_enabled}disabled="disabled"
+             key=plugin_sitemap_notify_google_enabled}disabled="disabled"
            {/user_cannot_override}
     	   value="1" />{$locale->tr("google_notification_enabled")}
    </div>
   </div>
 
   {if $pluginEnabled}
-    {$locale->tr("link_to_sitemap")}<a href="{$url->getBaseUrl()}/sitemap{$blog->getId()}.gz">{$url->getBaseUrl()}/sitemap{$blog->getId()}.gz</a>
+    {$locale->tr("link_to_sitemap")}<a href="{$sitemap->getSiteMapUrl()}">{$sitemap->getSiteMapUrl()}</a>
   {/if}
  </fieldset>  
 



More information about the pLog-svn mailing list