Cancel link for multi-edit
This commit is contained in:
parent
a1f2769309
commit
78adfc2e3a
|
@ -106,5 +106,8 @@ if ($fields) {
|
||||||
if ($update) {
|
if ($update) {
|
||||||
echo "<input type='submit' name='delete' value='" . lang('Delete') . "' onclick=\"return confirm('" . lang('Are you sure?') . "')" . (isset($_GET["select"]) ? " && !ajaxForm(this.form, 'delete=1')" : "") . ";\">\n";
|
echo "<input type='submit' name='delete' value='" . lang('Delete') . "' onclick=\"return confirm('" . lang('Are you sure?') . "')" . (isset($_GET["select"]) ? " && !ajaxForm(this.form, 'delete=1')" : "") . ";\">\n";
|
||||||
}
|
}
|
||||||
|
if (isset($_GET["select"])) {
|
||||||
|
echo "<a href='" . h($_SERVER["REQUEST_URI"]) . "' onclick='return !ajax(this.href);'>" . lang('Cancel') . "</a>\n";
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -290,4 +290,6 @@ $translations = array(
|
||||||
|
|
||||||
// function translation used in Editor
|
// function translation used in Editor
|
||||||
'now' => 'teď',
|
'now' => 'teď',
|
||||||
|
|
||||||
|
'Cancel' => 'Storno',
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue