View | Details | Raw Unified | Return to bug 7781
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-1 / +1 lines)
Lines 1848-1854 span.permissiondesc { Link Here
1848
}
1848
}
1849
1849
1850
/* borrower autocomplete */
1850
/* borrower autocomplete */
1851
#borrowerautocomplete { width: 450px; text-align:left;} /* z-index needed on top instances for ie & sf absolute inside relative issue */
1851
#borrowerautocomplete { width: 500px; text-align:left;} /* z-index needed on top instances for ie & sf absolute inside relative issue */
1852
.autocomplete .yui-ac-highlight ,
1852
.autocomplete .yui-ac-highlight ,
1853
.autocomplete .yui-ac-highlight .sample-result,
1853
.autocomplete .yui-ac-highlight .sample-result,
1854
.autocomplete .yui-ac-highlight .sample-query { color:#FFF; }
1854
.autocomplete .yui-ac-highlight .sample-query { color:#FFF; }
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc (+40 lines)
Line 0 Link Here
1
2
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Main page Resident Search Box -->
3
4
<div id="header_search">
5
    [% INCLUDE 'patron-search-box.inc' %]
6
[% IF ( CAN_user_circulate ) %]
7
<div id="checkin_search" class="residentsearch" style="display:none;">
8
    <p class="tip">Scan a barcode to check in:</p>
9
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
10
        <input name="barcode" id="ret_barcode" size="40" accesskey="r" />
11
        <input value="Submit" class="submit" type="submit" />
12
    </form>
13
</div>[% END %]
14
[% IF ( CAN_user_borrowers ) %]
15
<div id="patron_search" class="residentsearch">
16
	<p class="tip">Enter patron card number or partial name:</p>
17
	<form action="/cgi-bin/koha/members/member.pl" method="post">
18
        <input name="member" id="searchmember" size="40" type="text""/>
19
        <input value="Submit" class="submit" type="submit" />
20
    </form>
21
</div>[% END %]
22
[% IF ( CAN_user_catalogue ) %]
23
<div id="catalog_search" class="residentsearch" style="display:none;">
24
    <p class="tip">Enter search keywords:</p>
25
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
26
        <input type="text" name="q" id="search-form" size="40" accesskey="q" />
27
        <input type="submit" class="submit" value="Submit"/>
28
    </form>
29
</div>[% END %]
30
31
<ul>
32
    [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>[% END %]
33
    [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/returns.pl#checkin_search">Check In</a></li>[% END %]
34
    [% IF ( CAN_user_borrowers ) %]<li><a href="/cgi-bin/koha/members/members-home.pl#patron_search">Search Patrons</a></li>[% END %]
35
    [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the Catalog</a></li>[% END %]
36
</ul>   
37
38
</div>
39
40
<!-- End Main page Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-99 / +103 lines)
Lines 5-129 Link Here
5
</head>
5
</head>
6
<body id="main_intranet-main" class="main">
6
<body id="main_intranet-main" class="main">
7
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'header.inc' %]
8
[% IF ( koha_news_count ) %]<div id="doc3" class="yui-t3">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
8
[% INCLUDE 'home-search.inc' %]
9
10
<div id="breadcrumbs">Home</div>
11
12
<div id="doc3" class="yui-t3">
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
<div id="yui-main"><div class="yui-b"><div class="yui-g">
11
[% ELSE %]	<div class="yui-g">[% END %]
12
15
13
	<div class="yui-u first">
16
<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
17
32
        <li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfers</a></li></ul>
18
    <div class="yui-u first">
33
	[% END %]
19
    <!-- START - CIRCULATION -->
34
	[% IF ( CAN_user_borrowers ) %]
20
    [% IF ( CAN_user_circulate ) %]
35
		<h3><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></h3>
21
    <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:&nbsp;</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:&nbsp;
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>
22
    <ul>
23
        <li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfers</a></li>
24
    </ul>
71
    [% END %]
25
    [% END %]
26
    <!-- END - CIRCULATION -->
27
28
    <!-- START - PATRONS -->
29
    [% IF ( CAN_user_borrowers ) %]
30
        <h3><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></h3>
72
    [% END %]
31
    [% END %]
73
    
32
    <!-- END - PATRONS -->
74
    [% IF ( CAN_user_editauthorities ) %]
33
75
        <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
34
    <!-- START - ADVANCED SEARCH -->
35
    [% IF ( CAN_user_catalogue ) %]
36
        <h3><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></h3>
76
    [% END %]
37
    [% END %]
77
    </ul>
38
    <!-- END - ADVANCED SEARCH -->
78
    
79
    
39
    
40
    <!-- START - LISTS -->
41
    <h3><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></h3>
42
    <!-- END - LISTS -->
43
44
    <!-- START - CATALOGING -->
45
    [% IF ( CAN_user_catalogue || CAN_user_editcatalogue || CAN_user_editauthorities ) %]
46
        <h3><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></h3>
47
        <ul>
48
        [% IF ( CAN_user_catalogue || CAN_user_editcatalogue ) %]
49
                <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl">Add MARC Record</a></li>
50
        [% END %]
51
        [% IF ( CAN_user_editauthorities ) %]
52
                <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
53
        [% END %]
54
        </ul>
55
    [% END %]
56
    <!-- END - CATALOGING -->
57
    </div>
58
59
    <div class="yui-u">
60
    <!-- START - SERIALS -->
80
    [% IF ( CAN_user_serials ) %]
61
    [% IF ( CAN_user_serials ) %]
81
    <h3><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></h3>
62
        <h3><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></h3>
82
    [% END %]
63
    [% END %]
83
	[% IF ( CAN_user_acquisition ) %]
64
    [% IF ( CAN_user_acquisition ) %]
84
	<h3><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></h3>
65
        <h3><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></h3>
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 %]
66
        [% IF ( pendingsuggestions ) %]
86
	[% END %]
67
            <ul>
68
                <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>
69
            </ul>
70
        [% END %]
71
    [% END %]
72
    <!-- END - SERIALS -->
73
74
    <!-- START - REPORTS -->
87
    [% IF ( CAN_user_reports ) %]
75
    [% IF ( CAN_user_reports ) %]
88
    <h3><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></h3>
76
        <h3><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></h3>
89
    [% END %]
77
    [% END %]
78
    <!-- END - REPORTS -->
79
80
    <!-- START - ADMINISTRATION -->
90
    [% IF ( CAN_user_parameters ) %]
81
    [% IF ( CAN_user_parameters ) %]
91
    <h3><a href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a></h3>
82
        <h3><a href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a></h3>
92
   	<ul>
83
        <ul>
93
        <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
84
            <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
94
    </ul>
85
        </ul>
95
    [% END %]
86
        [% END %]
96
    [% IF ( CAN_user_tools ) %] 
87
    [% IF ( CAN_user_tools ) %] 
97
    <h3><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></h3>
88
        <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 ) %]
89
        [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) %]
99
            <ul>
90
            <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 %]
91
                [% 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 %]
92
                    <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>
93
                [% END %]
94
                [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
95
                    <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>
96
                [% END %]
102
            </ul>
97
            </ul>
103
        [% END %]
98
        [% END %]
104
    [% END %]
99
    [% END %]
100
    <!-- END - ADMINISTRATION -->
101
102
    <!-- START - ABOUT -->
105
    <h3><a href="/cgi-bin/koha/about.pl">About Koha</a></h3>
103
    <h3><a href="/cgi-bin/koha/about.pl">About Koha</a></h3>
106
	</div>
104
    <!-- END - ABOUT -->
107
	</div>
105
    </div>
108
		[% IF ( IntranetmainUserblock ) %]<div id="mainuserblock" class="yui-g">
106
    </div>
109
			[% IntranetmainUserblock %]
107
        [% IF ( IntranetmainUserblock ) %]
110
			</div>[% ELSE %]&nbsp;
108
            <div id="mainuserblock" class="yui-g">
111
		[% END %]
109
            [% IntranetmainUserblock %]
112
[% IF ( koha_news_count ) %]
110
            </div>[% ELSE %]&nbsp;
113
	</div><!-- /yui-bd -->
111
        [% END %]
114
	</div><!-- /yui-main -->
112
    </div><!-- /yui-bd -->
115
	<div class="yui-b">
113
    </div><!-- /yui-main -->
116
		<div id="koha-news">
114
    [% IF ( koha_news_count ) %]
117
            <h3>News</h3>
115
        <div class="yui-b">
118
            [% FOREACH koha_new IN koha_news %]
116
            <div id="koha-news">
117
                <h3>News</h3>
118
                [% FOREACH koha_new IN koha_news %]
119
                    <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
119
                    <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
120
					 <p>[% koha_new.new %]</p>
120
                        <p>[% koha_new.new %]</p>
121
					<p class="newsfooter"> Posted on [% koha_new.newdate %] [% IF ( CAN_user_tools ) %]
121
                        <p class="newsfooter"> Posted on [% koha_new.newdate %]
122
    <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% koha_new.idnew %]">Edit</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&amp;ids=[% koha_new.idnew %]">Delete</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>[% END %]</p></div>
122
                            [% IF ( CAN_user_tools ) %]
123
            [% END %]
123
                                <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% koha_new.idnew %]">Edit</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&amp;ids=[% koha_new.idnew %]">Delete</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
124
		</div><!-- /koha-news -->
124
                            [% END %]
125
	</div>
125
                        </p>
126
[% END %]
126
                    </div>
127
                [% END %]
128
            </div><!-- /koha-news -->
129
        </div>
130
    [% END %]
131
    
127
132
128
</div>
133
</div>
129
134
130
- 

Return to bug 7781