PHP: avoid short tags <?
This commit is contained in:
parent
f44b0525d8
commit
38220afd11
|
@ -29,7 +29,7 @@ $iframeClass = $isIframe ? ' iframe' : '';
|
||||||
<title><?= $this->title ? $this->escape($this->title) : 'Icinga Web' ?></title>
|
<title><?= $this->title ? $this->escape($this->title) : 'Icinga Web' ?></title>
|
||||||
<!-- TODO: viewport and scale settings make no sense for us, fix this -->
|
<!-- TODO: viewport and scale settings make no sense for us, fix this -->
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<? if ($isIframe): ?>
|
<?php if ($isIframe): ?>
|
||||||
<base target="_parent"/>
|
<base target="_parent"/>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?php if (! $module): ?>
|
<?php if (! $module): ?>
|
||||||
<?= $this->translate('There is no such module installed.') ?>
|
<?= $this->translate('There is no such module installed.') ?>
|
||||||
<? return; endif ?>
|
<?php return; endif ?>
|
||||||
<?php
|
<?php
|
||||||
$dependencies = $module->getDependencies();
|
$dependencies = $module->getDependencies();
|
||||||
$restrictions = $module->getProvidedRestrictions();
|
$restrictions = $module->getProvidedRestrictions();
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<?= $this->icon('success.png', $this->translate('Module is enabled')) ?>
|
<?= $this->icon('success.png', $this->translate('Module is enabled')) ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?= $this->icon('remove.png', $this->translate('Module is disabled')) ?>
|
<?= $this->icon('remove.png', $this->translate('Module is disabled')) ?>
|
||||||
<? endif ?>
|
<?php endif ?>
|
||||||
<a href="<?= $this->url(
|
<a href="<?= $this->url(
|
||||||
'config/module/',
|
'config/module/',
|
||||||
array('name' => $module->name)
|
array('name' => $module->name)
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
?>)
|
?>)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? endforeach ?>
|
<?php endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? endforeach ?>
|
<?php endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -142,7 +142,7 @@ $output = $this->tickets ? preg_replace_callback(
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue