Replace php short tags as they are as portable as standard <?php. In other words in the php.ini short tags is off by default.

This commit is contained in:
Mark Crane
2013-07-15 22:32:43 +00:00
parent 3eddead2a0
commit ad27dc407d
2 changed files with 66 additions and 66 deletions
+12 -12
View File
@@ -2,8 +2,8 @@
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td align='left'><b><?=$text['header-xmpp']?></b><br>
<?=$text['description-xmpp-list']?>
<td align='left'><b><?php echo $text['header-xmpp']?></b><br>
<?php echo $text['description-xmpp-list']?>
</td>
</tr>
</table>
@@ -11,14 +11,14 @@
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<th><?=$text['label-profile_name']?></th>
<th><?=$text['label-context']?></th>
<th><?=$text['label-status']?></th>
<th><?=$text['label-enabled']?></th>
<th><?=$text['label-description']?></th>
<th><?php echo $text['label-profile_name']?></th>
<th><?php echo $text['label-context']?></th>
<th><?php echo $text['label-status']?></th>
<th><?php echo $text['label-enabled']?></th>
<th><?php echo $text['label-description']?></th>
<td align='right' width='42'>
<?php if (permission_exists('xmpp_add')) { ?>
<a href='xmpp_profile_edit.php' alt='<?=$text['button-add']?>'><?php echo $v_link_label_add; ?></a>
<a href='xmpp_profile_edit.php' alt='<?php echo $text['button-add']?>'><?php echo $v_link_label_add; ?></a>
<?php } ?>
</td>
</tr>
@@ -38,11 +38,11 @@ foreach($profiles_array as $profile){
<td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['description']; ?>&nbsp;</td>
<td align='right' width='42'>
<?php if (permission_exists('xmpp_edit')) { ?>
<a href='xmpp_profile_edit.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' alt='<?=$text['button-edit']?>'><?php echo $v_link_label_edit; ?></a>
<a href='xmpp_profile_edit.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' alt='<?php echo $text['button-edit']?>'><?php echo $v_link_label_edit; ?></a>
<?php } ?>
<?php if (permission_exists('xmpp_delete')) { ?>
<a href='profile_delete.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' onclick="return confirm('<?=$text['confirm-delete']?>')"
alt='<?=$text['button-delete']?>'><?php echo $v_link_label_delete; ?></a>
<a href='profile_delete.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' onclick="return confirm('<?php echo $text['confirm-delete']?>')"
alt='<?php echo $text['button-delete']?>'><?php echo $v_link_label_delete; ?></a>
<?php } ?>
</td>
</tr>
@@ -53,7 +53,7 @@ if ($c==0) { $c=1; } else { $c=0; }
<tr>
<td colspan='6' align='right' width='42'>
<?php if (permission_exists('xmpp_add')) { ?>
<a href='xmpp_profile_edit.php' alt='<?=$text['button-add']?>'><?php echo $v_link_label_add; ?></a>
<a href='xmpp_profile_edit.php' alt='<?php echo $text['button-add']?>'><?php echo $v_link_label_add; ?></a>
<?php } ?>
</td>
</tr>