FIX_SIMPLIFIED_UI "Traducciones faltantes." SOLVED
- Se han agragado traducciones faltantes en directorio: templates/home/ y los archivos: home.php, Users.php, AppNotes.php y appProxy.php * Available from version ProcessMaker-2.0.47 (2.5.1)
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$scriptDir = dirname(__FILE__).'/';
|
$scriptDir = dirname(__FILE__).'/';
|
||||||
|
|
||||||
define("PROCESSMAKER_PATH", $scriptDir);
|
define("PROCESSMAKER_PATH", $scriptDir);
|
||||||
define("WORKFLOW_PATH", $scriptDir . 'workflow/');
|
define("WORKFLOW_PATH", $scriptDir . 'workflow/');
|
||||||
define("WORKFLOW_BIN_PATH", $scriptDir . 'workflow/engine/bin/');
|
define("WORKFLOW_BIN_PATH", $scriptDir . 'workflow/engine/bin/');
|
||||||
|
|||||||
@@ -102,11 +102,11 @@ class AppNotes extends BaseAppNotes
|
|||||||
//return array ( 'codError' => -100, 'rowsAffected' => 0, 'message' => $msg );
|
//return array ( 'codError' => -100, 'rowsAffected' => 0, 'message' => $msg );
|
||||||
}
|
}
|
||||||
if ($msg != "") {
|
if ($msg != "") {
|
||||||
$response['success'] = 'failure';
|
$response['success'] = G::LoadTranslation("ID_FAILURE");
|
||||||
$response['message'] = $msg;
|
$response['message'] = $msg;
|
||||||
} else {
|
} else {
|
||||||
$response['success'] = 'success';
|
$response['success'] = G::LoadTranslation("ID_SUCCESS");
|
||||||
$response['message'] = 'Saved...';
|
$response['message'] = G::LoadTranslation("ID_SAVEDS");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($notify) {
|
if ($notify) {
|
||||||
@@ -134,16 +134,16 @@ class AppNotes extends BaseAppNotes
|
|||||||
$oConfiguration = new Configuration();
|
$oConfiguration = new Configuration();
|
||||||
$sDelimiter = DBAdapter::getStringDelimiter();
|
$sDelimiter = DBAdapter::getStringDelimiter();
|
||||||
$oCriteria = new Criteria( 'workflow' );
|
$oCriteria = new Criteria( 'workflow' );
|
||||||
$oCriteria->add( ConfigurationPeer::CFG_UID, 'Emails' );
|
$oCriteria->add( ConfigurationPeer::CFG_UID, G::LoadTranslation("ID_EMAILSS"));
|
||||||
$oCriteria->add( ConfigurationPeer::OBJ_UID, '' );
|
$oCriteria->add( ConfigurationPeer::OBJ_UID, '' );
|
||||||
$oCriteria->add( ConfigurationPeer::PRO_UID, '' );
|
$oCriteria->add( ConfigurationPeer::PRO_UID, '' );
|
||||||
$oCriteria->add( ConfigurationPeer::USR_UID, '' );
|
$oCriteria->add( ConfigurationPeer::USR_UID, '' );
|
||||||
$oCriteria->add( ConfigurationPeer::APP_UID, '' );
|
$oCriteria->add( ConfigurationPeer::APP_UID, '' );
|
||||||
if (ConfigurationPeer::doCount( $oCriteria ) == 0) {
|
if (ConfigurationPeer::doCount( $oCriteria ) == 0) {
|
||||||
$oConfiguration->create( array ('CFG_UID' => 'Emails','OBJ_UID' => '','CFG_VALUE' => '','PRO_UID' => '','USR_UID' => '','APP_UID' => '') );
|
$oConfiguration->create( array ('CFG_UID' => G::LoadTranslation("ID_EMAILSS"), 'OBJ_UID' => '','CFG_VALUE' => '','PRO_UID' => '','USR_UID' => '','APP_UID' => '') );
|
||||||
$aConfiguration = array ();
|
$aConfiguration = array ();
|
||||||
} else {
|
} else {
|
||||||
$aConfiguration = $oConfiguration->load( 'Emails', '', '', '', '' );
|
$aConfiguration = $oConfiguration->load( G::LoadTranslation("ID_EMAILSS"), '', '', '', '' );
|
||||||
if ($aConfiguration['CFG_VALUE'] != '') {
|
if ($aConfiguration['CFG_VALUE'] != '') {
|
||||||
$aConfiguration = unserialize( $aConfiguration['CFG_VALUE'] );
|
$aConfiguration = unserialize( $aConfiguration['CFG_VALUE'] );
|
||||||
$passwd = $aConfiguration['MESS_PASSWORD'];
|
$passwd = $aConfiguration['MESS_PASSWORD'];
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class Users extends BaseUsers
|
|||||||
if ($this->validate()) {
|
if ($this->validate()) {
|
||||||
$result = $this->save();
|
$result = $this->save();
|
||||||
} else {
|
} else {
|
||||||
$e = new Exception( "Failed Validation in class " . get_class( $this ) . "." );
|
$e = new Exception( G::LoadTranslation("ID_FAILED_VALIDATION_CLASS") . get_class( $this ) . "." );
|
||||||
$e->aValidationFailures = $this->getValidationFailures();
|
$e->aValidationFailures = $this->getValidationFailures();
|
||||||
throw ($e);
|
throw ($e);
|
||||||
}
|
}
|
||||||
@@ -88,12 +88,13 @@ class Users extends BaseUsers
|
|||||||
$this->setNew( false );
|
$this->setNew( false );
|
||||||
return $aFields;
|
return $aFields;
|
||||||
} else {
|
} else {
|
||||||
throw (new Exception( "The row '" . $UsrUid . "' in table USER doesn't exist!" ));
|
throw (new Exception( G::LoadTranslation("ID_THE_ROW") ." '" . $UsrUid . "' ". G::LoadTranslation("ID_TABLE_USER_DOESNT_EXIST")));
|
||||||
}
|
}
|
||||||
} catch (PropelException $e) {
|
} catch (PropelException $e) {
|
||||||
//capture invalid birthday date and replace by null
|
//capture invalid birthday date and replace by null
|
||||||
$msg = $e->getMessage();
|
$msg = $e->getMessage();
|
||||||
if (strpos( 'Unable to parse value of [usr_birthday]', $msg ) != - 1) {
|
//if (strpos( 'Unable to parse value of [usr_birthday]', $msg ) != - 1) {
|
||||||
|
if (strpos( G::LoadTranslation("ID_UNABLE_PARSE_VALUE_URS_BIRTHDAY"), $msg ) != - 1) {
|
||||||
$oRow->setUsrBirthday( null );
|
$oRow->setUsrBirthday( null );
|
||||||
$oRow->save();
|
$oRow->save();
|
||||||
return $this->load( $UsrUid );
|
return $this->load( $UsrUid );
|
||||||
@@ -116,7 +117,7 @@ class Users extends BaseUsers
|
|||||||
return $result;
|
return $result;
|
||||||
} else {
|
} else {
|
||||||
// return $result;
|
// return $result;
|
||||||
throw (new Exception( "The row '" . $UsrUid . "' in table USER doesn't exist!" ));
|
throw (new Exception( G::LoadTranslation("ID_THE_ROW") ." '" . $UsrUid . "' ". G::LoadTranslation("ID_TABLE_USER_DOESNT_EXIST")));
|
||||||
}
|
}
|
||||||
} catch (Exception $oError) {
|
} catch (Exception $oError) {
|
||||||
throw ($oError);
|
throw ($oError);
|
||||||
@@ -141,7 +142,7 @@ class Users extends BaseUsers
|
|||||||
$aFields["USR_COUNTRY_NAME"] = (!empty($aIsoCountry["IC_NAME"]))? $aIsoCountry["IC_NAME"] : "";
|
$aFields["USR_COUNTRY_NAME"] = (!empty($aIsoCountry["IC_NAME"]))? $aIsoCountry["IC_NAME"] : "";
|
||||||
$aFields["USR_CITY_NAME"] = (!empty($aIsoSubdivision["IS_NAME"]))? $aIsoSubdivision["IS_NAME"] : "";
|
$aFields["USR_CITY_NAME"] = (!empty($aIsoSubdivision["IS_NAME"]))? $aIsoSubdivision["IS_NAME"] : "";
|
||||||
$aFields["USR_LOCATION_NAME"] = (!empty($aIsoLocation["IL_NAME"]))? $aIsoLocation["IL_NAME"] : "";
|
$aFields["USR_LOCATION_NAME"] = (!empty($aIsoLocation["IL_NAME"]))? $aIsoLocation["IL_NAME"] : "";
|
||||||
|
|
||||||
require_once PATH_RBAC . "model/Roles.php";
|
require_once PATH_RBAC . "model/Roles.php";
|
||||||
$roles = new Roles();
|
$roles = new Roles();
|
||||||
$role = $roles->loadByCode($aFields['USR_ROLE']);
|
$role = $roles->loadByCode($aFields['USR_ROLE']);
|
||||||
@@ -152,7 +153,7 @@ class Users extends BaseUsers
|
|||||||
return $result;
|
return $result;
|
||||||
} else {
|
} else {
|
||||||
//return $result;
|
//return $result;
|
||||||
throw (new Exception( "The row '" . $UsrUid . "' in table USER doesn't exist!" ));
|
throw (new Exception( G::LoadTranslation("ID_THE_ROW") ." '" . $UsrUid . "' ". G::LoadTranslation("ID_TABLE_USER_DOESNT_EXIST")));
|
||||||
}
|
}
|
||||||
} catch (Exception $oError) {
|
} catch (Exception $oError) {
|
||||||
throw ($oError);
|
throw ($oError);
|
||||||
@@ -172,7 +173,7 @@ class Users extends BaseUsers
|
|||||||
return $result;
|
return $result;
|
||||||
} else {
|
} else {
|
||||||
$con->rollback();
|
$con->rollback();
|
||||||
throw (new Exception( "Failed Validation in class " . get_class( $this ) . "." ));
|
throw (new Exception(G::LoadTranslation("ID_FAILED_VALIDATION_IN_CLASS") . get_class( $this ) . "." ));
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$con->rollback();
|
$con->rollback();
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ class AppProxy extends HttpProxyController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (! isset( $appUid )) {
|
if (! isset( $appUid )) {
|
||||||
throw new Exception( 'Can\'t resolve the Apllication ID for this request.' );
|
throw new Exception(G::LoadTranslation("ID_CANT_RESOLVE_APLICATION"));
|
||||||
}
|
}
|
||||||
|
|
||||||
$usrUid = (isset( $_SESSION['USER_LOGGED'] )) ? $_SESSION['USER_LOGGED'] : "";
|
$usrUid = (isset( $_SESSION['USER_LOGGED'] )) ? $_SESSION['USER_LOGGED'] : "";
|
||||||
|
|||||||
@@ -190,13 +190,13 @@ class Home extends Controller
|
|||||||
// setting main list title
|
// setting main list title
|
||||||
switch ($httpData->t) {
|
switch ($httpData->t) {
|
||||||
case 'todo':
|
case 'todo':
|
||||||
$title = 'My Inbox';
|
$title = G::LoadTranslation("ID_MY_INBOX");
|
||||||
break;
|
break;
|
||||||
case 'draft':
|
case 'draft':
|
||||||
$title = 'My Drafts';
|
$title = G::LoadTranslation("ID_MY_DRAFTS");
|
||||||
break;
|
break;
|
||||||
case 'unassigned':
|
case 'unassigned':
|
||||||
$title = 'Unassigned Inbox';
|
$title = G::LoadTranslation("ID_UNASSIGNED_INBOX");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$title = ucwords( $httpData->t );
|
$title = ucwords( $httpData->t );
|
||||||
@@ -548,10 +548,10 @@ class Home extends Controller
|
|||||||
switch ($action) {
|
switch ($action) {
|
||||||
case "simple_search":
|
case "simple_search":
|
||||||
case "search":
|
case "search":
|
||||||
//In search action, the query to obtain all process is too slow, so we need to query directly to
|
//In search action, the query to obtain all process is too slow, so we need to query directly to
|
||||||
//process and content tables, and for that reason we need the current language in AppCacheView.
|
//process and content tables, and for that reason we need the current language in AppCacheView.
|
||||||
G::loadClass("configuration");
|
G::loadClass("configuration");
|
||||||
$oConf = new Configurations;
|
$oConf = new Configurations;
|
||||||
$oConf->loadConfig($x, "APP_CACHE_VIEW_ENGINE", "", "", "", "");
|
$oConf->loadConfig($x, "APP_CACHE_VIEW_ENGINE", "", "", "", "");
|
||||||
$appCacheViewEngine = $oConf->aConfig;
|
$appCacheViewEngine = $oConf->aConfig;
|
||||||
$lang = isset($appCacheViewEngine["LANG"])? $appCacheViewEngine["LANG"] : "en";
|
$lang = isset($appCacheViewEngine["LANG"])? $appCacheViewEngine["LANG"] : "en";
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/simplified.css" media="screen" rel="stylesheet" type="text/css" />
|
<link rel="stylesheet" href="/css/simplified.css" media="screen" rel="stylesheet" type="text/css" />
|
||||||
<link rel="stylesheet" href="/js/jquery/css/smoothness/jquery-ui-1.8.17.custom.css" type="text/css">
|
<link rel="stylesheet" href="/js/jquery/css/smoothness/jquery-ui-1.8.17.custom.css" type="text/css">
|
||||||
<!--<link rel="stylesheet" href="/js/jquery/css/redmond/jquery-ui-1.7.2.custom.css" type="text/css">-->
|
<!--<link rel="stylesheet" href="/js/jquery/css/redmond/jquery-ui-1.7.2.custom.css" type="text/css">-->
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
d.hide('slow');
|
d.hide('slow');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
d.show('slow');
|
d.show({/literal}"{translate label="ID_SLOW"}"{literal});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -81,10 +81,10 @@
|
|||||||
height:192,
|
height:192,
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
"Add Note": function() {
|
{/literal}"{translate label="ID_ADD_NOTE"}"{literal}: function() {
|
||||||
var sendMail = document.getElementById('chkSendMail').checked;
|
var sendMail = document.getElementById('chkSendMail').checked;
|
||||||
sendMail = (sendMail == true) ? '1' : '0';
|
sendMail = (sendMail == true) ? '1' : '0';
|
||||||
$(this).dialog("close");
|
$(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
|
||||||
$.post(
|
$.post(
|
||||||
'../appProxy/postNote',
|
'../appProxy/postNote',
|
||||||
{appUid : appUid,
|
{appUid : appUid,
|
||||||
@@ -97,18 +97,15 @@
|
|||||||
//redirect('home/startCase?id='+id);
|
//redirect('home/startCase?id='+id);
|
||||||
},
|
},
|
||||||
Cancel: function() {
|
Cancel: function() {
|
||||||
$(this).dialog( "close" );
|
//$(this).dialog( "close" );
|
||||||
|
$(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//updateNt(appUid);
|
//updateNt(appUid);
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateNt(appUid)
|
function updateNt(appUid)
|
||||||
@@ -120,24 +117,24 @@
|
|||||||
data = jQuery.parseJSON(resp);
|
data = jQuery.parseJSON(resp);
|
||||||
content = $('div#m_'+appUid);
|
content = $('div#m_'+appUid);
|
||||||
content.html('');
|
content.html('');
|
||||||
|
|
||||||
for (i=0; i<data.notes.length; i++) {
|
for (i=0; i<data.notes.length; i++) {
|
||||||
r = data.notes[i];
|
r = data.notes[i];
|
||||||
|
|
||||||
s = '<div class="appMessage"><table border="0"><tr>' +
|
s = '<div class="appMessage"><table border="0"><tr>' +
|
||||||
'<td width="50" valign="top">'+
|
'<td width="50" valign="top">'+
|
||||||
'<img border="0" src="../users/users_ViewPhotoGrid?pUID='+r.USR_UID+'" width="40" height="40"/>' +
|
'<img border="0" src="../users/users_ViewPhotoGrid?pUID='+r.USR_UID+'" width="40" height="40"/>' +
|
||||||
'</td><td>' +
|
'</td><td>' +
|
||||||
'<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' +
|
'<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' +
|
||||||
'<p><pre>'+r.NOTE_CONTENT+'</pre>' +
|
'<p><pre>'+r.NOTE_CONTENT+'</pre>' +
|
||||||
'<div class="appMessageDate">Posted at '+r.NOTE_DATE+'</div>' +
|
'<div class="appMessageDate">{translate label="ID_POSTED_AT"} '+r.NOTE_DATE+'</div>' +
|
||||||
'</td></tr></table></div>';
|
'</td></tr></table></div>';
|
||||||
|
|
||||||
content.append(s);
|
content.append(s);
|
||||||
$('#n_'+appUid).show('slow');
|
$('#n_'+appUid).show('slow');
|
||||||
}
|
}
|
||||||
d = $('#m_'+appUid);
|
d = $('#m_'+appUid);
|
||||||
d.show('slow');
|
d.show({/literal}"{translate label="ID_SLOW"}"{literal});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
@@ -153,10 +150,10 @@
|
|||||||
|
|
||||||
if(jQuery.trim(html) != ''){
|
if(jQuery.trim(html) != ''){
|
||||||
$("#commentlist").append(html);
|
$("#commentlist").append(html);
|
||||||
$('#loadmorebutton').html('Load More');
|
$('#loadmorebutton').html( {/literal}"{translate label="ID_LOAD_MORE"}"{literal} );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$('#loadmorebutton').replaceWith('<center>No more applications to show.</center>');
|
$('#loadmorebutton').replaceWith({/literal}"<center> {translate label="ID_NO_MORE_APPLICATIONS"}</center>"{literal});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -171,10 +168,10 @@
|
|||||||
var listType = '{$listType}';
|
var listType = '{$listType}';
|
||||||
var noPerms = '{$noPerms}';
|
var noPerms = '{$noPerms}';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="resize()" onresize="resize()" >
|
<body onload="resize()" onresize="resize()" >
|
||||||
<center>
|
<center>
|
||||||
<div class="content-header" style="text-align:left">
|
<div class="content-header" style="text-align:left">
|
||||||
<h1 style="padding: 10px">{$title} ({$cases_count})</h1>
|
<h1 style="padding: 10px">{$title} ({$cases_count})</h1>
|
||||||
@@ -184,19 +181,19 @@
|
|||||||
|
|
||||||
{if $cases_count > $appListLimit}
|
{if $cases_count > $appListLimit}
|
||||||
<center>
|
<center>
|
||||||
<a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">Load More</a>
|
<a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">{translate label="ID_LOAD_MORE"}</a>
|
||||||
</center>
|
</center>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<div id="dialog-add-note" title="Case Note" style="display:none">
|
<div id="dialog-add-note" title="{translate label="ID_CASE_NOTE"}" style="display:none">
|
||||||
<p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> -->
|
<p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> -->
|
||||||
<span id="startAppTitle"/>
|
<span id="startAppTitle"/>
|
||||||
<textarea id="note_text" rows="2" cols="22"></textarea>
|
<textarea id="note_text" rows="2" cols="22"></textarea>
|
||||||
<div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px">
|
<div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px">
|
||||||
<input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked="">
|
<input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked="">
|
||||||
<label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">Send email (Case Participants)</label>
|
<label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">{translate label="ID_SEND_EMAIL_CASE_PARTICIPANTS"}</label>
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/simplified.css" media="screen" rel="stylesheet" type="text/css" />
|
<link rel="stylesheet" href="/css/simplified.css" media="screen" rel="stylesheet" type="text/css" />
|
||||||
<link rel="stylesheet" href="/js/jquery/css/smoothness/jquery-ui-1.8.17.custom.css" type="text/css">
|
<link rel="stylesheet" href="/js/jquery/css/smoothness/jquery-ui-1.8.17.custom.css" type="text/css">
|
||||||
<!--<link rel="stylesheet" href="/js/jquery/css/redmond/jquery-ui-1.7.2.custom.css" type="text/css">-->
|
<!--<link rel="stylesheet" href="/js/jquery/css/redmond/jquery-ui-1.7.2.custom.css" type="text/css">-->
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#dbdbdb 100%); /* IE10+ */
|
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#dbdbdb 100%); /* IE10+ */
|
||||||
background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#dbdbdb 100%); /* W3C */
|
background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#dbdbdb 100%); /* W3C */
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dbdbdb',GradientType=0 ); /* IE6-9 */
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dbdbdb',GradientType=0 ); /* IE6-9 */
|
||||||
|
|
||||||
border: 1px solid #FFFFFF;
|
border: 1px solid #FFFFFF;
|
||||||
color: #565656;
|
color: #565656;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
$("#searchText").val(null);
|
$("#searchText").val(null);
|
||||||
redirect();
|
redirect();
|
||||||
}
|
}
|
||||||
|
|
||||||
function redirect()
|
function redirect()
|
||||||
{
|
{
|
||||||
var src = $("#iframex", window.parent.document).attr('src');
|
var src = $("#iframex", window.parent.document).attr('src');
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
d.hide('slow');
|
d.hide('slow');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
d.show('slow');
|
d.show({/literal}"{translate label="ID_SLOW"}"{literal});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,10 +150,10 @@
|
|||||||
height:192,
|
height:192,
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
"Add Note": function() {
|
{/literal}"{translate label="ID_ADD_NOTE"}"{literal}: function() {
|
||||||
var sendMail = document.getElementById('chkSendMail').checked;
|
var sendMail = document.getElementById('chkSendMail').checked;
|
||||||
sendMail = (sendMail == true) ? '1' : '0';
|
sendMail = (sendMail == true) ? '1' : '0';
|
||||||
$(this).dialog("close");
|
$(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
|
||||||
$.post(
|
$.post(
|
||||||
'../appProxy/postNote',
|
'../appProxy/postNote',
|
||||||
{appUid : appUid,
|
{appUid : appUid,
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
//redirect('home/startCase?id='+id);
|
//redirect('home/startCase?id='+id);
|
||||||
},
|
},
|
||||||
Cancel: function() {
|
Cancel: function() {
|
||||||
$(this).dialog( "close" );
|
$(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -219,14 +219,14 @@
|
|||||||
'</td><td>' +
|
'</td><td>' +
|
||||||
'<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' +
|
'<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' +
|
||||||
'<p><pre>'+r.NOTE_CONTENT+'</pre>' +
|
'<p><pre>'+r.NOTE_CONTENT+'</pre>' +
|
||||||
'<div class="appMessageDate">Posted at '+r.NOTE_DATE+'</div>' +
|
'<div class="appMessageDate">{translate label="ID_POSTED_AT"} '+r.NOTE_DATE+'</div>' +
|
||||||
'</td></tr></table></div>';
|
'</td></tr></table></div>';
|
||||||
|
|
||||||
content.append(s);
|
content.append(s);
|
||||||
$('#n_'+appUid).show('slow');
|
$('#n_'+appUid).show('slow');
|
||||||
}
|
}
|
||||||
d = $('#m_'+appUid);
|
d = $('#m_'+appUid);
|
||||||
d.show('slow');
|
d.show({/literal}"{translate label="ID_SLOW"}"{literal});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
@@ -239,13 +239,13 @@
|
|||||||
url: "getApps?t="+listType+"&start="+appListStart+"&limit="+appListLimit,
|
url: "getApps?t="+listType+"&start="+appListStart+"&limit="+appListLimit,
|
||||||
success: function(html){
|
success: function(html){
|
||||||
appListStart += appListLimit;
|
appListStart += appListLimit;
|
||||||
|
|
||||||
if(jQuery.trim(html) != ''){
|
if(jQuery.trim(html) != ''){
|
||||||
$("#commentlist").append(html);
|
$("#commentlist").append(html);
|
||||||
$('#loadmorebutton').html('Load More');
|
$('#loadmorebutton').html( {/literal}"{translate label="ID_LOAD_MORE"}"{literal} );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$('#loadmorebutton').replaceWith('<center>No more applications to show.</center>');
|
$('#loadmorebutton').replaceWith({/literal}"<center> {translate label="ID_NO_MORE_APPLICATIONS"}</center>"{literal});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -313,8 +313,8 @@
|
|||||||
<div style = "float: right;"><b>{$searchTitle}:</b>
|
<div style = "float: right;"><b>{$searchTitle}:</b>
|
||||||
<input type="text" size="27" maxlength="60" value="" id='searchText' placeholder="{$searchTitle}...">
|
<input type="text" size="27" maxlength="60" value="" id='searchText' placeholder="{$searchTitle}...">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id='panelDown' style = "display: none; width: 95%;">
|
<div id='panelDown' style = "display: none; width: 95%;">
|
||||||
@@ -354,19 +354,19 @@
|
|||||||
|
|
||||||
{if $cases_count > $appListLimit}
|
{if $cases_count > $appListLimit}
|
||||||
<center>
|
<center>
|
||||||
<a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">Load More</a>
|
<a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">{translate label="ID_LOAD_MORE"}</a>
|
||||||
</center>
|
</center>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<div id="dialog-add-note" title="Case Note" style="display:none">
|
<div id="dialog-add-note" title="{translate label="ID_CASE_NOTE"}" style="display:none">
|
||||||
<p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> -->
|
<p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> -->
|
||||||
<span id="startAppTitle"/>
|
<span id="startAppTitle"/>
|
||||||
<textarea id="note_text" rows="2" cols="22"></textarea>
|
<textarea id="note_text" rows="2" cols="22"></textarea>
|
||||||
<div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px">
|
<div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px">
|
||||||
<input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked="">
|
<input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked="">
|
||||||
<label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">Send email (Case Participants)</label>
|
<label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">{translate label="ID_SEND_EMAIL_CASE_PARTICIPANTS"}</label>
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,15 +3,15 @@
|
|||||||
<span class="commentnumber">
|
<span class="commentnumber">
|
||||||
#{$APP.APP_NUMBER}
|
#{$APP.APP_NUMBER}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span id="n_{$APP.APP_UID}" class="notes-link" style="display:{if $APP.NOTES_COUNT neq 0}block{else}none{/if}">
|
<span id="n_{$APP.APP_UID}" class="notes-link" style="display:{if $APP.NOTES_COUNT neq 0}block{else}none{/if}">
|
||||||
<a href="#" onclick="showNt('{$APP.APP_UID}'); return false;"><img src="/images/simplified/messages-grey.png" height="20" width="20" border="0"></a>
|
<a href="#" onclick="showNt('{$APP.APP_UID}'); return false;"><img src="/images/simplified/messages-grey.png" height="20" width="20" border="0"></a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="notes-plus-link">
|
<span class="notes-plus-link">
|
||||||
<a href="#" onclick="addNt('{$APP.APP_UID}', '{$APP.PRO_UID}', '{$APP.TAS_UID}'); return false;"><img src="/images/simplified/messages-grey-plus.png" height="21" width="21" border="0"></a>
|
<a href="#" onclick="addNt('{$APP.APP_UID}', '{$APP.PRO_UID}', '{$APP.TAS_UID}'); return false;"><img src="/images/simplified/messages-grey-plus.png" height="21" width="21" border="0"></a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<cite>
|
<cite>
|
||||||
<a href="../cases/cases_Open?APP_UID={$APP.APP_UID}&DEL_INDEX={$APP.DEL_INDEX}&action=todo">{$APP.APP_TITLE}</a>
|
<a href="../cases/cases_Open?APP_UID={$APP.APP_UID}&DEL_INDEX={$APP.DEL_INDEX}&action=todo">{$APP.APP_TITLE}</a>
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>{$APP.APP_PRO_TITLE}
|
<p>{$APP.APP_PRO_TITLE}
|
||||||
<br/>{$APP.APP_TAS_TITLE}</p>
|
<br/>{$APP.APP_TAS_TITLE}</p>
|
||||||
|
|
||||||
<div id="m_{$APP.APP_UID}" class="appMessages">
|
<div id="m_{$APP.APP_UID}" class="appMessages">
|
||||||
{if $APP.NOTES_COUNT neq 0}
|
{if $APP.NOTES_COUNT neq 0}
|
||||||
{foreach from=$APP.NOTES_LIST key=k item=NOTE}
|
{foreach from=$APP.NOTES_LIST key=k item=NOTE}
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<h3>{$NOTE.USR_FIRSTNAME} {$NOTE.USR_LASTNAME} ({$NOTE.USR_USERNAME})</h3>
|
<h3>{$NOTE.USR_FIRSTNAME} {$NOTE.USR_LASTNAME} ({$NOTE.USR_USERNAME})</h3>
|
||||||
<p><pre>{$NOTE.NOTE_CONTENT}</pre>
|
<p><pre>{$NOTE.NOTE_CONTENT}</pre>
|
||||||
<div class="appMessageDate">Posted at {$NOTE.NOTE_DATE}</div>
|
<div class="appMessageDate">{translate label="ID_POSTED_AT"} {$NOTE.NOTE_DATE}</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||||
<!--<link rel="stylesheet" href="/js/jquery/css/redmond/jquery-ui-1.7.2.custom.css" type="text/css">-->
|
<!--<link rel="stylesheet" href="/js/jquery/css/redmond/jquery-ui-1.7.2.custom.css" type="text/css">-->
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript" src="/js/jquery/jquery-1.7.1.min.js"></script>
|
<script type="text/javascript" src="/js/jquery/jquery-1.7.1.min.js"></script>
|
||||||
<script type="text/javascript" src="/js/jquery/jquery-ui-1.8.17.min.js"></script>
|
<script type="text/javascript" src="/js/jquery/jquery-ui-1.8.17.min.js"></script>
|
||||||
|
|
||||||
{if $clientBrowser neq 'msie'}
|
{if $clientBrowser neq 'msie'}
|
||||||
<style>
|
<style>
|
||||||
{literal}
|
{literal}
|
||||||
@@ -31,11 +31,11 @@
|
|||||||
var h = $(window).height() - 42;
|
var h = $(window).height() - 42;
|
||||||
$('iframe').height(h)
|
$('iframe').height(h)
|
||||||
}
|
}
|
||||||
|
|
||||||
function redirect(url)
|
function redirect(url)
|
||||||
{
|
{
|
||||||
var $iframe = $('#iframex');
|
var $iframe = $('#iframex');
|
||||||
$iframe.attr('src', url);
|
$iframe.attr('src', url);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -48,37 +48,38 @@
|
|||||||
height:160,
|
height:160,
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
"Start Case": function() {
|
{/literal}"{translate label="ID_CASE_START"}"{literal}: function() {
|
||||||
$( this ).dialog( "close" );
|
$(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
|
||||||
redirect('home/startCase?id='+id);
|
redirect('home/startCase?id='+id);
|
||||||
},
|
},
|
||||||
|
|
||||||
Cancel: function() {
|
Cancel: function() {
|
||||||
$( this ).dialog( "close" );
|
$(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*function setActive(o)
|
/*function setActive(o)
|
||||||
{
|
{
|
||||||
if (o.id == 'inboxOp') {
|
if (o.id == 'inboxOp') {
|
||||||
o.setAttribute('class', 'active');
|
o.setAttribute('class', 'active');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
o.setAttribute('class', '');
|
o.setAttribute('class', '');
|
||||||
}
|
}
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
//$("div.topbar ul li a").
|
//$("div.topbar ul li a").
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{/literal}
|
{/literal}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body onload="resize()" onresize="resize()" >
|
<body onload="resize()" onresize="resize()" >
|
||||||
<div class="global-nav">
|
<div class="global-nav">
|
||||||
<!-- start topbar -->
|
<!-- start topbar -->
|
||||||
<div class="topbar" id="corpBar">
|
<div class="topbar" id="corpBar">
|
||||||
<div class="topbar-bg"></div>
|
<div class="topbar-bg"></div>
|
||||||
<div class="topbar-inner">
|
<div class="topbar-inner">
|
||||||
@@ -106,7 +107,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if $canStartCase neq false && count($mnuNewCase) > 0}
|
{if $canStartCase neq false && count($mnuNewCase) > 0}
|
||||||
<li class="account">
|
<li class="account">
|
||||||
<a class="menu user-actions" href="javascript:;" title="{$mnuNewCase.label}" id="_new">
|
<a class="menu user-actions" href="javascript:;" title="{$mnuNewCase.label}" id="_new">
|
||||||
@@ -122,7 +123,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul class="nav secondary-nav">
|
<ul class="nav secondary-nav">
|
||||||
<li class="account">
|
<li class="account">
|
||||||
@@ -135,9 +136,9 @@
|
|||||||
<!--<li><a href="#" accesskey="s" id="settings_link">Settings</a></li>
|
<!--<li><a href="#" accesskey="s" id="settings_link">Settings</a></li>
|
||||||
<li><a href="#" accesskey="?" id="help_link">Help</a></li>-->
|
<li><a href="#" accesskey="?" id="help_link">Help</a></li>-->
|
||||||
{if $userUxType eq 'SWITCHABLE'}
|
{if $userUxType eq 'SWITCHABLE'}
|
||||||
<li><a href="{$switchLink}" accesskey="?" id="help_link">Switch Interface</a></li>
|
<li><a href="{$switchLink}" accesskey="?" id="help_link">{translate label="ID_SWITCH_INTERFACE"}</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
<li><a href="home/login" accesskey="l" id="sign_out_link">Sign out</a></li>
|
<li><a href="home/login" accesskey="l" id="sign_out_link">{translate label="ID_SIGN_OUT"}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -145,18 +146,18 @@
|
|||||||
</div> <!-- /fixed-container -->
|
</div> <!-- /fixed-container -->
|
||||||
</div> <!-- /topbar-inner -->
|
</div> <!-- /topbar-inner -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end topbar -->
|
<!-- end topbar -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<iframe id="iframex" name="iframex" src="home/appList" width="100%" height="800" scrolling="yes" frameborder="0"></iframe>
|
<iframe id="iframex" name="iframex" src="home/appList" width="100%" height="800" scrolling="yes" frameborder="0"></iframe>
|
||||||
|
|
||||||
<div id="dialog-confirm" title="Confirm" style="display:none">
|
<div id="dialog-confirm" title="Confirm" style="display:none">
|
||||||
<p>
|
<p>
|
||||||
Start a new case for:<br/>
|
{translate label="ID_START_A_NEW_CASE_FOR"}<br/>
|
||||||
<span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span><span id="startAppTitle"/></p>
|
<span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span><span id="startAppTitle"/></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{literal}
|
{literal}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// Javascript to toggle the dropdowns
|
// Javascript to toggle the dropdowns
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
@@ -179,7 +180,7 @@
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// To hide some actived menu clicking on inner iframe content
|
// To hide some actived menu clicking on inner iframe content
|
||||||
$('iframe').load(function(){
|
$('iframe').load(function(){
|
||||||
var iframeDoc = $('iframe').contents().get(0);
|
var iframeDoc = $('iframe').contents().get(0);
|
||||||
@@ -191,7 +192,7 @@
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
$('ul.primary-nav').children('li').children('a').click(function(i, el){
|
$('ul.primary-nav').children('li').children('a').click(function(i, el){
|
||||||
$('ul.primary-nav').children('li').children('a').attr('class', 'menu user-actions');
|
$('ul.primary-nav').children('li').children('a').attr('class', 'menu user-actions');
|
||||||
$(this).attr('class', 'menu user-actions active');
|
$(this).attr('class', 'menu user-actions active');
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||||
<link rel="stylesheet" href="/js/jquery/css/smoothness/jquery-ui-1.8.17.custom.css" type="text/css">
|
<link rel="stylesheet" href="/js/jquery/css/smoothness/jquery-ui-1.8.17.custom.css" type="text/css">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
<script type="text/javascript" src="/js/jquery/jquery-ui-1.8.17.min.js"></script>
|
<script type="text/javascript" src="/js/jquery/jquery-ui-1.8.17.min.js"></script>
|
||||||
<script type="text/javascript" src="/js/jquery/xbreadcrumbs.js"></script>
|
<script type="text/javascript" src="/js/jquery/xbreadcrumbs.js"></script>
|
||||||
|
|
||||||
|
|
||||||
{literal}
|
{literal}
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
@@ -35,13 +35,13 @@
|
|||||||
var ux_env = {ver: '1.0'};
|
var ux_env = {ver: '1.0'};
|
||||||
//var simplified = {};
|
//var simplified = {};
|
||||||
|
|
||||||
function resize()
|
function resize()
|
||||||
{
|
{
|
||||||
var h = $(window).height() - 42;
|
var h = $(window).height() - 42;
|
||||||
$('iframe').height(h)
|
$('iframe').height(h)
|
||||||
}
|
}
|
||||||
|
|
||||||
function setCurrent(id)
|
function setCurrent(id)
|
||||||
{
|
{
|
||||||
$('#' + id).trigger('click');
|
$('#' + id).trigger('click');
|
||||||
}
|
}
|
||||||
@@ -50,11 +50,11 @@
|
|||||||
{/literal}
|
{/literal}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body onload="resize()" onresize="resize()" >
|
<body onload="resize()" onresize="resize()" >
|
||||||
<div style="top:40px;"/>
|
<div style="top:40px;"/>
|
||||||
<div id="global-nav-2" class="global-nav-2">
|
<div id="global-nav-2" class="global-nav-2">
|
||||||
<!-- start topbar -->
|
<!-- start topbar -->
|
||||||
|
|
||||||
<ul class="xbreadcrumbs" id="breadcrumbs-1">
|
<ul class="xbreadcrumbs" id="breadcrumbs-1">
|
||||||
{if count($steps) > 0}
|
{if count($steps) > 0}
|
||||||
{foreach from=$steps key=i item=step}
|
{foreach from=$steps key=i item=step}
|
||||||
@@ -66,17 +66,17 @@
|
|||||||
<li></li>
|
<li></li>
|
||||||
{/if}
|
{/if}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a id="signout-link" href="home/login" title="Sign out"><img src="/images/simplified/logout-grey.png" /></a>
|
<a id="signout-link" href="home/login" title="{translate label="ID_SIGN_OUT"}"><img src="/images/simplified/logout-grey.png" /></a>
|
||||||
|
|
||||||
<!-- end topbar -->
|
<!-- end topbar -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<iframe id="iframex" name="iframex" src="{$default_url}" width="100%" height="800" scrolling="yes" frameborder="0"></iframe>
|
<iframe id="iframex" name="iframex" src="{$default_url}" width="100%" height="800" scrolling="yes" frameborder="0"></iframe>
|
||||||
|
|
||||||
<div id="dialog-confirm" title="Confirm" style="display:none">
|
<div id="dialog-confirm" title="Confirm" style="display:none">
|
||||||
<p>
|
<p>
|
||||||
Start a new case for:<br/>
|
{translate label="ID_START_A_NEW_CASE_FOR"}<br/>
|
||||||
<span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span><span id="startAppTitle"/></p>
|
<span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span><span id="startAppTitle"/></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
height: 140px;
|
height: 140px;
|
||||||
margin-top: -140px;
|
margin-top: -140px;
|
||||||
margin-left: -210px;
|
margin-left: -210px;
|
||||||
overflow: none;
|
overflow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -37,16 +37,16 @@
|
|||||||
<td valign='top'>
|
<td valign='top'>
|
||||||
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td class='FormTitle' colspan="2" align=""><span id='form[TITLE]' name='form[TITLE]' >Login</span></td>
|
<td class='FormTitle' colspan="2" align=""><span id='form[TITLE]' name='form[TITLE]' >{translate label="ID_LOGIN"}</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='FormLabel' width="40%">User</td>
|
<td class='FormLabel' width="40%">{translate label="ID_USER"}</td>
|
||||||
<td class='FormFieldContent' width='240' >
|
<td class='FormFieldContent' width='240' >
|
||||||
<input class="module_app_input___gray" name="form[USR_USERNAME]" type="text" size="30" maxlength="50" value=""/>
|
<input class="module_app_input___gray" name="form[USR_USERNAME]" type="text" size="30" maxlength="50" value=""/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='FormLabel' width="40%">Password</td>
|
<td class='FormLabel' width="40%">{translate label="ID_PASSWORD"}</td>
|
||||||
<td class='FormFieldContent' width='240' >
|
<td class='FormFieldContent' width='240' >
|
||||||
<input class="module_app_input___gray" name="form[USR_PASSWORD]" type ="password" size="31" maxlength="50" value=""/>
|
<input class="module_app_input___gray" name="form[USR_PASSWORD]" type ="password" size="31" maxlength="50" value=""/>
|
||||||
</td>
|
</td>
|
||||||
@@ -73,5 +73,3 @@
|
|||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,29 +11,29 @@
|
|||||||
function start() {
|
function start() {
|
||||||
//Fade in the Popup
|
//Fade in the Popup
|
||||||
$('#login').fadeIn(1000);
|
$('#login').fadeIn(1000);
|
||||||
|
|
||||||
//Set the center alignment padding + border see css style
|
//Set the center alignment padding + border see css style
|
||||||
var popMargTop = ($('#login').height() + 24) / 2;
|
var popMargTop = ($('#login').height() + 24) / 2;
|
||||||
var popMargLeft = ($('#login').width() + 24) / 2;
|
var popMargLeft = ($('#login').width() + 24) / 2;
|
||||||
|
|
||||||
if (!jQuery.browser.msie) {
|
if (!jQuery.browser.msie) {
|
||||||
$('#login').css({
|
$('#login').css({
|
||||||
'margin-top' : -popMargTop,
|
'margin-top' : -popMargTop,
|
||||||
'margin-left' : -popMargLeft
|
'margin-left' : -popMargLeft
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add the mask to body
|
// Add the mask to body
|
||||||
$('body').append('<div id="mask"></div>');
|
$('body').append('<div id="mask"></div>');
|
||||||
$('#mask').fadeIn(0);
|
$('#mask').fadeIn(0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$('#login').css({
|
$('#login').css({
|
||||||
'margin-top' : (($(window).height()/2) - 140)
|
'margin-top' : (($(window).height()/2) - 140)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
start();
|
start();
|
||||||
//$('#login').fadeIn(1000);
|
//$('#login').fadeIn(1000);
|
||||||
});
|
});
|
||||||
@@ -47,9 +47,9 @@
|
|||||||
$('#login').width(w-50);
|
$('#login').width(w-50);
|
||||||
|
|
||||||
var popMargTop = ($('#login').height() + 24) / 2;
|
var popMargTop = ($('#login').height() + 24) / 2;
|
||||||
var popMargLeft = ($('#login').width() + 5) / 2;
|
var popMargLeft = ($('#login').width() + 5) / 2;
|
||||||
|
|
||||||
$('#login').css({
|
$('#login').css({
|
||||||
'margin-top' : -popMargTop,
|
'margin-top' : -popMargTop,
|
||||||
'margin-left' : -popMargLeft
|
'margin-left' : -popMargLeft
|
||||||
});
|
});
|
||||||
@@ -64,13 +64,13 @@
|
|||||||
<center>
|
<center>
|
||||||
<form method="post" action="../login/authentication">
|
<form method="post" action="../login/authentication">
|
||||||
<div id="login" class="login_form">
|
<div id="login" class="login_form">
|
||||||
<h1>Sign In</h1>
|
<h1>{translate label="ID_SIGN_IN"}</h1>
|
||||||
|
|
||||||
<div class="login_message">{$msg}</div>
|
<div class="login_message">{$msg}</div>
|
||||||
|
|
||||||
<table border=0 width="100%" cellspacing="0" cellpadding="0" class="formbody">
|
<table border=0 width="100%" cellspacing="0" cellpadding="0" class="formbody">
|
||||||
<tr>
|
<tr>
|
||||||
<td><label for="login_field">Username</label></td>
|
<td><label for="login_field">{translate label="ID_USERNAME"}</label></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><label for="password">Password</label></td>
|
<td><label for="password">{translate label="ID_PASSWORD"}</label></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -87,16 +87,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<label class="submit_btn"><input type="submit" value="Log in" tabindex="3" name="commit" /></label>
|
<label class="submit_btn"><input type="submit" value="Login" tabindex="3" name="commit" /></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</center>
|
</center>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
@media only screen and (min-device-width: 768px) {
|
@media only screen and (min-device-width: 768px) {
|
||||||
.uxs { width: 550px; }
|
.uxs { width: 550px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
@@ -27,12 +27,12 @@
|
|||||||
<center>
|
<center>
|
||||||
<div class="uxs" style="text-align:left">
|
<div class="uxs" style="text-align:left">
|
||||||
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||||
<tr><td class="Title">Information</td></tr>
|
<tr><td class="Title">{translate label="ID_INFORMATION"}</td></tr>
|
||||||
</table>
|
</table>
|
||||||
<h2></h2>
|
<h2></h2>
|
||||||
<h3>You are now finished. Please refresh your view to see if you have any more work pending.</h3>
|
<h3>{translate label="ID_FINISHED_REFRESH_VIEW_SEE_SLOPE_WORK"}</h3>
|
||||||
<center>
|
<center>
|
||||||
<button id="btnRefresh">Refresh view</button>
|
<button id="btnRefresh">{translate label="ID_REFRESH_VIEW"}</button>
|
||||||
</center>
|
</center>
|
||||||
</div>
|
</div>
|
||||||
</center>
|
</center>
|
||||||
|
|||||||
Reference in New Issue
Block a user