mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-31 12:01:48 +02:00
[ticket/10631] Make failure to meet ext enable requirements clearer
Turn the blocks red on the details page if requirement is not met. Also changing a how the errors come up when trying to enable/disable an extension when they cannot be. PHPBB3-10631
This commit is contained in:
committed by
Unknown Bliss
parent
dce04b2d03
commit
7b643fe8a5
@@ -3,7 +3,7 @@
|
||||
<a name="maincontent"></a>
|
||||
|
||||
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
||||
|
||||
|
||||
<h1>{L_EXTENSIONS_ADMIN}</h1>
|
||||
|
||||
<fieldset>
|
||||
@@ -50,13 +50,13 @@
|
||||
<fieldset>
|
||||
<legend>{L_REQUIREMENTS}</legend>
|
||||
<!-- IF MD_REQUIRE_PHPBB -->
|
||||
<dl>
|
||||
<dl<!-- IF MD_REQUIRE_PHPBB_FAIL --> class="requirements_not_met"<!-- ENDIF -->>
|
||||
<dt><label for="require_phpbb">{L_PHPBB_VERSION}:</label></dt>
|
||||
<dd><p id="require_phpbb">{MD_REQUIRE_PHPBB}</p></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF MD_REQUIRE_PHP -->
|
||||
<dl>
|
||||
<dl<!-- IF MD_REQUIRE_PHP_FAIL --> class="requirements_not_met"<!-- ENDIF -->>
|
||||
<dt><label for="require_php">{L_PHP_VERSION}:</label></dt>
|
||||
<dd><p id="require_php">{MD_REQUIRE_PHP}</p></dd>
|
||||
</dl>
|
||||
|
||||
Reference in New Issue
Block a user