SetVersion($DBversion);
}
-$DBversion = "3.11.00.XXX";
+$DBversion = "3.13.00.XXX";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("CREATE TABLE IF NOT EXISTS marc_modification_templates (
template_id int(11) NOT NULL auto_increment,
$dbh->do("INSERT INTO permissions (module_bit, code, description) VALUES ('13', 'marc_modification_templates', 'Manage marc modification templates')");
- print "Upgrade to $DBversion done ( Added tables for MARC Modification Framework )\n";
+ print "Upgrade to $DBversion done ( Bug 8015: Added tables for MARC Modification Framework )\n";
SetVersion($DBversion);
}
}
function confirmDelete() {
- var agree = confirm("Are you sure you wish to delete this template?");
+ var agree = confirm(_("Are you sure you wish to delete this template?"));
return agree;
}
document.getElementById('description').value = description;
window.modaction_legend_innerhtml = document.getElementById('modaction_legend').innerhtml;
- document.getElementById('modaction_legend').innerhtml = "Edit Action " + ordering;
+ document.getElementById('modaction_legend').innerhtml = _("Edit action") + ordering;
window.action_submit_value = document.getElementById('action_submit').value;
- document.getElementById('action_submit').value = "Update Action";
+ document.getElementById('action_submit').value = _("Update action");
show('cancel_edit');
}
<caption>Actions for this template</caption>
<tr>
- <th>Change Order</th>
+ <th>Change order</th>
<th>Order</th>
<th>Action</th>
<th>Description</th>
[% FOREACH ActionsLoo IN ActionsLoop %]
<tr>
<td style="white-space:nowrap;">
- <a title="Move Action Up" href="marc_modification_templates.pl?op=move_action&where=up&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]">
+ <a title="Move action up" href="marc_modification_templates.pl?op=move_action&where=up&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]">
<img src="[% interface %]/[% theme %]/img/go-up.png" border="0" alt="Go up" />
</a>
- <a title="Move Action To Top" href="marc_modification_templates.pl?op=move_action&where=top&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]">
+ <a title="Move action to top" href="marc_modification_templates.pl?op=move_action&where=top&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]">
<img src="[% interface %]/[% theme %]/img/go-top.png" border="0" alt="Go top" />
</a>
- <a title="Move Action To Bottom" href="marc_modification_templates.pl?op=move_action&where=bottom&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]">
+ <a title="Move action to bottom" href="marc_modification_templates.pl?op=move_action&where=bottom&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]">
<img src="[% interface %]/[% theme %]/img/go-bottom.png" border="0" alt="Go bottom" />
</a>
- <a title="Move Action Down" href="marc_modification_templates.pl?op=move_action&where=down&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]">
+ <a title="Move action down" href="marc_modification_templates.pl?op=move_action&where=down&template_id=[% ActionsLoo.template_id %]&mmta_id=[% ActionsLoo.mmta_id %]">
<img src="[% interface %]/[% theme %]/img/go-down.png" border="0" alt="Go down" />
</a>
</td>
<form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_action" >
<a name="modaction"></a>
<fieldset>
- <legend id="modaction_legend">Add A New Action</legend>
+ <legend id="modaction_legend">Add a new action</legend>
<select name="action" id="action" onchange="onActionChange(this);">
<option value="delete_field">Delete</option>
<input type="text" name="description" id="description" size="60" />
<br/><br/>
- <input id="action_submit" type="submit" value="Add Action" /> <a href="#modaction" id="cancel_edit" onclick="cancelEditAction();" style="display:none;">Cancel</a>
+ <input id="action_submit" type="submit" value="Add action" /> <a href="#modaction" id="cancel_edit" onclick="cancelEditAction();" style="display:none;">Cancel</a>
</fieldset>
</form>