-<?
+<?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
#!/usr/bin/php -f
-<?
+<?php // $Id$
define('FULLME','cron'); // prevent warnings
//error_reporting(0);
//ini_set('display_errors',0);
<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");
-<?
+<?php // $Id$
$string['loancalc'] = 'Loan calculator';
$string['amountofloan'] = 'Amount of loan';
$string['repaymentamount'] = 'Repayment amount';
</head>
<body bgcolor="#ffffff">
-<? echo $imagetag ?>
+<?php echo $imagetag ?>
</body>
</html>
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>
</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>
</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>
<?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>
<?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>
<?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>
<?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>
<?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>
}
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"> <a href="javascript:copy_contents()"><? print_string('copytoclipboard', 'hotpot') ?></A></span>');
+ document.write('<span class="helplink"> <a href="javascript:copy_contents()"><?php print_string('copytoclipboard', 'hotpot') ?></A></span>');
-->
</script>
<?php
-<? // $Id:
+<?php // $Id$
/**
* Class question_category_object
*
<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) {