From b8fa0246803dab40cf57d40b45984c53046f2d55 Mon Sep 17 00:00:00 2001 From: "Dzial Techniczny WMW Projekt s.c" Date: Tue, 10 Dec 2019 11:34:53 +0100 Subject: Plugins directory and local modifications --- plugins/Boardcustomizer/Template/user/settings.php | 29 ++++++++++++++++++++++ plugins/Boardcustomizer/Template/user/sidebar.php | 3 +++ 2 files changed, 32 insertions(+) create mode 100644 plugins/Boardcustomizer/Template/user/settings.php create mode 100644 plugins/Boardcustomizer/Template/user/sidebar.php (limited to 'plugins/Boardcustomizer/Template/user') diff --git a/plugins/Boardcustomizer/Template/user/settings.php b/plugins/Boardcustomizer/Template/user/settings.php new file mode 100644 index 00000000..9a6e3124 --- /dev/null +++ b/plugins/Boardcustomizer/Template/user/settings.php @@ -0,0 +1,29 @@ + + + + +

+ + + + + + + $key) : ?> + + + + + +
+ + + user->userMetadataModel->exists($user['id'], $key)) : ?> + url->icon('toggle-off', t('Disable'), 'SettingsController', 'disable', array('plugin' => 'boardcustomizer', 'key' => $key), true) ?> + + url->icon('toggle-on', t('Enable'), 'SettingsController', 'enable', array('plugin' => 'boardcustomizer', 'key' => $key), true) ?> + +
+ \ No newline at end of file diff --git a/plugins/Boardcustomizer/Template/user/sidebar.php b/plugins/Boardcustomizer/Template/user/sidebar.php new file mode 100644 index 00000000..2d7a1582 --- /dev/null +++ b/plugins/Boardcustomizer/Template/user/sidebar.php @@ -0,0 +1,3 @@ +
  • app->checkMenuSelection('SettingsController', 'showSettings') ?>> + url->link(t('My display settings'), 'SettingsController', 'showSettings', array('plugin' => 'boardcustomizer')) ?> +
  • \ No newline at end of file -- cgit v1.2.3