]> git.koha-community.org Git - koha.git/commit
Bug 11238: contruct links to the appropriate manual version dynamically
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 28 Mar 2013 10:40:52 +0000 (11:40 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 23 Nov 2013 19:30:16 +0000 (19:30 +0000)
commit572c586793548988279ce908e951146d356f0322
treee3c64c46526a47580b0210a6b170692061f54feb
parent55b13c092a6b4a1d1e89e08837e2f0c1d2bb84b9
Bug 11238: contruct links to the appropriate manual version dynamically

This patch uses the version number of the Koha database to
dynamically generate links from help to the appropriate version
of the manual.

Test plan (for 3.15 branch):
- Open a help page
- Verify the manual link is correct (point to 3.14 manual)
- change the version in mysql:
update systempreferences set value="3.1600000" where variable="version";
- Verify the manual link now points to the future 3.16 manual.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described. No koha-qa errors

Tested on top of Bug 10671
On master (BD version 3.13.xxx) help links point to 3.12 manual
Changing version to 3.14/15 points to 3.14 manual
Changing version to 3.16 points to the future :)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
173 files changed:
help.pl
koha-tmpl/intranet-tmpl/prog/en/modules/help/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/acqcontract.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/acqui-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/addorderiso2709.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/basketgroup.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/basketheader.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/booksellers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/histsearch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/invoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/invoices.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/lateorders.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/neworderbiblio.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/neworderempty.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/newordersuggestion.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/orderreceive.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/parcel.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/parcels.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/supplier.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/uncertainprice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/z3950_search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/admin-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/aqbudgetperiods.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/aqbudgets.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/aqplan.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/auth_subfields_structure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/auth_tag_structure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/authorised_values.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/authtypes.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/biblio_framework.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/branch_transfer_limits.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/branches.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/categorie.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/checkmarc.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/cities.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/classsources.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/currency.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/didyoumean.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/fieldmapping.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/item_circulation_alerts.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/itemtypes.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/koha2marclinks.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/marc_subfields_structure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/marctagstructure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/matching-rules.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/oai_set_mappings.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/oai_sets.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/patron-attr-types.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/preferences.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/roadtype.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/smart-rules.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/systempreferences.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/transport-cost-matrix.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/z3950servers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/authorities/authorities-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/authorities/authorities.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/authorities/detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/authorities/merge.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/catalogue/issuehistory.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/catalogue/moredetail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/catalogue/search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/cataloguing/addbiblio.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/cataloguing/addbooks.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/cataloguing/additem.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/cataloguing/linkitem.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/cataloguing/merge.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/cataloguing/moveitem.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/branchoverdues.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/branchtransfers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/circulation-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/offline.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/overdue.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/pendingreserves.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/reserveratios.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/returns.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/selectbranchprinter.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/transferstoreceive.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/view_holdsqueue.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/waitingreserves.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/course_reserves/add_items.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/course_reserves/course-details.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/course_reserves/course-reserves.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/course_reserves/course.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/labels/label-edit-batch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/labels/label-edit-layout.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/labels/label-edit-profile.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/labels/label-edit-template.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/labels/label-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/labels/spinelabel-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/mainpage.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/boraccount.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/files.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/mancredit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/maninvoice.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/member-flags.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/member-password.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/member.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/memberentry.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/members-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/members-update.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/moremember.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/notices.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/pay.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/paycollect.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/readingrec.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/routing-lists.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/members/statistics.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/nohelp.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/offline_circ/list.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/offline_circ/process_koc.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/patron_lists/lists.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/edit-batch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/edit-layout.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/edit-profile.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/edit-template.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/image-manage.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/manage.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/plugins/plugins-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/plugins/plugins-upload.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/acquisitions_stats.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/bor_issues_top.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/borrowers_out.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/borrowers_stats.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/cat_issues_top.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/catalogue_out.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/catalogue_stats.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/dictionary.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/guided_reports.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/issues_avg_stats.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/issues_stats.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/itemslost.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/manager.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/reports-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/reserves_stats.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reports/serials_stats.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reserve/request.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/reviews/reviewswaiting.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/checkexpiration.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/claims.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/routing.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/serials-collection.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/serials-edit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/serials-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/subscription-add.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/subscription-detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/suggestion/suggestion.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tags/list.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tags/review.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/batchMod.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/cleanborrowers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/csv-profiles.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/export.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/holidays.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/import_borrowers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/inventory.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/koha-news.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/letter.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/manage-marc-import.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/modborrowers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/overduerules.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/picture-upload.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/quotes-upload.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/quotes.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/scheduler.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/stage-marc-import.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/tools-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/upload-cover-image.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/viewlog.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/virtualshelves/shelves.tt