HOR-202
- La fecha ya no se muestra en los templates de los skins por defecto y se elimino el codigo PHP que obtenia la fecha, ya que ahora es innecesario obtenerla
This commit is contained in:
@@ -40,7 +40,6 @@ class Main extends Controller
|
||||
$this->setVar( 'logout', G::LoadTranslation( 'ID_LOGOUT' ) );
|
||||
$this->setVar( 'workspace', defined( 'SYS_SYS' ) ? ucfirst( SYS_SYS ) : '' );
|
||||
$this->setVar( 'user_avatar', 'users/users_ViewPhotoGrid?pUID=' . $_SESSION['USER_LOGGED'] . '&h=' . rand() );
|
||||
$this->setVar( 'udate', G::getformatedDate( date( 'Y-m-d' ), 'M d, yyyy', SYS_LANG ) );
|
||||
|
||||
// license notification
|
||||
$expireInLabel = '';
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
<label class="textBlue"><a href="../../uxs/home">{$switch_interface_label}</a> | </label>
|
||||
{/if}
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> <br/>
|
||||
{$udate}</label>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> </label>
|
||||
{else}
|
||||
{if $tracker eq 1}
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a>
|
||||
|
||||
@@ -31,8 +31,7 @@
|
||||
<label class="textBlue"><a href="../../uxs/home">{$switch_interface_label}</a> | </label>
|
||||
{/if}
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b><br />
|
||||
{$udate}</label>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b></label>
|
||||
{else}
|
||||
{if $tracker eq 1}
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a>
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
{php}if ((int)$_SESSION['USER_LOGGED'] != 0) {{/php}
|
||||
{$msgVer}<label class="textBlue">{$userfullname} <a href="../users/myInfo">{$user}</a> | </label>
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> <br/>
|
||||
{$udate}</label>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> </label>
|
||||
{php}}{/php}
|
||||
</small>
|
||||
</div>
|
||||
|
||||
@@ -434,11 +434,6 @@ class SkinEngine
|
||||
G::LoadClass( "configuration" );
|
||||
$conf = new Configurations();
|
||||
$conf->getFormats();
|
||||
if (defined('SYS_SYS')) {
|
||||
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d H:i:s')));
|
||||
} else {
|
||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
||||
}
|
||||
$name = $conf->userNameFormat(isset($_SESSION['USR_USERNAME']) ? $_SESSION['USR_USERNAME']: '', isset($_SESSION['USR_FULLNAME']) ? htmlentities($_SESSION['USR_FULLNAME'] , ENT_QUOTES, 'UTF-8'): '', isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : '');
|
||||
$smarty->assign('user',$name);
|
||||
}
|
||||
@@ -758,11 +753,6 @@ class SkinEngine
|
||||
G::LoadClass( "configuration" );
|
||||
$conf = new Configurations();
|
||||
$conf->getFormats();
|
||||
if ( defined('SYS_SYS')) {
|
||||
$smarty->assign('udate', $conf->getSystemDate(\ProcessMaker\Util\DateTime::convertUtcToTimeZone(date('Y-m-d H:i:s'))));
|
||||
} else {
|
||||
$smarty->assign('udate', G::getformatedDate(\ProcessMaker\Util\DateTime::convertUtcToTimeZone(date('Y-m-d H:i:s')), 'M d, yyyy', SYS_LANG));
|
||||
}
|
||||
$name = $conf->userNameFormat(isset($_SESSION['USR_USERNAME']) ? $_SESSION['USR_USERNAME']: '', isset($_SESSION['USR_FULLNAME']) ? htmlentities($_SESSION['USR_FULLNAME'] , ENT_QUOTES, 'UTF-8'): '', isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : '');
|
||||
$smarty->assign('user',$name);
|
||||
}
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
<label class="textBlue"><a href="../../uxs/home">{$switch_interface_label}</a> | </label>
|
||||
{/if}
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> <br/>
|
||||
{$udate}</label>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> </label>
|
||||
{/if}
|
||||
</small>
|
||||
</div>
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
<label class="textBlue"><a href="../home">{$switch_interface_label}</a> | </label>
|
||||
{/if}
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> <br/>
|
||||
{$udate}</label>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> </label>
|
||||
{/if}
|
||||
</small>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user