[pLog-svn] r2189 - plugins/trunk/secret/templates
mark at devel.plogworld.net
mark at devel.plogworld.net
Fri Jun 10 09:46:51 GMT 2005
Author: mark
Date: 2005-06-10 09:46:51 +0000 (Fri, 10 Jun 2005)
New Revision: 2189
Modified:
plugins/trunk/secret/templates/passwordform.template
Log:
Fix secret plugin under subdomain, it will generate the index url as "{username}.aa.com"
I just pass the "false" value to $url->getIndexUrl(0, it will return the url without subdomain.
Modified: plugins/trunk/secret/templates/passwordform.template
===================================================================
--- plugins/trunk/secret/templates/passwordform.template 2005-06-10 09:43:48 UTC (rev 2188)
+++ plugins/trunk/secret/templates/passwordform.template 2005-06-10 09:46:51 UTC (rev 2189)
@@ -1,6 +1,6 @@
<h3>{$locale->tr("item_protected")}</h3>
{$locale->tr("item_protected_help")}
-<form name="secretPassword" method="post" action="{$url->getIndexUrl()}">
+<form name="secretPassword" method="post" action="{$url->getIndexUrl(false)}">
<input type="password" name="itemPassword" value="" /><br /><br />
{foreach from=$params item=param key=paramName}
<input type="hidden" name="{$paramName}" value="{$param}" />
More information about the pLog-svn
mailing list