commit 483587287f42da578e56a85ee333db389066f536
parent 9f28898196f23406829cb955891d3279e4340ce9
Author: dankert <devnull@localhost>
Date: Sun, 22 Mar 2009 22:14:04 +0100
Gleiches Aussehen für alle Optionen-Knöpfe .
Diffstat:
11 files changed, 50 insertions(+), 81 deletions(-)
diff --git a/themes/default/templates/element/remove.tpl.src.php b/themes/default/templates/element/remove.tpl.src.php
@@ -22,7 +22,7 @@ page
text text:ELEMENT_DELETE_VALUES
row
- cell colspan:2
+ cell colspan:2 class:act
button type:ok
focus field:delete
diff --git a/themes/default/templates/group/remove.tpl.src.php b/themes/default/templates/group/remove.tpl.src.php
@@ -8,16 +8,19 @@ page
cell
text var:name
row
- cell
- text text:GLOBAL_DELETE
- cell
+ cell colspan:2
+ fieldset title:message:options
+ row
+ cell colspan:2
checkbox name:confirm
+ label for:confirm
+ text text:GLOBAL_DELETE
row
cell colspan:2 class:help
text text:GROUP_DELETE_DESC
row
- cell colspan:2
+ cell colspan:2 class:act
button type:ok
focus field:delete
\ No newline at end of file
diff --git a/themes/default/templates/language/advanced.tpl.src.php b/themes/default/templates/language/advanced.tpl.src.php
@@ -13,7 +13,7 @@ page
cell
input name:isocode
row
- cell colspan:2
+ cell colspan:2 class:act
button type:ok
focus field:name
diff --git a/themes/default/templates/language/edit.tpl.src.php b/themes/default/templates/language/edit.tpl.src.php
@@ -1,14 +1,14 @@
page
form method:post
- window icon:group name:GLOBAL_GROUPS
+ window
row
cell
text text:GLOBAL_LANGUAGE
cell
selectbox list:isocodes name:isocode
row
- cell colspan:2
+ cell colspan:2 class:act
button type:ok
focus field:name
diff --git a/themes/default/templates/language/remove.tpl.src.php b/themes/default/templates/language/remove.tpl.src.php
@@ -6,18 +6,21 @@ page
cell
text text:GLOBAL_NAME
cell
- text text:var:name
- row
- cell
- text text:GLOBAL_DELETE
- cell
- checkbox name:confirm
+ text var:name
row
cell colspan:2 class:help
text text:GROUP_DELETE_DESC
-
row
cell colspan:2
+ fieldset title:message:options
+ row
+ cell colspan:2
+ checkbox name:confirm
+ label for:confirm
+ text text:CONFIRM_DELETE
+
+ row
+ cell colspan:2 class:act
button type:ok
focus field:delete
\ No newline at end of file
diff --git a/themes/default/templates/model/edit.tpl.php b/themes/default/templates/model/edit.tpl.php
@@ -1,44 +0,0 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
-<!-- $Id$ -->
-<center>
-
-<form action="<?php echo $self ?>" method="post" target="_self">
-
-<input type="hidden" name="subaction" value="save">
-
-<table class="main" width="90%" cellspacing="0" cellpadding="4">
-
-<tr>
- <th colspan="2"><?php echo lang('GLOBAL_MODEL') ?></a></th>
-</tr>
-
-<tr>
-<td width="50%" class="f1"><?php echo lang('GLOBAL_NAME') ?></td>
-<td width="50%" class="f1"><input type="text" name="name" value="<?php echo $name ?>"></td>
-</tr>
-<?php if ( $delete )
- { ?>
-<tr>
-<td width="50%" class="f2" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td>
-<td width="50%" class="f2"><input type="checkbox" name="delete" value="1"></td>
-</tr>
-<tr>
-<td class="help"><?php echo lang('HELP_PROJECTMODEL_DELETE') ?></td>
-</tr>
-<?php } ?>
-<tr>
-<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></a></td>
-</tr>
-
-</table>
-
-</form>
-
-</center>
-
-<script name="JavaScript" type="text/javascript"><!--
-document.forms[0].name.focus();
-//--></script>
-
-<?php include( $tpl_dir.'footer.tpl.php') ?>-
\ No newline at end of file
diff --git a/themes/default/templates/model/edit.tpl.src.php b/themes/default/templates/model/edit.tpl.src.php
@@ -1,14 +1,14 @@
page
form method:post
- window icon:group name:GLOBAL_GROUPS
+ window
row
cell
text text:GLOBAL_NAME
cell
input name:name
row
- cell colspan:2
+ cell colspan:2 class:act
button type:ok
focus field:name
diff --git a/themes/default/templates/model/remove.tpl.src.php b/themes/default/templates/model/remove.tpl.src.php
@@ -6,18 +6,22 @@ page
cell
text text:GLOBAL_NAME
cell
- text text:var:name
- row
- cell
- text text:GLOBAL_DELETE
- cell
- checkbox name:confirm
+ text var:name
row
cell colspan:2 class:help
text text:GROUP_DELETE_DESC
-
row
cell colspan:2
+ fieldset title:message:options
+ row
+ cell
+ checkbox name:confirm
+ label for:confirm
+ text text:CONFIRM_DELETE
+ cell
+
+ row
+ cell colspan:2 class:act
button type:ok
focus field:delete
\ No newline at end of file
diff --git a/themes/default/templates/project/remove.tpl.src.php b/themes/default/templates/project/remove.tpl.src.php
@@ -6,18 +6,17 @@ page
cell
text text:GLOBAL_NAME
cell
- text var:name
+ text var:name class:name
row
- cell
- text text:CONFIRM_DELETE
- cell
- checkbox name:delete
- row
- cell colspan:2 class:help
- text text:GROUP_DELETE_DESC
-
+ cell colspan:2
+ fieldset title:message:options
row
cell colspan:2
+ checkbox name:delete
+ label for:delete
+ text text:CONFIRM_DELETE
+ row
+ cell colspan:2 class:act
button type:ok
focus field:delete
\ No newline at end of file
diff --git a/themes/default/templates/template/remove.tpl.src.php b/themes/default/templates/template/remove.tpl.src.php
@@ -9,9 +9,12 @@ page
text var:name
row
cell colspan:2
+ fieldset title:message:options
+ row
+ cell colspan:2
checkbox name:delete
label for:delete
- text text:GLOBAL_DELETE
+ text text:CONFIRM_DELETE
row
cell colspan:2 class:act
button type:ok
diff --git a/themes/default/templates/user/remove.tpl.src.php b/themes/default/templates/user/remove.tpl.src.php
@@ -7,8 +7,10 @@ page
cell
text var:name
row
- cell
- cell
+ cell colspan:2
+ fieldset title:message:options
+ row
+ cell colspan:2
checkbox name:confirm
label for:confirm
text text:delete