aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/skin/vakbarat/module-auth/html
diff options
context:
space:
mode:
authorM.Gergo2018-07-06 11:14:41 +0200
committerM.Gergo2018-07-06 11:14:41 +0200
commit43de9af71f7f4ca5731b94a06d688ae8412ba427 (patch)
tree54835de1dfcda504c02da261f0dc26885aed2e89 /mayor-orig/www/skin/vakbarat/module-auth/html
parent50310b0e4513ee3fcce67351ae61e8fff851130e (diff)
downloadmayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.tar.gz
mayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.zip
2018/Feb/28 -i állapot hozzáadva, mint a módosítások kiindulási állapota
Diffstat (limited to 'mayor-orig/www/skin/vakbarat/module-auth/html')
-rw-r--r--mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml55
1 files changed, 55 insertions, 0 deletions
diff --git a/mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml b/mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml
new file mode 100644
index 00000000..c7c54cfa
--- /dev/null
+++ b/mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml
@@ -0,0 +1,55 @@
+<?php
+
+ function putLoginForm($userAccount,$toPolicy,$toPSF='',$toSkin='') {
+
+ global $POLICIES, $AUTH, $sessionID;
+ echo '<h1>'._SITE.'</h1>'."\n";
+ echo '<h2>'._GREETING.'</h2>'."\n";
+
+ formBegin(array('method'=>'post',
+ 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID ,
+ 'name'=>"loginablak", 'id'=>'login'));
+
+ echo '<input type="hidden" name="action" value="login" />';
+ echo '<input type="hidden" name="toPSF" value="'.$toPSF.'" />';
+
+ echo '<h3>'."\n";
+ echo _LOGIN;
+ echo '</h3>'."\n";
+
+ echo '<label for="focus">'._USERNAME.'</label>';
+ echo '<input id="focus" type="text" accesskey="u" tabindex="1" name="userAccount" value="" maxlength="32" />'."<br />\n";
+
+ echo '<select class="pp" name="toPolicy">'."\n";
+ $SEL = array($toPolicy => ' selected="selected" ');
+ for ($i=0; $i<count($POLICIES); $i++) {
+ $_policy = $POLICIES[$i];
+ if ($AUTH[$_policy]['authentication'] != 'none') {
+ echo '<option value="'.$_policy.'" '.$SEL[$_policy].'>';
+ echo constant('_'.strtoupper($_policy).'_PASSWORD');
+ echo '</option>'."\n";
+ }
+ }
+ echo '</select>'."\n";
+
+ echo '<input id="userPassword" type="password" accesskey="p" tabindex="2" name="userPassword" value="" />'."<br />\n";
+
+ echo '<input accesskey="l" type="submit" tabindex="3" name="button" value=" '. _LOGIN .' "
+ onclick="document.loginablak.button.disabled=true;
+ document.loginablak.button.value=\' Várj... \';
+ document.loginablak.submit()" class="submit" />'."\n";
+
+ formEnd();
+
+/*
+ echo '<table style="width: 100%" align="center">'."\n";
+ echo '<tr>'."\n";
+ echo '<td class="co">'."\n";
+ echo _MAYOR_DESC."\n";
+ echo '</td>'."\n";
+ echo '</tr>'."\n";
+ echo '</table>'."\n";
+*/
+ }
+
+?>