Skip to content

Commit

Permalink
Exposed informational blocks on SysInfo screen.
Browse files Browse the repository at this point in the history
There's no obvious reason these (useful) notes should be hidden from people within the application.
  • Loading branch information
su authored and jayallen committed Oct 26, 2009
1 parent 7ce6ee4 commit 75776aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mt-check.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -473,20 +473,16 @@ for my $list (\@REQ, \@DATA, \@OPT) {
}
print trans_templ(qq{<h2><MT_TRANS phrase="[_1] [_2] Modules" params="$phrase%%$type"></h2>\n\t<div>\n});
if (!$req && !$data) {
if (!$view) {
print trans_templ(<<MSG);
<p class="msg msg-info"><MT_TRANS phrase="The following modules are <strong>optional</strong>. If your server does not have these modules installed, you only need to install them if you require the functionality that the module provides."></p>
MSG
}
}
if ($data) {
if (!$view) {
print trans_templ(<<MSG);
<p class="msg msg-info"><MT_TRANS phrase="Some of the following modules are required by the various data storage options in Movable Type. In order run the system, your server needs to have DBI and at least one of the other modules installed."></p>
MSG
}
}
my $got_one_data = 0;
my $dbi_is_okay = 0;
Expand Down
4 changes: 4 additions & 0 deletions mt-static/css/messaging.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ body#system-check .warning {
padding-left: 10px;
margin-left: 20px;
}
body#system-check .msg-info {
background-color: #eaf2ff;
border: 1px solid #999;
}


/* Debug Panel Messages ---------------------------------------------------------------------------------- */
Expand Down

0 comments on commit 75776aa

Please sign in to comment.