Commit graph

434 commits

Author SHA1 Message Date
Joshua Ferraro
c67338f7c3 finishing the changes to circulation.tmpl
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-10 15:58:41 -05:00
Joshua Ferraro
d04206431c validation of yui grids
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-10 15:58:38 -05:00
bccf46fade More work on resident search, adding breadcrumbs and resident search to member pages.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-10 15:58:35 -05:00
Joshua Ferraro
e1d9c516ca missing end <div>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-10 15:58:31 -05:00
Joshua Ferraro
c97693c884 useless <p> was causing validation probs
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-10 15:58:28 -05:00
Chris Cormack
c64a19f407 Adding link to the committed budget breakdown
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-07 22:06:35 -05:00
Chris Cormack
c2439d23fd Re-adding the link to the spent budget breakdown
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-07 22:06:22 -05:00
e817f5d203 New basic page structure implemented for circ pages: global main menu in the header, resident search box and logo, followed by breadcrumb navigation. Added circ-menu.inc for left-hand sidebar menu (needs revision), circ-search.inc which defines the resident search box for circ pages, additions to staff-global.js to handle tab-switching in search box.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-07 15:44:57 -05:00
d95a039286 Snapshot of CSS which includes global search box with two-tabbed bordered box
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-07 15:44:52 -05:00
d3d5fadb43 Adding jquery as default js library and staff-global.js for global js functions. Converting form field focus scripts to jquery syntax (use class="focus" for auto-focusing form fields)
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-04 16:35:54 -05:00
039df85cf9 Moving inline script blocks to <head> where possible
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-04 16:35:52 -05:00
3fb1875a81 Cleanup of catalogue files, previously excluded from layout fixes. Some bugs may still remain due to script errors in my installation (results.tmpl, MARCdetail.tmpl, ISBDdetail.tmpl)
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-04 16:35:48 -05:00
9f4971abc1 Cleanup on Serials. Markup corrections and cleanup, moving script blocks into header, correcting previous incorrect changes to embedded scripts (translator-related stuff)
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-04 16:35:45 -05:00
Paul POULAIN
4604a17226 BUGFIX : due to the new template structure, the up.png button has moved
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-04 05:51:49 -05:00
Paul POULAIN
ec282e07b4 BUGFIX : missing <!-- /TMPL_IF -->
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-04 05:49:32 -05:00
Paul POULAIN
9521bf68b8 some spelling fixes
in 2 english templates and a french plugin

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-03 03:40:14 -05:00
1031d5b265 Moving top-level navigation links, login information into header section of pages
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-30 15:50:58 -05:00
c44f56fcac Moving </head><body> into body of templates so that js and css can be embedded per-page.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-30 15:50:54 -05:00
dc68c00c8d Testing new changes to Auth.pm to allow passing of page-specific js and css to templates
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-30 15:50:01 -05:00
Joshua Ferraro
eb43cc8a32 adding support for js includes
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-29 12:22:37 -05:00
Joshua Ferraro
346269591b finishing up changes to cascades
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-29 11:45:36 -05:00
Joshua Ferraro
6ff1ecf14f adding levels for library, module, page and widgets per page
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-29 11:45:05 -05:00
d7e634edf9 reset-fonts-grids.css is the YUI-Grids stylesheet
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-28 16:50:46 -05:00
62e94fd1b0 More changes to enable YUI-Grids CSS layout
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-28 16:50:44 -05:00
3262d91a16 Modifications to enable YUI-Grids layout structure. Unfinished.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-28 16:50:42 -05:00
Henri-Damien LAURENT
8319613763 BUG FIX
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-28 16:50:35 -05:00
c6131c4429 Corrections for XHTML compliance, again.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-28 16:50:18 -05:00
Chris Cormack
58fa2e168b Removing windows linefeeds to get a patch to apply 2007-08-28 16:50:04 -05:00
Chris Cormack
7406ebd48f Removing \r characters 2007-08-23 21:35:21 -05:00
Joshua Ferraro
ec4e8ecf0f removing unused countryCodes dir
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:31:59 -05:00
Joshua Ferraro
27d45375d0 moving calendar to lib
Output.pm: sanatizing variable names
ran  perl -pi~ -e 's/\/includes\/calendar\//\/lib\/calendar\//' * in every staff template dir

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:30:49 -05:00
Joshua Ferraro
cd0a858c47 move all css in includes to css dir
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:22:01 -05:00
Joshua Ferraro
3359654835 move hierarchy.css to css dir
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:22:00 -05:00
Joshua Ferraro
d1f6407baa moved images to img fixed installer path for templates
perl -pi~ -e 's/\/prog\/images\//\/prog\/img\//' *
perl -pi~ -e 's/\/prog\/en\/images\//\/prog\/img\//' *

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:21:58 -05:00
Joshua Ferraro
d114e811c8 removing old barcodes, itemsLabelConfig, and printerConfig
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:21:56 -05:00
Joshua Ferraro
d08387dd28 first go at moving templates to a modules/ dir
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:11:27 -05:00
Joshua Ferraro
fe59dc27ed Removing unused export files, better tools exist
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 15:14:44 -05:00
7161f9bf18 Correcting <!-- TMPL_IF -->'s nested inside HTML (breaks translator)
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-20 15:16:48 -05:00
Ryan Higgins
6e2564450e Adding labels generator.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:39:38 -05:00
Paul POULAIN
2716acbb11 loading template 1st to have userenv set + fixing javasccript bug + reindenting
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-18 17:38:28 -05:00
Paul POULAIN
61c72f8f3e Adding KOHAVERSION management.
The kohaversion is in the code directory (in /kohaversion.pl)
C4::Context now has a new method C4::Context->KOHAVERSION
that returns the koha code version.
The systempreference Version contains the database version.

If the 2 are differents, when the user log in, he is redirected to web installer (new behaviour : before this commit, the check was done on everypage, it's too CPU costly I think)

In the web installer, we check now if we do a new setup or an upgrade and show only the appropriate link.

The updatedatabase contains a lot of new things :
* SetVersion($kohaversion), that set the kohaversion after each update
* TransformToNum($kohaversion) that returns a number (3.0000001 from 3.00.00.001 for example) for a given koha version
* DropAllForeignKeys($table) that does what is written : drop all foreign keys. A shame it's not possible directly in mySQL...
* for each database update, just :
add the following lines :
=item
    Describe what it does for other developpers
=cut

$DBversion = "your.koha.version.dbnumber";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
	#
	# DO YOUR UPDATE STUFF
	#
        print "Upgrade to $DBversion done (specify what it does if you want)\n";
        SetVersion ($DBversion);
}

IMPORTANT NOTES :
in koha 2.2, a new install was done through installing a 2.2.0 database, then updating it to the installed version.
in Koha 3.0, /installer/kohaversion.sql MUST contain an uptodate version, as the installer set the DB version to kohaversion after uploading kohaversion.sql. It does NOT run updatedatabase.

The update from Koha 2.2 to Koha 3.0 must NOT be done through the webinstaller : updatedatabase is very very long to run and you'll reach Apache timeout for sure. See http://wiki.koha.org/doku.php?id=22_to_30 that contains my notes for upgrading (with some/few UNIMARC specific stuff)


Note For RM, please eyeball this change

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:58:32 -05:00
Paul POULAIN
39cb2ee520 some minor changes in template
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:56:31 -05:00
Paul POULAIN
1e6c13df39 show callnumber in result list and update SQL by using LEFT JOIN
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:56:17 -05:00
Paul POULAIN
720bc7b37a adding supplier deletion feature.
A supplier can be deleted ONLY if it has NO basket

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-16 06:56:00 -05:00
Joshua Ferraro
836b9857ed content-type was incorrectly set in InstallAuth.pm
Adding 'wizard' and 'login' detection

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-15 21:22:21 -05:00
Paul POULAIN
55ac115e61 fixes to fine management
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:45 -05:00
Paul POULAIN
e49fc799f5 spelling error
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:34 -05:00
Paul POULAIN
497bbd84b0 show the departure date if close or past
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:22 -05:00
Paul POULAIN
67416b736d some template cleaning, using right action tool bar for buttons
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:10 -05:00
Paul POULAIN
7f30f3b20a fixing cleanborrowers
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:32:04 -05:00
Paul POULAIN
7612dacc6f show username instead of cardnumber
Signed-off-by: Chris Cormack <crc@liblime.com>

Note from Chris, this should probably be a system preference, some libraries want the cardnumber there.
2007-08-14 21:30:38 -05:00
Paul POULAIN
e55803e8d6 fix bug in calendar handling
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-14 21:28:53 -05:00
Joshua Ferraro
2b2f7a1794 revisions to login page to make it pretty
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-10 12:15:05 -05:00
Joshua Ferraro
663f3bb7d8 Revert "set the branch at login"
This reverts commit bf1fd83d08.

Conflicts:

	koha-tmpl/intranet-tmpl/prog/en/auth.tmpl

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 10:46:47 -05:00
Joshua Ferraro
b2420d8aa3 working on adding library logi
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 10:46:38 -05:00
Paul POULAIN
3f9017b349 adding a ExpandField feature to MARC editor : all subfields that are empty and not mandatory are hidden by default. a click on the tag title expand all of them. This is better imho than the previous minimizer, because :
Note that the minimize/expand by default behaviour could be changed to use the hidden property. Il let LibLime guys say what they think of this proposal, and discuss another behaviour.
Anyway, it proves that the new editor is better than the previous one as it can evolve easily ;-)

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:51:57 -05:00
Paul POULAIN
ec2ec47418 removing the notes field from parcel recieve.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:51:43 -05:00
Paul POULAIN
d02a48a977 minor spelling fix, the column was not displayed
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:51:38 -05:00
Joshua Ferraro
6cdf0832e2 new virtual shelves changes, keyed by biblionumber
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:17:49 -05:00
Joshua Ferraro
0e0475b67a gives the user the ability to re-login 2007-08-08 16:39:40 -05:00
Joshua Ferraro
f2cd577f25 give the user the option to re-login
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 16:33:46 -05:00
Joshua Ferraro
d5acfe9d73 update to virtual shelves -- approved 2007-08-08 13:12:47 -05:00
Joshua Ferraro
812ba6cd9c working on virtual shelves cleanup, partially finished
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 11:39:24 -05:00
Joshua Ferraro
e9ae8c0686 patches from paul 2007-08-08 07:41:19 -05:00
Chris Cormack
2e4a11773c Merge branch 'master' of /home/jmf/repos/koha-rm-root.git/ 2007-08-08 07:36:43 -05:00
Joshua Ferraro
8ee881174f Merge branch 'master' of /usr/local/git/koha_base.git/ 2007-08-08 07:27:26 -05:00
Paul POULAIN
b39fca73d4 fixing buggy url in cancel button
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:09 -05:00
Paul POULAIN
f9ac2fc14b reordering & spell change for more consistency
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:09 -05:00
Paul POULAIN
9bdba0d861 fixing bug in API
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:09 -05:00
Paul POULAIN
7eacca4b79 reordering columns + adding qty recieved + cleaning html (class=... from 22 templates
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:25:09 -05:00
Joshua Ferraro
bf1fd83d08 set the branch at login 2007-08-07 15:45:03 -05:00
Joshua Ferraro
ab77322c08 adds the ability to set the branch at login,
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-07 15:41:19 -05:00
kados
40af15d8e6 changing permissions on templates and scripts 2007-08-07 13:20:51 -05:00
tipaul
e24c247915 adding confirmation to basket closing 2007-08-06 12:27:31 +00:00
jmf@arwen.metavore.com
2fc59a2e76 From c428933ebfa5f56e14f3b32824ebb368c3258c24 Mon Sep 17 00:00:00 2001
From: kados <jmf@arwen.metavore.com>
Date: Sat, 4 Aug 2007 20:06:28 -0500
Subject: [PATCH] changing permissions on templates

Signed-off-by: Chris Cormack <crc@arwen.metavore.com>
2007-08-04 22:41:28 -05:00
jmf@arwen.metavore.com
9519c14e32 From d201d6349a10adc69c4de95a6465e92b293eb4f6 Mon Sep 17 00:00:00 2001
From: kados <jmf@arwen.metavore.com>
Date: Sat, 4 Aug 2007 20:02:10 -0500
Subject: [PATCH] changing permissions

Signed-off-by: Chris Cormack <crc@arwen.metavore.com>
2007-08-04 22:41:19 -05:00
Chris Cormack
060d731bf6 Patch 2007-08-03 12:36:22 -05:00
toins
ae706f0d7a fix indentation. 2007-07-31 16:14:15 +00:00
toins
1a48872caa fixed to work with addbiblio. 2007-07-31 16:11:48 +00:00
toins
aeae5685c0 display enhancement. 2007-07-31 16:06:59 +00:00
toins
3731406592 plugin rewrited to works with addbiblio.
NOTE :
Unimarc plugins has been fully tested but not MARC21 one.
Unimarc plugins respect the norme now.
2007-07-31 16:06:21 +00:00
toins
e14fdf1f5e addbiblio cleaned.
TODO: There is still a encoding pb when modifying a biblio.
2007-07-31 16:03:09 +00:00
hpassini
46a99d8681 *** empty log message *** 2007-07-30 15:24:06 +00:00
toins
c07db4a97d XHTML validation. 2007-07-26 15:23:11 +00:00
toins
942afede38 there is no detailprint for authorities 2007-07-26 15:22:31 +00:00
btoumi
9395334e69 add control of 'return date' if it 's a special or repeatable holidays , and return a right return date
(renewal)
2007-07-25 14:09:39 +00:00
toins
ee5c4c303c display enhancement. 2007-07-24 14:17:07 +00:00
toins
6cea0e824e do not write the result if there is no breeding id. 2007-07-24 14:10:05 +00:00
hdl
0fcce07183 Bug Fixing search order now relies on Template and not on internal lists. 2007-07-20 16:10:51 +00:00
hdl
2379316079 adding popup to display biblio at inventory 2007-07-20 14:04:16 +00:00
toins
0c5f1a7a66 refine your search is not available on NoZebra. 2007-07-19 13:20:53 +00:00
hdl
fbec734d57 Adding selection by location for inventory 2007-07-19 07:40:08 +00:00
toins
a9b9f8002b using LoginBranchnameShort instead of LoginBranchname. 2007-07-17 09:28:52 +00:00
toins
466979fff0 fix XHTML syntax error.
writing method="post" instead of method="POST"
2007-07-16 15:54:08 +00:00
hdl
4d5ed7ac27 AddBiblio can be executed as a popup now. 2007-07-16 15:41:40 +00:00
hdl
eb8c3f432b - two periodicities 2/day and 3/week
- two other non critic periodicity unknown and without regularity.

Adding popup facility for create Biblio and subscription-renew
2007-07-16 15:39:43 +00:00
hdl
581f7a8e41 Adding popup stylesheet. 2007-07-16 15:34:05 +00:00
rangi
bf7eaca974 Fix for bug 1313, silent failure when entering manual invoice with invalid
itemnumber
2007-07-15 22:19:01 +00:00
toins
644e340fdb GPL added + tmpl display fix. 2007-07-13 16:01:32 +00:00
toins
71894b6830 adding a pagination bar 2007-07-13 15:37:20 +00:00