diff options
Diffstat (limited to 'autoactions.php')
| -rw-r--r-- | autoactions.php | 48 |
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> +<? +})(); +?> |
