|
Lines 4-10
Link Here
|
| 4 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/mainpage.css" /> |
4 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/mainpage.css" /> |
| 5 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
| 6 |
<style type="text/css"> </style> |
6 |
<style type="text/css"> </style> |
| 7 |
|
7 |
<script type="text/javascript"> |
|
|
8 |
//<![CDATA[ |
| 9 |
var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this news item? This cannot be undone."); |
| 10 |
//]]> |
| 11 |
</script> |
| 8 |
</head> |
12 |
</head> |
| 9 |
<body id="main_intranet-main" class="main"> |
13 |
<body id="main_intranet-main" class="main"> |
| 10 |
[% INCLUDE 'header.inc' %] |
14 |
[% INCLUDE 'header.inc' %] |
|
Lines 179-185
Link Here
|
| 179 |
<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 %] |
183 |
<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 %] |
| 180 |
[% IF ( CAN_user_tools ) %] |
184 |
[% IF ( CAN_user_tools ) %] |
| 181 |
<a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a> |
185 |
<a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a> |
| 182 |
| <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]">Delete</a> |
186 |
| <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]" onclick="return confirm(MSG_CONFIRM_DELETE);">Delete</a> |
| 183 |
| <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a> |
187 |
| <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a> |
| 184 |
[% END %] |
188 |
[% END %] |
| 185 |
</p> |
189 |
</p> |