Lines 135-147
Link Here
|
135 |
|
135 |
|
136 |
[% IF ( delete_confirm ) %] |
136 |
[% IF ( delete_confirm ) %] |
137 |
<div class="dialog alert"> |
137 |
<div class="dialog alert"> |
138 |
<h3>Delete framework for [% frameworktext %] ([% frameworkcode %])?</h3> |
|
|
139 |
[% IF ( total ) %] |
138 |
[% IF ( total ) %] |
140 |
<p><strong>This framework is used [% total %] times</strong>.</p> |
139 |
<h3>This framework cannot be deleted</h3> |
|
|
140 |
<p><strong><span class="ex">[% frameworktext %] ([% frameworkcode %])</span></strong></p> |
141 |
<p><strong>This framework is used [% total %] times</strong>.</p> |
142 |
<form action="/cgi-bin/koha/admin/biblio_framework.pl" method="get"> |
143 |
<input type="submit" value="Return to frameworks" /> |
144 |
</form> |
145 |
[% ELSE %] |
146 |
<h3>Delete framework for [% frameworktext %] ([% frameworkcode %])?</h3> |
147 |
<form class="inline" action="[% script_name %]" method="post"> |
148 |
<input type="hidden" name="op" value="delete_confirmed" /> |
149 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
150 |
<input type="submit" class="approve" value="Yes, delete this framework!" /> |
151 |
</form> |
152 |
<form class="inline" action="[% script_name %]" method="get"> |
153 |
<input type="submit" class="deny" value="No, do not delete!" /> |
154 |
</form> |
141 |
[% END %] |
155 |
[% END %] |
142 |
<form class="inline" action="[% script_name %]" method="post"><input type="hidden" name="op" value="delete_confirmed" /><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /><input type="submit" class="approve" value="Yes, delete this framework!" /> |
|
|
143 |
</form> |
144 |
<form class="inline" action="[% script_name %]" method="get"><input type="submit" class="deny" value="No, do not delete!" /></form> |
145 |
</div> |
156 |
</div> |
146 |
[% END %] |
157 |
[% END %] |
147 |
|
158 |
|
148 |
- |
|
|