Skip to content

Commit

Permalink
short php tags once more
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Mar 7, 2006
1 parent 38b7336 commit 107e761
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion admin/handlevirus.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?
<?php // $Id$
/** This expects the output from a command like
* clamscan -r --infected --no-summary <files> 2>&1 | php -d error_log=/path/to/log thisfile.php
* also it's important that the output of clamscan prints the FULL PATH to each infected file, so use absolute paths for area to scan
Expand Down
2 changes: 1 addition & 1 deletion admin/process_email.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/php -f
<?
<?php // $Id$
define('FULLME','cron'); // prevent warnings
//error_reporting(0);
//ini_set('display_errors',0);
Expand Down
2 changes: 1 addition & 1 deletion auth/shibboleth/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<td align="right"><?php print_string("auth_shib_convert_data", "auth") ?>:</td>
<td>
<input name="pluginconfig_convert_data" type="text" size="30" value="<?php echo $pluginconfig->convert_data?>">
<?
<?php
if ($pluginconfig->convert_data && $pluginconfig->convert_data != '' && !is_readable($pluginconfig->convert_data)){
echo '<br><font color="red">';
print_string("auth_shib_convert_data_warning", "auth");
Expand Down
2 changes: 1 addition & 1 deletion lang/en_utf8/block_loancalc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?
<?php // $Id$
$string['loancalc'] = 'Loan calculator';
$string['amountofloan'] = 'Amount of loan';
$string['repaymentamount'] = 'Repayment amount';
Expand Down
2 changes: 1 addition & 1 deletion lib/editor/htmlarea/popups/preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</head>
<body bgcolor="#ffffff">

<? echo $imagetag ?>
<?php echo $imagetag ?>

</body>
</html>
2 changes: 1 addition & 1 deletion mod/chat/gui_header_js/jsupdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@
echo '<embed src="../beep.wav" autostart="true" hidden="true" name="beep" />';
}
?>
<a href="<? echo $refreshurl ?>" name="refreshLink">Refresh link</a>
<a href="<?php echo $refreshurl ?>" name="refreshLink">Refresh link</a>
</body>
</html>
2 changes: 1 addition & 1 deletion mod/data/field/file/mod.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</tr>
<tr>
<td>
<?php echo get_string('fielddescription', 'data'); ?>:</td><td><input style="width:300px;" type="text" name="description" id="description" value = "<? echo ($field->description);?>" />
<?php echo get_string('fielddescription', 'data'); ?>:</td><td><input style="width:300px;" type="text" name="description" id="description" value = "<?php echo ($field->description);?>" />
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion mod/data/field/menu/mod.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</tr>
<tr>
<td><?php echo get_string('fielddescription', 'data'); ?>:</td>
<td><input style="width:300px;" type="text" name="description" id="description" value = "<? echo ($field->description);?>" /></td>
<td><input style="width:300px;" type="text" name="description" id="description" value = "<?php echo ($field->description);?>" /></td>
</tr>
<tr>
<td valign="top"><?php echo get_string('fieldoptions', 'data'); ?>:</td>
Expand Down
10 changes: 5 additions & 5 deletions mod/data/field/picture/mod.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,36 @@
<?php echo get_string('fielddescription', 'data');?>:
</td>
<td>
<input style="width:300px;" type="text" name="description" id="description" value = "<? echo ($field->description);?>" />
<input style="width:300px;" type="text" name="description" id="description" value = "<?php echo ($field->description);?>" />
</td>
</tr>
<tr>
<td>
<?php echo get_string('fieldwidthsingleview', 'data');?>:
</td>
<td>
<input style="width:70px;" type="text" name="param1" id="param1" value = "<? if (!empty($field->param1)) echo $field->param1; ?>" />
<input style="width:70px;" type="text" name="param1" id="param1" value = "<?php if (!empty($field->param1)) echo $field->param1; ?>" />
</td>
</tr>
<tr>
<td>
<?php echo get_string('fieldheightsingleview', 'data');?>:
</td>
<td>
<input style="width:70px;" type="text" name="param2" id="param2" value = "<? if (!empty($field->param2)) echo $field->param2; ?>" />
<input style="width:70px;" type="text" name="param2" id="param2" value = "<?php if (!empty($field->param2)) echo $field->param2; ?>" />
</td>
</tr>
<tr>
<td>
<?php echo get_string('fieldwidthlistview', 'data');?>:</td><td><input style="width:70px;" type="text" name="param4" id="param4" value = "<? if (!empty($field->param4)) echo $field->param4; ?>" />
<?php echo get_string('fieldwidthlistview', 'data');?>:</td><td><input style="width:70px;" type="text" name="param4" id="param4" value = "<?php if (!empty($field->param4)) echo $field->param4; ?>" />
</td>
</tr>
<tr>
<td>
<?php echo get_string('fieldheightlistview', 'data');?>:
</td>
<td>
<input style="width:70px;" type="text" name="param5" id="param5" value = "<? if (!empty($field->param5)) echo $field->param5; ?>" />
<input style="width:70px;" type="text" name="param5" id="param5" value = "<?php if (!empty($field->param5)) echo $field->param5; ?>" />
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion mod/data/field/url/mod.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<?php echo get_string('fielddescription', 'data'); ?>:
</td>
<td>
<input style="width:350px;" type="text" name="description" id="description" value = "<? echo ($field->description);?>" />
<input style="width:350px;" type="text" name="description" id="description" value = "<?php echo ($field->description);?>" />
</td>
</tr>
<tr>
Expand Down
4 changes: 2 additions & 2 deletions mod/hotpot/show.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ function copy_contents(id) {
}
if (obj && window.clipboardData) {
window.clipboardData.setData("Text", obj.innerText);
alert('<? print_string('copiedtoclipboard', 'hotpot') ?>');
alert('<?php print_string('copiedtoclipboard', 'hotpot') ?>');
}
}
document.write('<span class="helplink"> &nbsp; <a href="javascript:copy_contents()"><? print_string('copytoclipboard', 'hotpot') ?></A></span>');
document.write('<span class="helplink"> &nbsp; <a href="javascript:copy_contents()"><?php print_string('copytoclipboard', 'hotpot') ?></A></span>');
-->
</script>
<?php
Expand Down
2 changes: 1 addition & 1 deletion question/category_class.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<? // $Id:
<?php // $Id$
/**
* Class question_category_object
*
Expand Down
2 changes: 1 addition & 1 deletion user/message.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<tr><td align="center" colspan="2"><input type="submit" name="preview" value="Preview" /></td></tr>
</table>
<?php print_simple_box_end(); ?>
<table align="center"><tr><th colspan="4"><? print_string('currentlyselectedusers'); ?></th></tr>
<table align="center"><tr><th colspan="4"><?php print_string('currentlyselectedusers'); ?></th></tr>
<?php
if (count($SESSION->emailto[$id])) {
if (!$course->teacher) {
Expand Down

0 comments on commit 107e761

Please sign in to comment.