From c5be3ae5ebb7c9944c3058ddb440c3ba3e7843f1 Mon Sep 17 00:00:00 2001 From: Hugo Loza Date: Fri, 4 Mar 2011 19:36:43 +0000 Subject: [PATCH] Removed non used/replaced skins --- workflow/engine/skins/blank.html | 30 ----- workflow/engine/skins/blank.php | 47 -------- workflow/engine/skins/extJs.html | 10 -- workflow/engine/skins/extJs.php | 61 ---------- workflow/engine/skins/extJsInitLoad.html | 70 ------------ workflow/engine/skins/green-submenu.html | 49 -------- workflow/engine/skins/green-submenu.php | 95 ---------------- workflow/engine/skins/green.html | 79 ------------- workflow/engine/skins/green.php | 135 ----------------------- workflow/engine/skins/iphone.html | 102 ----------------- workflow/engine/skins/iphone.php | 61 ---------- workflow/engine/skins/raw.html | 16 --- workflow/engine/skins/raw.php | 24 ---- workflow/engine/skins/rtl.cnf | 1 - workflow/engine/skins/rtl.html | 72 ------------ workflow/engine/skins/rtl.php | 91 --------------- workflow/engine/skins/tracker.html | 64 ----------- workflow/engine/skins/tracker.php | 75 ------------- 18 files changed, 1082 deletions(-) delete mode 100644 workflow/engine/skins/blank.html delete mode 100644 workflow/engine/skins/blank.php delete mode 100755 workflow/engine/skins/extJs.html delete mode 100755 workflow/engine/skins/extJs.php delete mode 100644 workflow/engine/skins/extJsInitLoad.html delete mode 100755 workflow/engine/skins/green-submenu.html delete mode 100755 workflow/engine/skins/green-submenu.php delete mode 100644 workflow/engine/skins/green.html delete mode 100644 workflow/engine/skins/green.php delete mode 100755 workflow/engine/skins/iphone.html delete mode 100755 workflow/engine/skins/iphone.php delete mode 100644 workflow/engine/skins/raw.html delete mode 100644 workflow/engine/skins/raw.php delete mode 100644 workflow/engine/skins/rtl.cnf delete mode 100644 workflow/engine/skins/rtl.html delete mode 100644 workflow/engine/skins/rtl.php delete mode 100644 workflow/engine/skins/tracker.html delete mode 100644 workflow/engine/skins/tracker.php diff --git a/workflow/engine/skins/blank.html b/workflow/engine/skins/blank.html deleted file mode 100644 index f71bc654f..000000000 --- a/workflow/engine/skins/blank.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - {$header} - - - - - - - - - - -
- {php} - global $G_TEMPLATE; - if ($G_TEMPLATE != '') - { - G::LoadTemplate($G_TEMPLATE); - } - {/php} -
- - diff --git a/workflow/engine/skins/blank.php b/workflow/engine/skins/blank.php deleted file mode 100644 index acaba8550..000000000 --- a/workflow/engine/skins/blank.php +++ /dev/null @@ -1,47 +0,0 @@ -. - * - * 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'); -?> \ No newline at end of file diff --git a/workflow/engine/skins/extJs.html b/workflow/engine/skins/extJs.html deleted file mode 100755 index 74cd269db..000000000 --- a/workflow/engine/skins/extJs.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - -{header} - - -{bodyTemplate} - - diff --git a/workflow/engine/skins/extJs.php b/workflow/engine/skins/extJs.php deleted file mode 100755 index 70174a13d..000000000 --- a/workflow/engine/skins/extJs.php +++ /dev/null @@ -1,61 +0,0 @@ -. - * - * 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; - \ No newline at end of file diff --git a/workflow/engine/skins/extJsInitLoad.html b/workflow/engine/skins/extJsInitLoad.html deleted file mode 100644 index 696bbc2ea..000000000 --- a/workflow/engine/skins/extJsInitLoad.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - {header} - - - -
-
-
-
-
- Loading styles and images...
- - - -
-
-
- - - - - - - - - {styles} - - {bodyTemplate} - - diff --git a/workflow/engine/skins/green-submenu.html b/workflow/engine/skins/green-submenu.html deleted file mode 100755 index 699e8d768..000000000 --- a/workflow/engine/skins/green-submenu.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - {$header} - - - - - - - - - - - - -
- - - {if (count($subMenus)>0) } - - - - {/if} - - - - -
- - -
-
- {php} - global $G_TEMPLATE; - if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE); - {/php} -
-
- -
- - \ No newline at end of file diff --git a/workflow/engine/skins/green-submenu.php b/workflow/engine/skins/green-submenu.php deleted file mode 100755 index f84b31828..000000000 --- a/workflow/engine/skins/green-submenu.php +++ /dev/null @@ -1,95 +0,0 @@ -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 = "| System Information |
"; - } - - $freeOfChargeText = ""; - if (! defined('SKIP_FREE_OF_CHARGE_TEXT')) - $freeOfChargeText = "Supplied free of charge with no support, certification, warranty,
maintenance nor indemnity by Colosa and its Certified Partners."; - $footer .= "
Copyright © 2003-" . date('Y') . " Colosa, Inc. All rights reserved.
$freeOfChargeText " . "

"; - } - - //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'); -} diff --git a/workflow/engine/skins/green.html b/workflow/engine/skins/green.html deleted file mode 100644 index 0aa50f2ca..000000000 --- a/workflow/engine/skins/green.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - {$header} - - - - - - - - - - - - - - -
- - - - - - - - -
-
- - {php}if ((int)$_SESSION['USER_LOGGED'] != 0) {{/php} - - {$logout}  
-    {$msgVer} - {php}}{/php} -
-
-
-
-
-
- - - - - {if (count($subMenus)>0) } - - - - {/if} - - - - -
- - -
-
- {php} - global $G_TEMPLATE; - if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE); - {/php} -
-
- -
- - \ No newline at end of file diff --git a/workflow/engine/skins/green.php b/workflow/engine/skins/green.php deleted file mode 100644 index 34ba7bc3e..000000000 --- a/workflow/engine/skins/green.php +++ /dev/null @@ -1,135 +0,0 @@ -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 = "| System Information |
"; - } - - $freeOfChargeText = ""; - if (! defined('SKIP_FREE_OF_CHARGE_TEXT')) - $freeOfChargeText = "Supplied free of charge with no support, certification, warranty,
maintenance nor indemnity by Colosa and its Certified Partners."; - if(class_exists('pmLicenseManager')) $freeOfChargeText=""; - $footer .= "
Copyright © 2003-" . date('Y') . " Colosa, Inc. All rights reserved.
$freeOfChargeText " . "

"; - } - - //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', '
  '); - //} - } - - 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'); -} diff --git a/workflow/engine/skins/iphone.html b/workflow/engine/skins/iphone.html deleted file mode 100755 index 35bde6c1e..000000000 --- a/workflow/engine/skins/iphone.html +++ /dev/null @@ -1,102 +0,0 @@ - - - {$username} - - - - - {$header} - - - - - - - -
- - - - - - {php} - global $G_TMP_MENU_ALIGN; - {/php} - - - - - - - - -
-
- - {php} - global $G_TEMPLATE; - if ($G_TEMPLATE != '') - { - G::LoadTemplate($G_TEMPLATE); - } - {/php} -
-
- -{php}if ((int)$_SESSION['USER_LOGGED'] != 0) -{ -{/php} - -{php} -} -{/php} - - - diff --git a/workflow/engine/skins/iphone.php b/workflow/engine/skins/iphone.php deleted file mode 100755 index 50ad3b6e8..000000000 --- a/workflow/engine/skins/iphone.php +++ /dev/null @@ -1,61 +0,0 @@ -. - * - * 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); -?> diff --git a/workflow/engine/skins/raw.html b/workflow/engine/skins/raw.html deleted file mode 100644 index 94f5ebc0d..000000000 --- a/workflow/engine/skins/raw.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - -
- - {php} - global $G_TEMPLATE; - if ($G_TEMPLATE != '') - { - G::LoadTemplate($G_TEMPLATE); - } - {/php} -
diff --git a/workflow/engine/skins/raw.php b/workflow/engine/skins/raw.php deleted file mode 100644 index 738d6cecd..000000000 --- a/workflow/engine/skins/raw.php +++ /dev/null @@ -1,24 +0,0 @@ -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'); diff --git a/workflow/engine/skins/rtl.cnf b/workflow/engine/skins/rtl.cnf deleted file mode 100644 index 85217cf14..000000000 --- a/workflow/engine/skins/rtl.cnf +++ /dev/null @@ -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;} \ No newline at end of file diff --git a/workflow/engine/skins/rtl.html b/workflow/engine/skins/rtl.html deleted file mode 100644 index 026cf9c6a..000000000 --- a/workflow/engine/skins/rtl.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - {$header} - - - - - - - - - - - - -
- - - - - - - - -
- -
- - {php}if ((int)$_SESSION['USER_LOGGED'] != 0) {{/php} - {$user} | - {php}echo G::LoadTranslation('ID_LOGOUT');{/php}{php}}{/php} -    
-
-
-
-
- - - - - - - - - - - -
- {php} - global $G_TEMPLATE; - if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE); - {/php} -
-
- -
- - \ No newline at end of file diff --git a/workflow/engine/skins/rtl.php b/workflow/engine/skins/rtl.php deleted file mode 100644 index e63c425ac..000000000 --- a/workflow/engine/skins/rtl.php +++ /dev/null @@ -1,91 +0,0 @@ -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 = " בית ספר
"; - } - - $freeOfChargeText = ""; - if ( !defined ( 'SKIP_FREE_OF_CHARGE_TEXT' ) ) - $freeOfChargeText = "Supplied free of charge with no support, certification, warranty,
maintenance nor indemnity by Colosa and its Certified Partners."; - $footer .= "
Copyright © 2003-" . date('Y') . " Colosa, Inc. All rights reserved.
$freeOfChargeText " - . "

"; - } - - //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'); - } diff --git a/workflow/engine/skins/tracker.html b/workflow/engine/skins/tracker.html deleted file mode 100644 index b63f7b46a..000000000 --- a/workflow/engine/skins/tracker.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - {$header} - - - - - - - - - - - - -
- - - - - - - - -
-
{php}if ((int)$_SESSION['CASE'] != 0) {{/php}{php}echo G::LoadTranslation('ID_LOGOUT');{/php}{php}}{/php}    
-
-
-
-
- - - - - - - - - - - -
- {php} - global $G_TEMPLATE; - if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE); - {/php} -
-
- -
- - \ No newline at end of file diff --git a/workflow/engine/skins/tracker.php b/workflow/engine/skins/tracker.php deleted file mode 100644 index b052f18ee..000000000 --- a/workflow/engine/skins/tracker.php +++ /dev/null @@ -1,75 +0,0 @@ -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 = "| System Information |
"; - } - $footer .= "
Copyright © 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'); - } -