init
This commit is contained in:
9
bml/test/brads/_config.bml
Executable file
9
bml/test/brads/_config.bml
Executable file
@@ -0,0 +1,9 @@
|
||||
LookRoot $testlookroot
|
||||
DefaultScheme scheme
|
||||
DefaultLanguage en
|
||||
|
||||
AllowOldSyntax 0
|
||||
AllowCode 1
|
||||
AllowTemplateCode 1
|
||||
|
||||
|
||||
9
bml/test/brads/scheme.look
Executable file
9
bml/test/brads/scheme.look
Executable file
@@ -0,0 +1,9 @@
|
||||
page<=
|
||||
{F}<html>
|
||||
<head><title>%%title%%</title></head>
|
||||
<body>
|
||||
%%body%%
|
||||
</body>
|
||||
</html>
|
||||
<=page
|
||||
|
||||
16
bml/test/brads/test1.bml
Executable file
16
bml/test/brads/test1.bml
Executable file
@@ -0,0 +1,16 @@
|
||||
<?_info
|
||||
localblocks<=
|
||||
|
||||
foo=>[foo]%%DATA%%[/foo]
|
||||
|
||||
<=localblocks
|
||||
_info?><?page
|
||||
title=>Test1
|
||||
body<=
|
||||
|
||||
Test of local block foo: <?foo?>
|
||||
|
||||
Another test of local block foo: <?foo with data this time foo?>
|
||||
|
||||
<=body
|
||||
page?>
|
||||
12
bml/test/brads/test1.correct
Executable file
12
bml/test/brads/test1.correct
Executable file
@@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head><title>Test1</title></head>
|
||||
<body>
|
||||
|
||||
Test of local block foo: [foo][/foo]
|
||||
|
||||
Another test of local block foo: [foo]with data this time[/foo]
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user