summaryrefslogtreecommitdiff
path: root/autoactions.php
diff options
context:
space:
mode:
authorNiklas Olmes <niklas@olmes.de>2026-04-24 19:30:00 +0200
committerNiklas Olmes <niklas@olmes.de>2026-04-24 19:30:00 +0200
commitcdea8caa5617f0cb77bcbc9803759abd2df50644 (patch)
tree2f7f1bd3af3b2396baf5403ad1a7ad00bcb7fae9 /autoactions.php
stipcrmHEADmain
Diffstat (limited to 'autoactions.php')
-rw-r--r--autoactions.php48
1 files changed, 48 insertions, 0 deletions
diff --git a/autoactions.php b/autoactions.php
new file mode 100644
index 0000000..d37e18c
--- /dev/null
+++ b/autoactions.php
@@ -0,0 +1,48 @@
+<?php
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+?>
+<?
+
+(function () use ($id) {
+?>
+
+<div id="<?=$id?>Actions" class="admin_actionsbelow">
+ Ausgewählte
+</div>
+
+<div id="<?=$id?>ActionsOuter" style="display: inline-block;">
+</div>
+
+<script>
+<? minStart(); ?>
+
+(function () {
+ var a = $('#<?=$id?>Actions');
+ var b = $('#<?=$id?>ActionsOuter');
+ a.detach();
+ b.detach();
+
+ if ($('#<?=$id?>TableInner').length > 0) {
+ a.appendTo('#<?=$id?>TableInner');
+ b.appendTo('#<?=$id?>TableInner');
+ } else {
+ a.appendTo('#<?=$id?>Table');
+ b.appendTo('#<?=$id?>Table');
+ }
+})();
+
+<? minEnd(); ?>
+</script>
+<?
+})();
+?>