Commit graph

1017 commits

Author SHA1 Message Date
tipaul
b38997925f big commit, still breaking things...
* synch with rel_2_2. Probably the last non manual synch, as rel_2_2 should not be modified deeply.
* code cleaning (cleaning warnings from perl -w) continued
2005-10-26 09:11:02 +00:00
tipaul
e82eca42c9 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 10:01:45 +00:00
joshferraro
e80361e2b4 make status contingent upon all status fields in Koha including itemtype 2005-09-06 12:28:08 +00:00
rangi
48f9afbc20 Now fetches the number of reviews, and passes it through to the template to be displayed 2005-09-03 00:10:36 +00:00
rangi
76e83aa5d0 Script to display reviews, given a biblionumber 2005-09-03 00:09:34 +00:00
rangi
d3d359f11b Script to add or edit a review 2005-09-03 00:07:55 +00:00
rangi
52401c4323 Passing through kohaversion to the template 2005-08-08 02:09:39 +00:00
tipaul
c52e5b61dd synch'ing 2.2 and head 2005-08-04 14:10:52 +00:00
tipaul
bee8cebb41 Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription created. If a letter is defined, users in OPAC can put an alert on the subscription. When an issue is marked "arrived", all users in the alert will recieve a mail (as defined in the "letter"). This last part (= send the mail) is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any serial subscription. The alert is stored in a new table, called alert. An alert can be put only if the librarian has activated them in subscription (and they activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have put, and a user can see in opac-detail which alert they have put too.

Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an alert on a virtual shelf, to be warned when something is changed in the virtual shelf (mail being sent once a day by cron, or manually by the shelf owner. Anyway, a mail won't be sent on every change, users would be spammed by Koha ;-) )
2005-08-04 08:55:54 +00:00
tipaul
df6c6bcada Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription created. If a letter is defined, users in OPAC can put an alert on the subscription. When an issue is marked "arrived", all users in the alert will recieve a mail (as defined in the "letter"). This last part (= send the mail) is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any serial subscription. The alert is stored in a new table, called alert. An alert can be put only if the librarian has activated them in subscription (and they activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have put, and a user can see in opac-detail which alert they have put too.
Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an alert on a virtual shelf, to be warned when something is changed in the virtual shelf (mail being sent once a day by cron, or manually by the shelf owner. Anyway, a mail won't be sent on every change, users would be spammed by Koha ;-) )
2005-08-04 08:54:54 +00:00
slef
927991c0ef New installer helper script 2005-07-19 02:38:12 +00:00
joshferraro
3b5c9e953c synching with rel_2_2 2005-07-06 21:32:02 +00:00
rangi
0c68d59940 Fixing a bug caused by the syncing with the 2.2 branch 2005-06-29 02:01:03 +00:00
genjimoto
eaf19c281c Moved the title words splitting, changed the authorwords routine abit. added a check for author and additionalauthors. No use having checkboxes for non-existant data. 2005-06-27 22:26:16 +00:00
genjimoto
6aa41399c8 restored search for available books functionality while ensuring that a search not asking about the availablity doesn't take longer than normal. Achieved via new parameter in SearchMarc::Catalogsearch called $extratables. 2005-06-25 05:26:14 +00:00
genjimoto
475958381f Added code to support search options sidebar ref to http://katipo.co.nz/gallery/koha2-4/search_ideas_details_001 2005-06-25 05:22:00 +00:00
tipaul
f55e808ec0 synch'ing 2.2 and head 2005-06-20 14:33:32 +00:00
rangi
eadd0dba6c This simply wasnt working before.
It is now not erroring, not sure if its actually sending mail, working on
that now
2005-06-20 01:01:06 +00:00
hdl
27ce1d1c23 Detailing the three latest issues on OPAC for serials 2005-06-17 13:44:25 +00:00
hdl
7fd0a58305 Displaying dashed isbn. 2005-06-15 16:09:42 +00:00
gmccullagh
dfb739be5a two new files
SearchBiblio.pm forked from SearchMarc.pm
  opac-search-biblio.pl forked from opac-search.pl (just change module)
an attempt at a new search using FULLTEXT indexes.
NB: Boolean won't work without MySQL >v4.0
NNB: Will be slow without indexes added on Biblio table as follows:
  ALTER TABLE biblio ADD FULLTEXT (author,title,unititle,seriestitle);
Only searching on "Any word" field just now.
more to come.
2005-06-03 17:01:53 +00:00
genjimoto
864ca6dd71 Added avail into the template parameters 2005-06-03 04:15:29 +00:00
genjimoto
0c726309ee Search for availablilty feature implemented. 2005-06-03 03:51:26 +00:00
gmccullagh
8bebcfb2a5 just declared $totalResults and added an indent at the end 2005-06-02 13:47:47 +00:00
genjimoto
6660f2c26c minor bugfix 2005-06-02 13:29:28 +00:00
genjimoto
cf8f949703 minor bugfix 2005-06-02 04:36:22 +00:00
genjimoto
e2f06e613b Processes the Search options sidebar input, and places it into terms and values for opac-search.pl. Also passes along itemtypes to search on, branches to search on, and availablity bool. 2005-06-02 00:47:58 +00:00
genjimoto
bad524360d Addition of new table lists: Categorylist, Subcategorylist and Mediatypelist. Renamed classlist to itemtypelist. 2005-06-01 23:07:17 +00:00
joshferraro
5974c9f86d fix for bug 981 2005-05-31 14:23:08 +00:00
tipaul
64cd740d2b synch'ing 2.2 and head 2005-05-04 08:58:30 +00:00
joshferraro
082e9fcb63 Adds some code for:
1. spellchecking
2. logging searches
3. making search variables availble sanely for use on the page
4. if one search result go directly to the item
5. documentation for above features
2005-04-18 17:11:28 +00:00
doxulting
331e8497d6 Adding the order (ASC, DESC) parameter when calling catalogsearch 2005-03-03 09:33:14 +00:00
tipaul
93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
oleonard
5ae8445256 Taking table cell background color information out of the script and moving it into the template (requires update to opac-shelves.tmpl) 2005-01-27 17:27:11 +00:00
oleonard
0fc3c1aa5e Adding verbose parameter to allow for more detailed view in opac basket (requires update to opac-basket.tmpl to take advantage of added functionality) 2005-01-25 21:40:38 +00:00
joshferraro
b21cf4bf7c makes opac-detail.pl's amazon stuff just a comment 2005-01-25 17:13:24 +00:00
joshferraro
fea81cb709 Adds amazon support to opac-detail.pl 2005-01-25 16:58:18 +00:00
oleonard
95b94dc6e1 Comparing reserves' destination branch to the current holding branch to determine actual waiting status. If destination branch is equal to holding branch, the item has been checked in at its destination and can be accurately shown as waiting. If not, the item is still in transit and should not be shown as waiting. 2005-01-19 21:18:06 +00:00
oleonard
f4dcee8da6 Adding call number and item type to list of returned variables 2005-01-13 20:41:07 +00:00
tipaul
3c2fde2e8c *** empty log message *** 2005-01-03 11:09:59 +00:00
tipaul
c591cf1859 synch'ing virtual shelves management in opac with the librarian one, that has more features 2005-01-03 11:09:33 +00:00
tipaul
e2914a4499 Improvement : adding a systempref to define default view in OPAC (either normal, MARC or ISBD). Created automatically during install or update. Check that you have a Koha >> parameters >> systempreferences >> BiblioDefaultView, Variable type : Choice, Variable options : normal|marc|isbd 2004-12-10 16:11:29 +00:00
tipaul
a3bc9cdf82 email sent basket : the sender can give it's name, in case the basket is sent to a friend, not to itself 2004-12-07 10:10:40 +00:00
tipaul
ba610a9a4a fixing a problem in char encoding : translation of the send basket was erroneous 2004-11-22 16:41:03 +00:00
tipaul
b19775a850 *** empty log message *** 2004-11-16 13:03:05 +00:00
tipaul
c1278cbbcb fixes for printing a biblio 2004-11-12 16:27:33 +00:00
tipaul
b8963461fd *** empty log message *** 2004-11-08 19:54:53 +00:00
tipaul
608d48d75c The textmessaging field now appears in opac-main when the user log in.
The textmessaging field has been moved in the member editor & changed to a textarea html field
2004-10-04 20:20:24 +00:00
tipaul
214c37b371 modifs in new acquisition option : the search is now managed through the standard search API, with an "order by timestamp" order.
opac-new.pl can be removed
2004-09-16 09:21:05 +00:00
tipaul
027516bf79 reservation is impossible if the borrower has a card lost, is gonenoaddress or is suspended 2004-09-15 16:42:42 +00:00
tipaul
8790983cd5 commiting stephen hedges modifs to css template & fixing a bug in variable name (same name in TMPL_LOOP and TMPL_VAR confuses a lot HTML::Template) 2004-08-18 16:44:37 +00:00
shedges
272b0c6391 added MARC notes array and MARC subjects array to values sent to template. 2004-08-17 20:50:41 +00:00
tipaul
b2d3fe1ccb moving language chooser to the main page.
moving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm

moving changelanguage.pl to OPAC scope
2004-08-16 12:49:42 +00:00
tipaul
502ab11ae9 moving language chooser to the main page.
monving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm
2004-08-16 12:48:52 +00:00
rangi
e334c8699f Commiting a sample change to the default template to allow users to pick
their language.
Just a sample template builders can look at this and make changes to their
templates
2004-08-15 01:50:24 +00:00
tipaul
3cef08d33b minor fixes (to get less warning during translation) 2004-08-12 14:50:29 +00:00
doxulting
d16e8d2330 records appear in message body instead of in attached file 2004-07-23 16:06:00 +00:00
tipaul
f29ce59691 Acquisition & Suggestion :
* acquisition rewritte : create a aqbasket table to deal with "bookseller order header".
* add "close basket" feature : a closed basket can't be modified
* suggestion feature : manage suggestions in acquisition (after suggestion filled in OPAC)
2004-07-15 09:41:03 +00:00
oleonard
e3abb18bfe Fix for Bug 796 2004-07-13 20:16:22 +00:00
oleonard
27c336760e Adding 'even' variable to pass to template to facilitate alternating row colors in table 2004-07-12 18:58:47 +00:00
doxulting
9c98f03072 Functions for Basket sending 2004-07-12 08:10:40 +00:00
oleonard
6754b7531b orderby variable must be passed to template so that multiple pages of search results will retain their custom ordering 2004-07-08 19:40:30 +00:00
tipaul
5ab2065109 baskets in OPAC 2004-07-06 10:07:22 +00:00
doxulting
bc0a227572 OPAC basket CGI 2004-07-05 17:04:45 +00:00
tipaul
ab420f94ae improvements in OPAC 2004-06-17 08:24:10 +00:00
tipaul
02a9765add ISBD view, minor fix 2004-06-10 09:34:21 +00:00
tipaul
5f4179a6c3 * frameworks and itemtypes are independant
* in the MARC editor, showing the + to duplicate a tag only if the tag is repeatable
2004-06-03 09:59:36 +00:00
tipaul
f3fcc669d7 changes in HTML/CSS & link to ISBD view 2004-05-28 16:15:43 +00:00
tipaul
8f25206e1d MARC view in OPAC 2004-05-28 08:31:03 +00:00
tipaul
d2a3c0c599 warning commented 2004-05-28 08:30:11 +00:00
tipaul
e651ebf89f adding suggestions in OPAC 2004-05-28 08:28:22 +00:00
joshferraro
8173ae44ae comma taken out 2004-05-24 14:28:07 +00:00
joshferraro
020cb36012 missing comma on line 52 2004-05-24 14:26:00 +00:00
tipaul
49347b6d06 no falgs required 2004-05-10 09:25:24 +00:00
tipaul
ec64f1fcd8 Marc search ported to OPAC.
seems to work fine
2004-05-10 09:24:14 +00:00
tipaul
7485f4baa0 removing Renewals2 (all circ related subs are moved to Circ2.pm) 2004-05-04 15:46:58 +00:00
tipaul
b03777ffb8 adding virtual shelves to opac 2004-03-15 15:01:49 +00:00
oleonard
7ed4e50430 Added Paul's LibraryName variable to template 2004-01-08 18:23:36 +00:00
tipaul
b6be7c80da fix for #614 2003-12-22 08:58:40 +00:00
tipaul
abebb31d30 OPAC now show a systempref variable in main/home screen => easier to change for a library. 2003-12-15 14:39:52 +00:00
tipaul
cf802b5ad8 new feature : recent acquisition in opac. 2003-12-08 16:27:10 +00:00
rangi
13f7f793ea Fix for bug 588
Now i just have to get the plural/singular for results /result working
2003-10-10 00:35:06 +00:00
tipaul
3145729608 after a reserve, go to search, not to user page 2003-09-18 12:34:13 +00:00
tipaul
323642f5a1 all those fixes are related to translation improvement.
A few minor bugfixes too in perl code.

NOTE TO ENGLISH "TEMPLATORS" : you should look at this commits, as some ideas are really nice.  Thanks to Carole, Wesford School, new Koha user in France :-)
2003-09-18 10:19:28 +00:00
sergerenaux
c82cca6544 Fix for bug #496 2003-06-18 08:38:34 +00:00
tipaul
2af3fac971 fix for #242 2003-05-19 14:34:10 +00:00
tipaul
43bbd43208 fix C$ instead of C4 2003-05-15 13:23:50 +00:00
wolfpac444
8b4a044bb5 Changed the scripts to use format_date 2003-05-08 13:19:39 +00:00
wolfpac444
6dab0986f9 Bug fixes 2003-05-08 12:26:14 +00:00
tipaul
d59352175c fix for 394 2003-05-05 11:21:31 +00:00
tipaul
22567447ce *** empty log message *** 2003-04-29 16:51:15 +00:00
tipaul
5bec8b0db0 fix for #406 2003-04-24 18:44:17 +00:00
wolfpac444
333e222461 *** empty log message *** 2003-03-26 04:42:56 +00:00
tipaul
52ad82bc9a fixes missing
use C4::Interface::CGI::Output;
at beginning
2003-03-19 15:14:42 +00:00
finlayt
22e024026d fixed so that it works with the old templates too 2003-03-18 20:57:52 +00:00
finlayt
39f26e9e07 fixed a couple of bugs. Note this version of opac-reserve.pl is designed to work with the vanilla template. 2003-03-18 20:25:31 +00:00
tipaul
264fc0fedd *** empty log message *** 2003-02-27 16:58:30 +00:00
wolfpac444
4e3888e2ec Fixed the subject search. 2003-02-21 02:25:03 +00:00
acli
23c93d6e80 Removed check for IS (bug 202) 2003-02-06 07:40:12 +00:00
acli
de88b3b406 Added missing "use" statement
Noted correct tab size

Note: this script does not actually work yet
2003-02-05 08:30:27 +00:00
acli
ddc6eadc7b Updated opac-userupdate.pl to work with 1.3
Copied kohaerror.tmpl from 1.2 for opac-userupdate.pl
2003-02-04 06:40:04 +00:00
acli
ad5c82626d Sync to same file in 1.2 branch 2003-02-04 06:01:52 +00:00
acli
f1c8e7e686 Forgot to use C4::Interface::CGI::Output 2003-02-03 22:24:38 +00:00
acli
058c8bf28b Updates for using (OPAC) user log-in in 1.3 2003-02-03 21:42:41 +00:00
acli
32b87866dd Minor code cleanup
(Implemented some simple FIXME's in C4/Search.pm)
2003-02-03 02:15:43 +00:00
acli
52a5fd4bbd Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
Create output_html_with_http_headers function to contain the "print $query
->header(-type => guesstype...),..." call. This is in preparation for
non-HTML output (e.g., text/xml) and charset conversion before output in
the future.

Created C4/Interface/CGI/Template.pm to hold convenience functions specific
to the CGI interface using HTML::Template

Modified moremembers.pl to make the "sex" field localizable for languages
where M and F doesn't make sense
2003-02-02 07:18:37 +00:00
acli
125c7f9c7e Handle meta tags for non-latin1 charsets 2003-01-20 07:39:27 +00:00
tipaul
d1a905a786 small bugfix to make logout work 2002-12-20 13:59:07 +00:00
tipaul
747a71aa67 little bugfixes for opac templated.
Need "use HTML::Template" at the beginning of every script.

Note : opac-reserve does not work at all.
Could katipo/finlay check why ?
2002-12-19 11:04:14 +00:00
finlayt
2b8ef90945 merged in changes from the rel-1-2 branch into the main branch. Some of the default templates are a bit broken now.... 2002-12-04 22:25:01 +00:00
tipaul
ebb6609879 *** empty log message *** 2002-11-12 16:41:12 +00:00
tonnesen
52a3126df1 Merging changes from rel-1-2 to trunk 2002-10-28 21:44:33 +00:00
tonnesen
c16a952963 Merging from rel-1-2 to trunk 2002-10-28 20:02:57 +00:00
arensb
5aa0fca7fa Removed trailing whitespace. 2002-10-13 10:43:54 +00:00
arensb
d582d90c53 Replaced &requireDBI with C4::Context->dbh, thus making the "use
Database" statement unnecessary.
Replaced a prepare()/execute() with a do().
2002-10-11 12:50:42 +00:00
tonnesen
d04d6cace7 switched from picktemplate() to gettemplate() 2002-10-09 18:09:16 +00:00
finlayt
6007e1e067 added these files from the rel-1-2 branch. This is the beging of the new opac 2002-10-03 08:51:29 +00:00