diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-08-05 19:00:20 -0500 |
|---|---|---|
| committer | Unknown Bliss <m@michaelcullum.com> | 2012-09-01 15:05:56 +0100 |
| commit | 7b643fe8a5fd3b92bb4db9eacb27645417004709 (patch) | |
| tree | 89e96aa6658d75f1ef443bb00f5990077212ff99 /phpBB/adm | |
| parent | dce04b2d03f93c9237b743afbcbd89fb6405f836 (diff) | |
| download | forums-7b643fe8a5fd3b92bb4db9eacb27645417004709.tar forums-7b643fe8a5fd3b92bb4db9eacb27645417004709.tar.gz forums-7b643fe8a5fd3b92bb4db9eacb27645417004709.tar.bz2 forums-7b643fe8a5fd3b92bb4db9eacb27645417004709.tar.xz forums-7b643fe8a5fd3b92bb4db9eacb27645417004709.zip | |
[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
Diffstat (limited to 'phpBB/adm')
| -rw-r--r-- | phpBB/adm/style/acp_ext_details.html | 6 | ||||
| -rw-r--r-- | phpBB/adm/style/admin.css | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/phpBB/adm/style/acp_ext_details.html b/phpBB/adm/style/acp_ext_details.html index e927e9de18..f477b452b7 100644 --- a/phpBB/adm/style/acp_ext_details.html +++ b/phpBB/adm/style/acp_ext_details.html @@ -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> diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 08613de0dd..585707600d 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -1718,3 +1718,13 @@ fieldset.permissions .padding { .phpinfo td, .phpinfo th, .phpinfo h2, .phpinfo h1 { text-align: left; } + +.requirements_not_met { + padding: 5px; + background-color: #BC2A4D; +} + +.requirements_not_met dt label, .requirements_not_met dd p { + color: #FFFFFF; + font-size: 1.4em; +}
\ No newline at end of file |
