aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/skin/classic/module-auth/html
diff options
context:
space:
mode:
authorM.Gergo2019-03-08 21:20:34 +0100
committerM.Gergo2019-03-08 21:20:34 +0100
commitf51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch)
treee13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/www/skin/classic/module-auth/html
parentc76a004b0135786f2742283f8d5f917106f58bd8 (diff)
downloadmayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz
mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip
további rendrakás
Diffstat (limited to 'mayor-orig/www/skin/classic/module-auth/html')
-rw-r--r--mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml103
-rw-r--r--mayor-orig/www/skin/classic/module-auth/html/login.phtml77
2 files changed, 0 insertions, 180 deletions
diff --git a/mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml b/mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml
deleted file mode 100644
index 464f4f64..00000000
--- a/mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?php
-
- function putForgotPasswordForm($ADAT) {
-
- echo '<h1>'._SITE.'</h1>'."\n";
- echo '<h2>'._GREETING.'</h2>'."\n";
-
- formBegin(array('class'=>'forgot'));
-
- echo '<h1>'._FORGOT_PASSWORD.'</h1>';
-
- echo '<p>'._ENTER_USERACCOUNT.'</p>';
- echo '<input type="hidden" name="action" value="sendResetPasswordMail" />';
- echo '<input type="hidden" name="toPolicy" value="'.$ADAT['toPolicy'].'" />';
- echo '<input type="text" name="userAccount" value="'.$ADAT['userAccount'].'" placeholder="'._USERNAME.'" />';
- echo '<input type="submit" value="'._RESET_PASSWORD.'" />';
- echo '<p>'._FORGOT_PASSWORD_HELP.'</p>';
-
- formEnd();
-
- }
-
- function putForgotUserAccountForm($ADAT) {
-
- formBegin(array('class'=>'forgot'));
-
- echo '<h1>'._FORGOT_USERACCOUNT.'</h1>';
-
- echo '<p>'._ENTER_EMAIL.'</p>';
- echo '<input type="hidden" name="action" value="sendResetPasswordMail" />';
- echo '<input type="hidden" name="toPolicy" value="'.$ADAT['toPolicy'].'" />';
- echo '<input type="text" name="mail" value="'.$ADAT['mail'].'" class="email" placeholder="'._EMAIL.'" />';
- echo '<input type="submit" value="'._RESET_PASSWORD.'" />';
- echo '<p>'._FORGOT_USERACCOUNT_HELP.'</p>';
-
- formEnd();
-
- }
-
- function putForgotThankYou() {
-
- echo '<h1>'._SITE.'</h1>'."\n";
- echo '<h2>'._GREETING.'</h2>'."\n";
-
- formBegin(array('class'=>'preforgot'));
- echo '<a href="'.href('index.php?page=auth&f=login').'">';
- _mayorLogo();
- echo '</a>';
- echo '<p class="forgotDone">'._FORGOT_INFO.'</p>';
- formEnd();
-
- }
-
- function putForgotDisabled() {
- global $POLICIES,$AUTH;
-
- echo '<h1>'._SITE.'</h1>'."\n";
- echo '<h2>'._GREETING.'</h2>'."\n";
- echo '<a href="'.href('index.php?page=auth&f=login').'">';
- _mayorLogo();
- echo '</a>';
-
- formBegin(array('class'=>'preforgot'));
-
- echo '<select class="pp" name="toPolicy" class="onChangeSubmit">'."\n";
- echo '<option value="">'._FORGOT_DISABLED.'</option>';
- $SEL = array($toPolicy => ' selected="selected" ');
- for ($i=0; $i<count($POLICIES); $i++) {
- $_policy = $POLICIES[$i];
- $DIS = ($AUTH[$_policy]['enablePasswordReset']!==true) ? ' disabled = "disabled" ' : '';
- if ($AUTH[$_policy]['authentication'] != 'none') {
- echo '<option value="'.$_policy.'" '.$SEL[$_policy].$DIS.'>';
- echo constant('_'.strtoupper($_policy).'_LOGIN');
- echo '</option>'."\n";
- }
- }
- echo '</select>'."\n";
- echo '<input type="submit" value="'._KIVALASZT.'" />';
- formEnd();
-
- }
-
- function putBackToLogin($ADAT) {
-
- //echo '<div class="">';
- echo '<p class="forgotDone"><a href="'.href('index.php?page=auth&f=login&userAccount='.$ADAT['userAccount'].'&toPolicy='.$ADAT['toPolicy']).'">'._BACK_TO_LOGIN.'</a></p>';
- //echo '</div>';
-
- }
-
- function _mayorLogo() {
- echo '<div class="loginlogo">';
- //mayorLogoSvg(array('dot'=>'#bbff44','startColor'=>'cornflowerblue','stopColor'=>'lightgreen'));
- mayorLogoSvg(array(
- 'dot'=>'#C9CFE8',
- 'startColor'=>'#0E396A',
- 'stopColor'=>'#4B6B90',
- ));
- echo '</div>';
- }
-
-
-?> \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-auth/html/login.phtml b/mayor-orig/www/skin/classic/module-auth/html/login.phtml
deleted file mode 100644
index cac82b7e..00000000
--- a/mayor-orig/www/skin/classic/module-auth/html/login.phtml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php
-
- function putLoginForm($userAccount,$toPolicy,$toPSF='',$toSkin='') {
- global $POLICIES, $AUTH, $sessionID;
-
- // TODO IDEIGLENES OVERRIDE -- if ($toPolicy=='public') $toPSF='portal:portal:vmgNyiltnap';
-
- /* reading data from SESSION */
- if ($userAccount=='' && $_SESSION['lastCreatedAccount']!='')
- $userAccount=$_SESSION['lastCreatedAccount'];
-
- echo '<h1>'._SITE.'</h1>'."\n";
- echo '<h2>'._GREETING.'</h2>'."\n";
-
- if (is_array($AUTH[$toPolicy]['allowOnly']) && !in_array($userAccount,$AUTH[$toPolicy]['allowOnly'])) {
- echo '<div style="text-align:center; background-color:#f06; border-radius: 5px; width:150px; margin:auto; color:white;">Korlátozott belépés!</div>';
- }
-
- // Caps-Lock
- echo '<div id="warning"><div style="display:none;" id="capsLockWarning">'._CAPSLOCKWARNING.'</div></div>';
-
- formBegin(array('method'=>'post',
- 'class'=>'nagylogin',
- 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID ,
- 'name'=>"loginablak"));
-
-// echo '<input type="hidden" name="action" value="login" />';
- echo '<input type="hidden" name="action" value="mayorGlobalLogin" />';
- echo '<input type="hidden" name="toPSF" value="'.$toPSF.'" />';
-
- echo '<div class="loginlogo">';
- _putsvg();
- echo '</div>';
-
- echo '<input type="text" id="focus" accesskey="l" tabindex="1" name="userAccount" value="'.$userAccount.'" maxlength="32" placeholder="'._USERNAME.'" />'."\n";
- echo '<input type="password" id="userPassword" accesskey="p" tabindex="2" name="userPassword" maxlength="20" placeholder="'._PASSWORD.'" value="" />'."\n";
-
-
- if (intval(_MAYORAUTHRESULT)>0 || (defined('_FORCE_LOGIN_POLICY_SELECT') && _FORCE_LOGIN_POLICY_SELECT===true)) {
- echo '<select class="pp" name="policyOrderIndex">'."\n";
- //$_SEL = array($toPolicy => ' selected="selected" ');
- echo '<option value="0">'._LOGIN_ALL_AUTH_LEVEL.'</option>';
- for ($i=0; $i<count($POLICIES); $i++) {
- $_policy = $POLICIES[$i];
- if ($AUTH[$_policy]['authentication'] != 'none') {
- echo '<option value="'.($i+1).'" '.$_SEL[$_policy].'>';
- echo constant('_'.strtoupper($_policy).'_LOGIN');
- echo '</option>'."\n";
- }
- }
- echo '</select>'."\n";
- }
-
- echo '<input type="submit" class="mayorButton" tabindex="3" name="button" value=" '. _LOGIN .' "
- class="submit" />'."\n";
- echo '<div class="loaderContainer"><div class="loader" style="display:none" ></div></div>';
-
- formEnd();
- //if ($AUTH[$toPolicy]['enablePasswordReset']===true) {
- formBegin(array('class'=>'forgot'));
- echo '<div id="forgotten"><a href="'.href('index.php?page=auth&f=forgotten&userAccount='.$userAccount.'&toPolicy='.$toPolicy).'">'._FORGOTTEN.'</a></div>';
- formEnd();
- //}
- }
-
- function putAlreadyLoggedIn() {
- echo '<div style="margin:40px auto; width:200px; padding:10px; background-color: #eeeeee; border: solid 2px #ddd; border-radius:2px; text-align:center; color: cornflowerblue">';
- echo '<span class="icon-ok-sign" style="float:left; line-height:18px;font-size:18px; color:lightgreen; "></span>';
- echo _BELEPVE;
- echo '</div>';
- }
-
- function _putsvg() {
- mayorLogoSvg();
- }
-
-?>