cosmetics
parent
b60bec7897
commit
c32ece6a5e
|
@ -1,6 +1,7 @@
|
||||||
0.2.x
|
0.2.x
|
||||||
- add update from external repositories
|
- add update from external repositories
|
||||||
- fix permissions
|
- fix permissions
|
||||||
|
- add copy to clipboard button
|
||||||
|
|
||||||
0.2.0 - 2021.09.28
|
0.2.0 - 2021.09.28
|
||||||
- use xmlTag() to manage file content
|
- use xmlTag() to manage file content
|
||||||
|
|
|
@ -10,11 +10,12 @@
|
||||||
* @copyright Jean-Christian Denis
|
* @copyright Jean-Christian Denis
|
||||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_MODULE')) {
|
if (!defined('DC_CONTEXT_MODULE')) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dcPage::checkSuper();
|
||||||
|
|
||||||
$redir = empty($_REQUEST['redir']) ?
|
$redir = empty($_REQUEST['redir']) ?
|
||||||
$list->getURL() . '#plugins' : $_REQUEST['redir'];
|
$list->getURL() . '#plugins' : $_REQUEST['redir'];
|
||||||
|
|
||||||
|
@ -38,7 +39,7 @@ if (!empty($_POST['save'])) {
|
||||||
$s->put('file_pattern', $tweakStores_file_pattern);
|
$s->put('file_pattern', $tweakStores_file_pattern);
|
||||||
|
|
||||||
dcPage::addSuccessNotice(
|
dcPage::addSuccessNotice(
|
||||||
__('Configuration has been successfully updated.')
|
__('Configuration successfully updated')
|
||||||
);
|
);
|
||||||
http::redirect(
|
http::redirect(
|
||||||
$list->getURL('module=tweakStores&conf=1&redir=' . $list->getRedir())
|
$list->getURL('module=tweakStores&conf=1&redir=' . $list->getRedir())
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
* @copyright Jean-Christian Denis
|
* @copyright Jean-Christian Denis
|
||||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('DC_RC_PATH')) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
* @copyright Jean-Christian Denis
|
* @copyright Jean-Christian Denis
|
||||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('DC_RC_PATH')) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue