Permalink
Browse files

Hotfix settings inside groups form

  • Loading branch information...
redaxmedia committed Mar 7, 2018
1 parent 964c784 commit 5d0d19ecdff811d4ad01a6ddefe26a3fa773aff1
View
@@ -1,7 +1,7 @@
{
"name": "redaxscript/redaxscript",
"description": "A modern, ultra lightweight and rocket fast Content Management System",
"version": "3.3.1",
"version": "3.3.2",
"homepage": "https://redaxscript.com",
"license": "GPL-3.0-only",
"require":
@@ -243,9 +243,7 @@ public function render(int $groupId = null) : string
],
[
'id' => 'settings',
'name' => 'settings[]',
'multiple' => 'multiple',
'size' => count($helperOption->getPermissionArray('settings'))
'name' => 'settings'
])
->append('</li></ul></fieldset>')
View
@@ -209,7 +209,7 @@ function admin_process()
$user = $r['user'] = Redaxscript\Db::forTablePrefix($tableParameter)->where('id', $idParameter)->findOne()->user;
}
$password_check = $password_confirm = 1;
if ($_POST['edit'] && !$_POST['password'] && !$_POST['password_confirm'] || $_POST['delete'])
if (!$_POST['password'] && !$_POST['password_confirm'])
{
$password_check = 0;
}
@@ -224,7 +224,7 @@ function admin_process()
$passwordHash->init($password);
$r['password'] = $passwordHash->getHash();
}
if ($_POST['new'])
if ($registry->get('adminParameter') === 'new')
{
$r['first'] = $r['last'] = $registry->get('now');
}
View
@@ -3,7 +3,7 @@
{
"name": "Redaxscript",
"description": "Ultra lightweight Content Management System",
"version": "3.3.1",
"version": "3.3.2",
"homepage": "https://redaxscript.com"
},
"_index":
View
@@ -28,7 +28,7 @@ class Ace extends Module\Module
'alias' => 'Ace',
'author' => 'Redaxmedia',
'description' => 'JavaScript powered code editor',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -28,7 +28,7 @@ class Analytics extends Module\Module
'alias' => 'Analytics',
'author' => 'Redaxmedia',
'description' => 'Integrate Google Analytics',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -29,7 +29,7 @@ class Archive extends Config
'alias' => 'Archive',
'author' => 'Redaxmedia',
'description' => 'Generate a archive tree',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -30,7 +30,7 @@ class CallHome extends Module\Notification
'alias' => 'CallHome',
'author' => 'Redaxmedia',
'description' => 'Provide version and news updates',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -32,7 +32,7 @@ class Contact extends Module\Module
'alias' => 'Contact',
'author' => 'Redaxmedia',
'description' => 'Simple contact form',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -30,7 +30,7 @@ class Debugger extends Module\Module
'alias' => 'Debugger',
'author' => 'Redaxmedia',
'description' => 'Debugger',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
View
@@ -30,7 +30,7 @@ class Demo extends Config
'alias' => 'Demo',
'author' => 'Redaxmedia',
'description' => 'Enable demo login',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -31,7 +31,7 @@ class DirectoryLister extends Config
'alias' => 'DirectoryLister',
'author' => 'Redaxmedia',
'description' => 'Simple directory lister',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -28,7 +28,7 @@ class Disqus extends Config
'alias' => 'Disqus',
'author' => 'Redaxmedia',
'description' => 'Replace comments with disqus',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -27,7 +27,7 @@ class Experiments extends Config
'alias' => 'Experiments',
'author' => 'Redaxmedia',
'description' => 'Integrate Google Experiments',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -31,7 +31,7 @@ class FeedGenerator extends Module\Module
'alias' => 'FeedGenerator',
'author' => 'Redaxmedia',
'description' => 'Generate Atom feeds from content',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -29,7 +29,7 @@ class FeedReader extends Config
'alias' => 'FeedReader',
'author' => 'Redaxmedia',
'description' => 'Read external RSS and Atom feeds',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -29,7 +29,7 @@ class LightGallery extends Config
'alias' => 'LightGallery',
'author' => 'Redaxmedia',
'description' => 'Javascript powered light gallery',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -28,7 +28,7 @@ class LiveReload extends Config
'alias' => 'LiveReload',
'author' => 'Redaxmedia',
'description' => 'Launch a local PHP server with live reload',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
View
@@ -28,7 +28,7 @@ class Maps extends Config
'alias' => 'Maps',
'author' => 'Redaxmedia',
'description' => 'Integrate Google Maps',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -27,7 +27,7 @@ class PageCache extends Config
'alias' => 'PageCache',
'author' => 'Redaxmedia',
'description' => 'Simple page cache',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -30,7 +30,7 @@ class Preview extends Module\Module
'alias' => 'Preview',
'author' => 'Redaxmedia',
'description' => 'Preview template elements',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -29,7 +29,7 @@ class Sitemap extends Config
'alias' => 'Sitemap',
'author' => 'Redaxmedia',
'description' => 'Generate a sitemap tree',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -31,7 +31,7 @@ class SitemapXml extends Module\Module
'alias' => 'SitemapXml',
'author' => 'Redaxmedia',
'description' => 'Generate a sitemap XML',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -28,7 +28,7 @@ class SocialSharer extends Config
'alias' => 'SocialSharer',
'author' => 'Redaxmedia',
'description' => 'Integrate a social sharer',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -28,7 +28,7 @@ class SyntaxHighlighter extends Module\Module
'alias' => 'SyntaxHighlighter',
'author' => 'Redaxmedia',
'description' => 'JavaScript powered syntax highlighter',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -27,7 +27,7 @@ class TestDummy extends Module\Notification
'alias' => 'TestDummy',
'author' => 'Redaxmedia',
'description' => 'Test Dummy',
'version' => '3.3.1'
'version' => '3.3.2'
];
/**
@@ -28,7 +28,7 @@ class Tinymce extends Config
'alias' => 'Tinymce',
'author' => 'Redaxmedia',
'description' => 'JavaScript powered WYSIWYG editor',
'version' => '3.3.1',
'version' => '3.3.2',
'access' => '1'
];
@@ -27,7 +27,7 @@ class Validator extends Config
'alias' => 'Validator',
'author' => 'Redaxmedia',
'description' => 'HTML validator for developers',
'version' => '3.3.1',
'version' => '3.3.2',
'access' => '1'
];
View
@@ -1,7 +1,7 @@
{
"name": "redaxscript",
"description": "A modern, ultra lightweight and rocket fast Content Management System",
"version": "3.3.1",
"version": "3.3.2",
"homepage": "https://redaxscript.com",
"license": "GPL-3.0",
"author":
@@ -15,7 +15,7 @@
},
"devDependencies":
{
"autoprefixer": "8.0.0",
"autoprefixer": "8.1.0",
"colorguard": "1.2.1",
"cssnano": "3.10.0",
"grunt": "1.0.2",
@@ -34,7 +34,7 @@
"grunt-postcss": "0.9.0",
"grunt-shell": "2.1.0",
"grunt-svgmin": "5.0.0",
"grunt-tocgen": "1.0.4",
"grunt-tocgen": "1.0.5",
"grunt-webfont": "1.7.1",
"icomoon-free-npm": "0.0.0",
"load-grunt-tasks": "3.5.2",

0 comments on commit 5d0d19e

Please sign in to comment.