Koha/installer/data/mysql/en/optional
Chris Nighswonger eb7e930eea Bug 7977: Quote-of-the-day (QOTD) Feature for OPAC
This feature will add the option of displaying a select quote
for the day on the OPAC homepage. It will include the addition
of a QOTD editor in the tools section of the staff interface
which will allow the addition, editing, and deletion of quotes.
A single system preference will enable/disable the display of
the QOTD on the OPAC homepage. A new granular permission will
also be added to conrol user access to the QOTD editor tool.

Possible extentions to this would be code to allow alternate
quote selection algorithms to be added to vary how the currently
displayed quote is selected from the table of quotes.

This patch is a squash of the following work:

--Adding quotes table to kohastructure.sql and updatedatabase.pl

Note: This patch is intended for a MySQL based installation only.
That means that it includes backticks because that is what is required
at this point in history to install Koha correctly on a MySQL based
installation.

Feel free to port this over to the Pg stuff in the data/Pg directory.

--Adding system preference to control display of QOTD on OPAC main page
--Adding sample quote data

These quotes are taken from various US presidents. I'm not sure these
are applicable to the rest of the world, so I'm leaving it to translators
and others to add sample quote data for other languages.

--Adding edit_quotes user permissions
--Squash with other db related patches in this series
--Adding quotes editor pages to tools
--Adding QOTD editor link to tools homepage
--Integration of DataTables into QOTD Editor
--Impleminting jEditable into the quote editor
--Adding delete and add option to editor
--Fixing OPAC display so the QOTD div does not show if no quote is returned
--Also removing useless code from tools/quotes.pl
--Adding spans around QOTD foo in opac-main.tt
--Also fixing quote selection logic to accomodate the possibility of
    a single quote in the db a litte better.
--Changing timestamp column header to a more user-friendly 'Last Displayed'
--Fixing bug in quote selection logic. This bug caused a situation where
    when the table had only a single quote with an id greater than 1 in it,
    no quote would be selected.
--Fixing up sorting in the quote editor table. --jcamins
--Adding span element to quote separator --jcamins
--Overriding the default empty table message supplied by datatables-strings.inc
--Adds missing page heading
--Adds beginning of click-for-help elements.
--Refactors delete functionality to allow selecting of quotes to delete,
    enabling multi-delete.
--Refactors saving added quote functionality so that striking <Enter>
    saves the new quote.
--Refactors canceling aded quote functionality so that striking <Esc>
    cancels the new quote.
--Removing debug console.log statements
--Implementng the YUI button widget/toolbar used on other pages.
--Adds a 5px radius to all YUI buttons to bring them into
    conformity with the general trend toward rounded corners
--Fixes capitalization in quote editor
--Implements improvements suggested by jcamins and oleonard
--Adds DataTables Plugin dataTables.fnReloadAjax.js

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
2012-05-24 14:14:05 +02:00
..
auth_val.sql Bug 2399: All status fields in the item edit interface offer two blank/null entries per dropdown instead of one 2012-05-07 22:26:53 +02:00
auth_val.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
marc21_holdings_coded_values.sql prefixing all holdings auth values with HINGS 2007-12-26 10:40:58 -06:00
marc21_holdings_coded_values.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
marc21_relatorterms.sql Bug 6299 - Provide a list of authorized values for Relator terms 2012-02-13 18:12:47 +01:00
marc21_relatorterms.txt Bug 6299 - Provide a list of authorized values for Relator terms 2012-02-13 18:12:47 +01:00
parameters.sql Typo bugfix: sterling is GBP not GPB 2008-06-10 08:25:00 -05:00
parameters.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
patron_atributes.sql wr76595 (bug 4157): Control barcode display with a borrower attribute 2011-04-05 14:54:50 +12:00
patron_atributes.txt wr76595 (bug 4157): Control barcode display with a borrower attribute 2011-04-05 14:54:50 +12:00
patron_categories.sql fix for bug 1697, as well as repairing inability to change category to Staff 2008-01-04 21:30:25 -06:00
patron_categories.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
sample_creator_data.sql bug 5653: use itemcallnumber in bib label layouts 2011-06-13 11:15:34 +12:00
sample_creator_data.txt [28/30] Adding sample data for Label and Patron Card Creators 2010-01-11 18:21:18 -05:00
sample_holidays.sql Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
sample_holidays.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
sample_itemtypes.sql Bug 4915: Remove renewalsallowed from sample_itemtypes.sql 2010-07-01 19:29:25 -04:00
sample_itemtypes.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
sample_libraries.sql improving sample data for English 2007-12-30 17:00:42 -06:00
sample_libraries.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
sample_news.sql update sample news on new install with koha-community.org urls 2010-05-24 08:56:43 -04:00
sample_news.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
sample_patrons.sql Bug 7453: All patrons should have an expiry date 2012-02-03 17:14:06 +01:00
sample_patrons.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
sample_quotes.sql Bug 7977: Quote-of-the-day (QOTD) Feature for OPAC 2012-05-24 14:14:05 +02:00
sample_quotes.txt Bug 7977: Quote-of-the-day (QOTD) Feature for OPAC 2012-05-24 14:14:05 +02:00
sample_z3950_servers.sql Bug 3782 Update installer info for z39.50 targets 2010-04-29 22:12:30 -04:00
sample_z3950_servers.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00