Removed non used/replaced skins
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<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="stylesheet" type="text/css" href="/skins/{php}echo SYS_SKIN!="blank"?SYS_SKIN:"green"{/php}/style.css" media="screen"/>
|
||||
<link rel="stylesheet" type="text/css" href="/skins/green/printstyle.css" media="print"/>
|
||||
{$header}
|
||||
<link rel="stylesheet" type="text/css" href="/images/icons_silk/sprite.css" media="screen"/>
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" href="/images/icons_silk/sprite_ie.css" media="screen"/>
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#999999" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" rightmargin="0">
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '')
|
||||
{
|
||||
G::LoadTemplate($G_TEMPLATE);
|
||||
}
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,47 +0,0 @@
|
||||
<?
|
||||
/**
|
||||
* blank.php
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
|
||||
G::verifyPath ( PATH_SMARTY_C, true );
|
||||
G::verifyPath ( PATH_SMARTY_CACHE, true );
|
||||
|
||||
// put full path to Smarty.class.php
|
||||
require_once(PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php');
|
||||
|
||||
|
||||
$smarty = new Smarty();
|
||||
|
||||
$smarty->template_dir = PATH_SKINS;
|
||||
$smarty->compile_dir = PATH_SMARTY_C;
|
||||
$smarty->cache_dir = PATH_SMARTY_CACHE;
|
||||
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
if (isset($oHeadPublisher)) $header = $oHeadPublisher->printHeader();
|
||||
$smarty->assign('username', (isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ' ' . G::LoadTranslation('ID_IN') . ' ' . SYS_SYS . ')' : '') );
|
||||
$smarty->assign('header', $header );
|
||||
//$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html' );
|
||||
//$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html' );
|
||||
$smarty->display('blank.html');
|
||||
?>
|
||||
@@ -1,10 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{header}
|
||||
</head>
|
||||
<body>
|
||||
{bodyTemplate}
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,61 +0,0 @@
|
||||
<?
|
||||
/**
|
||||
* extJs.php
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* Copyright (C) 2004 - 2008 Colosa Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
|
||||
// G::LoadSystem('templatePower');
|
||||
|
||||
|
||||
G::LoadClass('serverConfiguration');
|
||||
$oServerConf =& serverConf::getSingleton();
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
|
||||
$extSkin=$oServerConf->getProperty("extSkin");
|
||||
if(isset($extSkin[SYS_SKIN])){
|
||||
$oHeadPublisher->setExtSkin( $extSkin[SYS_SKIN]);
|
||||
}
|
||||
|
||||
if( $oHeadPublisher->extJsInit === true){
|
||||
$header = $oHeadPublisher->getExtJsVariablesScript();
|
||||
$styles = $oHeadPublisher->getExtJsStylesheets();
|
||||
$body = $oHeadPublisher->getExtJsScripts();
|
||||
|
||||
$templateFile = 'extJsInitLoad.html';
|
||||
}
|
||||
else {
|
||||
$header = $oHeadPublisher->includeExtJs();
|
||||
$styles = '';
|
||||
$body = $oHeadPublisher->renderExtJs();
|
||||
|
||||
$templateFile = 'extJs.html';
|
||||
}
|
||||
$template = new TemplatePower( PATH_SKINS . $templateFile );
|
||||
$template->prepare();
|
||||
$template->assign( 'header', $header );
|
||||
$template->assign( 'styles', $styles );
|
||||
$template->assign( 'bodyTemplate', $body);
|
||||
$content = $template->getOutputContent();
|
||||
|
||||
print $content;
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{header}
|
||||
<style>
|
||||
#loading-mask{
|
||||
position:absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:20000;
|
||||
background-color:white;
|
||||
}
|
||||
#loading{
|
||||
position:absolute;
|
||||
left:40%;
|
||||
top:37%;
|
||||
padding:2px;
|
||||
z-index:20001;
|
||||
height:auto;
|
||||
}
|
||||
#loading a {
|
||||
color:#225588;
|
||||
}
|
||||
#loading .loading-indicator{
|
||||
background:white;
|
||||
color:#444;
|
||||
font:bold 13px tahoma,arial,helvetica;
|
||||
padding:10px;
|
||||
margin:0;
|
||||
height:auto;
|
||||
}
|
||||
#loading-msg {
|
||||
font: bold 11px arial,tahoma,sans-serif;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="loading-mask" style=""></div>
|
||||
<div id="loading">
|
||||
<div class="loading-indicator">
|
||||
<center>
|
||||
<img src="/images/gears.gif"/><br />
|
||||
<span id="loading-msg">Loading styles and images...</span><br />
|
||||
<a href="http://www.processmaker.com">
|
||||
<img src="/images/processmaker.logo.jpg" border="0"/>
|
||||
</a>
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading Core API...';</script>
|
||||
<script type='text/javascript' src='/js/ext/ext-base.js'></script>
|
||||
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading UI Components...';</script>
|
||||
<script type='text/javascript' src='/js/ext/ext-all.js'></script>
|
||||
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loding UI Extensions';</script>
|
||||
<!--
|
||||
<script type='text/javascript' src='/js/ext/wz_jsgraphics.js'></script>
|
||||
<script type='text/javascript' src='/js/ext/mootools.js'></script>
|
||||
<script type='text/javascript' src='/js/ext/moocanvas.js'></script>
|
||||
!-->
|
||||
<script type='text/javascript' src='/js/ext/draw2d.js'></script>
|
||||
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Initializing...';</script>
|
||||
{styles}
|
||||
|
||||
{bodyTemplate}
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,49 +0,0 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<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="stylesheet" type="text/css" href="/skins/green/style.css"/>
|
||||
{$header}
|
||||
<link rel="stylesheet" type="text/css" href="/images/icons_silk/sprite.css" media="screen"/>
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" href="/images/icons_silk/sprite_ie.css" media="screen"/>
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||
|
||||
{if (count($subMenus)>0) }
|
||||
<tr>
|
||||
<td >
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td width="100%" class="mainMenuBG">{include file= "$tpl_submenu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td id="pm_separator" class="pm_separator"></td></tr>
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="100%">
|
||||
<td height="100%" valign="bottom">
|
||||
<div class="Footer">
|
||||
<div class="content">{$footer}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,95 +0,0 @@
|
||||
<?
|
||||
/**
|
||||
* green.php
|
||||
*
|
||||
*/
|
||||
if (! defined('DB_SYSTEM_INFORMATION'))
|
||||
define('DB_SYSTEM_INFORMATION', 1);
|
||||
|
||||
G::verifyPath(PATH_SMARTY_C, true);
|
||||
G::verifyPath(PATH_SMARTY_CACHE, true);
|
||||
|
||||
// put full path to Smarty.class.php
|
||||
require_once (PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php');
|
||||
|
||||
$smarty = new Smarty();
|
||||
|
||||
$smarty->template_dir = PATH_SKINS;
|
||||
$smarty->compile_dir = PATH_SMARTY_C;
|
||||
$smarty->cache_dir = PATH_SMARTY_CACHE;
|
||||
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
|
||||
|
||||
$oHeadPublisher = & headPublisher::getSingleton();
|
||||
global $G_ENABLE_BLANK_SKIN;
|
||||
|
||||
if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) {
|
||||
$smarty->display('blank.html');
|
||||
} else {
|
||||
|
||||
$header = '';
|
||||
if (isset($oHeadPublisher)) {
|
||||
$oHeadPublisher->title = isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ' ' . G::LoadTranslation('ID_IN') . ' ' . SYS_SYS . ')' : '';
|
||||
$header = $oHeadPublisher->printHeader();
|
||||
}
|
||||
$footer = '';
|
||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||
if (DB_SYSTEM_INFORMATION == 1) {
|
||||
$footer = "<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />";
|
||||
}
|
||||
|
||||
$freeOfChargeText = "";
|
||||
if (! defined('SKIP_FREE_OF_CHARGE_TEXT'))
|
||||
$freeOfChargeText = "Supplied free of charge with no support, certification, warranty, <br>maintenance nor indemnity by Colosa and its Certified Partners.";
|
||||
$footer .= "<br />Copyright © 2003-" . date('Y') . " <a href=\"http://www.colosa.com\" alt=\"Colosa, Inc.\" target=\"_blank\">Colosa, Inc.</a> All rights reserved.<br /> $freeOfChargeText " . "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"><img src=\"/images/PowerdbyProcessMaker.png\" border=\"0\" /></a>";
|
||||
}
|
||||
|
||||
//menu
|
||||
global $G_MAIN_MENU;
|
||||
global $G_SUB_MENU;
|
||||
global $G_MENU_SELECTED;
|
||||
global $G_SUB_MENU_SELECTED;
|
||||
global $G_ID_MENU_SELECTED;
|
||||
global $G_ID_SUB_MENU_SELECTED;
|
||||
|
||||
$oMenu = new Menu();
|
||||
$menus = $oMenu->generateArrayForTemplate($G_MAIN_MENU, 'SelectedMenu', 'mainMenu', $G_MENU_SELECTED, $G_ID_MENU_SELECTED);
|
||||
$smarty->assign('menus', $menus);
|
||||
|
||||
$oSubMenu = new Menu();
|
||||
$subMenus = $oSubMenu->generateArrayForTemplate($G_SUB_MENU, 'selectedSubMenu', 'subMenu', $G_SUB_MENU_SELECTED, $G_ID_SUB_MENU_SELECTED);
|
||||
$smarty->assign('subMenus', $subMenus);
|
||||
|
||||
if (! defined('NO_DISPLAY_USERNAME')) {
|
||||
define('NO_DISPLAY_USERNAME', 0);
|
||||
}
|
||||
if (NO_DISPLAY_USERNAME == 0) {
|
||||
$smarty->assign('userfullname', isset($_SESSION['USR_FULLNAME']) ? $_SESSION['USR_FULLNAME'] : '');
|
||||
$smarty->assign('user', isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ')' : '');
|
||||
$smarty->assign('rolename', isset($_SESSION['USR_ROLENAME']) ? $_SESSION['USR_ROLENAME'] . '' : '');
|
||||
$smarty->assign('pipe', isset($_SESSION['USR_USERNAME']) ? ' | ' : '');
|
||||
$smarty->assign('logout', G::LoadTranslation('ID_LOGOUT'));
|
||||
$smarty->assign('workspace', defined('SYS_SYS')?SYS_SYS: '');
|
||||
$uws = (isset($_SESSION['USR_ROLENAME']) && $_SESSION['USR_ROLENAME'] != '')? strtolower(G::LoadTranslation('ID_WORKSPACE_USING')): G::LoadTranslation('ID_WORKSPACE_USING');
|
||||
$smarty->assign('workspace_label', $uws);
|
||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
||||
|
||||
}
|
||||
if (defined('SYS_SYS'))
|
||||
$logout = '/sys' . SYS_SYS . '/' . SYS_LANG . '/' . SYS_SKIN . '/login/login';
|
||||
else
|
||||
$logout = '/sys/' . SYS_LANG . '/' . SYS_SKIN . '/login/login';
|
||||
$smarty->assign('linklogout', $logout);
|
||||
$smarty->assign('header', $header);
|
||||
$smarty->assign('footer', $footer);
|
||||
$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html');
|
||||
$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html');
|
||||
|
||||
if (class_exists('PMPluginRegistry')) {
|
||||
$oPluginRegistry = &PMPluginRegistry::getSingleton();
|
||||
$sCompanyLogo = $oPluginRegistry->getCompanyLogo('/images/processmaker.logo.jpg');
|
||||
} else
|
||||
$sCompanyLogo = '/images/processmaker.logo.jpg';
|
||||
|
||||
$smarty->assign('logo_company', $sCompanyLogo);
|
||||
$smarty->display('green-submenu.html');
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<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="stylesheet" type="text/css" href="/skins/green/style.css" media="screen"/>
|
||||
<link rel="stylesheet" type="text/css" href="/skins/green/printstyle.css" media="print"/>
|
||||
{$header}
|
||||
<link rel="stylesheet" type="text/css" href="/images/icons_silk/sprite.css" media="screen"/>
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" href="/images/icons_silk/sprite_ie.css" media="screen"/>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" id="pm_main_table">
|
||||
<tr>
|
||||
<td id="pm_header" valign="top">
|
||||
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td width="50%" rowspan="2" valign="top"><img src="{$logo_company}"/></td>
|
||||
<td width="50%" height="16" align="right" valign="top">
|
||||
<div align="right" class="logout">
|
||||
<small>
|
||||
{php}if ((int)$_SESSION['USER_LOGGED'] != 0) {{/php}
|
||||
<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> {$msgVer}
|
||||
{php}}{/php}
|
||||
</small>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" height="16" valign="bottom" class="title">
|
||||
<div align="right"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||
<tr>
|
||||
<td width="100%" class="mainMenuBG" style="height:25px">
|
||||
{include file="$tpl_menu"}
|
||||
</td>
|
||||
</tr>
|
||||
{if (count($subMenus)>0) }
|
||||
<tr>
|
||||
<td >
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td width="100%" class="mainMenuBG">{include file= "$tpl_submenu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="100%">
|
||||
<td height="100%" valign="bottom">
|
||||
<div class="Footer">
|
||||
<div class="content">{$footer}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,135 +0,0 @@
|
||||
<?
|
||||
/**
|
||||
* green.php
|
||||
*
|
||||
*/
|
||||
if (! defined('DB_SYSTEM_INFORMATION'))
|
||||
define('DB_SYSTEM_INFORMATION', 1);
|
||||
|
||||
G::verifyPath(PATH_SMARTY_C, true);
|
||||
G::verifyPath(PATH_SMARTY_CACHE, true);
|
||||
|
||||
// put full path to Smarty.class.php
|
||||
require_once (PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php');
|
||||
|
||||
$smarty = new Smarty();
|
||||
|
||||
$smarty->template_dir = PATH_SKINS;
|
||||
$smarty->compile_dir = PATH_SMARTY_C;
|
||||
$smarty->cache_dir = PATH_SMARTY_CACHE;
|
||||
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
|
||||
|
||||
$oHeadPublisher = & headPublisher::getSingleton();
|
||||
|
||||
global $G_ENABLE_BLANK_SKIN;
|
||||
|
||||
//To setup en extJS Theme for this Skin
|
||||
G::LoadClass('serverConfiguration');
|
||||
$oServerConf =& serverConf::getSingleton();
|
||||
$extSkin=$oServerConf->getProperty("extSkin");
|
||||
if(!$extSkin) $extSkin=array();
|
||||
$extSkin[SYS_SKIN]="xtheme-gray";
|
||||
$oServerConf->setProperty("extSkin",$extSkin);
|
||||
//End of extJS Theme setup
|
||||
|
||||
//G::pr($oHeadPublisher);
|
||||
if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) {
|
||||
$smarty->display('blank.html');
|
||||
}
|
||||
else {
|
||||
|
||||
$header = '';
|
||||
if (isset($oHeadPublisher)) {
|
||||
$oHeadPublisher->title = isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ' ' . G::LoadTranslation('ID_IN') . ' ' . SYS_SYS . ')' : '';
|
||||
$header = $oHeadPublisher->printHeader();
|
||||
}
|
||||
$footer = '';
|
||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||
if (DB_SYSTEM_INFORMATION == 1) {
|
||||
$footer = "<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />";
|
||||
}
|
||||
|
||||
$freeOfChargeText = "";
|
||||
if (! defined('SKIP_FREE_OF_CHARGE_TEXT'))
|
||||
$freeOfChargeText = "Supplied free of charge with no support, certification, warranty, <br>maintenance nor indemnity by Colosa and its Certified Partners.";
|
||||
if(class_exists('pmLicenseManager')) $freeOfChargeText="";
|
||||
$footer .= "<br />Copyright © 2003-" . date('Y') . " <a href=\"http://www.colosa.com\" alt=\"Colosa, Inc.\" target=\"_blank\">Colosa, Inc.</a> All rights reserved.<br /> $freeOfChargeText " . "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"><img src=\"/images/PowerdbyProcessMaker.png\" border=\"0\" /></a>";
|
||||
}
|
||||
|
||||
//menu
|
||||
global $G_MAIN_MENU;
|
||||
global $G_SUB_MENU;
|
||||
global $G_MENU_SELECTED;
|
||||
global $G_SUB_MENU_SELECTED;
|
||||
global $G_ID_MENU_SELECTED;
|
||||
global $G_ID_SUB_MENU_SELECTED;
|
||||
|
||||
$oMenu = new Menu();
|
||||
$menus = $oMenu->generateArrayForTemplate($G_MAIN_MENU, 'SelectedMenu', 'mainMenu', $G_MENU_SELECTED, $G_ID_MENU_SELECTED);
|
||||
$smarty->assign('menus', $menus);
|
||||
|
||||
$oSubMenu = new Menu();
|
||||
$subMenus = $oSubMenu->generateArrayForTemplate($G_SUB_MENU, 'selectedSubMenu', 'subMenu', $G_SUB_MENU_SELECTED, $G_ID_SUB_MENU_SELECTED);
|
||||
$smarty->assign('subMenus', $subMenus);
|
||||
|
||||
if (! defined('NO_DISPLAY_USERNAME')) {
|
||||
define('NO_DISPLAY_USERNAME', 0);
|
||||
}
|
||||
if (NO_DISPLAY_USERNAME == 0) {
|
||||
$smarty->assign('userfullname', isset($_SESSION['USR_FULLNAME']) ? $_SESSION['USR_FULLNAME'] : '');
|
||||
$smarty->assign('user', isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ')' : '');
|
||||
$smarty->assign('rolename', isset($_SESSION['USR_ROLENAME']) ? $_SESSION['USR_ROLENAME'] . '' : '');
|
||||
$smarty->assign('pipe', isset($_SESSION['USR_USERNAME']) ? ' | ' : '');
|
||||
$smarty->assign('logout', G::LoadTranslation('ID_LOGOUT'));
|
||||
$smarty->assign('workspace', defined('SYS_SYS')?SYS_SYS: '');
|
||||
$uws = (isset($_SESSION['USR_ROLENAME']) && $_SESSION['USR_ROLENAME'] != '')? strtolower(G::LoadTranslation('ID_WORKSPACE_USING')): G::LoadTranslation('ID_WORKSPACE_USING');
|
||||
$smarty->assign('workspace_label', $uws);
|
||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
||||
|
||||
}
|
||||
if(class_exists('pmLicenseManager')){
|
||||
$pmLicenseManagerO =& pmLicenseManager::getSingleton();
|
||||
$expireIn=$pmLicenseManagerO->getExpireIn();
|
||||
$expireInLabel=$pmLicenseManagerO->getExpireInLabel();
|
||||
//if($expireIn<=30){
|
||||
$smarty->assign('msgVer', '<br><label class="textBlack">'.$expireInLabel.'</label> ');
|
||||
//}
|
||||
}
|
||||
|
||||
if (defined('SYS_SYS'))
|
||||
$logout = '/sys' . SYS_SYS . '/' . SYS_LANG . '/' . SYS_SKIN . '/login/login';
|
||||
else
|
||||
$logout = '/sys/' . SYS_LANG . '/' . SYS_SKIN . '/login/login';
|
||||
|
||||
$smarty->assign('linklogout', $logout);
|
||||
$smarty->assign('header', $header);
|
||||
$smarty->assign('footer', $footer);
|
||||
$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html');
|
||||
$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html');
|
||||
G::LoadClass( 'replacementLogo' );
|
||||
$oLogoR = new replacementLogo();
|
||||
if(defined("SYS_SYS")){
|
||||
$aFotoSelect = $oLogoR->getNameLogo((isset($_SESSION['USER_LOGGED']))?$_SESSION['USER_LOGGED']:'');
|
||||
if ( is_array ( $aFotoSelect ) ) {
|
||||
$sFotoSelect = trim($aFotoSelect['DEFAULT_LOGO_NAME']);
|
||||
$sWspaceSelect = trim($aFotoSelect['WORKSPACE_LOGO_NAME']);
|
||||
}
|
||||
}
|
||||
|
||||
if (class_exists('PMPluginRegistry')) {
|
||||
$oPluginRegistry = &PMPluginRegistry::getSingleton();
|
||||
if ( isset($sFotoSelect) && $sFotoSelect!='' && !(strcmp($sWspaceSelect,SYS_SYS)) ){
|
||||
$sCompanyLogo = $oPluginRegistry->getCompanyLogo($sFotoSelect);
|
||||
$sCompanyLogo= "/sys".SYS_SYS."/".SYS_LANG."/".SYS_SKIN."/setup/showLogoFile.php?id=".G::encrypt($sCompanyLogo,"imagen");
|
||||
}
|
||||
else {
|
||||
$sCompanyLogo = $oPluginRegistry->getCompanyLogo('/images/processmaker.logo.jpg');
|
||||
}
|
||||
}
|
||||
else {
|
||||
$sCompanyLogo = '/images/processmaker.logo.jpg';
|
||||
}
|
||||
|
||||
$smarty->assign('logo_company', $sCompanyLogo);
|
||||
$smarty->display('green.html');
|
||||
}
|
||||
@@ -1,102 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{$username}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="device-width=320; initial-scale=1.0; maximum-scale=5.0; user-scalable=1;" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
<link rel="stylesheet" type="text/css" href="/skins/iphone/style.css"/>
|
||||
{$header}
|
||||
<script type="text/javascript">{literal}
|
||||
var openInfoPanel = function()
|
||||
{
|
||||
var oInfoPanel = new leimnud.module.panel();
|
||||
oInfoPanel.options = {
|
||||
size :{w:500,h:424},
|
||||
position:{x:0,y:0,center:true},
|
||||
title :'System Information',
|
||||
theme :'processmaker',
|
||||
control :{
|
||||
close :true,
|
||||
drag :false
|
||||
},
|
||||
fx:{
|
||||
modal:true
|
||||
}
|
||||
};
|
||||
oInfoPanel.setStyle = {modal: {
|
||||
backgroundColor: 'white'
|
||||
}};
|
||||
oInfoPanel.make();
|
||||
var oRPC = new leimnud.module.rpc.xmlhttp({
|
||||
url : '../login/dbInfo',
|
||||
async : false,
|
||||
method: 'POST',
|
||||
args : ''
|
||||
});
|
||||
oRPC.make();
|
||||
oInfoPanel.addContent(oRPC.xmlhttp.responseText);
|
||||
};
|
||||
{/literal}</script>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||
<tr>
|
||||
<td width="100%" align="left" class="mainMenu" id="pm_menu">
|
||||
<table width="70%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="mainMenu"> <td>
|
||||
{include file= "$tpl_menu"}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
{php}
|
||||
global $G_TMP_MENU_ALIGN;
|
||||
{/php}
|
||||
<td width="100%" align="{php}($G_TMP_MENU_ALIGN==''?'center':$G_TMP_MENU_ALIGN){/php}" class="subMenu" id="pm_submenu">
|
||||
<table width="50%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td> <td>
|
||||
{include file= "$tpl_submenu"}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="pm_separator" class="pm_separator">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '')
|
||||
{
|
||||
G::LoadTemplate($G_TEMPLATE);
|
||||
}
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{php}if ((int)$_SESSION['USER_LOGGED'] != 0)
|
||||
{
|
||||
{/php}
|
||||
<div align="right" class="iphone_link_login logout">
|
||||
<a href="../users/myInfo">{$user}</a> |
|
||||
<a href="{$linklogout}">{php}echo G::LoadTranslation('ID_LOGOUT');{/php}</a>
|
||||
</div>
|
||||
{php}
|
||||
}
|
||||
{/php}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,61 +0,0 @@
|
||||
<?
|
||||
/**
|
||||
* iphone.php
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
|
||||
G::verifyPath ( PATH_SMARTY_C, true );
|
||||
G::verifyPath ( PATH_SMARTY_CACHE, true );
|
||||
|
||||
// put full path to Smarty.class.php
|
||||
require_once(PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php');
|
||||
|
||||
|
||||
$smarty = new Smarty();
|
||||
|
||||
$smarty->template_dir = PATH_SKINS;
|
||||
$smarty->compile_dir = PATH_SMARTY_C;
|
||||
$smarty->cache_dir = PATH_SMARTY_CACHE;
|
||||
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
|
||||
|
||||
global $G_ENABLE_BLANK_SKIN;
|
||||
|
||||
if ( isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN ) {
|
||||
$smarty->display('blank.html');
|
||||
}
|
||||
else {
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
if (isset($oHeadPublisher)) $header = $oHeadPublisher->printHeader();
|
||||
$smarty->assign('user', isset($_SESSION['USR_USERNAME']) ? $_SESSION['USR_USERNAME'] : '');
|
||||
$smarty->assign('username', (isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ' ' . G::LoadTranslation('ID_IN') . ' ' . SYS_SYS . ')' : '') );
|
||||
if(defined('SYS_SYS'))
|
||||
$logout='/sys'.SYS_SYS.'/'.SYS_LANG.'/'.SYS_SKIN.'/login/login';
|
||||
else
|
||||
$logout='/sys/'.SYS_LANG.'/'.SYS_SKIN.'/login/login';
|
||||
$smarty->assign('linklogout', $logout );
|
||||
$smarty->assign('header', $header );
|
||||
$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html' );
|
||||
$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html' );
|
||||
$smarty->display('iphone.html');
|
||||
}
|
||||
//print_r($_SERVER);
|
||||
?>
|
||||
@@ -1,16 +0,0 @@
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
<script type="text/javascript">
|
||||
{$header}
|
||||
</script>
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '')
|
||||
{
|
||||
G::LoadTemplate($G_TEMPLATE);
|
||||
}
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -1,24 +0,0 @@
|
||||
<?
|
||||
/**
|
||||
* raw.php
|
||||
*
|
||||
*/
|
||||
|
||||
G::verifyPath ( PATH_SMARTY_C, true );
|
||||
G::verifyPath ( PATH_SMARTY_CACHE, true );
|
||||
|
||||
// put full path to Smarty.class.php
|
||||
require_once(PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php');
|
||||
|
||||
|
||||
$smarty = new Smarty();
|
||||
|
||||
$smarty->template_dir = PATH_SKINS;
|
||||
$smarty->compile_dir = PATH_SMARTY_C;
|
||||
$smarty->cache_dir = PATH_SMARTY_CACHE;
|
||||
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
if (isset($oHeadPublisher)) $header = $oHeadPublisher->printRawHeader();
|
||||
$smarty->assign('header', $header );
|
||||
$smarty->display('raw.html');
|
||||
@@ -1 +0,0 @@
|
||||
O:8:"stdClass":3:{s:4:"name";s:3:"rtl";s:11:"description";s:24:"description of skin rtl ";s:7:"version";i:2;}
|
||||
@@ -1,72 +0,0 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<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="stylesheet" type="text/css" href="/skins/rtl/style.css"/>
|
||||
{$header}
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td id="pm_header" valign="top">
|
||||
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td width="50%" rowspan="2" valign="top"><img src="{$logo_company}"></td>
|
||||
<td width="50%" height="16" align="right" valign="top">
|
||||
<!--<div align="right" class="logout"><small>{php}if ((int)$_SESSION['USER_LOGGED'] != 0) {{/php}<a href="../users/myInfo">{$user}</a> | <a href="../login/login" class="tableOption">{php}echo G::LoadTranslation('ID_LOGOUT');{/php}</a>{php}}{/php}</small> </div>
|
||||
-->
|
||||
<div align="left" class="logout">
|
||||
<small>
|
||||
{php}if ((int)$_SESSION['USER_LOGGED'] != 0) {{/php}
|
||||
<a href="../users/myInfo">{$user}</a> |
|
||||
<a href="{$linklogout}" class="tableOption">{php}echo G::LoadTranslation('ID_LOGOUT');{/php}</a>{php}}{/php}
|
||||
</small> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" height="16" valign="bottom" class="title">
|
||||
<div align="right"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||
<tr>
|
||||
<td width="100%" align="left" class="mainMenu" id="pm_menu">
|
||||
<table width="70%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td class="mainMenu"> <td>{include file= "$tpl_menu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" align="left" class="subMenu" id="pm_submenu">
|
||||
<table width="50%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td> <td>{include file= "$tpl_submenu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td id="pm_separator" class="pm_separator"></td></tr>
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="100%">
|
||||
<td height="100%" valign="bottom">
|
||||
<div class="Footer">
|
||||
<div class="content">{$footer}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,91 +0,0 @@
|
||||
<?
|
||||
/**
|
||||
* green.php
|
||||
*
|
||||
*/
|
||||
if(!defined('DB_SYSTEM_INFORMATION')) define('DB_SYSTEM_INFORMATION', 1);
|
||||
|
||||
G::verifyPath ( PATH_SMARTY_C, true );
|
||||
G::verifyPath ( PATH_SMARTY_CACHE, true );
|
||||
|
||||
// put full path to Smarty.class.php
|
||||
require_once(PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php');
|
||||
|
||||
|
||||
$smarty = new Smarty();
|
||||
|
||||
$smarty->template_dir = PATH_SKINS;
|
||||
$smarty->compile_dir = PATH_SMARTY_C;
|
||||
$smarty->cache_dir = PATH_SMARTY_CACHE;
|
||||
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
global $G_ENABLE_BLANK_SKIN;
|
||||
|
||||
if ( isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN ) {
|
||||
$smarty->display('blank.html');
|
||||
}
|
||||
else {
|
||||
|
||||
$header = '';
|
||||
if (isset($oHeadPublisher)) {
|
||||
$oHeadPublisher->title = isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ' ' . G::LoadTranslation('ID_IN') . ' ' . SYS_SYS . ')' : '';
|
||||
$header = $oHeadPublisher->printHeader();
|
||||
}
|
||||
$footer = '';
|
||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||
if ( DB_SYSTEM_INFORMATION==1) {
|
||||
$footer = "<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\"> בית ספר </a><br />";
|
||||
}
|
||||
|
||||
$freeOfChargeText = "";
|
||||
if ( !defined ( 'SKIP_FREE_OF_CHARGE_TEXT' ) )
|
||||
$freeOfChargeText = "Supplied free of charge with no support, certification, warranty, <br>maintenance nor indemnity by Colosa and its Certified Partners.";
|
||||
$footer .= "<br />Copyright © 2003-" . date('Y') . " <a href=\"http://www.colosa.com\" alt=\"Colosa, Inc.\" target=\"_blank\">Colosa, Inc.</a> All rights reserved.<br /> $freeOfChargeText "
|
||||
. "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"><img src=\"/images/PowerdbyProcessMaker.png\" border=\"0\" /></a>";
|
||||
}
|
||||
|
||||
//menu
|
||||
global $G_MAIN_MENU;
|
||||
global $G_SUB_MENU;
|
||||
global $G_MENU_SELECTED;
|
||||
global $G_SUB_MENU_SELECTED;
|
||||
global $G_ID_MENU_SELECTED;
|
||||
global $G_ID_SUB_MENU_SELECTED;
|
||||
|
||||
$oMenu = new Menu();
|
||||
$menus = $oMenu->generateArrayForTemplate ( $G_MAIN_MENU,'SelectedMenu', 'mainMenu',$G_MENU_SELECTED, $G_ID_MENU_SELECTED );
|
||||
$smarty->assign('menus', $menus );
|
||||
|
||||
$oSubMenu = new Menu();
|
||||
$subMenus = $oSubMenu->generateArrayForTemplate ( $G_SUB_MENU,'selectedSubMenu', 'subMenu',$G_SUB_MENU_SELECTED, $G_ID_SUB_MENU_SELECTED );
|
||||
$smarty->assign('subMenus', $subMenus );
|
||||
|
||||
if (!defined('NO_DISPLAY_USERNAME')) {
|
||||
define('NO_DISPLAY_USERNAME', 0);
|
||||
}
|
||||
if (NO_DISPLAY_USERNAME == 0) {
|
||||
$smarty->assign('user', isset($_SESSION['USR_USERNAME']) ? $_SESSION['USR_USERNAME'] : '');
|
||||
$smarty->assign('pipe', isset($_SESSION['USR_USERNAME']) ? ' | ' : '');
|
||||
$smarty->assign('logout', G::LoadTranslation('ID_LOGOUT'));
|
||||
}
|
||||
if(defined('SYS_SYS'))
|
||||
$logout='/sys'.SYS_SYS.'/'.SYS_LANG.'/'.SYS_SKIN.'/login/login';
|
||||
else
|
||||
$logout='/sys/'.SYS_LANG.'/'.SYS_SKIN.'/login/login';
|
||||
$smarty->assign('linklogout', $logout );
|
||||
$smarty->assign('header', $header );
|
||||
$smarty->assign('footer', $footer);
|
||||
$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html' );
|
||||
$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html' );
|
||||
|
||||
if (class_exists('PMPluginRegistry')) {
|
||||
$oPluginRegistry = &PMPluginRegistry::getSingleton();
|
||||
$sCompanyLogo = $oPluginRegistry->getCompanyLogo ( '/images/processmaker.logo.jpg' );
|
||||
}
|
||||
else
|
||||
$sCompanyLogo = '/images/processmaker.logo.jpg';
|
||||
|
||||
$smarty->assign('logo_company', $sCompanyLogo );
|
||||
$smarty->display('rtl.html');
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
<head>
|
||||
<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="stylesheet" type="text/css" href="/skins/green/style.css"/>
|
||||
{$header}
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td id="pm_header" valign="top">
|
||||
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td width="50%" rowspan="2" valign="top"><img src="{$logo_company}"></td>
|
||||
<td width="50%" height="16" align="right" valign="top">
|
||||
<div align="right" class="logout"><small>{php}if ((int)$_SESSION['CASE'] != 0) {{/php}<a href="../tracker/login" class="tableOption">{php}echo G::LoadTranslation('ID_LOGOUT');{/php}</a>{php}}{/php}</small> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" height="16" valign="bottom" class="title">
|
||||
<div align="right"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||
<tr>
|
||||
<td width="100%" align="left" class="mainMenu" id="pm_menu">
|
||||
<table width="70%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td class="mainMenu"> <td>{include file= "$tpl_menu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" align="left" class="subMenu" id="pm_submenu">
|
||||
<table width="50%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td> <td>{include file= "$tpl_submenu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td id="pm_separator" class="pm_separator"></td></tr>
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="100%">
|
||||
<td height="100%" valign="bottom">
|
||||
<div class="Footer">
|
||||
<div class="content">{$footer}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,75 +0,0 @@
|
||||
<?
|
||||
/**
|
||||
* tracker.php
|
||||
*
|
||||
*/
|
||||
|
||||
G::verifyPath ( PATH_SMARTY_C, true );
|
||||
G::verifyPath ( PATH_SMARTY_CACHE, true );
|
||||
|
||||
// put full path to Smarty.class.php
|
||||
require_once(PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php');
|
||||
|
||||
|
||||
$smarty = new Smarty();
|
||||
|
||||
$smarty->template_dir = PATH_SKINS;
|
||||
$smarty->compile_dir = PATH_SMARTY_C;
|
||||
$smarty->cache_dir = PATH_SMARTY_CACHE;
|
||||
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
global $G_ENABLE_BLANK_SKIN;
|
||||
|
||||
if ( isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN ) {
|
||||
$smarty->display('blank.html');
|
||||
}
|
||||
else {
|
||||
|
||||
$header = '';
|
||||
if (isset($oHeadPublisher)) {
|
||||
$oHeadPublisher->title = isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ' ' . G::LoadTranslation('ID_IN') . ' ' . SYS_SYS . ')' : '';
|
||||
$header = $oHeadPublisher->printHeader();
|
||||
}
|
||||
$footer = '';
|
||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||
if ( defined('SYS_SYS') ) {
|
||||
$footer = "<a href=\"#\" onclick=\"openInfoPanel();return false;\" class=\"FooterLink\">| System Information |</a><br />";
|
||||
}
|
||||
$footer .= "<br />Copyright <20> 2003-2008 Colosa, Inc. All rights reserved.";
|
||||
}
|
||||
|
||||
//menu
|
||||
global $G_MAIN_MENU;
|
||||
global $G_SUB_MENU;
|
||||
global $G_MENU_SELECTED;
|
||||
global $G_SUB_MENU_SELECTED;
|
||||
global $G_ID_MENU_SELECTED;
|
||||
global $G_ID_SUB_MENU_SELECTED;
|
||||
|
||||
$oMenu = new Menu();
|
||||
$menus = $oMenu->generateArrayForTemplate ( $G_MAIN_MENU,'SelectedMenu', 'mainMenu',$G_MENU_SELECTED, $G_ID_MENU_SELECTED );
|
||||
$smarty->assign('menus', $menus );
|
||||
|
||||
$oSubMenu = new Menu();
|
||||
$subMenus = $oSubMenu->generateArrayForTemplate ( $G_SUB_MENU,'selectedSubMenu', 'subMenu',$G_SUB_MENU_SELECTED, $G_ID_SUB_MENU_SELECTED );
|
||||
$smarty->assign('subMenus', $subMenus );
|
||||
|
||||
$smarty->assign('user', isset($_SESSION['USR_USERNAME']) ? $_SESSION['USR_USERNAME'] : '');
|
||||
$smarty->assign('pipe', isset($_SESSION['USR_USERNAME']) ? ' | ' : '');
|
||||
$smarty->assign('logout', G::LoadTranslation('ID_LOGOUT'));
|
||||
$smarty->assign('header', $header );
|
||||
$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html' );
|
||||
$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html' );
|
||||
|
||||
if (class_exists('PMPluginRegistry')) {
|
||||
$oPluginRegistry = &PMPluginRegistry::getSingleton();
|
||||
$sCompanyLogo = $oPluginRegistry->getCompanyLogo ( '/images/processmaker.logo.jpg' );
|
||||
}
|
||||
else
|
||||
$sCompanyLogo = '/images/processmaker.logo.jpg';
|
||||
|
||||
$smarty->assign('logo_company', $sCompanyLogo );
|
||||
$smarty->display('tracker.html');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user