SF.net SVN: phpwiki:[10730] trunk/themes/Wordpress/templates/signin.tmpl

vargenau--- via phpwiki-checkins <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10730
          http://sourceforge.net/p/phpwiki/code/10730
Author:   vargenau
Date:     2021-12-06 10:53:32 +0000 (Mon, 06 Dec 2021)
Log Message:
-----------
merge themes/Wordpress/templates/signin.tmpl with themes/default/templates/signin.tmpl

Modified Paths:
--------------
    trunk/themes/Wordpress/templates/signin.tmpl

Modified: trunk/themes/Wordpress/templates/signin.tmpl
===================================================================
--- trunk/themes/Wordpress/templates/signin.tmpl	2021-12-06 10:31:29 UTC (rev 10729)
+++ trunk/themes/Wordpress/templates/signin.tmpl	2021-12-06 10:53:32 UTC (rev 10730)
@@ -1,6 +1,4 @@
 <?php
-// MPickering: modified; this will be enclosed within an ul
-
 if (empty($FORMNAME))
     $FORMNAME = 'signin';
 else
@@ -8,7 +6,7 @@
 ?>
 <?php if (empty($NOFORM)) { ?>
  <li>
-  <form method="post" action="<?php echo $request->getPostURL()?>" accept-charset="UTF-8" name="<?php echo $FORMNAME?>">
+  <form method="post" action="<?php echo $request->getPostURL() ?>" accept-charset="UTF-8" name="<?php echo $FORMNAME?>">
   <?php echo HiddenInputs($request->getArgs(), false, array('auth')) ?>
 <?php } ?>
 <?php
@@ -39,13 +37,14 @@
                      'onchange' => "SignIn(this.form,false);"));
     $SignInInput->addTooltip(_("Enter your UserId to sign in"));
     $userid = $user->getId();
-    if ($user->isSignedIn())
-      echo sprintf(_("You are signed but not authenticated as %s. "),
+    if ($user->isSignedIn()) {
+        echo sprintf(_("You are signed but not authenticated as %s. "),
            asXML(HTML::a(array(
                        'href'=>'#',
                        'title' => sprintf(_("Click to authenticate as %s"),$userid),
                        'onclick'=>'SignIn(document.forms["'.$FORMNAME.'"],"'.$userid.'");'),
-                 $userid)));
+                $userid)));
+    }
 ?>
   <script type="text/javascript"> <!--
      function SignIn(form,userid) {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.