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

Antoine Farnault antoine at koha-fr.org
Wed Jan 10 15:19:22 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	07/01/10 14:19:22

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/tools: koha-news.tmpl 

Log message:
	replacing 'displayed' checkbox by 'number' textfield.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/tools/koha-news.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.4&r2=1.1.2.5

Patches:
Index: koha-news.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/tools/koha-news.tmpl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -b -r1.1.2.4 -r1.1.2.5
--- koha-news.tmpl	9 Jan 2007 16:43:04 -0000	1.1.2.4
+++ koha-news.tmpl	10 Jan 2007 14:19:22 -0000	1.1.2.5
@@ -13,7 +13,7 @@
 <!-- TMPL_INCLUDE NAME="menus.inc" -->
 <!-- TMPL_INCLUDE NAME="menu-tools.inc" -->
 
-<div id="koha-news_main">
+<div id="koha-news_main" class="searchresults">
     <h1> OPAC & KOHA News</h1>
     <!-- TMPL_IF name="add_form" -->
         <form name="add_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl" >
@@ -51,11 +51,11 @@
                 </script>
             </p>
             <p>
-                <label for="displayed">Display online</label>
-                <!-- TMPL_IF NAME="displayed"-->
-                    <input id="displayed" name="displayed" type="checkbox" checked="1" />
+                <label for="number">Number</label>
+                <!-- TMPL_IF NAME="number"-->
+                    <input id="number" size="3" name="number" type="text" checked="1" />
                 <!-- TMPL_ELSE -->
-                    <input id="displayed" name="displayed" type="checkbox" />
+                    <input id="number" size="3" name="number" type="text" />
                 <!-- /TMPL_IF -->
             </p>
             <p>News</p>
@@ -92,7 +92,7 @@
                     <tr>
                         <th></th>
                         <th>Language</th>
-                        <th>Online</th>
+                        <th>Number</th>
                         <th>Creation Date</th>
                         <th>Expiration Date</th>
                         <th>Title</th>
@@ -105,11 +105,17 @@
                                 <input type="checkbox" name="ids" value="<!-- TMPL_VAR NAME="idnew" -->" />
                             </td>
                             <td><!-- TMPL_VAR NAME="lang" --></td>
-                            <td><!-- TMPL_VAR NAME="displayed" --></td>
+                            <td><!-- TMPL_VAR NAME="number" --></td>
                             <td><!-- TMPL_VAR NAME="newdate" --></td>
                             <td><!-- TMPL_VAR NAME="expirationdate" --></td>
                             <td><!-- TMPL_VAR NAME="title" --></td>
-                            <td><!-- TMPL_VAR NAME="new" --></td>
+                            <!-- TMPL_IF NAME="hasexpirated" -->
+                            <td class="hasexpirated">
+                            <!-- TMPL_ELSE -->
+                            <td>
+                            <!-- /TMPL_IF -->
+                                <!-- TMPL_VAR NAME="new" -->
+                            </td>
                             <td>
                                 <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=<!-- TMPL_VAR NAME="idnew" -->">
                                     Edit





More information about the Koha-cvs mailing list