cosmetics

master
Jean-Christian Paul Denis 2021-10-28 23:18:49 +02:00
parent 04b2980d82
commit 23a59c0289
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 6 additions and 4 deletions

View File

@ -131,8 +131,10 @@ class tweakStoresBehaviors
echo
'<pre>' . form::textArea('gen_xml', 165, 14, html::escapeHTML(str_replace('><', ">\n<", $xml_content)), 'maximal') . '</pre>';
if (!empty($file_pattern) && $modules[$_POST['buildxml_id']]['root_writable'] && $core->auth->isSuperAdmin()) {
if (empty(tweakStores::$failed)
&& $modules[$_POST['buildxml_id']]['root_writable']
&& $core->auth->isSuperAdmin()
) {
echo
'<p class="field"><label for="your_pwd2" class="classic required"><abbr title="' . __('Required field') . '">*</abbr> ' . __('Your password:') . '</label> ' .
form::password(['your_pwd', 'your_pwd2'], 20, 255,