BUG 5163 fixed php tags

This commit is contained in:
Alvaro Campos
2011-04-26 15:58:54 -04:00
parent 269cc4d393
commit e6edcf8281
2 changed files with 8 additions and 8 deletions

View File

@@ -98,12 +98,12 @@
$checked = 'checked="checked"'; $checked = 'checked="checked"';
} }
?> ?>
<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')"> <li style="list-style:none;" id="<?php echo $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"> <table class="dynalist" border="0" width="100%" cellpadding="0" cellspacing="0" id="fieldshandler_items_table">
<tr> <tr>
<td width="15px"> <td width="15px">
<?php if($node['__ATTRIBUTES__']['type'] != 'javascript' && $dynaformType != 'grid') {?> <?php if($node['__ATTRIBUTES__']['type'] != 'javascript' && $dynaformType != 'grid') {?>
<input id="chk@<?php=$node_name?>" type="checkbox" onclick="fieldsHandlerSaveHidden()" <?php echo $checked?> /> <input id="chk@<?php echo $node_name?>" type="checkbox" onclick="fieldsHandlerSaveHidden()" <?php echo $checked?> />
<?php } else {?> <?php } else {?>
&nbsp; &nbsp;
<?php }?> <?php }?>
@@ -118,8 +118,8 @@
case 'file': $type = 'upload_files'; break; case 'file': $type = 'upload_files'; break;
}?> }?>
<?php if ( is_file(PATH_HTML.'images'.PATH_SEP.'dynamicForm'.PATH_SEP."$type.gif") ){?> <?php if ( is_file(PATH_HTML.'images'.PATH_SEP.'dynamicForm'.PATH_SEP."$type.gif") ){?>
<img src="/images/dynamicForm/<?php= $type?>.gif"/> <img src="/images/dynamicForm/<?php echo $type?>.gif"/>
<?php } else {?> <?php } else {?>
<img src="/images/unknown_icon.gif" border="0" width="20" height="16"/> <img src="/images/unknown_icon.gif" border="0" width="20" height="16"/>
<?php }?> <?php }?>
</td> </td>
@@ -146,13 +146,13 @@
<?php if( in_array($node['__ATTRIBUTES__']['type'], $_POST['fieldsList']) ){ ?> <?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="tool"><img src="/images/options.png" width="12" height="12" border="0"/> </div>-->
<div class="jq-checkpointSubhead" style="display:block"> <div class="jq-checkpointSubhead" style="display:block">
<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_EDIT_FIELD')?>" href="#" onclick="__ActionEdit('<?php echo $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> <a title="<?php echo G::loadTranslation('ID_REMOVE_FIELD')?>" href="#" onclick="__ActionDelete('<?php echo $node_name?>', '<?php echo $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> </div>
<?php } else {?> <?php } else {?>
<div class="tool"><img src="/images/options.png" width="12" height="12" border="0"/> </div> <div class="tool"><img src="/images/options.png" width="12" height="12" border="0"/> </div>
<div class="jq-checkpointSubhead" style="display:none"> <div class="jq-checkpointSubhead" style="display:none">
<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> <a title="<?php echo G::loadTranslation('ID_REMOVE_FIELD')?>" href="#" onclick="__ActionDelete('<?php echo $node_name?>', '<?php echo $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> </div>
<?php }?> <?php }?>
</td> </td>

View File

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