[pLog-svn] r6867 - plog/branches/lifetype-1.2/templates/default
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu Apr 16 16:17:34 EDT 2009
Author: jondaley
Date: 2009-04-16 16:17:34 -0400 (Thu, 16 Apr 2009)
New Revision: 6867
Modified:
plog/branches/lifetype-1.2/templates/default/commentform.template
Log:
ugh, even the $url object isn't available if the page is cached...
Modified: plog/branches/lifetype-1.2/templates/default/commentform.template
===================================================================
--- plog/branches/lifetype-1.2/templates/default/commentform.template 2009-04-16 20:03:33 UTC (rev 6866)
+++ plog/branches/lifetype-1.2/templates/default/commentform.template 2009-04-16 20:17:34 UTC (rev 6867)
@@ -8,7 +8,7 @@
<div><label for="commentText">{$locale->pr("comment_text")} ({$locale->tr("required")})</label><textarea rows="10" cols="30" name="commentText" id="commentText"></textarea></div>
<div><label for="userName">{$locale->pr("comment_username")} ({$locale->tr("required")})</label>
{if $authuser}
- <span id="AuthUser">{$authuser->getUsername()} (<a href="{$url->getAdminUrl()}?op=Logout">{$locale->tr("form_authenticated")}</a>)</span>
+ <span id="AuthUser">{$authuser->getUsername()} ({$locale->tr("form_authenticated")})</span>
<input type="hidden" name="userName" id="userNameHidden" value="{if $authuser}{$authuser->getUsername()}{/if}" /></div>
{else}
<input type="text" name="userName" id="userName" value="" /></div>
More information about the pLog-svn
mailing list