2024-09-06 02:53:28 +00:00
|
|
|
PATH=/
|
2024-09-06 03:49:32 +00:00
|
|
|
HTML='''
|
2024-11-19 11:53:11 +00:00
|
|
|
<h4>For Each test:</h4><br>
|
|
|
|
{{{!FOREACH EachTestHead!EachTestMid!EachTestTail}}}
|
|
|
|
{{{!INDEX ArrayValue[0]}}}
|
2024-11-18 11:10:45 +00:00
|
|
|
<br>
|
2024-11-19 11:53:11 +00:00
|
|
|
{{{EachTestHead}}}
|
2024-11-18 11:10:45 +00:00
|
|
|
<br>
|
2024-11-19 11:53:11 +00:00
|
|
|
{{{!INDEX ArrayValue[1]}}}
|
2024-11-18 11:10:45 +00:00
|
|
|
<br>
|
2024-11-19 11:53:11 +00:00
|
|
|
{{{EachTestMid}}}
|
|
|
|
<br>
|
|
|
|
{{{!IF ThisValue==true}}}
|
|
|
|
ThisValue is <b>true</b>.
|
|
|
|
{{{!IF ThisOtherValue==true}}}
|
|
|
|
ThisOtherValue is true.
|
|
|
|
{{{!ELSE}}}
|
|
|
|
ThisOtherValue is false.
|
|
|
|
{{{!ENDIF}}}
|
2024-11-18 11:10:45 +00:00
|
|
|
{{{!ELSE}}}
|
2024-11-19 11:53:11 +00:00
|
|
|
ThisValue is <b>NOT true</b>.
|
2024-11-18 11:10:45 +00:00
|
|
|
{{{!ENDIF}}}
|
2024-11-19 11:53:11 +00:00
|
|
|
<br>
|
|
|
|
{{{EachTestTail}}}
|
|
|
|
<br>
|
|
|
|
{{{!INDEX ArrayValue[2]}}}
|
|
|
|
<br>
|
|
|
|
{{{!ENDFOREACH}}}
|
2024-09-06 03:49:32 +00:00
|
|
|
</body>
|
2024-09-06 02:53:28 +00:00
|
|
|
'''
|
|
|
|
|
|
|
|
Var='''Test var value'''
|
2024-11-19 11:53:11 +00:00
|
|
|
ThisValue=true
|
|
|
|
ThisOtherValue=true
|
2024-11-18 08:07:07 +00:00
|
|
|
|
|
|
|
ArrayValue=One_IDX_Zero
|
|
|
|
ArrayValue=Two_IDX_One
|
|
|
|
ArrayValue=Three_IDX_Two
|
2024-09-06 03:42:18 +00:00
|
|
|
|
2024-11-19 11:53:11 +00:00
|
|
|
EachTestHead='''First Entry Head'''
|
|
|
|
EachTestMid='''First Entry Mid'''
|
|
|
|
EachTestTail='''First Entry Tail'''
|
|
|
|
|
|
|
|
EachTestHead='''Second Entry Head'''
|
|
|
|
EachTestMid='''Second Entry Mid'''
|
|
|
|
EachTestTail='''Second Entry Tail'''
|
|
|
|
|
|
|
|
EachTestHead='''Third Entry Head'''
|
|
|
|
EachTestMid='''Third Entry Mid'''
|
|
|
|
EachTestTail='''Third Entry Tail'''
|
|
|
|
|
2024-09-06 03:42:18 +00:00
|
|
|
PATH=/inner
|
|
|
|
HTML_FILE='''example_config/inner.html'''
|
|
|
|
VAR_FILE='''example_config/var.html'''
|
2024-09-06 06:55:21 +00:00
|
|
|
|
|
|
|
PATH=/error
|
2024-09-24 05:53:28 +00:00
|
|
|
|
|
|
|
PATH=/inner/further
|
|
|
|
HTML='''
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
color: #FFF;
|
|
|
|
background-color: #333;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: #AAF;
|
|
|
|
}
|
|
|
|
a:link {
|
|
|
|
color: #AAF;
|
|
|
|
}
|
|
|
|
a:visited {
|
|
|
|
color: #88B;
|
|
|
|
}
|
|
|
|
a:focus a:hover {
|
|
|
|
color: #DDF;
|
|
|
|
}
|
|
|
|
a:active {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Nested inner: further<h1>
|
|
|
|
{{{VAR}}}
|
|
|
|
<br>
|
2024-10-30 05:17:49 +00:00
|
|
|
<img src="/silly.jpg" />
|
|
|
|
<br>
|
2024-09-24 05:53:28 +00:00
|
|
|
<a href="/inner">back</a>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
'''
|
|
|
|
VAR='''yep'''
|