diff --git a/Template/config/show.php b/Template/config/show.php new file mode 100644 index 0000000..3bac9d6 --- /dev/null +++ b/Template/config/show.php @@ -0,0 +1,33 @@ + + +
+ form->csrf() ?> + +
+ form->label(t('Column gap in pixels'), 'tweakdrag_column_gap_size') ?> + form->number('tweakdrag_column_gap_size', $values, $errors) ?> +

+ +

+
+ +
+ form->checkbox('tweakdrag_column_gap', t('Widen the gap between columns'), 1, isset($values['tweakdrag_column_gap']) && $values['tweakdrag_column_gap'] == 1) ?> +

+ +

+
+ +
+ form->checkbox('tweakdrag_drag_scroll', t('Drag the board background to scroll horizontally'), 1, isset($values['tweakdrag_drag_scroll']) && $values['tweakdrag_drag_scroll'] == 1) ?> +

+ +

+
+ +
+ +
+
diff --git a/Template/config/sidebar.php b/Template/config/sidebar.php new file mode 100644 index 0000000..42f4024 --- /dev/null +++ b/Template/config/sidebar.php @@ -0,0 +1,3 @@ +
  • app->checkMenuSelection('ConfigController', 'show', 'TweakDrag') ?>> + url->link(t('Tweak Drag'), 'ConfigController', 'show', array('plugin' => 'TweakDrag')) ?> +
  • diff --git a/Template/layout/variable.php b/Template/layout/variable.php new file mode 100644 index 0000000..0beb795 --- /dev/null +++ b/Template/layout/variable.php @@ -0,0 +1,8 @@ +