|
Lines 5-128
Link Here
|
| 5 |
</head> |
5 |
</head> |
| 6 |
<body> |
6 |
<body> |
| 7 |
[% INCLUDE 'header.inc' %] |
7 |
[% INCLUDE 'header.inc' %] |
|
|
8 |
[% INCLUDE 'home-search.inc' %] |
| 9 |
|
| 10 |
<div id="breadcrumbs">Home</div> |
| 11 |
|
| 8 |
[% IF ( koha_news_count ) %]<div id="doc3" class="yui-t3">[% ELSE %]<div id="doc3" class="yui-t7">[% END %] |
12 |
[% IF ( koha_news_count ) %]<div id="doc3" class="yui-t3">[% ELSE %]<div id="doc3" class="yui-t7">[% END %] |
| 9 |
<div id="bd"> |
13 |
<div id="bd"> |
| 10 |
[% IF ( koha_news_count ) %]<div id="yui-main"><div class="yui-b"><div class="yui-g"> |
14 |
[% IF ( koha_news_count ) %]<div id="yui-main"><div class="yui-b"><div class="yui-g"> |
| 11 |
[% ELSE %] <div class="yui-g">[% END %] |
15 |
[% ELSE %] <div class="yui-g">[% END %] |
| 12 |
|
16 |
|
| 13 |
<div class="yui-u first"> |
17 |
<h1>Welcome to Koha</h1> |
| 14 |
[% IF ( CAN_user_circulate ) %] |
|
|
| 15 |
<h3><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></h3> |
| 16 |
<ul><li style="padding-bottom:.3em;"> |
| 17 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl"> |
| 18 |
<label for="navfindborrower">Check out to:</label> |
| 19 |
<input accesskey="u" id="navfindborrower" name="findborrower" type="text" size="10" /> |
| 20 |
<input type="hidden" name="branch" value="[% branch %]" /> |
| 21 |
<input type="hidden" name="printer" value="[% printer %]" /> |
| 22 |
<input type="submit" class="submit" value="OK" /> |
| 23 |
</form> |
| 24 |
</li> |
| 25 |
<li style="padding-bottom:.3em;"> |
| 26 |
<form method="post" action="/cgi-bin/koha/circ/returns.pl"> |
| 27 |
<label for="barcode">Check in:</label> |
| 28 |
<input accesskey="r" id="barcode" name="barcode" type="text" size="10" /> |
| 29 |
<input type="submit" class="submit" value="OK" /> |
| 30 |
</form></li> |
| 31 |
|
18 |
|
| 32 |
<li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfers</a></li></ul> |
19 |
<div class="yui-u first"> |
| 33 |
[% END %] |
20 |
<!-- START - CIRCULATION --> |
| 34 |
[% IF ( CAN_user_borrowers ) %] |
21 |
[% IF ( CAN_user_circulate ) %] |
| 35 |
<h3><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></h3> |
22 |
<h3><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></h3> |
| 36 |
<ul> |
|
|
| 37 |
<li><form action="/cgi-bin/koha/members/member.pl" method="post"> |
| 38 |
<label for="navmember">Search: </label> |
| 39 |
<input id="navmember" type="text" size="10" name="member" /> |
| 40 |
<input type="submit" value="OK" class="submit" /> |
| 41 |
</form> |
| 42 |
</li> |
| 43 |
</ul> |
| 44 |
[% END %] |
| 45 |
[% IF ( CAN_user_catalogue ) %] |
| 46 |
<h3><a href="/cgi-bin/koha/catalogue/search.pl">Search</a></h3> |
| 47 |
<ul> |
| 48 |
<li> |
| 49 |
<form name="searchform" method="get" action="/cgi-bin/koha/catalogue/search.pl" id="searchform"> |
| 50 |
<input type="hidden" name="idx" value="" /> |
| 51 |
<label for="navkeyword"> |
| 52 |
Search catalog: |
| 53 |
</label><input type="text" id="navkeyword" name="q" size="10" accesskey="q" /> |
| 54 |
<input type="submit" value="OK" class="submit" /> |
| 55 |
</form> |
| 56 |
</li> |
| 57 |
</ul> |
| 58 |
[% END %] |
| 59 |
<h3><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></h3> |
| 60 |
</div> |
| 61 |
|
| 62 |
<div class="yui-u"> |
| 63 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] |
| 64 |
<h3><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></h3> |
| 65 |
<ul> |
| 66 |
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl">Add MARC Record</a></li> |
| 67 |
[% ELSE %] |
| 68 |
[% IF ( CAN_user_editauthorities ) %] |
| 69 |
<h3>Cataloging</h3> |
| 70 |
<ul> |
23 |
<ul> |
|
|
24 |
<li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfers</a></li> |
| 25 |
</ul> |
| 71 |
[% END %] |
26 |
[% END %] |
|
|
27 |
<!-- END - CIRCULATION --> |
| 28 |
|
| 29 |
<!-- START - PATRONS --> |
| 30 |
[% IF ( CAN_user_borrowers ) %] |
| 31 |
<h3><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></h3> |
| 72 |
[% END %] |
32 |
[% END %] |
| 73 |
|
33 |
<!-- END - PATRONS --> |
| 74 |
[% IF ( CAN_user_editauthorities ) %] |
34 |
|
| 75 |
<li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li> |
35 |
<!-- START - ADVANCED SEARCH --> |
|
|
36 |
[% IF ( CAN_user_catalogue ) %] |
| 37 |
<h3><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></h3> |
| 76 |
[% END %] |
38 |
[% END %] |
| 77 |
</ul> |
39 |
<!-- END - ADVANCED SEARCH --> |
| 78 |
|
|
|
| 79 |
|
40 |
|
|
|
41 |
<!-- START - LISTS --> |
| 42 |
<h3><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></h3> |
| 43 |
<!-- END - LISTS --> |
| 44 |
|
| 45 |
<!-- START - CATALOGING --> |
| 46 |
[% IF ( CAN_user_catalogue || CAN_user_editcatalogue || CAN_user_editauthorities ) %] |
| 47 |
<h3><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></h3> |
| 48 |
<ul> |
| 49 |
[% IF ( CAN_user_catalogue || CAN_user_editcatalogue ) %] |
| 50 |
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl">Add MARC Record</a></li> |
| 51 |
[% END %] |
| 52 |
[% IF ( CAN_user_editauthorities ) %] |
| 53 |
<li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li> |
| 54 |
[% END %] |
| 55 |
</ul> |
| 56 |
[% END %] |
| 57 |
<!-- END - CATALOGING --> |
| 58 |
</div> |
| 59 |
|
| 60 |
<div class="yui-u"> |
| 61 |
<!-- START - SERIALS --> |
| 80 |
[% IF ( CAN_user_serials ) %] |
62 |
[% IF ( CAN_user_serials ) %] |
| 81 |
<h3><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></h3> |
63 |
<h3><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></h3> |
|
|
64 |
[% END %] |
| 65 |
[% IF ( CAN_user_acquisition ) %] |
| 66 |
<h3><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></h3> |
| 67 |
[% IF ( pendingsuggestions ) %] |
| 68 |
<ul> |
| 69 |
<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions pending approval</a>: <span class="holdcount"><a href="/cgi-bin/koha/suggestion/suggestion.pl">[% pendingsuggestions %]</a></span></li> |
| 70 |
</ul> |
| 71 |
[% END %] |
| 82 |
[% END %] |
72 |
[% END %] |
| 83 |
[% IF ( CAN_user_acquisition ) %] |
73 |
<!-- END - SERIALS --> |
| 84 |
<h3><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></h3> |
74 |
|
| 85 |
[% IF ( pendingsuggestions ) %]<ul><li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions pending approval</a>: <span class="holdcount"><a href="/cgi-bin/koha/suggestion/suggestion.pl">[% pendingsuggestions %]</a></span></li></ul>[% END %] |
75 |
<!-- START - REPORTS --> |
| 86 |
[% END %] |
|
|
| 87 |
[% IF ( CAN_user_reports ) %] |
76 |
[% IF ( CAN_user_reports ) %] |
| 88 |
<h3><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></h3> |
77 |
<h3><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></h3> |
| 89 |
[% END %] |
78 |
[% END %] |
|
|
79 |
<!-- END - REPORTS --> |
| 80 |
|
| 81 |
<!-- START - ADMINISTRATION --> |
| 90 |
[% IF ( CAN_user_parameters ) %] |
82 |
[% IF ( CAN_user_parameters ) %] |
| 91 |
<h3><a href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a></h3> |
83 |
<h3><a href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a></h3> |
| 92 |
<ul> |
84 |
<ul> |
| 93 |
<li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li> |
85 |
<li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li> |
| 94 |
</ul> |
86 |
</ul> |
| 95 |
[% END %] |
87 |
[% END %] |
| 96 |
[% IF ( CAN_user_tools ) %] |
88 |
[% IF ( CAN_user_tools ) %] |
| 97 |
<h3><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></h3> |
89 |
<h3><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></h3> |
| 98 |
[% IF ( CAN_user_tools_moderate_comments && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) %] |
90 |
[% IF ( CAN_user_tools_moderate_comments && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) %] |
| 99 |
<ul> |
91 |
<ul> |
| 100 |
[% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %]<li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>: <span class="holdcount"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments %]</a></span></li>[% END %] |
92 |
[% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %] |
| 101 |
[% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]<li><a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>: <span class="holdcount"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags %]</a></span></li>[% END %] |
93 |
<li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>: <span class="holdcount"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments %]</a></span></li> |
|
|
94 |
[% END %] |
| 95 |
[% IF ( CAN_user_tools_moderate_tags && pendingtags ) %] |
| 96 |
<li><a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>: <span class="holdcount"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags %]</a></span></li> |
| 97 |
[% END %] |
| 102 |
</ul> |
98 |
</ul> |
| 103 |
[% END %] |
99 |
[% END %] |
| 104 |
[% END %] |
100 |
[% END %] |
|
|
101 |
<!-- END - ADMINISTRATION --> |
| 102 |
|
| 103 |
<!-- START - ABOUT --> |
| 105 |
<h3><a href="/cgi-bin/koha/about.pl">About Koha</a></h3> |
104 |
<h3><a href="/cgi-bin/koha/about.pl">About Koha</a></h3> |
| 106 |
</div> |
105 |
<!-- END - ABOUT --> |
| 107 |
</div> |
106 |
</div> |
| 108 |
[% IF ( IntranetmainUserblock ) %]<div id="mainuserblock" class="yui-g"> |
107 |
</div> |
| 109 |
[% IntranetmainUserblock %] |
108 |
[% IF ( IntranetmainUserblock ) %] |
| 110 |
</div>[% ELSE %] |
109 |
<div id="mainuserblock" class="yui-g"> |
| 111 |
[% END %] |
110 |
[% IntranetmainUserblock %] |
| 112 |
[% IF ( koha_news_count ) %] |
111 |
</div>[% ELSE %] |
| 113 |
</div><!-- /yui-bd --> |
112 |
[% END %] |
| 114 |
</div><!-- /yui-main --> |
113 |
[% IF ( koha_news_count ) %] |
| 115 |
<div class="yui-b"> |
114 |
</div><!-- /yui-bd --> |
| 116 |
<div id="koha-news"> |
115 |
</div><!-- /yui-main --> |
|
|
116 |
<div class="yui-b"> |
| 117 |
<div id="koha-news"> |
| 117 |
<h3>News</h3> |
118 |
<h3>News</h3> |
| 118 |
[% FOREACH koha_new IN koha_news %] |
119 |
[% FOREACH koha_new IN koha_news %] |
| 119 |
<div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4> |
120 |
<div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4> |
| 120 |
<p>[% koha_new.new %]</p> |
121 |
<p>[% koha_new.new %]</p> |
| 121 |
<p class="newsfooter"> Posted on [% koha_new.newdate %] [% IF ( CAN_user_tools ) %] |
122 |
<p class="newsfooter"> Posted on [% koha_new.newdate %] [% IF ( CAN_user_tools ) %] |
| 122 |
<a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]">Delete</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>[% END %]</p></div> |
123 |
<a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]">Delete</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>[% END %]</p></div> |
| 123 |
[% END %] |
124 |
[% END %] |
| 124 |
</div><!-- /koha-news --> |
125 |
</div><!-- /koha-news --> |
| 125 |
</div> |
126 |
</div> |
| 126 |
[% END %] |
127 |
[% END %] |
| 127 |
|
128 |
|
| 128 |
</div> |
129 |
</div> |
| 129 |
- |
|
|