require HORDE_TEMPLATES . '/common-header.inc';
require HORDE_TEMPLATES . '/admin/menu.inc';
-echo '<div style="padding:10px">';
+echo '<div>';
if ($command = trim(Horde_Util::getFormData('cmd'))) {
echo '<h1 class="header">' . _("Command") . ':</h1><br />';
echo '<p class="text"><code>' . nl2br(htmlspecialchars($command)) . '</code></p>';
<form action="cmdshell.php" method="post">
<?php Horde_Util::pformInput() ?>
<label for="cmd" class="hidden"><?php echo _("Command") ?></label>
-<textarea class="fixed" id="cmd" name="cmd" rows="10" cols="60">
+<h1 class="header"><?php echo $title ?></h1>
+<br />
+<textarea class="fixed" id="cmd" name="cmd" rows="10" cols="80">
<?php if (!empty($command)) echo htmlspecialchars($command) ?></textarea>
<br />
<input type="submit" class="button" value="<?php echo _("Execute") ?>" />
require HORDE_TEMPLATES . '/admin/menu.inc';
$ui = new Horde_Perms_Ui($injector->getInstance('Horde_Perms'));
+
+echo '<h1 class="header">' . Horde::img('perms.png') . ' ' . _("Permissions") . '</h1>';
$ui->renderTree($perm_id);
require HORDE_TEMPLATES . '/common-footer.inc';
$command = trim(Horde_Util::getFormData('php'))
?>
-<div style="padding:10px">
+<div>
<form action="phpshell.php" method="post">
<?php Horde_Util::pformInput() ?>
-<h1 class="header"><?php echo _("PHP Shell") ?></h1>
+<h1 class="header"><?php echo $title ?></h1>
<br />
<label for="app"><?php echo _("Application Context: ") ?></label>
<select id="app" name="app">
</select><br /><br />
<label for="php" class="hidden"><?php echo _("PHP") ?></label>
-<textarea class="fixed" id="php" name="php" rows="10" style="width:100%; padding:0;">
+<textarea class="fixed" id="php" name="php" rows="10" cols="80">
<?php if (!empty($command)) echo htmlspecialchars($command) ?></textarea>
<br />
<input type="submit" class="button" value="<?php echo _("Execute") ?>" />
require HORDE_TEMPLATES . '/admin/menu.inc';
?>
-<div style="padding:10px">
-<h1 class="header"><?php echo _("SQL Shell") ?></h1><br />
+<div>
+<h1 class="header"><?php echo $title ?></h1><br />
<form name="sqlshell" action="sqlshell.php" method="post">
<?php Horde_Util::pformInput() ?>
<?php endif; ?>
<label for="sql" class="hidden"><?php echo ("SQL Query") ?></label>
-<textarea class="fixed" id="sql" name="sql" rows="10" cols="60">
+<textarea class="fixed" id="sql" name="sql" rows="10" cols="80">
<?php if (strlen($command)) echo htmlspecialchars($command) ?></textarea>
<br />
<input type="submit" class="button" value="<?php echo _("Execute") ?>" />