diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e9bec5..38ab05b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ 0.2.x - add update from external repositories - fix permissions +- add copy to clipboard button 0.2.0 - 2021.09.28 - use xmlTag() to manage file content diff --git a/_config.php b/_config.php index 38a8e9f..cc95489 100644 --- a/_config.php +++ b/_config.php @@ -1,36 +1,37 @@ getURL() . '#plugins' : $_REQUEST['redir']; # -- Get settings -- $core->blog->settings->addNamespace('tweakStores'); $s = $core->blog->settings->tweakStores; -$tweakStores_active = $s->active; -$tweakStores_packman = $s->packman; +$tweakStores_active = $s->active; +$tweakStores_packman = $s->packman; $tweakStores_file_pattern = $s->file_pattern; # -- Set settings -- if (!empty($_POST['save'])) { try { - $tweakStores_active = !empty($_POST['tweakStores_active']); - $tweakStores_packman = !empty($_POST['tweakStores_packman']); + $tweakStores_active = !empty($_POST['tweakStores_active']); + $tweakStores_packman = !empty($_POST['tweakStores_packman']); $tweakStores_file_pattern = $_POST['tweakStores_file_pattern']; $s->put('active', $tweakStores_active); @@ -38,7 +39,7 @@ if (!empty($_POST['save'])) { $s->put('file_pattern', $tweakStores_file_pattern); dcPage::addSuccessNotice( - __('Configuration has been successfully updated.') + __('Configuration successfully updated') ); http::redirect( $list->getURL('module=tweakStores&conf=1&redir=' . $list->getRedir()) @@ -56,20 +57,20 @@ echo '
-' . __('If enabled, new tab "Tweak stores" allows your to perfom actions relative to third-party repositories.') .'
+' . __('If enabled, new tab "Tweak stores" allows your to perfom actions relative to third-party repositories.') . '
-' . __('If enabled, plugin pacKman will (re)generate on the fly dcstore.xml file at root directory of the module.') .'
+' . __('If enabled, plugin pacKman will (re)generate on the fly dcstore.xml file at root directory of the module.') . '
-