diff options
author | M.Gergo | 2019-03-08 21:20:34 +0100 |
---|---|---|
committer | M.Gergo | 2019-03-08 21:20:34 +0100 |
commit | f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch) | |
tree | e13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/www/skin/classic/module-auth | |
parent | c76a004b0135786f2742283f8d5f917106f58bd8 (diff) | |
download | mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip |
további rendrakás
Diffstat (limited to 'mayor-orig/www/skin/classic/module-auth')
-rw-r--r-- | mayor-orig/www/skin/classic/module-auth/css/forgotten.css | 66 | ||||
-rw-r--r-- | mayor-orig/www/skin/classic/module-auth/css/login.css | 108 | ||||
-rw-r--r-- | mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml | 103 | ||||
-rw-r--r-- | mayor-orig/www/skin/classic/module-auth/html/login.phtml | 77 | ||||
-rw-r--r-- | mayor-orig/www/skin/classic/module-auth/img/login.gif | bin | 1807 -> 0 bytes | |||
-rw-r--r-- | mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js | 19 | ||||
-rw-r--r-- | mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js | 24 |
7 files changed, 0 insertions, 397 deletions
diff --git a/mayor-orig/www/skin/classic/module-auth/css/forgotten.css b/mayor-orig/www/skin/classic/module-auth/css/forgotten.css deleted file mode 100644 index a3e63ada..00000000 --- a/mayor-orig/www/skin/classic/module-auth/css/forgotten.css +++ /dev/null @@ -1,66 +0,0 @@ - - div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; } - div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; } - - form.forgot { width: 450px; margin: 40px auto; text-align: center; - box-shadow: 0px 0px 2px 0px #ccc; - padding: 20px; - } - form.forgot h1 { font-size: 16px; } -/* - form.forgot input[type=submit] { background: #1f6fd9; color: white; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); font-size: 12px; border: 1px solid #1d66c8; padding: 2px 10px; } - form.forgot input[type=submit]:hover { background-color: #2f7fe9;} -*/ - div.forgot { width: 400px; margin: 20px auto; text-align: center; box-shadow: 0px 0px 2px 0px #ccc; padding:0px; } -/* -régi - div.forgot a { color:#aaaaaa; display: block; padding:20px;} - div.forgot:hover a { background-color: cornflowerblue; color:white; } -*/ -form.forgot input, form.forgot select, -form.preforgot input, form.preforgot select{ - border: 1px solid rgba(0, 0, 0, .20); - border-radius: 4px; - color: rgba(0, 0, 0, 1); - display: block; - font-size: 17px; - height: 42px; - margin-bottom: 12px; - margin-left: auto; - margin-right: auto; - padding: 0 16px; - width: 286px; -} -form.forgot input.error {border-color:red;} - -form.forgot select, form.forgot input[type="submit"], -form.preforgot select, form.preforgot input[type="submit"]{ - width: 320px; -} -form.forgot input[type="submit"],form.preforgot input[type="submit"]{ border-color: white; background-color:white;} -form.forgot input[type="submit"]:hover,form.preforgot input[type="submit"]:hover { background-color:white; cursor: pointer; color: cornflowerblue; border-color: cornflowerblue;} - -div.loginlogo {margin-left: auto; margin-right:auto; text-align:center; margin-bottom: 2em; margin-top:50px;} -div.loginlogo img { padding:20px; height:50px; background-color: cornflowerblue; } - -p.forgotDone { text-align:center; } - - - - p.forgotDone a { - border: 1px solid rgba(0, 0, 0, .10); - border-radius: 4px; - color: rgba(0, 0, 0, .1); - display: block; - font-size: 16px; - height: 42px; - margin-bottom: 12px; - margin-left: auto; - margin-right: auto; - padding: 0 16px; - width: 286px; - line-height:42px; - } - p.forgotDone a:hover { background-color: cornflowerblue; } - p.forgotDone a:hover { color:white; } - diff --git a/mayor-orig/www/skin/classic/module-auth/css/login.css b/mayor-orig/www/skin/classic/module-auth/css/login.css deleted file mode 100644 index da948475..00000000 --- a/mayor-orig/www/skin/classic/module-auth/css/login.css +++ /dev/null @@ -1,108 +0,0 @@ -div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; } -div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; } - -form.nagylogin input, form.nagylogin select{ - border: 1px solid rgba(0, 0, 0, .20); - border-radius: 4px; - color: rgba(0, 0, 0, 1); - display: block; - font-size: 17px; - height: 42px; - margin-bottom: 12px; - margin-left: auto; - margin-right: auto; - padding: 0 16px; - width: 286px; -} -form.nagylogin input.error {border-color:red;} - -form.nagylogin select, form.nagylogin input[type="submit"]{ - width: 320px; -} -form.nagylogin input[type="submit"]{ border-color: white; background-color:white;} -form.nagylogin input[type="submit"]:hover { background-color:white; cursor: pointer; color: cornflowerblue; border-color: cornflowerblue;} -form.nagylogin div.loginlogo {margin-left: auto; margin-right:auto; text-align:center; margin-bottom: 2em;} -form.nagylogin div.loginlogo img { padding:20px; height:50px; background-color: cornflowerblue; } - -form.nagylogin div.loaderContainer { position: relative; - top: -45px; - left:-90px; - margin-left: auto; - margin-right: auto; - height:2px; - width:2px; - margin-bottom:0px; - padding-bottom:0px; -} -form.nagylogin div.loaderContainer div.loader { display: inline-block; } - -#warning { height: 40px; } -#capsLockWarning { - background: #ffffaa; color: #ffaaaa; - text-align: center; font-size: 20px; font-weight: bold; - padding: 20px; margin: 10px auto; width: 300px; -} - - form.forgot { margin: 0px auto; text-align: center; padding: 0px 0px; } - form.forgot h1 { } - form.forgot input[type=submit] { - background: #1f6fd9; color: white; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); border: 1px solid #1d66c8; padding: 2px 10px; - } - form.forgot a { - border: 1px solid rgba(0, 0, 0, .10); - border-radius: 4px; - color: rgba(0, 0, 0, .1); - display: block; - font-size: 16px; - height: 42px; - margin-bottom: 12px; - margin-left: auto; - margin-right: auto; - padding: 0 16px; - width: 286px; - line-height:42px; - } - form.forgot a:hover { background-color: cornflowerblue; } - form.forgot a:hover { color:white; } - -.loader { - margin: 0px auto; - font-size: 2px; - position: relative; - text-indent: -9999em; - border-top: 1.1em solid rgba(255,42,99, 0.2); - border-right: 1.1em solid rgba(255,42,99, 0.2); - border-bottom: 1.1em solid rgba(255,42,99, 0.2); - border-left: 1.1em solid #ff2a63; - -webkit-transform: translateZ(0); - -ms-transform: translateZ(0); - transform: translateZ(0); - -webkit-animation: load8 1.1s infinite linear; - animation: load8 1.1s infinite linear; -} -.loader, -.loader:after { - border-radius: 50%; - width: 10em; - height: 10em; -} -@-webkit-keyframes load8 { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -@keyframes load8 { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} 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(); - } - -?> diff --git a/mayor-orig/www/skin/classic/module-auth/img/login.gif b/mayor-orig/www/skin/classic/module-auth/img/login.gif Binary files differdeleted file mode 100644 index 82faef04..00000000 --- a/mayor-orig/www/skin/classic/module-auth/img/login.gif +++ /dev/null diff --git a/mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js b/mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js deleted file mode 100644 index 46b8c27f..00000000 --- a/mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js +++ /dev/null @@ -1,19 +0,0 @@ -$(function() { - - $("input.email").focus(function() { - }).blur(function() { - if (validateEmail($(this).val()) === false) - alert('Nem megfelelő email cím!'); - }); - - $("input[type=submit]").click(function() { - // ellenőrzés - // return false; - }); - -}); - -function validateEmail(email) { - var re = /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i; - return re.test(email); -} diff --git a/mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js b/mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js deleted file mode 100644 index 0299746d..00000000 --- a/mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js +++ /dev/null @@ -1,24 +0,0 @@ -$(function() { - - $("input[type=submit]").click(function() { - - //$(this).toggle(); - //$(this).addClass('loader'); - // ellenőrzés - if ($('#focus').val() =="") { - $('#focus').addClass('error'); - return false; - } - if ($('#userPassword').val() =="") { - $('#userPassword').addClass('error'); - return false; - } - document.loginablak.button.disabled=true; - $('.loader').show(); - $(this).closest('form').submit(); - }); - $('form input').focus(function(event) { - $(event.target).prev().removeClass('error'); - }); -}); - |