1<?php if ($this->out): ?> 2<h1 class="header"><?php echo _("Command") ?>:</h1> 3<div class="horde-content"> 4 <code><?php echo nl2br($this->h($this->command)) ?></code> 5</div> 6 7<h1 class="header"><?php echo _("Results") ?>:</h1> 8<div class="horde-content"> 9 <pre class="text"><?php echo $this->h(implode('', $this->out)) ?></pre> 10</div> 11<?php endif; ?> 12 13<form action="<?php echo $this->action ?>" method="post"> 14 <?php Horde_Util::pformInput() ?> 15 <input type="hidden" name="token" value="<?php echo $this->session->getToken() ?>" /> 16 <h1 class="header"><?php echo $this->title ?></h1> 17 18 <div class="horde-content"> 19 <label for="cmd" class="hidden"><?php echo _("Command") ?></label> 20 <textarea class="fixed" id="cmd" name="cmd" rows="10" cols="80"><?php echo $this->h($this->command) ?></textarea> 21 </div> 22 23 <div class="horde-form-buttons"> 24 <input type="submit" class="horde-default" value="<?php echo _("Execute") ?>" /> 25 <?php echo $this->hordeHelp('admin', 'admin-cmdshell') ?> 26 </div> 27</form> 28