[pLog-svn] r2244 - in plugins/trunk/secret: class/security templates

mark at devel.plogworld.net mark at devel.plogworld.net
Thu Jun 16 15:51:34 GMT 2005


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}" />




More information about the pLog-svn mailing list