Fix access rights for CustomCSS + CustomJS (#207)
* Update configure.phtml FR : Correction de la gestion des droits. EN :Rights testing correction * Update xExtension-CustomJS/configure.phtml Rights testing correction Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update configure.phtml Postponement of the same update as CustomJS * Bump versions --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
This commit is contained in:
parent
f337a0782d
commit
c435529078
5 changed files with 6 additions and 6 deletions
|
|
@ -93,7 +93,7 @@
|
||||||
"name": "Custom CSS",
|
"name": "Custom CSS",
|
||||||
"author": "Marien Fressinaud",
|
"author": "Marien Fressinaud",
|
||||||
"description": "Give possibility to overwrite the CSS with a user-specific rules.",
|
"description": "Give possibility to overwrite the CSS with a user-specific rules.",
|
||||||
"version": "0.4",
|
"version": "0.5",
|
||||||
"entrypoint": "CustomCSS",
|
"entrypoint": "CustomCSS",
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"url": "https://github.com/FreshRSS/Extensions",
|
"url": "https://github.com/FreshRSS/Extensions",
|
||||||
|
|
@ -104,7 +104,7 @@
|
||||||
"name": "Custom JS",
|
"name": "Custom JS",
|
||||||
"author": "Frans de Jonge",
|
"author": "Frans de Jonge",
|
||||||
"description": "Apply custom JS.",
|
"description": "Apply custom JS.",
|
||||||
"version": "0.4",
|
"version": "0.5",
|
||||||
"entrypoint": "CustomJS",
|
"entrypoint": "CustomJS",
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"url": "https://github.com/FreshRSS/Extensions",
|
"url": "https://github.com/FreshRSS/Extensions",
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group form-actions">
|
<div class="form-group form-actions">
|
||||||
<?php if (!empty($this->permission_problem)) { ?>
|
<?php if ($this->permission_problem !== '') { ?>
|
||||||
<p class="alert alert-error"><?= _t('ext.custom_css.permission_problem', $this->permission_problem) ?></p>
|
<p class="alert alert-error"><?= _t('ext.custom_css.permission_problem', $this->permission_problem) ?></p>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<div class="group-controls">
|
<div class="group-controls">
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "Custom CSS",
|
"name": "Custom CSS",
|
||||||
"author": "Marien Fressinaud",
|
"author": "Marien Fressinaud",
|
||||||
"description": "Give possibility to overwrite the CSS with a user-specific rules.",
|
"description": "Give possibility to overwrite the CSS with a user-specific rules.",
|
||||||
"version": "0.4",
|
"version": "0.5",
|
||||||
"entrypoint": "CustomCSS",
|
"entrypoint": "CustomCSS",
|
||||||
"type": "user"
|
"type": "user"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group form-actions">
|
<div class="form-group form-actions">
|
||||||
<?php if (isset($this->permission_problem)) { ?>
|
<?php if ($this->permission_problem !== '') { ?>
|
||||||
<p class="alert alert-error"><?= _t('ext.custom_js.permission_problem', $this->permission_problem) ?></p>
|
<p class="alert alert-error"><?= _t('ext.custom_js.permission_problem', $this->permission_problem) ?></p>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<div class="group-controls">
|
<div class="group-controls">
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "Custom JS",
|
"name": "Custom JS",
|
||||||
"author": "Frans de Jonge",
|
"author": "Frans de Jonge",
|
||||||
"description": "Apply custom JS.",
|
"description": "Apply custom JS.",
|
||||||
"version": "0.4",
|
"version": "0.5",
|
||||||
"entrypoint": "CustomJS",
|
"entrypoint": "CustomJS",
|
||||||
"type": "user"
|
"type": "user"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue