update styles in neoclassic for pm3
This commit is contained in:
@@ -23,6 +23,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$G_PUBLISH = new Publisher ();
|
$G_PUBLISH = new Publisher ();
|
||||||
$G_PUBLISH->AddContent ( 'xmlform', 'xmlform', 'login/forgotPassword', '', array(), 'retrivePassword.php');
|
if(SYS_SKIN == 'neoclassic'){
|
||||||
|
$G_PUBLISH->AddContent ( 'xmlform', 'xmlform', 'login/forgotPasswordpm3', '', array(), 'retrivePassword.php');
|
||||||
|
}else{
|
||||||
|
$G_PUBLISH->AddContent ( 'xmlform', 'xmlform', 'login/forgotPassword', '', array(), 'retrivePassword.php');
|
||||||
|
}
|
||||||
G::RenderPage ( "publish" );
|
G::RenderPage ( "publish" );
|
||||||
|
|
||||||
|
|||||||
@@ -192,7 +192,12 @@ if (isset($myUrl) && $myUrl != "") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$G_PUBLISH = new Publisher();
|
$G_PUBLISH = new Publisher();
|
||||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/login', '', $aFields, SYS_URI . 'login/authentication.php');
|
if(SYS_SKIN == 'neoclassic'){
|
||||||
|
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/loginpm3', '', $aFields, SYS_URI . 'login/authentication.php');
|
||||||
|
}else{
|
||||||
|
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/login', '', $aFields, SYS_URI . 'login/authentication.php');
|
||||||
|
}
|
||||||
|
|
||||||
G::LoadClass('serverConfiguration');
|
G::LoadClass('serverConfiguration');
|
||||||
//Bootstrap::LoadClass('serverConfiguration');
|
//Bootstrap::LoadClass('serverConfiguration');
|
||||||
//get the serverconf singleton, and check if we can send the heartbeat
|
//get the serverconf singleton, and check if we can send the heartbeat
|
||||||
|
|||||||
@@ -23,12 +23,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
//Browser Compatibility
|
//Browser Compatibility
|
||||||
$browserSupported = G::checkBrowserCompatibility();
|
$browserSupported = G::checkBrowserCompatibility();
|
||||||
if ($browserSupported==false){
|
if ($browserSupported==false){
|
||||||
if(!isset($_SESSION['G_MESSAGE']) || $_SESSION['G_MESSAGE'] == ""){
|
if(!isset($_SESSION['G_MESSAGE']) || $_SESSION['G_MESSAGE'] == ""){
|
||||||
G::SendTemporalMessage ('ID_CURRENT_BROWSER_NOT_SUPPORTED', 'warning');
|
G::SendTemporalMessage ('ID_CURRENT_BROWSER_NOT_SUPPORTED', 'warning');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
if (isset ($_POST['form']['USER_ENV'])) {
|
if (isset ($_POST['form']['USER_ENV'])) {
|
||||||
@@ -160,13 +160,21 @@ switch (WS_IN_LOGIN) {
|
|||||||
//Get Server Configuration
|
//Get Server Configuration
|
||||||
$oServerConf = & serverConf::getSingleton ();
|
$oServerConf = & serverConf::getSingleton ();
|
||||||
if ($oServerConf->getProperty ('LOGIN_NO_WS')) {
|
if ($oServerConf->getProperty ('LOGIN_NO_WS')) {
|
||||||
$fileLogin = 'login/sysLoginNoWS';
|
if(SYS_SKIN == 'neoclassic'){
|
||||||
|
$fileLogin = 'login/sysLoginNoWSpm3';
|
||||||
|
}else{
|
||||||
|
$fileLogin = 'login/sysLoginNoWS';
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$fileLogin = 'login/sysLogin';
|
$fileLogin = 'login/sysLogin';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'no':
|
case 'no':
|
||||||
$fileLogin = 'login/sysLoginNoWS';
|
if(SYS_SKIN == 'neoclassic'){
|
||||||
|
$fileLogin = 'login/sysLoginNoWSpm3';
|
||||||
|
}else{
|
||||||
|
$fileLogin = 'login/sysLoginNoWS';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'yes':
|
case 'yes':
|
||||||
$fileLogin = 'login/sysLogin';
|
$fileLogin = 'login/sysLogin';
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
<cssFile file="sprite_ie7.css" enabledBrowsers="ie7" disabledBrowsers="ALL"></cssFile>
|
<cssFile file="sprite_ie7.css" enabledBrowsers="ie7" disabledBrowsers="ALL"></cssFile>
|
||||||
<cssFile file="sprite.css" enabledBrowsers="ALL" disabledBrowsers="ie7"></cssFile>
|
<cssFile file="sprite.css" enabledBrowsers="ALL" disabledBrowsers="ie7"></cssFile>
|
||||||
<cssFile file="rtl.css" enabledBrowsers="ALL" disabledBrowsers=""></cssFile>
|
<cssFile file="rtl.css" enabledBrowsers="ALL" disabledBrowsers=""></cssFile>
|
||||||
|
<cssFile file="loginStyle.css" enabledBrowsers="ALL" disabledBrowsers=""></cssFile>
|
||||||
</skin>
|
</skin>
|
||||||
<blank>
|
<blank>
|
||||||
<cssFile file="style.css" enabledBrowsers="ALL" disabledBrowsers=""></cssFile>
|
<cssFile file="style.css" enabledBrowsers="ALL" disabledBrowsers=""></cssFile>
|
||||||
|
|||||||
117
workflow/engine/skinEngine/neoclassic/css/loginStyle.css
Normal file
117
workflow/engine/skinEngine/neoclassic/css/loginStyle.css
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
/*
|
||||||
|
* LOGIN PM3 STYLES
|
||||||
|
*/
|
||||||
|
body.login {
|
||||||
|
background: url("/images/backgroundpm3.jpg") repeat scroll 0 0 / cover rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vertical-offset-100 {
|
||||||
|
padding-top: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.img-responsive {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
.img-responsive {
|
||||||
|
display: block;
|
||||||
|
height: auto;
|
||||||
|
margin: auto;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login .panel {
|
||||||
|
border-radius: 0;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
.panel {
|
||||||
|
background-color: rgba(255, 255, 255, 0.9);
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login .panel-default > .panel-heading {
|
||||||
|
background: none repeat scroll 0 0 transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.module_app_input___gray {
|
||||||
|
background-color: #fff;
|
||||||
|
background-image: none;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
|
||||||
|
color: #555;
|
||||||
|
display: block;
|
||||||
|
font-size: 14px;
|
||||||
|
height: 34px;
|
||||||
|
line-height: 1.42857;
|
||||||
|
padding: 6px 12px;
|
||||||
|
transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-signin .module_app_input___gray {
|
||||||
|
border-radius: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: #949494;
|
||||||
|
font-family: "Open Sans",Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
height: 45px;
|
||||||
|
padding: 10px;
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module_app_input___gray::-moz-placeholder {
|
||||||
|
color: #999;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login .panel h3 {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
color: #444;
|
||||||
|
font-family: "Montserrat",sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
margin: 0 0 30px;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1.5em;
|
||||||
|
margin: 0 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
input.module_app_button___gray{
|
||||||
|
background-image: none;
|
||||||
|
width: 100%;
|
||||||
|
color: #fff;
|
||||||
|
border-radius: 6px;
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 1.33;
|
||||||
|
padding: 10px 16px;
|
||||||
|
display: block;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #1fbc99;
|
||||||
|
border-color: #1fbc99;
|
||||||
|
color: #fff;
|
||||||
|
font-weight: 700;
|
||||||
|
//transition: all 0.3s ease-in-out 0s;
|
||||||
|
max-width: 400px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.module_app_button___gray:hover:hover{
|
||||||
|
background-color: #1ba385;
|
||||||
|
background-image:none;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel-body table{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
@@ -3268,7 +3268,7 @@ ul#pm_menu li {
|
|||||||
}
|
}
|
||||||
ul#pm_menu a {
|
ul#pm_menu a {
|
||||||
color: #7b7c80;
|
color: #7b7c80;
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: block;
|
display: block;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
|||||||
@@ -1,76 +1,149 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="stylesheet" href="/lib/pmdynaform/libs/bootstrap-3.1.1/css/bootstrap.min.css">
|
||||||
{$meta}
|
{$meta}
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||||
{$header}
|
{$header}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
{if $user_logged neq '' or $tracker neq ''}
|
||||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" id="pm_main_table">
|
<body>
|
||||||
<tr>
|
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" id="pm_main_table">
|
||||||
<td id="pm_header" valign="top" {if $user_logged neq '' or $tracker neq ''}style="border-bottom:1px solid #e7e7e7;"{/if}>
|
<tr>
|
||||||
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
<td id="pm_header" valign="top" {if $user_logged neq '' or $tracker neq ''}style="border-bottom:1px solid #e7e7e7;"{/if}>
|
||||||
<tr>
|
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
||||||
{if $user_logged neq '' or $tracker neq ''}
|
<tr>
|
||||||
<td rowspan="2" style="vertical-align:top;width: 245px;"><img src="{$logo_company}" class="logo_company"/></td>
|
{if $user_logged neq '' or $tracker neq ''}
|
||||||
<td class="mainMenuBG" rowspan="2" valign="center" >
|
<td rowspan="2" style="vertical-align:top;width: 245px;"><img src="{$logo_company}" class="logo_company"/></td>
|
||||||
{include file="$tpl_menu"}
|
<td class="mainMenuBG" rowspan="2" valign="center" >
|
||||||
{if (count($subMenus)>0) }
|
{include file="$tpl_menu"}
|
||||||
{include file= "$tpl_submenu"}
|
{if (count($subMenus)>0) }
|
||||||
{/if}
|
{include file= "$tpl_submenu"}
|
||||||
</td>
|
|
||||||
<td height="16" align="right" valign="top">
|
|
||||||
<div align="right" class="logout">
|
|
||||||
<small>
|
|
||||||
{if $user_logged neq ''}
|
|
||||||
{$msgVer}<label class="textBlue">{$userfullname} <a href="../users/myInfo">{$user}</a> | </label>
|
|
||||||
{if $switch_interface}
|
|
||||||
<label class="textBlue"><a href="../../uxs/home">{$switch_interface_label}</a> | </label>
|
|
||||||
{/if}
|
{/if}
|
||||||
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
</td>
|
||||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> <br/>
|
<td height="16" align="right" valign="top">
|
||||||
{$udate}</label>
|
<div align="right" class="logout">
|
||||||
{else}
|
<small>
|
||||||
{if $tracker eq 1}
|
{if $user_logged neq ''}
|
||||||
<a href="{$linklogout}" class="tableOption">{$logout}</a>
|
{$msgVer}<label class="textBlue">{$userfullname} <a href="../users/myInfo">{$user}</a> | </label>
|
||||||
|
{if $switch_interface}
|
||||||
|
<label class="textBlue"><a href="../../uxs/home">{$switch_interface_label}</a> | </label>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
||||||
</small>
|
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> <br/>
|
||||||
</div>
|
{$udate}</label>
|
||||||
|
{else}
|
||||||
|
{if $tracker eq 1}
|
||||||
|
<a href="{$linklogout}" class="tableOption">{$logout}</a>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
{else}
|
||||||
|
<td width="100%" style="padding-top: 10px">
|
||||||
|
<img style="display: block; margin-left: auto; margin-right: auto;" src="{$logo_company}"/>
|
||||||
|
</td>
|
||||||
|
{/if}
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td height="16" valign="bottom" class="title">
|
||||||
|
<div align="right"></div>
|
||||||
</td>
|
</td>
|
||||||
{else}
|
</tr>
|
||||||
<td width="100%" style="padding-top: 10px"><img style="display: block; margin-left: auto; margin-right: auto;" src="{$logo_company}"/></td>
|
</table>
|
||||||
{/if}
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td height="16" valign="bottom" class="title">
|
<td>
|
||||||
<div align="right"></div>
|
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||||
</td>
|
<tr>
|
||||||
</tr>
|
<td width="100%" align="center">
|
||||||
</table>
|
{php}
|
||||||
</td>
|
global $G_TEMPLATE;
|
||||||
</tr>
|
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||||
<tr>
|
{/php}
|
||||||
<td>
|
</td>
|
||||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
</tr>
|
||||||
<tr>
|
</table>
|
||||||
<td width="100%" align="center">
|
</td>
|
||||||
{php}
|
</tr>
|
||||||
global $G_TEMPLATE;
|
<tr height="100%">
|
||||||
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
<td height="100%">
|
||||||
{/php}
|
<div class="Footer">
|
||||||
</td>
|
<div class="content">{$footer}</div>
|
||||||
</tr>
|
</div>
|
||||||
</table>
|
</td>
|
||||||
</td>
|
</tr>
|
||||||
</tr>
|
</table>
|
||||||
<tr height="100%">
|
</body>
|
||||||
<td height="100%">
|
{else}
|
||||||
<div class="Footer">
|
|
||||||
<div class="content">{$footer}</div>
|
|
||||||
</div>
|
<body id="page-top" class="login" data-spy="scroll" data-target=".navbar-custom">
|
||||||
</td>
|
<!-- Preloader -->
|
||||||
</tr>
|
<div style="display: none;" id="preloader">
|
||||||
</table>
|
<div style="display: none;" id="load"></div>
|
||||||
</body>
|
</div>
|
||||||
</html>
|
|
||||||
|
<!-- /Navigation -->
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="row vertical-offset-100">
|
||||||
|
<div class="col-md-6 col-md-offset-3">
|
||||||
|
<div class="row-fluid user-row">
|
||||||
|
<img src="/images/logopm3.png" class="img-responsive" alt="Conxole Admin">
|
||||||
|
</div>
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading text-center">
|
||||||
|
|
||||||
|
<p>Please enter your credentials below</p>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<!--form accept-charset="UTF-8" role="form" class="form-signin">
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
<input class="form-control" placeholder="Email" id="email" type="text">
|
||||||
|
<input class="form-control" placeholder="Password" id="password" type="password">
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<input class="btn btn-lg btn-success btn-block" id="login" value="Login" type="submit">
|
||||||
|
</fieldset>
|
||||||
|
</form-->
|
||||||
|
{php}
|
||||||
|
global $G_TEMPLATE;
|
||||||
|
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||||
|
{/php}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
|
||||||
|
{/if}
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
71
workflow/engine/xmlform/login/forgotPasswordpm3.html
Executable file
71
workflow/engine/xmlform/login/forgotPasswordpm3.html
Executable file
@@ -0,0 +1,71 @@
|
|||||||
|
<!-- <form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');"> <div class="borderForm" style="width:{$form_width}; padding-left:0; padding-right:0; border-width:{$form_border};">
|
||||||
|
<div class="boxTop"><div class="a"></div><div class="b"></div><div class="c"></div></div>
|
||||||
|
<div class="content" style="height:{$form_height};" >
|
||||||
|
<table width="99%">
|
||||||
|
<tr>
|
||||||
|
<td valign='top'>
|
||||||
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class='FormTitle' colspan="2" align="">{$form.TITLE}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USR_USERNAME}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_USERNAME}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USR_EMAIL}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_EMAIL}</td>
|
||||||
|
</tr>
|
||||||
|
<tr style="display: none">
|
||||||
|
<td colspan="2">{$form.URL}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormButton' colspan="2" align="center">{$form.BSUBMIT} {$form.BCANCEL}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="boxBottom"><div class="a"></div><div class="b"></div><div class="c"></div></div>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
{$form.JS}
|
||||||
|
</script>
|
||||||
|
</form>
|
||||||
|
<script type="text/javascript">
|
||||||
|
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
|
||||||
|
</script> -->
|
||||||
|
|
||||||
|
<form accept-charset="UTF-8" role="form" class="form-signin" id="{$form_id}" name="{$form_name}" action="{$form_action}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');">
|
||||||
|
|
||||||
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
{$form.USR_USERNAME}
|
||||||
|
{$form.USR_EMAIL}
|
||||||
|
{$form.URL}
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
{$form.BSUBMIT}
|
||||||
|
<br>
|
||||||
|
{$form.BCANCEL}
|
||||||
|
</fieldset>
|
||||||
|
<script type="text/javascript">
|
||||||
|
{$form.JS}
|
||||||
|
</script>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
|
||||||
|
</script>
|
||||||
|
|
||||||
48
workflow/engine/xmlform/login/forgotPasswordpm3.xml
Executable file
48
workflow/engine/xmlform/login/forgotPasswordpm3.xml
Executable file
@@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<dynaForm name="login" version="1.0" basedir="" xmlform_type="NORMAL" width="400px" enabletemplate="1">
|
||||||
|
<TITLE type="title">
|
||||||
|
<en><![CDATA[I forgot my password]]></en>
|
||||||
|
</TITLE>
|
||||||
|
<USR_USERNAME type="text" size="30" maxlength="50" required="true" validate="Any">
|
||||||
|
<en><![CDATA[User]]></en>
|
||||||
|
</USR_USERNAME>
|
||||||
|
<USR_EMAIL type="text" size="30" required="true" maxlength="32">
|
||||||
|
<en><![CDATA[Email]]></en>
|
||||||
|
</USR_EMAIL>
|
||||||
|
<URL type="hidden"/>
|
||||||
|
<LOGIN_VERIFY_MSG type="private" showInTable="0"/>
|
||||||
|
<BSUBMIT type="submit">
|
||||||
|
<en><![CDATA[Send Request]]></en>
|
||||||
|
</BSUBMIT>
|
||||||
|
<BCANCEL type="button" onclick="history.back()">
|
||||||
|
<en><![CDATA[Cancel]]></en>
|
||||||
|
</BCANCEL>
|
||||||
|
<JS type="javascript"><![CDATA[
|
||||||
|
|
||||||
|
window.onload= function(){
|
||||||
|
document.getElementById('form[USR_USERNAME]').placeholder = _('ID_USER');
|
||||||
|
document.getElementById('form[USR_EMAIL]').placeholder = _('ID_EMAIL');
|
||||||
|
};
|
||||||
|
|
||||||
|
var panel;
|
||||||
|
|
||||||
|
var saveConfig = function() {
|
||||||
|
if(document.getElementById("getStarted").checked==true) {
|
||||||
|
var oRPC = new leimnud.module.rpc.xmlhttp({
|
||||||
|
url : '../login/login_Ajax',
|
||||||
|
async : false,
|
||||||
|
method: 'POST',
|
||||||
|
args : 'function=getStarted_save'
|
||||||
|
});
|
||||||
|
oRPC.make();
|
||||||
|
}
|
||||||
|
panel.remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
var dynaformOnload = function() {
|
||||||
|
setFocus (getField ('USR_USERNAME'));
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
]]></JS>
|
||||||
|
</dynaForm>
|
||||||
75
workflow/engine/xmlform/login/loginpm3.html
Executable file
75
workflow/engine/xmlform/login/loginpm3.html
Executable file
@@ -0,0 +1,75 @@
|
|||||||
|
<!-- <form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');"> <div class="borderForm" style="width:{$form_width}; padding-left:0; padding-right:0; border-width:{$form_border};">
|
||||||
|
<div class="boxTop"><div class="a"></div><div class="b"></div><div class="c"></div></div>
|
||||||
|
<div class="content" style="height:{$form_height};" >
|
||||||
|
<table width="99%">
|
||||||
|
<tr>
|
||||||
|
<td valign='top'>
|
||||||
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class='FormTitle' colspan="2" align="">{$form.TITLE}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USR_USERNAME}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_USERNAME}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USR_PASSWORD}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_PASSWORD}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USER_LANG}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USER_LANG}</td>
|
||||||
|
</tr>
|
||||||
|
<tr style="display: none">
|
||||||
|
<td colspan="2">{$form.URL}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormButton' colspan="2" align="">{$form.BSUBMIT}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' colspan="2" align="right">{$form.FORGOT_PASWORD_LINK}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="boxBottom"><div class="a"></div><div class="b"></div><div class="c"></div></div>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
{$form.JS}
|
||||||
|
</script>
|
||||||
|
</form>-->
|
||||||
|
<form accept-charset="UTF-8" role="form" class="form-signin"
|
||||||
|
id="{$form_id}" name="{$form_name}" action="{$form_action}" method="post" encType="multipart/form-data" onsubmit="return validateForm('{$form_objectRequiredFields}');">
|
||||||
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
{$form.USR_USERNAME}
|
||||||
|
{$form.USR_PASSWORD}
|
||||||
|
{$form.USER_LANG}
|
||||||
|
{$form.URL}
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
<br>
|
||||||
|
{$form.BSUBMIT}
|
||||||
|
{$form.FORGOT_PASWORD_LINK}
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
<script type="text/javascript">
|
||||||
|
{$form.JS}
|
||||||
|
</script>
|
||||||
|
</form>
|
||||||
|
<script type="text/javascript">
|
||||||
|
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
|
||||||
|
</script>
|
||||||
104
workflow/engine/xmlform/login/loginpm3.xml
Executable file
104
workflow/engine/xmlform/login/loginpm3.xml
Executable file
@@ -0,0 +1,104 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<dynaForm name="login" version="1.0" basedir="" xmlform_type="NORMAL" width="400px" enabletemplate="1">
|
||||||
|
<TITLE type="title">
|
||||||
|
<en><![CDATA[Login]]></en>
|
||||||
|
</TITLE>
|
||||||
|
<USR_USERNAME type="text" size="30" maxlength="50" validate="Any">
|
||||||
|
<en><![CDATA[User]]></en>
|
||||||
|
</USR_USERNAME>
|
||||||
|
<USR_PASSWORD type="password" size="30" maxlength="32" autocomplete="0">
|
||||||
|
<en><![CDATA[Password]]></en>
|
||||||
|
</USR_PASSWORD>
|
||||||
|
<USER_LANG type="dropdown" sqlconnection="dbarray">
|
||||||
|
SELECT LANG_ID, LANG_NAME FROM langOptions
|
||||||
|
<en><![CDATA[Language]]></en>
|
||||||
|
</USER_LANG>
|
||||||
|
<URL type="hidden"/>
|
||||||
|
<LOGIN_VERIFY_MSG type="private" showInTable="0"/>
|
||||||
|
<BSUBMIT type="submit">
|
||||||
|
<en><![CDATA[Login]]></en>
|
||||||
|
</BSUBMIT>
|
||||||
|
<FORGOT_PASWORD_LINK type="link" link="forgotPassword" onclick="" colAlign="right" colWidth="135" style="display:none;">
|
||||||
|
<en><![CDATA[Forgot Password]]></en>
|
||||||
|
</FORGOT_PASWORD_LINK>
|
||||||
|
<JS type="javascript"><![CDATA[
|
||||||
|
|
||||||
|
window.onload= function(){
|
||||||
|
document.getElementById('form[USR_USERNAME]').placeholder = _('ID_USER');
|
||||||
|
document.getElementById('form[USR_PASSWORD]').placeholder = _('ID_PASSWORD');
|
||||||
|
};
|
||||||
|
|
||||||
|
// enable/disable forgot password link
|
||||||
|
if(flagForgotPassword == 'on' || flagForgotPassword == '1') {
|
||||||
|
document.getElementById("form[FORGOT_PASWORD_LINK]").style.display = 'block';//hideRowById('FORGOT_PASWORD_LINK');
|
||||||
|
}
|
||||||
|
|
||||||
|
var panel;
|
||||||
|
|
||||||
|
function processHbInfo() {
|
||||||
|
ajax_server = "../services/processHeartBeat_Ajax.php";
|
||||||
|
parameters = "action=processInformation";
|
||||||
|
method = "POST";
|
||||||
|
callback = "";
|
||||||
|
asynchronous = true;
|
||||||
|
ajax_post(ajax_server, parameters, method, callback, asynchronous);
|
||||||
|
};
|
||||||
|
|
||||||
|
function showGettingStarted() {
|
||||||
|
panel = new leimnud.module.panel();
|
||||||
|
panel.options = {
|
||||||
|
size: {w:620,h:500},
|
||||||
|
position: {x:50,y:50,center:true},
|
||||||
|
control: {close:true,resize:false},fx:{modal:true},
|
||||||
|
statusBar: false,
|
||||||
|
fx: {shadow:true,modal:true}
|
||||||
|
};
|
||||||
|
panel.make();
|
||||||
|
panel.loader.show();
|
||||||
|
var r = new leimnud.module.rpc.xmlhttp({
|
||||||
|
url:"../services/login_getStarted.php",
|
||||||
|
method:"POST"
|
||||||
|
});
|
||||||
|
r.callback = function(rpc) {
|
||||||
|
panel.loader.hide();
|
||||||
|
panel.addContent(rpc.xmlhttp.responseText);
|
||||||
|
};
|
||||||
|
r.make();
|
||||||
|
};
|
||||||
|
|
||||||
|
var saveConfig = function() {
|
||||||
|
if (document.getElementById("getStarted").checked == true) {
|
||||||
|
var oRPC = new leimnud.module.rpc.xmlhttp({
|
||||||
|
url: '../login/login_Ajax',
|
||||||
|
async: false,
|
||||||
|
method: 'POST',
|
||||||
|
args: 'function=getStarted_save'
|
||||||
|
});
|
||||||
|
oRPC.make();
|
||||||
|
}
|
||||||
|
panel.remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
var dynaformOnload = function() {
|
||||||
|
setFocus(getField('USR_USERNAME'));
|
||||||
|
if (flagHeartBeat) {
|
||||||
|
processHbInfo();
|
||||||
|
}
|
||||||
|
if (flagGettingStarted) {
|
||||||
|
showGettingStarted();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
leimnud.event.add(document.getElementById('form[BSUBMIT]'), 'click', function() {
|
||||||
|
setNestedProperty(this, Array('disabled'), 'true');
|
||||||
|
setNestedProperty(this, Array('value'), @@LOGIN_VERIFY_MSG);
|
||||||
|
|
||||||
|
var client = getBrowserClient();
|
||||||
|
|
||||||
|
if (client.browser != "firefox") {
|
||||||
|
document.login.submit();
|
||||||
|
}
|
||||||
|
}.extend(document.getElementById('form[BSUBMIT]')));
|
||||||
|
|
||||||
|
]]></JS>
|
||||||
|
</dynaForm>
|
||||||
69
workflow/engine/xmlform/login/sysLoginNoWS.html
Normal file
69
workflow/engine/xmlform/login/sysLoginNoWS.html
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
<!-- <form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');"> <div class="borderForm" style="width:{$form_width}; padding-left:0; padding-right:0; border-width:{$form_border};">
|
||||||
|
<div class="boxTop"><div class="a"> </div><div class="b"> </div><div class="c"> </div></div>
|
||||||
|
<div class="content" style="height:{$form_height};" >
|
||||||
|
<table width="99%">
|
||||||
|
<tr>
|
||||||
|
<td valign='top'>
|
||||||
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="__DynaformName__" id="__DynaformName__" value="{$form_name}" />
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class='FormTitle' colspan="2" align="">{$form.TITLE}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USR_USERNAME}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_USERNAME}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USR_PASSWORD}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_PASSWORD}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USER_ENV}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USER_ENV}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USER_LANG}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USER_LANG}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormButton' colspan="2" align="">{$form.BSUBMIT}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="boxBottom"><div class="a"> </div><div class="b"> </div><div class="c"> </div></div>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
{$form.JS}
|
||||||
|
</script>
|
||||||
|
</form> -->
|
||||||
|
|
||||||
|
<form accept-charset="UTF-8" role="form" class="form-signin" id="{$form_id}" name="{$form_name}" action="{$form_action}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');">
|
||||||
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="__DynaformName__" id="__DynaformName__" value="{$form_name}" />
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
{$form.USR_USERNAME}
|
||||||
|
{$form.USR_PASSWORD}
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
{$form.USER_LANG}
|
||||||
|
{$form.USER_ENV}
|
||||||
|
<br>
|
||||||
|
{$form.BSUBMIT}
|
||||||
|
</fieldset>
|
||||||
|
<script type="text/javascript">
|
||||||
|
{$form.JS}
|
||||||
|
</script>
|
||||||
|
</form>
|
||||||
70
workflow/engine/xmlform/login/sysLoginNoWSpm3.html
Normal file
70
workflow/engine/xmlform/login/sysLoginNoWSpm3.html
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
<!-- <form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');"> <div class="borderForm" style="width:{$form_width}; padding-left:0; padding-right:0; border-width:{$form_border};">
|
||||||
|
<div class="boxTop"><div class="a"> </div><div class="b"> </div><div class="c"> </div></div>
|
||||||
|
<div class="content" style="height:{$form_height};" >
|
||||||
|
<table width="99%">
|
||||||
|
<tr>
|
||||||
|
<td valign='top'>
|
||||||
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="__DynaformName__" id="__DynaformName__" value="{$form_name}" />
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class='FormTitle' colspan="2" align="">{$form.TITLE}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USR_USERNAME}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_USERNAME}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USR_PASSWORD}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USR_PASSWORD}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USER_ENV}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USER_ENV}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormLabel' width="{$form_labelWidth}">{$USER_LANG}</td>
|
||||||
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.USER_LANG}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class='FormButton' colspan="2" align="">{$form.BSUBMIT}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="boxBottom"><div class="a"> </div><div class="b"> </div><div class="c"> </div></div>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
{$form.JS}
|
||||||
|
</script>
|
||||||
|
</form> -->
|
||||||
|
|
||||||
|
<form accept-charset="UTF-8" role="form" class="form-signin" id="{$form_id}" name="{$form_name}" action="{$form_action}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');">
|
||||||
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||||
|
<input type="hidden" name="__DynaformName__" id="__DynaformName__" value="{$form_name}" />
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
{$form.USR_USERNAME}
|
||||||
|
{$form.USR_PASSWORD}
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
<fieldset>
|
||||||
|
<label class="panel-login">
|
||||||
|
<div class="login_result"></div>
|
||||||
|
</label>
|
||||||
|
{$form.USER_ENV}
|
||||||
|
{$form.USER_LANG}
|
||||||
|
|
||||||
|
<br>
|
||||||
|
{$form.BSUBMIT}
|
||||||
|
</fieldset>
|
||||||
|
<script type="text/javascript">
|
||||||
|
{$form.JS}
|
||||||
|
</script>
|
||||||
|
</form>
|
||||||
51
workflow/engine/xmlform/login/sysLoginNoWSpm3.xml
Executable file
51
workflow/engine/xmlform/login/sysLoginNoWSpm3.xml
Executable file
@@ -0,0 +1,51 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<dynaForm name="sysLogin" version="1.0" basedir="" xmlform_type="NORMAL" width="400px" enabletemplate="1">
|
||||||
|
<TITLE type="title">
|
||||||
|
<en><![CDATA[Login]]></en>
|
||||||
|
</TITLE>
|
||||||
|
<USR_USERNAME type="text" size="30" maxlength="50" validate="Any">
|
||||||
|
<en><![CDATA[User]]></en>
|
||||||
|
</USR_USERNAME>
|
||||||
|
<USR_PASSWORD type="password" size="30" maxlength="32" autocomplete="0">
|
||||||
|
<en><![CDATA[Password]]></en>
|
||||||
|
</USR_PASSWORD>
|
||||||
|
<USER_ENV type="text" size="30" maxlength="50">
|
||||||
|
<en><![CDATA[Workspace]]></en>
|
||||||
|
</USER_ENV>
|
||||||
|
<USER_LANG type="dropdown" sqlconnection="dbarray">
|
||||||
|
SELECT LANG_ID, LANG_NAME FROM langOptions
|
||||||
|
<en><![CDATA[Language]]></en>
|
||||||
|
</USER_LANG>
|
||||||
|
<BSUBMIT type="submit">
|
||||||
|
<en><![CDATA[Login]]></en>
|
||||||
|
</BSUBMIT>
|
||||||
|
<JS type="javascript"><![CDATA[
|
||||||
|
|
||||||
|
window.onload= function(){
|
||||||
|
document.getElementById('form[USR_USERNAME]').placeholder = _('ID_USER');
|
||||||
|
document.getElementById('form[USR_PASSWORD]').placeholder = _('ID_PASSWORD');
|
||||||
|
document.getElementById('form[USER_ENV]').placeholder = _('ID_WORKSPACE');
|
||||||
|
};
|
||||||
|
|
||||||
|
setFocus (getField ('USR_USERNAME'));
|
||||||
|
|
||||||
|
leimnud.event.add(document.getElementById('form[BSUBMIT]'), 'click', function() {
|
||||||
|
ws = getField('USER_ENV').value;
|
||||||
|
createCookie('pmos_generik2', '{"ws":"'+ws+'"}', 365);
|
||||||
|
|
||||||
|
var client = getBrowserClient();
|
||||||
|
if (client.browser == "msie" || client.browser == "safari"){
|
||||||
|
document.sysLogin.submit();
|
||||||
|
}
|
||||||
|
}.extend(document.getElementById('form[BSUBMIT]')));
|
||||||
|
|
||||||
|
try{
|
||||||
|
c = new String(readCookie('pmos_generik2'));
|
||||||
|
o = eval("("+c+")");
|
||||||
|
if( o != null){
|
||||||
|
getField('USER_ENV').value = o.ws;
|
||||||
|
}
|
||||||
|
} catch(e){}
|
||||||
|
|
||||||
|
]]></JS>
|
||||||
|
</dynaForm>
|
||||||
BIN
workflow/public_html/images/backgroundpm3.jpg
Normal file
BIN
workflow/public_html/images/backgroundpm3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 310 KiB |
BIN
workflow/public_html/images/logopm3.png
Normal file
BIN
workflow/public_html/images/logopm3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
Reference in New Issue
Block a user