-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new view checking requirements (setup wizard tests)
- Loading branch information
gggeek
committed
Aug 10, 2012
1 parent
2f9c837
commit 8857637
Showing
5 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<div class="context-block"> | ||
{* DESIGN: Header START *}<div class="box-header"><div class="box-tc"><div class="box-ml"><div class="box-mr"><div class="box-tl"><div class="box-tr"> | ||
|
||
<h1 class="context-title">{$title|wash()}</h1> | ||
|
||
{* DESIGN: Mainline *}<div class="header-mainline"></div> | ||
|
||
{* DESIGN: Header END *}</div></div></div></div></div></div> | ||
|
||
{* DESIGN: Content START *}<div class="box-bc"><div class="box-ml"><div class="box-mr"><div class="box-bl"><div class="box-br"><div class="box-content"> | ||
|
||
<div class="context-attributes"> | ||
|
||
{if ne($css, "")} | ||
<link rel="stylesheet" type="text/css" href={concat('stylesheets/',$css)|ezdesign()} /> | ||
{/if} | ||
|
||
{if $warnings} | ||
<table class="list" cellspacing="0"> | ||
<tr> | ||
<th>Problems detected</th> | ||
</tr> | ||
{foreach $warnings as $warning => $details sequence array( 'bglight', 'bgdark') as $style} | ||
<td>{include uri=concat('design:setup/tests/', $warning, '_error.tpl') test_result=$details result_number=''}</td> | ||
</tr> | ||
{/foreach} | ||
</table> | ||
{else} | ||
No problems detected | ||
{/if} | ||
|
||
</div> | ||
|
||
{* DESIGN: Content END *}</div></div></div></div></div></div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
/** | ||
* @author G. Giunta | ||
* @copyright (C) G. Giunta 2012 | ||
* @license Licensed under GNU General Public License v2.0. See file license.txt | ||
*/ | ||
|
||
$warnings = systemChecker::checkSetupRequirements(); | ||
|
||
$tpl->setVariable( 'warnings', $warnings ); | ||
|
||
?> |