commit eae6f5f5980c99604fafbe94ed58810542f8ca10
parent 44792c900a8ce266d36dbf335be4b8187c25cfb5
Author: dankert <devnull@localhost>
Date: Thu, 11 Sep 2008 20:58:58 +0200
Falls Edit-Mode vorhanden und aktiv, dann in Fenstertitel "Abbrechen" anzeigen.
Diffstat:
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/themes/default/include/html/window.inc.php b/themes/default/include/html/window.inc.php
@@ -46,6 +46,17 @@
echo ' » ';
}
echo '<span class="title">'.lang($windowTitle).'</span>';
+
+ if ($this->isEditable()) { ?>
+ <?php if ($this->getRequestVar('mode')=='edit') { ?>
+ (<a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo lang('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><?php echo lang('MODE_EDIT_CANCEL') ?></a>)
+ <?php } else { ?>
+ <!-- "Bearbeiten..:" -->
+ <?php } ?>
+ <?php }
+
+
+
?>
</td>
<?php
@@ -111,6 +122,7 @@
</table>
<?php } ?>
+
</td>
</tr>
<tr>
@@ -123,4 +135,7 @@
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">-
\ No newline at end of file
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+
+
+ +
\ No newline at end of file