remove some left over php short tags

This commit is contained in:
Uwe Steinmann 2016-11-16 21:56:48 +01:00
parent 45e99fa372
commit 80166278ba

View File

@ -54,7 +54,7 @@ $(document).ready(function() {
theme: 'defaultTheme',
timeout: 1500,
});
$('div.ajax').trigger('update', {documentid: <?= $document->getId() ?>});
$('div.ajax').trigger('update', {documentid: <?php echo $document->getId(); ?>});
}, "json");
return false;
});
@ -118,7 +118,7 @@ echo "<div class=\"span6\">\n";
$this->contentHeading(getMLText("content"));
?>
<form action="../op/op.EditOnline.php" id="form1" method="post">
<input type="hidden" name="documentid" value="<?= $document->getId() ?>" />
<input type="hidden" name="documentid" value="<?php echo $document->getId(); ?>" />
<textarea id="markdown" name="data" width="100%" rows="20">
<?php
echo htmlspecialchars(file_get_contents($dms->contentDir . $version->getPath()));