koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha koha-tmpl/intranet-tmpl/prog/en/about.tmpl...


From: Pierrick LE GALL
Subject: [Koha-cvs] koha koha-tmpl/intranet-tmpl/prog/en/about.tmpl...
Date: Thu, 16 Mar 2006 11:33:28 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         
Changes by:     Pierrick LE GALL <address@hidden>       06/03/16 11:33:28

Modified files:
        koha-tmpl/intranet-tmpl/prog/en: about.tmpl 
        .              : about.pl 

Log message:
        improvement: on the About page, a caption was added to the table of Perl
        modules and modules are now listed in alphabetic order.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/prog/en/about.tmpl.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/about.pl.diff?tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: koha/about.pl
diff -u koha/about.pl:1.6 koha/about.pl:1.7
--- koha/about.pl:1.6   Thu Mar 16 11:17:28 2006
+++ koha/about.pl       Thu Mar 16 11:33:28 2006
@@ -38,15 +38,17 @@
                                         zebraVersion       => $zebraVersion,
                );
 
+my @component_names =
+    qw/MARC::File::XML   MARC::Charset     Class::Accessor
+       LWP::Simple       XML::Simple       Net::Z3950
+       Event             Net::LDAP         PDF::API2
+       Mail::Sendmail    MARC::Record      Digest::MD5
+       HTML::Template    DBD::mysql        Date::Manip
+       DBI               Smart::Comments   ZOOM
+      /;
 my @components = ();
 
-foreach my $component (qw/MARC::File::XML   MARC::Charset   Class::Accessor
-                          LWP::Simple       XML::Simple     Net::Z3950
-                          Event             Net::LDAP       PDF::API2
-                          Mail::Sendmail    MARC::Record    Digest::MD5
-                          HTML::Template    DBD::mysql      Date::Manip
-                          DBI               Smart::Comments ZOOM
-                         /) {
+foreach my $component (sort @component_names) {
     my $version;
     if (eval "require $component") {
         $version = $component->VERSION;
@@ -58,11 +60,13 @@
         $version = 'module is missing';
     }
 
-    push @components,
+    push (
+        @components,
         {
-        name    => $component,
-        version => $version,
-    };
+            name    => $component,
+            version => $version,
+        }
+    );
 }
 
 $template->param(
Index: koha/koha-tmpl/intranet-tmpl/prog/en/about.tmpl
diff -u koha/koha-tmpl/intranet-tmpl/prog/en/about.tmpl:1.2 
koha/koha-tmpl/intranet-tmpl/prog/en/about.tmpl:1.3
--- koha/koha-tmpl/intranet-tmpl/prog/en/about.tmpl:1.2 Thu Mar 16 11:17:28 2006
+++ koha/koha-tmpl/intranet-tmpl/prog/en/about.tmpl     Thu Mar 16 11:33:28 2006
@@ -15,6 +15,7 @@
 </table>
 
 <table>
+        <caption>Perl modules</caption>
        <!-- TMPL_LOOP name="components" -->
        <tr>
          <th scope="row"><!-- TMPL_VAR NAME="name" --></th>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]