diff options
author | M.Gergo | 2018-07-06 11:14:41 +0200 |
---|---|---|
committer | M.Gergo | 2018-07-06 11:14:41 +0200 |
commit | 43de9af71f7f4ca5731b94a06d688ae8412ba427 (patch) | |
tree | 54835de1dfcda504c02da261f0dc26885aed2e89 /mayor-orig/www/skin/vakbarat/module-auth | |
parent | 50310b0e4513ee3fcce67351ae61e8fff851130e (diff) | |
download | mayor-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')
-rw-r--r-- | mayor-orig/www/skin/vakbarat/module-auth/css/login.css | 9 | ||||
-rw-r--r-- | mayor-orig/www/skin/vakbarat/module-auth/html/login.phtml | 55 |
2 files changed, 64 insertions, 0 deletions
diff --git a/mayor-orig/www/skin/vakbarat/module-auth/css/login.css b/mayor-orig/www/skin/vakbarat/module-auth/css/login.css new file mode 100644 index 00000000..b94c93d3 --- /dev/null +++ b/mayor-orig/www/skin/vakbarat/module-auth/css/login.css @@ -0,0 +1,9 @@ +img { border-width: 0px; } +h1 {text-align: center; margin: 10px; font-size:20px; } +h2 {text-align: center; margin: 10px; font-size: 15px; } +h3 {text-align: center; margin: 10px; font-size: 12px; } +form#login { margin: 30px;padding: 0px; text-align: center; } +input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;} +select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; } +select.pp>option { border: none 0px black; } +input.submit { border: solid 1px #776650; } 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"; +*/ + } + +?> |