|
Lines 180-190
var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this news item? This
Link Here
|
| 180 |
<div class="yui-b"><!-- YOUR NAVIGATION GOES HERE --> |
180 |
<div class="yui-b"><!-- YOUR NAVIGATION GOES HERE --> |
| 181 |
[% IF ( koha_news_count ) %] |
181 |
[% IF ( koha_news_count ) %] |
| 182 |
<div id="area-news"> |
182 |
<div id="area-news"> |
| 183 |
<h3><span="news_title">News</span></h3> |
183 |
<h3><span class="news_title">News</span></h3> |
| 184 |
[% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %] |
184 |
[% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %] |
| 185 |
[% FOREACH koha_new IN koha_news %] |
185 |
[% FOREACH koha_new IN koha_news %] |
| 186 |
<div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4> |
186 |
<div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4> |
| 187 |
<p>[% koha_new.new %]</p> |
187 |
<div class="newsbody">[% koha_new.new %]</div> |
| 188 |
<p class="newsfooter"> Posted on [% koha_new.newdate %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %]<br />[% END %] |
188 |
<p class="newsfooter"> Posted on [% koha_new.newdate %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %]<br />[% END %] |
| 189 |
[% IF ( CAN_user_tools ) %] |
189 |
[% IF ( CAN_user_tools ) %] |
| 190 |
<a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a> |
190 |
<a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a> |
|
Lines 197-203
var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this news item? This
Link Here
|
| 197 |
</div><!-- /koha-news --> |
197 |
</div><!-- /koha-news --> |
| 198 |
[% END %] |
198 |
[% END %] |
| 199 |
</div> |
199 |
</div> |
| 200 |
</div> |
|
|
| 201 |
</div> |
200 |
</div> |
| 202 |
|
201 |
|
| 203 |
<!-- the main div is closed in intranet-bottom.inc --> |
202 |
<!-- the main div is closed in intranet-bottom.inc --> |
| 204 |
- |
|
|