572c586793
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>
13 lines
No EOL
522 B
Text
13 lines
No EOL
522 B
Text
[% INCLUDE 'help-top.inc' %]
|
|
|
|
<h1>Online help</h1>
|
|
|
|
<p>Sorry, there is no help available for this topic, please refer to the <a href="http://manual.koha-community.org/[% helpVersion %]/en/">Koha [% helpVersion %] manual</a> (online).</p>
|
|
|
|
<form action="/cgi-bin/koha/edithelp.pl" method="post">
|
|
<input type="hidden" name="referer" value="[% referer %]" />
|
|
<input type="hidden" name="type" value="addnew" />
|
|
<input type="submit" name="submit" class="submit" value="Add help" />
|
|
</form>
|
|
|
|
[% INCLUDE 'help-bottom.inc' %] |