[pLog-svn] r2244 - in plugins/trunk/secret: class/security
templates
Oscar Renalias
phunkphorce at gmail.com
Thu Jun 16 16:16:04 GMT 2005
Even better... you should replace this:
$t->assign( "url", RequestGenerator::getRequestGenerator( $blogInfo ));
with this:
$t->assign( "url", $blogInfo->getBlogRequestGenerator());
Just to avoid issues in the future, as the method above shoulnd't be
used anymore (though it still works)
Oscar
On 6/16/05, mark at devel.plogworld.net <mark at devel.plogworld.net> wrote:
> Author: mark
> Date: 2005-06-16 15:51:34 +0000 (Thu, 16 Jun 2005)
> New Revision: 2244
>
> Modified:
> plugins/trunk/secret/class/security/secretitemfilter.class.php
> plugins/trunk/secret/templates/passwordform.template
> Log:
> Fix subdomain error... http://bugs.plogworld.net/view.php?id=542
>
> Modified: plugins/trunk/secret/class/security/secretitemfilter.class.php
> ===================================================================
> --- plugins/trunk/secret/class/security/secretitemfilter.class.php 2005-06-16 09:09:16 UTC (rev 2243)
> +++ plugins/trunk/secret/class/security/secretitemfilter.class.php 2005-06-16 15:51:34 UTC (rev 2244)
> @@ -123,7 +123,7 @@
> $t->assign( "locale", $blogInfo->getLocale() );
> $t->assign( "params", $request->getAsArray());
> $t->assign( "articleId", $articleId );
> - $t->assign( "url", RequestGenerator::getRequestGenerator( $this->_blogInfo ));
> + $t->assign( "url", RequestGenerator::getRequestGenerator( $blogInfo ));
> $message = $t->fetch();
> $result = new PipelineResult( false, 500, $message );
> }
>
> Modified: plugins/trunk/secret/templates/passwordform.template
> ===================================================================
> --- plugins/trunk/secret/templates/passwordform.template 2005-06-16 09:09:16 UTC (rev 2243)
> +++ plugins/trunk/secret/templates/passwordform.template 2005-06-16 15:51:34 UTC (rev 2244)
> @@ -1,6 +1,6 @@
> <h3>{$locale->tr("item_protected")}</h3>
> {$locale->tr("item_protected_help")}
> -<form name="secretPassword" method="post" action="{$url->getIndexUrl(false)}">
> +<form name="secretPassword" method="post" action="{$url->getIndexUrl()}">
> <input type="password" name="itemPassword" value="" /><br /><br />
> {foreach from=$params item=param key=paramName}
> <input type="hidden" name="{$paramName}" value="{$param}" />
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
More information about the pLog-svn
mailing list