BUG 5163 fixing ?php tags
in many files
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* cases_Redirect.php
|
||||
*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* cases_SaveData.php
|
||||
*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* processes_ImportFileExisting.php
|
||||
*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* processes_ImportFile.php
|
||||
*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* login_getStarted.php
|
||||
*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
function addNodox($obj, $padre, $indice, $contenido='', $atributos)
|
||||
{
|
||||
if(is_object($padre))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* processes_ImportFile.php
|
||||
*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* upgrade_SystemAjax.php
|
||||
*
|
||||
|
||||
@@ -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")?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* cases_DynaformHistory.php
|
||||
*
|
||||
|
||||
@@ -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"> </td>
|
||||
</tr>
|
||||
<?foreach($triggers_name as $k=>$trigger) {?>
|
||||
<?php foreach($triggers_name as $k=>$trigger) {?>
|
||||
<tr>
|
||||
<td> <?=($k+1)?> </td>
|
||||
<td> <?php =($k+1)?> </td>
|
||||
<td>
|
||||
<?=$trigger?>
|
||||
<div id='trigger_<?=$k?>' class='ui-accordion-header ui-helper-reset ui-state-active ui-corner-all data_view'><?=$triggers_code[$k]?></div>
|
||||
<?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"> <?=$sName?></font></td>
|
||||
<?} else {?>
|
||||
<td> <?=$sName?></td>
|
||||
<?}?>
|
||||
<?php } else {?>
|
||||
<td> <?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) ) {
|
||||
|
||||
@@ -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 {?>
|
||||
|
||||
<?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">
|
||||
<?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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* testAuthenticationUser.php
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user