From 9d23361f244a845ed4e09c37d7dc1d4a098fa666 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 19 Dec 2007 20:28:12 -0600 Subject: [PATCH] Even more applying standard dialog styles to confirmation messages. Also fixing alternating table row colors in stopwords.pl Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- admin/stopwords.pl | 4 +-- .../prog/en/modules/admin/aqbudget.tmpl | 23 +++++++------- .../admin/auth_subfields_structure.tmpl | 22 ++++++++----- .../en/modules/admin/auth_tag_structure.tmpl | 20 ++++++------ .../en/modules/admin/marctagstructure.tmpl | 12 +++---- .../prog/en/modules/admin/stopwords.tmpl | 31 +++++++++---------- .../prog/en/modules/tools/letter.tmpl | 13 ++++---- 7 files changed, 66 insertions(+), 59 deletions(-) diff --git a/admin/stopwords.pl b/admin/stopwords.pl index 358909338e..d4d219a9fd 100755 --- a/admin/stopwords.pl +++ b/admin/stopwords.pl @@ -136,12 +136,12 @@ if ($op eq 'add_form') { my $env; my ($count,$results)=StringSearch($env,$searchfield,'web'); my @loop; - my $toggle = 'white'; + my $toggle = 0; for (my $i=$offset; $i < ($offset+$pagesize<$count?$offset+$pagesize:$count); $i++){ my %row = (word => $results->[$i]{'word'}, toggle => $toggle); push @loop, \%row; - $toggle = ($toggle eq 'white') ? '#ffffcc' : 'white' ; + $toggle = ($toggle eq 0) ? 1 : 0 ; } $template->param(loop => \@loop); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl index 4a6c572191..ce7ec36cbd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl @@ -74,11 +74,14 @@ - +
+

Budget Data Recorded

+
" method="get">
- +

Budget deleted

+ " method="get">
@@ -327,8 +330,7 @@ -
- Delete Budget? +

Delete Budget?

@@ -347,15 +349,12 @@
-
" method="post"> -
- - " /> - - Cancel -
- + +" /> + +
" method="get"> +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tmpl index f79de8d676..1571a85eca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tmpl @@ -58,27 +58,33 @@ +

Delete Subfield ''?

" method="post"> -
- Confirm Deletion of Subfield ?
Subfield:
Description:
" /> " /> " /> " /> -
&tagfield=&tagsubfield=&authtypecode=">Cancel
-
-
+ + +
" method="get"> + " /> + " /> + " /> + " /> + +
+
-

Data deleted

+

Data deleted

" method="post"> " /> - -
+ +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tmpl index 46a2464041..ac5e0999b9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tmpl @@ -113,26 +113,28 @@ return false; +
+

Confirm Deletion

" method="post"> -
Confirm Deletion
Tag:
" /> " /> -
Cancel
-
+ +
" method="get">
+
-

Data deleted

+

Data deleted

" method="post"> " /> " /> -
+
@@ -210,12 +212,12 @@ return false; - - ?offset=&searchfield=&authtypecode= ">Previous Page + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl index bc40a56f5b..84868ee2c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl @@ -121,23 +121,23 @@ -

Confirm Deletion of Tag ?

+

Confirm Deletion of Tag ''?

Tag:

Description:

" method="post"> " />" /> -
+ -
" method="post">
+
" method="post">
-

Tag Deleted

+

Tag Deleted

" method="post">" /> - -
+ +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/stopwords.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/stopwords.tmpl index 5550ffdba8..7fb574c7ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/stopwords.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/stopwords.tmpl @@ -94,28 +94,27 @@ - Data recorded +

Data recorded

" method="post"> - -
+ +
-
" method="post"> -
- +
+

Delete Stop Word ''

+ " method="post"> + " /> - Confirm Deletion of Stop word - Cancel -
-
+ +
" method="get">
- Data deleted +

Data deleted

" method="post"> - -
+ +
@@ -150,18 +149,18 @@ - "> + ?op=delete_confirm&searchfield=">Delete - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl index e3f69c66fb..f861fc0f5a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl @@ -276,7 +276,7 @@ -

Delete Notice?

+

Delete Notice?

@@ -291,16 +291,17 @@
-

" method="post"> + " method="post"> + " /> " /> - +
-
" method="post"> - + " method="get"> +
-

+
-- 2.20.1