BUG 5163 fixing ?php tags

in many files
This commit is contained in:
Fernando Ontiveros
2011-04-25 16:29:38 -04:00
parent a3ed0d2026
commit f10eece924
27 changed files with 52 additions and 1650 deletions

View File

@@ -1,122 +0,0 @@
<?
/**
* inc.JSForms.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.
*
*/
global $HTTP_SESSION_VARS;
global $G_FORM;
$path = '';
$showFieldAjax = 'showFieldAjax.php';
$serverAjax = G::encryptLink($path.$showFieldAjax);
?>
<script language="JavaScript">
function RefreshDependentFields(ObjectName, Fields, InitValue) {
<?
//global $G_FORM;
$HTTP_SESSION_VARS['INIT_VALUES'] = $G_FORM->Values;
global $HTTP_GET_VARS;
if ($HTTP_SESSION_VARS['CURRENT_APPLICATION'] == '') $HTTP_SESSION_VARS['CURRENT_APPLICATION'] = '0';
$appid = $HTTP_SESSION_VARS['CURRENT_APPLICATION'];
if ($HTTP_GET_VARS['dynaform'] != '')
$Dynaform = '&__dynaform__=' . $HTTP_GET_VARS['dynaform'];
if ($HTTP_GET_VARS['filename'] != '')
$Dynaform = '&__filename__=' . $HTTP_GET_VARS['filename'];
?>
if (getField)
TheObject = getField(ObjectName);
if (TheObject) {
Fields = Fields.split(',');
for (i=0; i<Fields.length; i++) {
DivObj = document.getElementById('FLD_' + Fields[i]);
FldObj = document.getElementById('form[' + Fields[i] + ']');
if(FldObj){
if(FldObj.type == 'text'){
refillText( Fields[i],'<?=$serverAjax?>', 'function=text&field=' + Fields[i] + '&parent=' + ObjectName + '&value=' + TheObject.value + '<?=$Dynaform?>'+ '&application=' + '<?=$appid?>'+ '&Dynaform=' + '<?=$Dynaform?>' );
}
if(FldObj.type == 'hidden'){
refillText( Fields[i],'<?=$serverAjax?>', 'function=text&field=' + Fields[i] + '&parent=' + ObjectName + '&value=' + TheObject.value + '<?=$Dynaform?>'+ '&application=' + '<?=$appid?>'+ '&Dynaform=' + '<?=$Dynaform?>' );
}
if(FldObj.type == 'select-one') {
refillDropdown( Fields[i],'<?=$serverAjax?>', 'function=dropdown&field=' + Fields[i] + '&parent=' + ObjectName + '&value=' + TheObject.value + '<?=$Dynaform?>'+ '&application=' + '<?=$appid?>'+ '&Dynaform=' + '<?=$Dynaform?>'+ '&InitValue=' + InitValue , InitValue);
}
}else{
if(DivObj)
refillCaption( Fields[i],'<?=$serverAjax?>', 'function=text&field=' + Fields[i] + '&parent=' + ObjectName + '&value=' + TheObject.value + '<?=$Dynaform?>'+ '&application=' + '<?=$appid?>'+ '&Dynaform=' + '<?=$Dynaform?>' );
}
}
}
<?
// }
?>
}
function registerDate ( field, options ) {
var opts = options.split(',');
var fieldName = 'form['+field+']';
var divName = 'DIV['+field+']';
Obj = getField( divName);
value = Obj.value;
myDatePicker = new Bs_DatePicker();
<?
global $G_DATE_FORMAT;
global $HTTP_SESSION_VARS;
$classfile = PATH_CORE . 'classes/class.user.php';
if(file_exists($classfile))
{
G::LoadClass('user');
$DateFormat = User::Get_User_Date_Format($HTTP_SESSION_VARS['USER_LOGGED']);
}
if ($DateFormat == '')
if (defined('DATE_FORMAT'))
$TheDateFormat = DATE_FORMAT;
else
$TheDateFormat = $G_DATE_FORMAT;
else
switch ($DateFormat) {
case 'en':
$TheDateFormat = 'us';
break;
case 'es':
$TheDateFormat = 'es';
break;
}
?>
myDatePicker.displayDateFormat = '<?=$TheDateFormat?>';
myDatePicker.fieldName = fieldName;
myDatePicker.loadSkin('win2k');
myDatePicker.daysNumChars = 2;
myDatePicker.setDateByIso( value);
myDatePicker.drawInto(divName);
}
</script>
<script language="JavaScript" src="/skins/JSForms.js"></script>

View File

@@ -1,91 +0,0 @@
<?
/**
* inc.ajax.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.
*
*/
define ('AJAX_PAGE', 1);
function get_ajax_value ( $varName ) {
$_result = '';
if(isset($_GET[ $varName ]) || isset($_POST[ $varName ])) {
$_result =(isset($_GET[ $varName ]))?$_GET[ $varName ]:$_POST[ $varName ];
}
//linea comentada porque cuando llegaba un valor cero, se convertia en la cadena nula
//y eso provocaba muchos problemas....
//$_result =(isset($_result) and !empty($_result)) ? $_result : "";
$_result =(isset($_result) ) ? $_result : NULL;
return $_result;
}
function ajax_show_xmlform ( $xmlform, $Fields, $template='xmlform') {
global $G_FORM;
$G_FORM = new Form;
G::LoadSystem("xmlform");
$xml = new XmlForm;
$xml->home = PATH_DYNAFORM;
$xml->parseFile ( $xmlform );
$xml->renderForm ($G_FORM);
$G_FORM->Values = $Fields;
$G_FORM->SetUp( '' ); //currently is not supported the action feature
$G_FORM->hideFormAction = 1; //to avoid the render of <form action='xxx' >
G::LoadTemplate( $template );
}
function ajax_show_menu ( $menu ) {
if ( $menu == '' ) return;
global $G_OP_MENU;
$G_OP_MENU = new Menu;
$G_OP_MENU->Load( $menu );
G::LoadTemplate( 'submenu' );
}
function ajax_show_template ( $file ) {
if ( $file == '' ) return;
G::LoadTemplate( $file );
}
function ajax_show_image ( $file ) {
global $G_IMAGE_FILENAME;
global $G_IMAGE_PARTS;
if ( $file == '' ) return;
$G_IMAGE_FILENAME = $file;
//$G_IMAGE_PARTS = $Part['Data'];
G::LoadTemplate( 'viewProcessMap' );
}
function ajax_show_table ( $dbc, $file , $template) {
global $G_CONTENT;
global $G_TABLE;
$G_CONTENT = new Content;
//global $G_TMP_TARGET;
if ( $file == '' || $template == '' ) return;
//$G_TMP_TARGET = $Part['Target'];
$G_TABLE = G::LoadRawTable( $file, $dbc, $Fields );
G::LoadTemplate( $template );
}
function ajax_LoadJavaScript( $phpMethod, $phpFile ) {
print ' LoadPopJavaScript ( "/sys' . SYS_SYS . '/' . SYS_LANG . '/' . SYS_SKIN . '/tools/loadJavaScript.html?method=' .$phpMethod . '&file=' . $phpFile . "\");\n";
}
?>

View File

@@ -1,21 +0,0 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/skins/styles/simple/style.css"/>
{$header}
</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>

View File

@@ -1,46 +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('header', $header );
//$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html' );
//$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html' );
$smarty->display('blank.html');
?>

View File

@@ -1,408 +0,0 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href='/skins/wf5/style.css' />
{$header}
</head>
<body >
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><table width='100%' cellpadding=3 cellspacing=0 border=0><tr>
<th background="http://tasks.colosa.net/style/dp-grey-theme/images/titlegrad.jpg" class="banner" align="left"><strong>
<a style='color: white' href='http://tasks.colosa.net/'>COLOSA Tasks</a> </strong></th>
<th align="right" width='50'><a href='http://www.dotproject.net/' ><img src="http://tasks.colosa.net/style/dp-grey-theme/images/dp_icon.gif" border=0></a></th>
</tr></table></td>
</tr>
<tr>
<td class="nav" align="left">
<table width="100%" cellpadding="3" cellspacing="0" width="100%">
<tr class="nav">
<td>
<a href="?m=companies">Companies</a> | <a href="?m=projects">Projects</a> | <a href="?m=tasks">Tasks</a> | <a href="?m=calendar">Calendar</a> | <a href="?m=files">Files</a> | <a href="?m=contacts">Contacts</a> | <a href="?m=forums">Forums</a> | <a href="?m=ticketsmith">Tickets</a> | <a href="?m=history">History</a> | <a href="?m=risks">Risks^</a>
</td>
<form name="frm_new" method=GET action="./index.php">
<td nowrap="nowrap" align="right">
<select name="m" style="font-size:10px" onChange="f=document.frm_new;mod=f.m.options[f.m.selectedIndex].value;if(mod) f.submit();">
<option value="" selected="selected">- New Item -</option>
<option value="contacts">Contact</option>
<option value="calendar">Event</option>
<option value="files">File</option>
</select>
<input type="hidden" name="a" value="addedit" />
</td>
</form>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="3" border="0" width="100%">
<tr>
<td width="100%">Welcome Fernando Ontiveros</td>
<td nowrap="nowrap">
<a href="#" onClick="javascript:window.open('?m=help&dialog=1&hid=', 'contexthelp', 'width=400, height=400, left=50, top=50, scrollbars=yes, resizable=yes')">Help</a> |
<a href="./index.php?m=admin&a=viewuser&user_id=13">My Info</a> |
<b><a href="./index.php?m=tasks&a=todo">Todo</a></b> |
<a href="./index.php?m=calendar&a=day_view&date=20070419">Today</a> |
<a href="./index.php?logout=-1">Logout</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="4" border="0">
<tr>
<td valign="top" align="left" width="98%">
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td width="42"><img src='http://tasks.colosa.net/modules/calendar/images/myevo-appointments.png' align='center' border='0'></td>
<td align="left" width="100%" nowrap="nowrap"><h1>Day View</h1></td>
<form action="?m=calendar&a=addedit&date=20070419" method="post">
<td align="right" nowrap="nowrap">
<input type="submit" class="button" value="new event">
</td>
</form><td nowrap="nowrap" width="20" align="right">
<a href="#calendar.day_view" onClick="javascript:window.open('?m=help&dialog=1&hid=calendar.day_view', 'contexthelp', 'width=400, height=400, left=50, top=50, scrollbars=yes, resizable=yes')" title="Help">
<img src='http://tasks.colosa.net/images/icons/stock_help-16.png' align='center' width='16' height='16' alt='Help' border='0'>
</a>
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="4">
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>
<table width="100%" border="0" cellpadding="1" cellspacing="0">
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="tbl">
<td colspan="9" align="center" height="30">
</td>
<td colspan="3" align="center">
</td>
</table>
<table>
<tr>
<td>Key:</td>
<td>&nbsp; &nbsp;</td>
<td bgcolor="#ffffff">&nbsp; &nbsp;</td>
<td>=Future Task</td>
<td>&nbsp; &nbsp;</td>
<td bgcolor="#CCECAC">&nbsp; &nbsp;</td>
<td>=Started and on time</td>
<td bgcolor="#FFDD88">&nbsp; &nbsp;</td>
<td>=Should have started</td>
<td>&nbsp; &nbsp;</td>
<td bgcolor="#CC6666">&nbsp; &nbsp;</td>
<td>=Overdue</td>
</tr>
</table>
</td></tr></table> </td>
<td valign="top" width="175">
<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td align="center" >
<table border="0" cellspacing="0" cellpadding="3" width="100%" class="minititle">
<tr>
<th width="99%" align="center"><a href="index.php?m=calendar&date=20070301">March 2007</th>
</tr>
</table><table border="0" cellspacing="1" cellpadding="2" width="100%" class="minical">
<tr>
<th width="14%">Sun</th>
<th width="14%">Mon</th>
<th width="14%">Tue</th>
<th width="14%">Wed</th>
<th width="14%">Thu</th>
<th width="14%">Fri</th>
<th width="14%">Sat</th>
</tr>
<tr>
<td class="empty">
</td>
<td class="empty">
</td>
<td class="empty">
</td>
<td class="empty">
</td>
<td class="day"><a href="javascript:clickDay('20070301','03/01/2007')" class="day">1</a>
</td>
<td class="day"><a href="javascript:clickDay('20070302','03/02/2007')" class="day">2</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070303','03/03/2007')" class="weekend">3</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070304','03/04/2007')" class="weekend">4</a>
</td>
<td class="day"><a href="javascript:clickDay('20070305','03/05/2007')" class="day">5</a>
</td>
<td class="day"><a href="javascript:clickDay('20070306','03/06/2007')" class="day">6</a>
</td>
<td class="day"><a href="javascript:clickDay('20070307','03/07/2007')" class="day">7</a>
</td>
<td class="day"><a href="javascript:clickDay('20070308','03/08/2007')" class="day">8</a>
</td>
<td class="day"><a href="javascript:clickDay('20070309','03/09/2007')" class="day">9</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070310','03/10/2007')" class="weekend">10</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070311','03/11/2007')" class="weekend">11</a>
</td>
<td class="day"><a href="javascript:clickDay('20070312','03/12/2007')" class="day">12</a>
</td>
<td class="day"><a href="javascript:clickDay('20070313','03/13/2007')" class="day">13</a>
</td>
<td class="day"><a href="javascript:clickDay('20070314','03/14/2007')" class="day">14</a>
</td>
<td class="day"><a href="javascript:clickDay('20070315','03/15/2007')" class="day">15</a>
</td>
<td class="day"><a href="javascript:clickDay('20070316','03/16/2007')" class="day">16</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070317','03/17/2007')" class="weekend">17</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070318','03/18/2007')" class="weekend">18</a>
</td>
<td class="day"><a href="javascript:clickDay('20070319','03/19/2007')" class="day">19</a>
</td>
<td class="day"><a href="javascript:clickDay('20070320','03/20/2007')" class="day">20</a>
</td>
<td class="day"><a href="javascript:clickDay('20070321','03/21/2007')" class="day">21</a>
</td>
<td class="day"><a href="javascript:clickDay('20070322','03/22/2007')" class="day">22</a>
</td>
<td class="day"><a href="javascript:clickDay('20070323','03/23/2007')" class="day">23</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070324','03/24/2007')" class="weekend">24</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070325','03/25/2007')" class="weekend">25</a>
</td>
<td class="day"><a href="javascript:clickDay('20070326','03/26/2007')" class="day">26</a>
</td>
<td class="day"><a href="javascript:clickDay('20070327','03/27/2007')" class="day">27</a>
</td>
<td class="day"><a href="javascript:clickDay('20070328','03/28/2007')" class="day">28</a>
</td>
<td class="day"><a href="javascript:clickDay('20070329','03/29/2007')" class="day">29</a>
</td>
<td class="day"><a href="javascript:clickDay('20070330','03/30/2007')" class="day">30</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070331','03/31/2007')" class="weekend">31</a>
</td>
</tr></table>
</td></tr></table><hr noshade size="1"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td align="center" >
<table border="0" cellspacing="0" cellpadding="3" width="100%" class="minititle">
<tr>
<th width="99%" align="center"><a href="index.php?m=calendar&date=20070401">April 2007</th>
</tr>
</table><table border="0" cellspacing="1" cellpadding="2" width="100%" class="minical">
<tr>
<th width="14%">Sun</th>
<th width="14%">Mon</th>
<th width="14%">Tue</th>
<th width="14%">Wed</th>
<th width="14%">Thu</th>
<th width="14%">Fri</th>
<th width="14%">Sat</th>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070401','04/01/2007')" class="weekend">1</a>
</td>
<td class="day"><a href="javascript:clickDay('20070402','04/02/2007')" class="day">2</a>
</td>
<td class="day"><a href="javascript:clickDay('20070403','04/03/2007')" class="day">3</a>
</td>
<td class="day"><a href="javascript:clickDay('20070404','04/04/2007')" class="day">4</a>
</td>
<td class="day"><a href="javascript:clickDay('20070405','04/05/2007')" class="day">5</a>
</td>
<td class="day"><a href="javascript:clickDay('20070406','04/06/2007')" class="day">6</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070407','04/07/2007')" class="weekend">7</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070408','04/08/2007')" class="weekend">8</a>
</td>
<td class="day"><a href="javascript:clickDay('20070409','04/09/2007')" class="day">9</a>
</td>
<td class="day"><a href="javascript:clickDay('20070410','04/10/2007')" class="day">10</a>
</td>
<td class="day"><a href="javascript:clickDay('20070411','04/11/2007')" class="day">11</a>
</td>
<td class="day"><a href="javascript:clickDay('20070412','04/12/2007')" class="day">12</a>
</td>
<td class="day"><a href="javascript:clickDay('20070413','04/13/2007')" class="day">13</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070414','04/14/2007')" class="weekend">14</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070415','04/15/2007')" class="weekend">15</a>
</td>
<td class="day"><a href="javascript:clickDay('20070416','04/16/2007')" class="day">16</a>
</td>
<td class="day"><a href="javascript:clickDay('20070417','04/17/2007')" class="day">17</a>
</td>
<td class="day"><a href="javascript:clickDay('20070418','04/18/2007')" class="day">18</a>
</td>
<td class="today"><a href="javascript:clickDay('20070419','04/19/2007')" class="today">19</a>
</td>
<td class="day"><a href="javascript:clickDay('20070420','04/20/2007')" class="day">20</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070421','04/21/2007')" class="weekend">21</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070422','04/22/2007')" class="weekend">22</a>
</td>
<td class="day"><a href="javascript:clickDay('20070423','04/23/2007')" class="day">23</a>
</td>
<td class="day"><a href="javascript:clickDay('20070424','04/24/2007')" class="day">24</a>
</td>
<td class="day"><a href="javascript:clickDay('20070425','04/25/2007')" class="day">25</a>
</td>
<td class="day"><a href="javascript:clickDay('20070426','04/26/2007')" class="day">26</a>
</td>
<td class="day"><a href="javascript:clickDay('20070427','04/27/2007')" class="day">27</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070428','04/28/2007')" class="weekend">28</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070429','04/29/2007')" class="weekend">29</a>
</td>
<td class="day"><a href="javascript:clickDay('20070430','04/30/2007')" class="day">30</a>
</td>
<td class="empty">
</td>
<td class="empty">
</td>
<td class="empty">
</td>
<td class="empty">
</td>
<td class="empty">
</td>
</tr></table>
</td></tr></table><hr noshade size="1"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td align="center" >
<table border="0" cellspacing="0" cellpadding="3" width="100%" class="minititle">
<tr>
<th width="99%" align="center"><a href="index.php?m=calendar&date=20070501">May 2007</th>
</tr>
</table><table border="0" cellspacing="1" cellpadding="2" width="100%" class="minical">
<tr>
<th width="14%">Sun</th>
<th width="14%">Mon</th>
<th width="14%">Tue</th>
<th width="14%">Wed</th>
<th width="14%">Thu</th>
<th width="14%">Fri</th>
<th width="14%">Sat</th>
</tr>
<tr>
<td class="empty">
</td>
<td class="empty">
</td>
<td class="day"><a href="javascript:clickDay('20070501','05/01/2007')" class="day">1</a>
</td>
<td class="day"><a href="javascript:clickDay('20070502','05/02/2007')" class="day">2</a>
</td>
<td class="day"><a href="javascript:clickDay('20070503','05/03/2007')" class="day">3</a>
</td>
<td class="day"><a href="javascript:clickDay('20070504','05/04/2007')" class="day">4</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070505','05/05/2007')" class="weekend">5</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070506','05/06/2007')" class="weekend">6</a>
</td>
<td class="day"><a href="javascript:clickDay('20070507','05/07/2007')" class="day">7</a>
</td>
<td class="day"><a href="javascript:clickDay('20070508','05/08/2007')" class="day">8</a>
</td>
<td class="day"><a href="javascript:clickDay('20070509','05/09/2007')" class="day">9</a>
</td>
<td class="day"><a href="javascript:clickDay('20070510','05/10/2007')" class="day">10</a>
</td>
<td class="day"><a href="javascript:clickDay('20070511','05/11/2007')" class="day">11</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070512','05/12/2007')" class="weekend">12</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070513','05/13/2007')" class="weekend">13</a>
</td>
<td class="day"><a href="javascript:clickDay('20070514','05/14/2007')" class="day">14</a>
</td>
<td class="day"><a href="javascript:clickDay('20070515','05/15/2007')" class="day">15</a>
</td>
<td class="day"><a href="javascript:clickDay('20070516','05/16/2007')" class="day">16</a>
</td>
<td class="day"><a href="javascript:clickDay('20070517','05/17/2007')" class="day">17</a>
</td>
<td class="day"><a href="javascript:clickDay('20070518','05/18/2007')" class="day">18</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070519','05/19/2007')" class="weekend">19</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070520','05/20/2007')" class="weekend">20</a>
</td>
<td class="day"><a href="javascript:clickDay('20070521','05/21/2007')" class="day">21</a>
</td>
<td class="day"><a href="javascript:clickDay('20070522','05/22/2007')" class="day">22</a>
</td>
<td class="day"><a href="javascript:clickDay('20070523','05/23/2007')" class="day">23</a>
</td>
<td class="day"><a href="javascript:clickDay('20070524','05/24/2007')" class="day">24</a>
</td>
<td class="day"><a href="javascript:clickDay('20070525','05/25/2007')" class="day">25</a>
</td>
<td class="weekend"><a href="javascript:clickDay('20070526','05/26/2007')" class="weekend">26</a>
</td>
</tr>
<tr>
<td class="weekend"><a href="javascript:clickDay('20070527','05/27/2007')" class="weekend">27</a>
</td>
<td class="day"><a href="javascript:clickDay('20070528','05/28/2007')" class="day">28</a>
</td>
<td class="day"><a href="javascript:clickDay('20070529','05/29/2007')" class="day">29</a>
</td>
<td class="day"><a href="javascript:clickDay('20070530','05/30/2007')" class="day">30</a>
</td>
<td class="day"><a href="javascript:clickDay('20070531','05/31/2007')" class="day">31</a>
</td>
<td class="empty">
</td>
<td class="empty">
</td>
</tr></table>
</td></tr></table> {php}
global $G_TEMPLATE;
if( $G_TEMPLATE != "" ) G::LoadTemplate($G_TEMPLATE);
{/php}
</td>
</tr>
</table>
</tr>
</table>
</body>
</html>

View File

@@ -1,53 +0,0 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/skins/styles/simple/style.css"/>
{$header}
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#999999" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" rightmargin="0">
<table background="/skins/wf/topBackgr.jpg" width="100%" height="32" border="0" cellspacing="0" cellpadding="0">
<td width="50%" rowspan="2" height="32" valign="top"><img src="/skins/wf/test.gif" width="125" ><font color=white><? /*acá iba el nombre*/ ?></font></td>
<td width="50%" height="16" valign="top" >
<div align="right" class="title"><small><? /*= PEAR_DATABASE*/ ?></small> &nbsp; &nbsp;</div>
</td>
</tr>
<tr>
<td width="50%" height="16" valign="bottom" class="title">
<div align="right"><? //aca iba el título ?></div>
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" class="Tab" style="border-top: 2px groove #777777;">
<table width="70%" cellpadding="0" cellspacing="0" border="0">
<tr>
{include file= "$tpl_menu"}
</tr>
</table>
</td>
</tr>
<!--.-->
<tr class="subMenu">
<td width="100%" align="center">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
{include file= "$tpl_submenu"}
</tr>
</table>
</td>
</tr>
<!--.-->
<tr>
<td width="100%" align="center">
{php}
global $G_TEMPLATE;
if ($G_TEMPLATE != '')
{
G::LoadTemplate($G_TEMPLATE);
}
{/php}
</td>
</tr>
</table>
</body>
</html>

View File

@@ -1,46 +0,0 @@
<?
/**
* styles.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('header', $header );
$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html' );
$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html' );
$smarty->display('styles.html');
?>

View File

@@ -1,188 +0,0 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/skins/styles/simple/style.css"/>
{$header}
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#999999" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" rightmargin="0">
<table background="/skins/wf/topBackgr.jpg" width="100%" height="48" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" rowspan="2" height="48" valign="top"><img src="/skins/wf/test.gif" width="125" height="48"><font color=white><? /*acá iba el nombre*/ ?></font></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="100%" align="center">
<table width="70%" cellpadding="0" cellspacing="0" border="0">
<tr>
{php}
global $G_MAIN_MENU;
global $G_MENU_SELECTED;
global $G_ID_MENU_SELECTED;
$externalInitiation = (isset($_SESSION['EXTERNAL_INITIATION_TYPE']) ? $_SESSION['EXTERNAL_INITIATION_TYPE'] : '');
if ($externalInitiation != 'PLATAFORM')
{
if ($G_MAIN_MENU != '')
{
$G_MENU = new Menu;
$G_MENU->Load($G_MAIN_MENU);
$G_MENU->optionOn = $G_MENU_SELECTED;
$G_MENU->id_optionOn = $G_ID_MENU_SELECTED;
$G_MENU->Class = 'mnu';
if (is_array($G_MENU->Options))
{
for ($ncount = 0; $ncount < $G_MENU->OptionCount(); $ncount++)
{
$target = $G_MENU->Options[$ncount];
if ($G_MENU->Types[$ncount] == 'absolute')
{
$target = G::encryptLink(str_replace('sys' . SYS_TEMP, SYS_TEMP, $G_MENU->Options[$ncount]));
}
if ($G_MENU->Types[$ncount] != 'absolute')
{
if (defined('SYS_SYS'))
{
$target = '/sys' . SYS_TEMP . G::encryptLink('/' . SYS_LANG . '/' . SYS_SKIN . '/' . $G_MENU->Options[$ncount]);
}
else
{
$target = '/sys/' . G::encryptLink(SYS_LANG . '/' . SYS_SKIN . '/' . $G_MENU->Options[$ncount]);
}
}
$label = $G_MENU->Labels[$ncount];
if ($G_MENU->id_optionOn != '')
{
$onMenu = ($G_MENU->Id[$ncount] == $G_MENU->id_optionOn ? true : false);
}
else
{
$onMenu = ($ncount == $G_MENU->optionOn ? true : false);
}
$classname = ($onMenu ? 'SelectedTab' : 'Tab');
if ( $G_MENU->Classes[$ncount] != '')
{
$classname = $G_MENU->Classes[$ncount];
}
if ($onMenu)
{
{/php}
<td width="8%" height="23" align="center" valign="middle" nowrap="nowrap" class="{php}echo $classname;{/php}">
<a href="{php}echo $target;{/php}" class="{php}echo $classname;{/php}">&nbsp;&nbsp;<b>{php}echo strtoupper($label);{/php}<b>&nbsp;&nbsp;</a>
</td>
{php}
}
else
{
{/php}
<td width="8%" height="23" align="center" valign="middle" nowrap="nowrap" class="{php}echo $classname;{/php}">
<a href="{php}echo $target;{/php}" class="{php}echo $classname;{/php}">&nbsp;&nbsp;{php}echo strtoupper($label);{/php}&nbsp;&nbsp;</a>
</td>
{php}
}
}
}
}
}
{/php}
</tr>
</table>
</td>
</tr>
<!--.-->
<tr>
<td width="100%" align="center">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
{php}
global $G_SUB_MENU;
global $G_MENU_SELECTED;
global $G_ID_MENU_SELECTED;
global $G_SUB_MENU_SELECTED;
global $G_ID_SUB_MENU_SELECTED;
$externalInitiation = (isset($_SESSION['EXTERNAL_INITIATION_TYPE']) ? $_SESSION['EXTERNAL_INITIATION_TYPE'] : '');
if ($externalInitiation != 'PLATAFORM')
{
if ($G_SUB_MENU != '')
{
$G_MENU = new Menu;
$G_MENU->Load($G_SUB_MENU);
$G_MENU->optionOn = $G_SUB_MENU_SELECTED;
$G_MENU->id_optionOn = $G_ID_SUB_MENU_SELECTED;
$G_MENU->Class = 'subMnu';
if (is_array($G_MENU->Options))
{
for ($ncount = 0; $ncount < $G_MENU->OptionCount(); $ncount++)
{
$target = $G_MENU->Options[$ncount];
if ($G_MENU->Types[$ncount] == 'absolute')
{
$target = G::encryptLink(str_replace('sys' . SYS_TEMP, SYS_TEMP, $G_MENU->Options[$ncount]));
}
if ($G_MENU->Types[$ncount] != 'absolute')
{
if (defined('SYS_SYS'))
{
$target = '/sys' . SYS_TEMP . G::encryptLink('/' . SYS_LANG . '/' . SYS_SKIN . '/' . $G_MENU->Options[$ncount]);
}
else
{
$target = '/sys/' . G::encryptLink(SYS_LANG . '/' . SYS_SKIN . '/' . $G_MENU->Options[$ncount]);
}
}
$label = $G_MENU->Labels[$ncount];
if ($G_MENU->id_optionOn != '')
{
$onMenu = ($G_MENU->Id[$ncount] == $G_MENU->id_optionOn ? true : false);
}
else
{
$onMenu = ($ncount == $G_MENU->optionOn ? true : false);
}
$classname = ($onMenu ? 'selectedSubMenu' : 'subMenu');
if ( $G_MENU->Classes[$ncount] != '')
{
$classname = $G_MENU->Classes[$ncount];
}
if ($onMenu)
{
{/php}
<td height="23" align="center" valign="middle" nowrap="nowrap" class="{php}echo $classname;{/php}">
<a href="{php}echo $target;{/php}" class="{php}echo $classname;{/php}">&nbsp;&nbsp;<b>{php}echo strtoupper($label);{/php}<b>&nbsp;&nbsp;</a>
</td>
{php}
}
else
{
{/php}
<td height="23" align="center" valign="middle" nowrap="nowrap" class="{php}echo $classname;{/php}">
<a href="{php}echo $target;{/php}" class="{php}echo $classname;{/php}">&nbsp;&nbsp;{php}echo strtoupper($label);{/php}&nbsp;&nbsp;</a>
</td>
{php}
}
if (($ncount + 1) < $G_MENU->OptionCount())
{
print '<td align="left" class="pipeWhite">|</td>';
}
}
}
}
}
{/php}
</tr>
</table>
</td>
</tr>
<!--.-->
<tr>
<td width="100%" align="center">
{php}
global $G_TEMPLATE;
if ($G_TEMPLATE != '')
{
G::LoadTemplate($G_TEMPLATE);
}
{/php}
</td>
</tr>
</table>
</body>
</html>

View File

@@ -1,170 +0,0 @@
<?php
/**
* wf.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.
*
*/
global $HTTP_SESSION_VARS;
global $G_MENU_SELECTED;
global $G_MAIN_MENU;
global $G_SUB_MENU;
global $G_MENU;
global $G_TEMPLATE;
global $SYS_COLLECTION;
global $SYS_TARGET;
global $CURRENT_PAGE;
G::LoadInclude ( 'ajax');
G::LoadInclude ( 'JSForms');
?>
<html>
<head>
<title><?php if ( $HTTP_SESSION_VARS['USER_NAME'] != "") print " (" .$HTTP_SESSION_VARS['USER_NAME'] . ")" ?></title>
<meta http-equiv="PRAGMA" content="NO-CACHE" />
<meta http-equiv="CACHE-CONTROL" content="NO-STORE" />
<link rel="stylesheet" type="text/css" href="/skins/wf/general.css" />
<script src="/skins/valida.js" type="text/javascript"></script>
<script src="/skins/ajax.js" type="text/javascript"></script>
<script src="/skins/JSForms.js" type="text/javascript"></script>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#999999" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" rightmargin="0">
<table background="/skins/wf/topBackgr.jpg" width="100%" height="48" border="0" cellspacing="0" cellpadding="0">
<td width="50%" rowspan="2" height="48" valign="top"><img src="/skins/wf/test.gif" width="125" height="48"><font color=white><? /*ac<61> iba el nombre*/ ?></font></td>
<td width="50%" height="24" valign="top" >
<div align="right" class="title"><small><? /*= PEAR_DATABASE*/ ?></small> &nbsp; &nbsp;</div>
</td>
</tr>
<tr>
<td width="50%" height="24" valign="bottom" class="title">
<div align="right"><? //aca iba el t<>tulo ?></div>
</td>
</tr>
</table>
<?php
$pageSplit = explode ( '/', $CURRENT_PAGE );
$path = '/' .$pageSplit[1] . '/' .$pageSplit[2] . '/'.$pageSplit[3] . '/';
if( $G_MAIN_MENU != "" ) {
$G_MENU = new Menu;
$G_MENU->optionOn = $G_MENU_SELECTED;
$G_MENU->Load( $G_MAIN_MENU );
$G_MENU->Class = "mnu";
if( is_array( $G_MENU->Options ) ) {
print "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
print "<tr>";
print "<td height='26' width='50' class='mnuOff'><img src='/skins/wf/spacer.gif' width='5' height='1'></td>";
for( $ncount = 0 ; $ncount < $G_MENU->OptionCount() ; $ncount++ ) {
$OnOff = ($ncount==$G_MENU->optionOn ? "mnuOn": "mnuOff" );
$target = $path . $G_MENU->Options[$ncount];
$label = $G_MENU->Labels[ $ncount];
//si es un url ABSOLUTO
if( $G_MENU->Types[$ncount] == "absolute" ) {
if (defined('ENABLE_ENCRYPT')) {
$target = str_replace ( 'sys' . SYS_SYS , SYS_SYS , $G_MENU->Options[$ncount] );
$target = G::encryptUrlAbsolute ( $target , URL_KEY );
}
else
$target = $path . $G_MENU->Options[$ncount];
}
print "<td class=\"$OnOff\" height='26'><a href=\"$target\" class='mnuLink'> $label </a> " . "</td>";
}
print "<td class='mnuOff' height='26' width='50'><img src='/skins/wf/spacer.gif' width='50' height='1'></td>";
print "</tr>";
print "</table>";
}
}
if( $G_SUB_MENU != "" ) {
$G_MENU = new Menu;
$G_MENU->Load( $G_SUB_MENU );
$G_MENU->Class = "subMnu";
if( is_array( $G_MENU->Options ) ) {
print "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td height='20'><div align='center'>";
for( $ncount = 0 ; $ncount < $G_MENU->OptionCount() ; $ncount++ ) {
$target = $path . $G_MENU->Options[$ncount];
$label = $G_MENU->Labels[ $ncount];
//si es un url ABSOLUTO
if( $G_MENU->Types[$ncount] == "absolute" ) {
if (defined('ENABLE_ENCRYPT')) {
$target = str_replace ( 'sys' . SYS_SYS , SYS_SYS , $G_MENU->Options[$ncount] );
$target = G::encryptUrlAbsolute ( $target , URL_KEY );
}
else
$target = $path . $G_MENU->Options[$ncount];
}
print "<a href=\"$target\" class='subMnuLink'> $label </a>&nbsp;&nbsp;&nbsp;";
//$G_MENU->RenderOption( $ncount ); print "&nbsp;&nbsp;&nbsp;";
}
print "</td></tr></table>";
}
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="/skins/wf/menuShadow.gif" height="10" colspan="8"><img src="/skins/wf/spacer.gif" width="1" height="10"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<?php
global $HTTP_SESSION_VARS;
if (!isset($HTTP_SESSION_VARS['G_MESSAGE']))
{
$HTTP_SESSION_VARS['G_MESSAGE'] = '';
}
if (!isset($HTTP_SESSION_VARS['G_MESSAGE_TYPE']))
{
$HTTP_SESSION_VARS['G_MESSAGE_TYPE'] = '';
}
$msg = $HTTP_SESSION_VARS['G_MESSAGE'];
$msgType = $HTTP_SESSION_VARS['G_MESSAGE_TYPE'];
session_unregister ('G_MESSAGE');
session_unregister ('G_MESSAGE_TYPE');
if( $msg != "" ) {
$clase = "";
if ($msgType=="error") $clase= "Rojo";
if ($msgType=="info") $clase= "Azul";
if ($msgType=="question") $clase= "Verde";
?>
<tr>
<td align="center">
<br>
<table><tr><td class="sendMsg<?= $clase?>"><?= $msg ?></td></tr></table>
</td>
</tr>
<? } ?>
<tr>
<td align="center">
<?php if( $G_TEMPLATE != "" ) G::LoadTemplate($G_TEMPLATE); ?>
</td>
</tr>
<tr>
<td height="25" class="footerNotice">Copyright &copy; 2002 <a href="http://www.colosa.com" class="smallLink" target="_new">www.colosa.com</a>.
All rights reserved.
<br>
<center class='subtitle'><small><?= SYS_SYS ?></small></center>
</td>
</tr>
</table>
<div id=dummy style="top:0;position:relative;visibility:hidden;">.</div>
</body>
</html>

View File

@@ -1,45 +0,0 @@
<?
/**
* wf5.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 ( '/tmp/smarty/c', true );
G::verifyPath ( '/tmp/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 = '/tmp/smarty/c'; //'/web/www.domain.com/smarty/templates_c';
$smarty->cache_dir = '/tmp/smarty/cache'; //web/www.domain.com/smarty/cache';
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
$smarty->caching = false;
$oHeadPublisher =& headPublisher::getSingleton();
if (isset($oHeadPublisher)) $header = $oHeadPublisher->printHeader();
$smarty->assign('header', $header );
$smarty->display('index.html');
?>

View File

@@ -1,66 +0,0 @@
<?
/**
* testAuthenticationUser.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.
*
*/
$strPass = $_POST['form'][PASS];
if ( $strPass == '' )
return;
$userId = $_SESSION['CURRENT_USER'];
$tpl = new TemplatePower( PATH_TPL . 'testAuthenticationSource.html' );
$tpl->prepare();
$tpl->assign( "STYLE_CSS" , STYLE_CSS );
$tpl->assign( "title" , $G_TABLE->title );
$curAuthSource = $HTTP_SESSION_VARS['CURRENT_AUTH_SOURCE'];
$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME );
//Class user
G::LoadClassRBAC ("user");
$user = new RBAC_User;
$user->SetTo ($dbc);
$user->Load ($userId);
//crear nueva authentication source
G::LoadClassRBAC ('authentication');
$obj = new authenticationSource;
$obj->SetTo( $dbc );
$res = $obj->verifyPassword ( $userId, $user->Fields['USR_LDAP_DN'] , $strPass, $user->Fields['USR_LDAP_SOURCE'] );
//print "<textarea rows=10 cols=60>"; print_r ($obj->vlog );
//print "</textarea >";
foreach ( $obj->vlog as $line ) {
if ( stristr ($line, 'error' ) !== false ) $line = "<font color='Red'>" . $line . '</font>';
if ( stristr ($line, 'sucess' ) !== false ) $line = "<font color='Green'>" . $line . '</font>';
$tpl->newBlock( "lines" );
$tpl->assign( "text" , $line );
}
$tpl->gotoBlock( "_ROOT" );
$tpl->printToScreen();
?>

View File

@@ -1,170 +0,0 @@
<?php
/**
* treePerm.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.
*
*/
global $G_TABLE;
global $G_CONTENT;
global $collapsed;
global $URI_VARS;
global $dbc;
global $ses;
global $pathViewChart;
global $appid;
global $canCreatePerm;
$appid = $_SESSION['CURRENT_APPLICATION'];
$pathViewChart = "";
$nodo = isset($_GET['UID'])?$_GET['UID']:'';
if ($nodo == "") $pathViewChart = "";
if ( ! session_is_registered ("CHART_COLLAPSED") ) $_SESSION['CHART_COLLAPSED'] = Array ();
$collapsed = $_SESSION['CHART_COLLAPSED'];
if ( in_array ( $nodo, $collapsed) )
$collapsed [ array_search ($nodo, $collapsed) ] = NULL;
else
array_push ( $collapsed, $nodo);
$_SESSION['CHART_COLLAPSED'] = $collapsed;
//Obtener nombre de la applicacion
$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME );
G::LoadClassRBAC ('applications');
$obj = new RBAC_Application;
$obj->SetTo ($dbc);
$obj->Load ($appid);
$_SESSION['STR_APP'] = $obj->Fields['APP_CODE'];;
$appCode = G::LoadMessage (12);
print "<center class='subtitle'>$appCode</center>";
$ses = new DBSession;
$ses->SetTo ($dbc);
function showLevel ( $i, $label1, $texto1, $texto2, $uid) {
global $pathViewChart;
global $collapsed;
global $appid;
global $dbc;
global $canCreatePerm;
$ses = new DBSession;
$ses->SetTo ($dbc);
$MAX_LEVEL = 10;
$sql = "SELECT count(*) as CANT from PERMISSION WHERE PRM_APPLICATION = $appid AND PRM_PARENT = $uid ";
$dset = $ses->Execute($sql);
$row2 = $dset->Read();
$icon = "browse";
if ($row2['CANT'] > 0 ) $icon = "minus";
if ( in_array ( $uid, $collapsed) ) $icon = "plus";
$link = "<img src='/images/$icon.gif' border='0'>";
if ($icon != "browse" )
$link = "<a href='" . $pathViewChart ."permList?UID=$uid'><img src='/images/$icon.gif' border=0></a>";
print "<tr height=22 valign=top>";
for ( $j = 1; $j <= $i; $j ++)
print "<td background='/images/ftv2vertline.gif'></td>";
print "<td valign=center>" . $link . "</td>";
print "<td valign=center colspan = '" . ($MAX_LEVEL - $i) . "'>&nbsp; <small>";
if ($canCreatePerm==1)
print "<a href='" . $pathViewChart . "permEdit?UID=" . $uid . "'>$texto1" ;
else
print "<b>$texto1</b>";
if ($canCreatePerm==1) print "</a>";
print " " . $texto2 . "</small> ";
if ($canCreatePerm==1) {
print "<a href='" . $pathViewChart . "permNew?UID=" . $uid . "' ><img src='/images/form.gif' border=0></a> ";
if ($icon == "browse" )
print "<a href='" . $pathViewChart . "permDel?UID=" . $uid . "' ><img src='/images/trash.gif' border=0></a>";
}
print "</td>";
print "</tr>";
}
function walkLevel ( $level, $label, $parent ) {
global $collapsed;
global $appid;
global $dbc;
$ses = new DBSession;
$ses->SetTo ($dbc);
$sql = "SELECT UID, PRM_CODE, PRM_DESCRIPTION from PERMISSION WHERE PRM_APPLICATION = $appid AND PRM_PARENT = " . $parent ;
$dset = $ses->Execute($sql);
$row = $dset->Read();
$c = 1;
while ( is_array ($row) ) {
if ($label === "*" )
{ $label = ""; $locLabel = $c; }
else
$locLabel = $label . "." . $c;
showLevel ( $level , $locLabel, $row['PRM_CODE'], $row['PRM_DESCRIPTION'], $row['UID'] );
if ( ! in_array ( $row['UID'], $collapsed) )
walkLevel ( $level + 1, $locLabel, $row['UID']);
$c++;
$row = $dset->Read();
}
}
?>
<table width=100% border=0>
<tr>
<td align="justify"><? /*$G_CONTENT->Output ("body.header");*/ ?></td>
</tr>
<tr>
<td align="center">
<table border=0 width=650 cellspacing=0 cellpadding=0>
<tr>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=506></td>
</tr>
<?php
walkLevel (0, "*", 0);
?>
</table>
</td>
</tr>
</table>

View File

@@ -1,172 +0,0 @@
<?php
/**
* treeRole.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.
*
*/
global $G_TABLE;
global $G_CONTENT;
global $collapsed;
global $URI_VARS;
global $dbc;
global $ses;
global $pathViewChart;
global $appid;
$appid = $_SESSION['CURRENT_APPLICATION'];
$pathViewChart = "";
$nodo = isset($_GET[0])?$_GET[0]:'';
if ( ! session_is_registered ("CHART_COLLAPSED") ) $_SESSION['CHART_COLLAPSED'] = Array ();
$collapsed = $_SESSION['CHART_COLLAPSED'];
if ( in_array ( $nodo, $collapsed) )
$collapsed [ array_search ($nodo, $collapsed) ] = NULL;
else
array_push ( $collapsed, $nodo);
$_SESSION['CHART_COLLAPSED'] = $collapsed;
//Obtener nombre de la applicacion
$dbc = new DBConnection(DB_HOST, DB_RBAC_USER, DB_RBAC_PASS, DB_RBAC_NAME );
G::LoadClassRBAC ('applications');
$obj = new RBAC_Application;
$obj->SetTo ($dbc);
$obj->Load ($appid);
$_SESSION['STR_APP'] = $obj->Fields['APP_CODE'];;
$appCode = G::LoadMessage (11);
print "<center class='subtitle'>$appCode</center>";
$ses = new DBSession;
$ses->SetTo ($dbc);
function showLevel ( $i, $label1, $texto1, $texto2, $uid) {
global $pathViewChart;
global $collapsed;
global $appid;
global $dbc;
global $canCreateRole;
$MAX_LEVEL = 10;
$ses = new DBSession;
$ses->SetTo ($dbc);
$sql = "SELECT count(*) as CANT from ROLE WHERE ROL_APPLICATION = $appid AND ROL_PARENT = $uid ";
$dset = $ses->Execute($sql);
$row = $dset->Read();
$rolStatus = $row['CANT'];
$icon = "browse";
if ($row['CANT'] > 0 ) $icon = "minus";
if ( in_array ( $uid, $collapsed) ) $icon = "plus";
$link = "<img src='/images/$icon.gif' border=0>";
if ($icon != "browse" )
$link = "<a href='" . $pathViewChart ."roleList?0=$uid'><img src='/images/$icon.gif' border=0></a>";
print "<tr height=22 valign=top>";
for ( $j = 1; $j <= $i; $j ++)
print "<td background='/images/ftv2vertline.gif'></td>";
print "<td valign=center>" . $link . "</td>";
print "<td valign=center colspan = '" . ($MAX_LEVEL - $i) . "'>";
print "&nbsp; <small>";
if ($canCreateRole == 1)
print "<a href='" . $pathViewChart . "roleEdit?0=" . $uid . "'>" . $texto1 ."</a>";
else
print "<b>$texto1</b>";
print " " . $texto2 . "</small> ";
print "<a href='" . $pathViewChart . "loadRoleProp2?ROL_UID=" . $uid . "' ><img src='/images/edit.gif' height=18 width =16 border=0></a> ";
if ($canCreateRole == 1) {
print "<a href='" . $pathViewChart . "roleNew?0=" . $uid . "' ><img src='/images/form.gif' height=18 width =16 border=0></a> ";
if ($icon == "browse" )
print "<a href='" . $pathViewChart . "roleDel?0=" . $uid . "' ><img src='/images/trash.gif' border=0></a>";
}
print "</td>";
print "</tr>";
}
function walkLevel ( $level, $label, $parent ) {
global $collapsed;
global $appid;
global $dbc;
$ses = new DBSession;
$ses->SetTo ($dbc);
$sql = "SELECT UID, ROL_CODE, ROL_DESCRIPTION from ROLE WHERE ROL_APPLICATION = $appid AND ROL_PARENT = " . $parent ;
$dset = $ses->Execute($sql);
$row = $dset->Read();
$c = 1;
while ( is_array ($row) ) {
if ($label === "*" )
{ $label = ""; $locLabel = $c; }
else
$locLabel = $label . "." . $c;
showLevel ( $level , $locLabel, $row['ROL_CODE'], $row['ROL_DESCRIPTION'], $row['UID'] );
if ( ! in_array ( $row['UID'], $collapsed) )
walkLevel ( $level + 1, $locLabel, $row['UID']);
$c++;
$row = $dset->Read();
}
}
?>
<table width=100% border=0>
<tr>
<td align="justify"><? /*$G_CONTENT->Output ("body.header");*/ ?></td>
</tr>
<tr>
<td align="center">
<table border=0 width=650 cellspacing=0 cellpadding=0>
<tr>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=16></td>
<td width=506></td>
</tr>
<?php
walkLevel (0, "*", 0);
?>
</table>
</td>
</tr>
</table>

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* cases_Redirect.php
*

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* cases_SaveData.php
*

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* processes_ImportFileExisting.php
*

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* processes_ImportFile.php
*

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* login_getStarted.php
*

View File

@@ -1,4 +1,4 @@
<?
<?php
function addNodox($obj, $padre, $indice, $contenido='', $atributos)
{
if(is_object($padre))

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* processes_ImportFile.php
*

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* upgrade_SystemAjax.php
*

View File

@@ -122,7 +122,7 @@
$aFields=array("_FILENAME_"=>basename( $filename ) );
$value = G::replaceDataField( $value , $aFields );
$aOrigin = file( $filename);
//It suposse that allway start with <? or <?php
//It suposse that allway start with <?. or <?php
$line=$aOrigin[0];
$nl=(strlen($line)>=2)&&(substr($line,-2,2)=="\r\n")?
"\r\n":
@@ -154,7 +154,7 @@
function add_permission($filename,$value)
{
$aOrigin = file( $filename);
//It suposse that allway start with <? or <?php
//It suposse that allway start with <?. or <?php
$aSource[0]=$aOrigin[0];
$line=$aOrigin[0];
$nl=(strlen($line)>=2)&&(substr($line,-2,2)=="\r\n")?

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* cases_DynaformHistory.php
*

View File

@@ -161,28 +161,28 @@ function Only1br($string) {
<table width='100%' cellspacing='0' cellpadding='0' border='1' style='border:0px;'>
<tr>
<td width='410px' class='treeNode' style='border:0px;background-color:transparent;'>
<font color='#0B58B6'><?=$triggers_onfly?></font><br/>
<?if( sizeof($triggers_name) > 0 ) {?>
<font color='#0B58B6'><?php= $triggers_onfly?></font><br/>
<?php if( sizeof($triggers_name) > 0 ) {?>
<table class="pmdebugger" width="100%">
<tr>
<td width="5" class="pmdebuggerHeader">#</td><td class="pmdebuggerHeader">Name</td><td class="pmdebuggerHeader">&nbsp;</td>
</tr>
<?foreach($triggers_name as $k=>$trigger) {?>
<?php foreach($triggers_name as $k=>$trigger) {?>
<tr>
<td>&nbsp;<?=($k+1)?>&nbsp;</td>
<td>&nbsp;<?php =($k+1)?>&nbsp;</td>
<td>
&nbsp;<?=$trigger?>
<div id='trigger_<?=$k?>' class='ui-accordion-header ui-helper-reset ui-state-active ui-corner-all data_view'><?=$triggers_code[$k]?></div>
&nbsp;<?php= $trigger?>
<div id='trigger_<?php= $k?>' class='ui-accordion-header ui-helper-reset ui-state-active ui-corner-all data_view'><?php=$triggers_code[$k]?></div>
</td>
<td valign="top" width="5">
<a href='#' onclick="toggle('trigger_<?=$k?>'); return false;">
<img id='img_trigger_<?=$k?>' src='/images/pin-up-on.gif' border='0'>
<a href='#' onclick="toggle('trigger_<?php=$k?>'); return false;">
<img id='img_trigger_<?php=$k?>' src='/images/pin-up-on.gif' border='0'>
</a>
</td>
</tr>
<?}?>
<?php } ?>
</table>
<?}?>
<?php } ?>
</td>
</tr>
</table>
@@ -199,49 +199,49 @@ function Only1br($string) {
<tr>
<?php if( is_array($aVariable) ) {?>
<td valign="top"><font color="blue">&nbsp;<?=$sName?></font></td>
<?} else {?>
<td>&nbsp;<?=$sName?></td>
<?}?>
<?php } else {?>
<td>&nbsp;<?php =$sName?></td>
<?php }?>
<td><?php echo expandVarView($aVariable, $sName)?></td>
</tr>
<?}?>
<?php }?>
</table>
</div>
<!---->
<?if( count($DEBUG_POST) > 0 ) {?>
<?php if( count($DEBUG_POST) > 0 ) {?>
<div class="ui-widget-header ui-corner-all" width="50%" align="center">Errors</div>
<div id="debugger_errors" class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-all" align="left">
<? for($i=0; $i<count($DEBUG_POST); $i++) {
<?php for($i=0; $i<count($DEBUG_POST); $i++) {
if(isset($DEBUG_POST[$i]['ERROR']) and $DEBUG_POST[$i]['ERROR'] != '') {?>
<span class='treeNode'>
<font color='red'>Error </font>
<font color='#0B58B6'><?=str_replace('<br />', '',$DEBUG_POST[$i]['ERROR'])?></font>
<font color='#0B58B6'><?php=str_replace('<br />', '',$DEBUG_POST[$i]['ERROR'])?></font>
</span><br/>
<?}
<?php}
}
for($i=0; $i<count($DEBUG_POST); $i++) { ?>
<?if(isset($DEBUG_POST[$i]['FATAL']) and $DEBUG_POST[$i]['FATAL'] != '') { ?>
<?php if(isset($DEBUG_POST[$i]['FATAL']) and $DEBUG_POST[$i]['FATAL'] != '') { ?>
<span class='treeNode'>
<font color='red'>Fatal error </font>
<font color='#0B58B6'> <?=str_replace('<br />', '',$DEBUG_POST[$i]['FATAL'])?></font>
<font color='#0B58B6'> <?php=str_replace('<br />', '',$DEBUG_POST[$i]['FATAL'])?></font>
</span><br/>
<?}
<?php }
}
} else { ?>
<div class="ui-widget-header ui-corner-all" width="50%" align="center">No errors reported</div>
<?}?>
<?php}?>
</div>
<!---->
<?if(isset($_POST['NextStep'])) {?>
<input type="button" value="Continue" class="module_app_button___gray" onclick="javascript:location.href='<?=$_POST['NextStep']?>'">
<?}?>
<?php if(isset($_POST['NextStep'])) {?>
<input type="button" value="Continue" class="module_app_button___gray" onclick="javascript:location.href='<?php= $_POST['NextStep']?>'">
<?php}?>
<?
<?php
function expandVarView($a, $name) {
if( is_array($a) ) {

View File

@@ -91,25 +91,25 @@
<div id="dynafields">
<ul id="sortable" style="margin:0; padding:0;">
<? foreach($elements as $node_name=>$node){
<?php foreach($elements as $node_name=>$node){
if( isset($hidden_fields_list) ){
$checked = !(in_array($node_name, $hidden_fields_list))? 'checked="checked"': '';
} else {
$checked = 'checked="checked"';
}
?>
<li style="list-style:none;" id="<?=$node_name?>" class="ui-state-default" onmouseover="setClass(this, 'current_selected_item')" onmouseout="setClass(this, 'ui-state-default')">
<li style="list-style:none;" id="<?php=$node_name?>" class="ui-state-default" onmouseover="setClass(this, 'current_selected_item')" onmouseout="setClass(this, 'ui-state-default')">
<table class="dynalist" border="0" width="100%" cellpadding="0" cellspacing="0" id="fieldshandler_items_table">
<tr>
<td width="15px">
<?php if($node['__ATTRIBUTES__']['type'] != 'javascript' && $dynaformType != 'grid') {?>
<input id="chk@<?=$node_name?>" type="checkbox" onclick="fieldsHandlerSaveHidden()" <?php echo $checked?> />
<input id="chk@<?php=$node_name?>" type="checkbox" onclick="fieldsHandlerSaveHidden()" <?php echo $checked?> />
<?php } else {?>
&nbsp;
<?php }?>
</td>
<td width="10px" class="directionSide1">
<?$type = $node['__ATTRIBUTES__']['type'];
<?php $type = $node['__ATTRIBUTES__']['type'];
switch($type){
case 'yesno': $type = 'yes_no'; break;
case 'listbox': $type = 'list_box'; break;
@@ -118,10 +118,10 @@
case 'file': $type = 'upload_files'; break;
}?>
<?php if ( is_file(PATH_HTML.'images'.PATH_SEP.'dynamicForm'.PATH_SEP."$type.gif") ){?>
<img src="/images/dynamicForm/<?=$type?>.gif"/>
<?} else {?>
<img src="/images/dynamicForm/<?php= $type?>.gif"/>
<?php } else {?>
<img src="/images/unknown_icon.gif" border="0" width="20" height="16"/>
<?}?>
<?php }?>
</td>
<td width="80px" class="directionSide1">
&nbsp;<?php echo "({$node['__ATTRIBUTES__']['type']})";?>
@@ -146,20 +146,20 @@
<?php if( in_array($node['__ATTRIBUTES__']['type'], $_POST['fieldsList']) ){ ?>
<!-- <div class="tool"><img src="/images/options.png" width="12" height="12" border="0"/> </div>-->
<div class="jq-checkpointSubhead" style="display:block">
<a title="<?php echo G::loadTranslation('ID_EDIT_FIELD')?>" href="#" onclick="__ActionEdit('<?=$node_name?>'); return false;"><img src="/images/e_Edit.png" width="15" height="15" border="0" onmouseout="backImage(this,'')" onmouseover="backImage(this,'url(/images/dynamicForm/hover.gif) no-repeat')"/></a>
<a title="<?php echo G::loadTranslation('ID_REMOVE_FIELD')?>" href="#" onclick="__ActionDelete('<?=$node_name?>', '<?=$node['__ATTRIBUTES__']['type'];?>');return false;"><img src="/images/e_Delete.png" width="15" height="15" border="0" onmouseout="backImage(this,'')" onmouseover="backImage(this,'url(/images/dynamicForm/hover.gif) no-repeat')"/></a>
<a title="<?php echo G::loadTranslation('ID_EDIT_FIELD')?>" href="#" onclick="__ActionEdit('<?php= $node_name?>'); return false;"><img src="/images/e_Edit.png" width="15" height="15" border="0" onmouseout="backImage(this,'')" onmouseover="backImage(this,'url(/images/dynamicForm/hover.gif) no-repeat')"/></a>
<a title="<?php echo G::loadTranslation('ID_REMOVE_FIELD')?>" href="#" onclick="__ActionDelete('<?php= $node_name?>', '<?php= $node['__ATTRIBUTES__']['type'];?>');return false;"><img src="/images/e_Delete.png" width="15" height="15" border="0" onmouseout="backImage(this,'')" onmouseover="backImage(this,'url(/images/dynamicForm/hover.gif) no-repeat')"/></a>
</div>
<?} else {?>
<?php } else {?>
<div class="tool"><img src="/images/options.png" width="12" height="12" border="0"/> </div>
<div class="jq-checkpointSubhead" style="display:none">
<a title="<?php echo G::loadTranslation('ID_REMOVE_FIELD')?>" href="#" onclick="__ActionDelete('<?=$node_name?>', '<?=$node['__ATTRIBUTES__']['type'];?>');return false;"><img src="/images/e_Delete.png" width="15" height="15" border="0" onmouseout="backImage(this,'')" onmouseover="backImage(this,'url(/images/dynamicForm/hover.gif) no-repeat')"/></a>
<a title="<?php echo G::loadTranslation('ID_REMOVE_FIELD')?>" href="#" onclick="__ActionDelete('<?php= $node_name?>', '<?php= $node['__ATTRIBUTES__']['type'];?>');return false;"><img src="/images/e_Delete.png" width="15" height="15" border="0" onmouseout="backImage(this,'')" onmouseover="backImage(this,'url(/images/dynamicForm/hover.gif) no-repeat')"/></a>
</div>
<?}?>
<?php }?>
</td>
</tr>
</table>
</li>
<?}?>
<?php }?>
</ul>
</div>
</center>

View File

@@ -101,7 +101,7 @@ body {
</div>
<div class="modal" id="light">
<div class="header"><?=G::LoadTranslation('ID_LOADING')?></div>
<div class="header"><?php=G::LoadTranslation('ID_LOADING')?></div>
<div class="body">
<img src="/images/activity.gif" />
</div>

View File

@@ -1,4 +1,4 @@
<?
<?php
/**
* testAuthenticationUser.php
*