codekasten/ql-web/trunk/template/main.cs

19 lines
865 B
C#
Raw Normal View History

2006-01-24 04:11:11 +01:00
<?cs include:Config.TemplateDir + '/macros.cs' ?>
<?cs include:Config.TemplateDir + '/header.cs' ?>
<!-- this ql-web template follows: <?cs var:Data.Action ?> -->
<?cs include:Config.TemplateDir + '/nav.cs' ?>
<div id="main_content">
<div id="info_title"><?cs var:Data.UserName ?></div>
2006-01-24 04:11:11 +01:00
<?cs if:Data.Error ?><?cs call:error(Lang.ErrorMessage[Data.Error]) ?><?cs /if ?>
<?cs if:Data.customError ?><?cs call:error(Data.customError) ?><?cs /if ?>
<?cs if:Data.Warning ?><?cs call:warning(Lang.WarningMessage[Data.Warning]) ?><?cs /if ?>
<?cs if:Data.customWarning ?><?cs call:warning(Data.customWarning) ?><?cs /if ?>
<?cs if:Data.Success ?><?cs call:success(Lang.SuccessMessage[Data.Success]) ?><?cs /if ?>
<?cs include:Config.TemplateDir + '/' + Data.Action + '.cs' ?>
</div> <!-- end of main_content -->
<?cs include:Config.TemplateDir + '/footer.cs' ?>