Commit graph

2134 commits

Author SHA1 Message Date
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
8ef96bcd4b Fixing spelling mistakes with reviews
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-08 19:26:02 -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
9886bc758c updating french translation
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-03 03:44:53 -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