TinyButStrong - the PHP Template Engine

Source code of tbs_us_examples_prmope.htm

  1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TinyButStrong - Example of parameter ope</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="./tbs_us_examples_styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Example of parameter <span class="text-prm">ope</span></h1>
<div id="main-body">
  <div class="w3cinfo"> this TBS template is W3C compliant <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1" height="31" width="88" style="border:none;" /></a> </div>
  <div id="example">
    <p>In this exemple, parameter <span class="text-prm">ope</span> is used with action <span class="text-prm">max</span> in order to limit the length of the displayed text.</p>
    <table width="400" border="0" cellpadding="0" cellspacing="0" style="margin-left:auto; margin-right:auto;">
      <tr class="title-section2">
        <th align="center">With max</th>
        <th align="center">Without max</th>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="center"><table width="85" border="1" cellpadding="2" cellspacing="0" class="back-special2">
            <tr>
              <td>[onshow.name1;ope=max:10]</td>
            </tr>
            <tr>
              <td>[onshow.name2;ope=max:10]</td>
            </tr>
            <tr>
              <td>[onshow.name3;ope=max:10]</td>
            </tr>
            <tr>
              <td>[onshow.name4;ope=max:10]</td>
            </tr>
            <tr>
              <td>[onshow.name5;ope=max:10]</td>
            </tr>
            <tr>
              <td>[onshow.name6;ope=max:10]</td>
            </tr>
            <tr>
              <td>[onshow.name7;ope=max:10]</td>
            </tr>
            <tr>
              <td>[onshow.name8;ope=max:10]</td>
            </tr>
          </table></td>
        <td align="center"><table width="120" border="1" cellpadding="2" cellspacing="0" class="back-special2">
            <tr>
              <td>[onshow.name1]</td>
            </tr>
            <tr>
              <td>[onshow.name2]</td>
            </tr>
            <tr>
              <td>[onshow.name3]</td>
            </tr>
            <tr>
              <td>[onshow.name4]</td>
            </tr>
            <tr>
              <td>[onshow.name5]</td>
            </tr>
            <tr>
              <td>[onshow.name6]</td>
            </tr>
            <tr>
              <td>[onshow.name7]</td>
            </tr>
            <tr>
              <td>[onshow.name8]</td>
            </tr>
          </table></td>
      </tr>
    </table>
  </div>
</div>
</body>
</html>