|
Lines 1-20
Link Here
|
|
|
1 |
[% USE Koha %] |
| 2 |
[% USE Branches %] |
| 1 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
| 2 |
<title>Online help</title> |
4 |
<title>Online help</title> |
| 3 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
|
| 4 |
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" /> |
| 5 |
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui-1.11.4.min.css" /> |
| 6 |
<link rel="stylesheet" type="text/css" media="print" href="[% interface %]/[% theme %]/css/print.css" /> |
| 7 |
[% INCLUDE intranetstylesheet.inc %] |
| 8 |
[% IF ( bidi ) %] |
| 9 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" /> |
| 10 |
[% END %] |
| 11 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-2.2.3.min.js"></script> |
| 12 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min.js"></script> |
| 13 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui-1.11.4.min.js"></script> |
| 14 |
<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut.js"></script> |
| 15 |
<!-- koha core js --> |
| 16 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/staff-global.js"></script> |
| 17 |
|
| 18 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/help.css" /> |
5 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/help.css" /> |
| 19 |
</head> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
7 |
|
| 20 |
<body id="help" class="help"> |
8 |
<body id="help" class="help"> |
|
|
9 |
|
| 10 |
<div id="help-from-news"> |
| 11 |
<h1><span class="help_title">Help for [% Branches.GetName( homebranch ) %]</span></h1> |
| 12 |
[% FOREACH helpitem IN help_from_news %] |
| 13 |
[% IF (helpitem.helpkey == helpkey) || (helpitem.helpkey == 'all') %] |
| 14 |
<div class="help-item-title" id="helpnews[% helpitem.idnew %]"> |
| 15 |
<h4>[% helpitem.title %] [% helpitem.helpkey %]</h4> |
| 16 |
<div class="help-item-body">[% helpitem.content %]</div> |
| 17 |
<div class="help-item-date">[% helpitem.newdate %]</div> |
| 18 |
<div class="help-item-footer"> |
| 19 |
[% IF ( 1 || CAN_edit_help ) %] |
| 20 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% helpitem.idnew %]"> |
| 21 |
<i class="fa fa-pencil"></i>Edit</a> |
| 22 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% helpitem.idnew %]"> |
| 23 |
<i class="fa fa-trash"></i>Delete</a> |
| 24 |
[% END %] |
| 25 |
</div> |
| 26 |
</div> |
| 27 |
[% END %] |
| 28 |
[% END %] |
| 29 |
<div class="help-item-buttons"> |
| 30 |
<p><a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&helpkey=[% helpkey %]&lang=staffhelp"> |
| 31 |
<i class="fa fa-pencil"></i>New custom help for this page</a> |
| 32 |
<span class="hint">Key is: [% helpkey %]</span></p> |
| 33 |
<p><a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&helpkey=all&lang=staffhelp"> |
| 34 |
<i class="fa fa-plus"></i>New custom help for all pages</a> |
| 35 |
<span class="hint">Key is: all</span></p> |
| 36 |
</div> |
| 37 |
</div><!-- /help-from-news --> |
| 38 |
|
| 39 |
<div id="koha-help"> |