-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
21 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<h2 class="smallheader"><?php echo _("Script name:") . ' ' . $this->h($script['name']) ?></h2> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
slusarz
Author
Member
|
||
<pre> | ||
<?php foreach ($script['lines'] as $i => $line): ?> | ||
<?php printf('%' . $script['width'] . "d: %s\n", $i + 1, $this->h($line)) ?> | ||
<?php printf('%' . $script['width'] . "d: %s\n", $i + 1, $this->h($line)) ?> | ||
<?php endforeach; ?> | ||
</pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
<h1 class="header"><?php echo _("Script") ?></h1> | ||
<?php if ($this->scriptexists): ?> | ||
<table class="scriptHeader"> | ||
<tr> | ||
<td align="center"> | ||
<div class="horde-form-buttons scriptHeader"> | ||
<?php if ($this->showactivate): ?> | ||
<form method="post" name="activate_script" action="<?php echo $this->scripturl ?>"> | ||
<input type="hidden" name="actionID" value="action_activate" /> | ||
<input class="horde-default" type="submit" name="submit" value="<?php echo _("Activate Script") ?>" /> | ||
</form> | ||
<form method="post" name="deactivate_script" action="<?php echo $this->scripturl ?>"> | ||
<input type="hidden" name="actionID" value="action_deactivate" /> | ||
<input type="submit" name="submit" value="<?php echo _("Deactivate Script") ?>" /> | ||
</form> | ||
<form method="post" name="show_active_script" action="<?php echo $this->scripturl ?>"> | ||
<input type="hidden" name="actionID" value="show_active" /> | ||
<input type="submit" name="submit" value="<?php echo _("Show Active Script") ?>" /> | ||
</form> | ||
<form method="post" name="activate_script" action="<?php echo $this->scripturl ?>"> | ||
<input type="hidden" name="actionID" value="action_activate" /> | ||
<input class="horde-default" type="submit" name="submit" value="<?php echo _("Activate Script") ?>" /> | ||
</form> | ||
<form method="post" name="deactivate_script" action="<?php echo $this->scripturl ?>"> | ||
<input type="hidden" name="actionID" value="action_deactivate" /> | ||
<input type="submit" name="submit" value="<?php echo _("Deactivate Script") ?>" /> | ||
</form> | ||
<form method="post" name="show_active_script" action="<?php echo $this->scripturl ?>"> | ||
<input type="hidden" name="actionID" value="show_active" /> | ||
<input type="submit" name="submit" value="<?php echo _("Show Active Script") ?>" /> | ||
</form> | ||
<?php else: ?> | ||
<form method="post" name="show_current_script" action="<?php echo $this->scripturl ?>"> | ||
<input type="submit" name="submit" value="<?php echo _("Show Current Script") ?>" /> | ||
</form> | ||
<form method="post" name="show_current_script" action="<?php echo $this->scripturl ?>"> | ||
<input type="submit" name="submit" value="<?php echo _("Show Current Script") ?>" /> | ||
</form> | ||
<?php endif; ?> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
|
||
<?php echo $this->renderPartial('script', array('collection' => $this->scripts)) ?> | ||
|
||
<?php else: ?> | ||
<div>[<?php echo _("No script generated.") ?>]</div> | ||
<div class="scriptHeader">[<?php echo _("No script generated.") ?>]</div> | ||
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please re-add the script name. This is necessary to distinguish different files in multi-script or composite enging environments.