vlibTemplate_debugmod.html 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <script language='javascript'>
  2. <!--
  3. if (vLIB_GO != 1) {
  4. var layer_on="off";
  5. function vLIBshowlayer(which)
  6. {
  7. if (which == ' ') return;
  8. if (layer_on != 'off') {
  9. vLIBhidelayer(layer_on);
  10. }
  11. if (document.getElementById && document.getElementById(which) != null)
  12. node = document.getElementById(which).style.visibility='visible';
  13. else if (document.layers && document.layers[which] != null)
  14. document.layers[which].visibility = 'visible';
  15. else if (document.all)
  16. document.all[which].style.visibility = 'visible';
  17. layer_on = which;
  18. }
  19. function vLIBhidelayer(which)
  20. {
  21. if (document.getElementById && document.getElementById(which) != null)
  22. node = document.getElementById(which).style.visibility='hidden';
  23. else if (document.layers && document.layers[which] != null)
  24. document.layers[which].visibility = 'hidden';
  25. else if (document.all)
  26. document.all[which].style.visibility = 'hidden';
  27. }
  28. var vLIB_GO = 1;
  29. }
  30. //-->
  31. </script>
  32. <div id='{tmpl_var name="filename_enc" escape="sq"}' style="position:absolute; visibility: hidden; left:10px; top:50px;">
  33. <table width="100%" border="0" cellpadding="1" bgcolor="#3D4355" height="160">
  34. <tr>
  35. <td height="151">
  36. <table width="100%" border="0" cellpadding="1" bgcolor="#3D4355" bordercolor="#3D4355">
  37. <tr bgcolor="#E1E3EA">
  38. <td width="31%"><b>Template:</b>
  39. </td>
  40. <td width="69%" style='margin-left: 8px;'><tmpl_var vLIB_template_name></td>
  41. </tr>
  42. </table>
  43. <tmpl_if warnings>
  44. <table width="100%" border="0" cellpadding="1" bgcolor="#3D4355" bordercolor="#3D4355">
  45. <tr bgcolor="#E1E3EA">
  46. <th valign="top" height="37" colspan="3">
  47. <font color="#FB0D0D">Following
  48. is a list of warning which could possibly resolve any issues you've
  49. had parsing the template</font><br>
  50. </th>
  51. </tr>
  52. <tr bgcolor="#E1E3EA">
  53. <td width="22%" bgcolor="#E1E3EA" valign="top" height="23"><b>Problem</b></td>
  54. <td width="45%" style='margin-left: 8px;' height="23"><b>Detail</b></td>
  55. <td width="33%" style='margin-left: 8px;' height="23"><b>Location</b></td>
  56. </tr>
  57. <tmpl_loop vLIB_warnings>
  58. <tr bgcolor="#E1E3EA">
  59. <td width="22%" valign="top"><tmpl_var problem></td>
  60. <td width="45%" style='margin-left: 8px;' valign="top">
  61. <tmpl_var detail escape=html>
  62. </td>
  63. <td width="33%" style='margin-left: 8px;' valign="top"><tmpl_var location></td>
  64. </tr>
  65. </tmpl_loop>
  66. </table>
  67. </tmpl_if>
  68. <table width="100%" border="0" cellpadding="1" bgcolor="#3D4355" bordercolor="#3D4355">
  69. <tr bgcolor="#E1E3EA">
  70. <td width="31%">No. of global vars:
  71. </td>
  72. <td width="69%" style='margin-left: 8px;'><tmpl_var vLIB_num_global_vars></td>
  73. </tr>
  74. <tr bgcolor="#E1E3EA">
  75. <td width="31%">No. of top level loops:
  76. </td>
  77. <td width="69%" style='margin-left: 8px;'><tmpl_var vLIB_num_top_level_loops></td>
  78. </tr>
  79. <tr bgcolor="#E1E3EA">
  80. <td width="31%" height="62" valign="top"> List of parameters: </td>
  81. <td width="69%" style='margin-left: 8px;' height="62">
  82. <table width="100%" border="1" cellpadding="0">
  83. <tmpl_loop vLIB_list_params>
  84. <tr bgcolor="#<tmpl_if __EVEN__>E1E3EA<tmpl_else>F0F1F4</tmpl_if>">
  85. <td width="40%" vAlign="top"><b><tmpl_var param_name></b>:</td>
  86. <td width="60%"><tmpl_var name="param_value" escape="none"></td>
  87. </tr>
  88. </tmpl_loop>
  89. </table>
  90. </td>
  91. </tr>
  92. </table>
  93. </td>
  94. </tr>
  95. <tr>
  96. <td height="338">
  97. <table width="100%" border="0" cellpadding="0" bgcolor="#3D4355">
  98. <tr bgcolor="#E1E3EA">
  99. <td width="38%" valign="top" height="76">List of Template Tags:<br>
  100. i.e. TMPL_* tags in html file
  101. </td>
  102. <td width="62%" height="76">
  103. <table width="100%" border="1" cellpadding="0">
  104. <tmpl_if vLIB_include_files>
  105. <tr>
  106. <td width="37%"><b>TMPL_INCLUDE</b>:</td>
  107. <td width="63%">
  108. <tmpl_loop vLIB_include_files>
  109. <tmpl_unless name="__FIRST__"><br /></tmpl_unless>
  110. <tmpl_var filename>
  111. </tmpl_loop>
  112. </td>
  113. </tr>
  114. </tmpl_if>
  115. <tmpl_if vLIB_vars>
  116. <tr>
  117. <td width="37%"><b>TMPL_VAR</b>:</td>
  118. <td width="63%">
  119. <tmpl_loop vLIB_vars>
  120. <tmpl_unless name="__FIRST__"><br /></tmpl_unless>
  121. <tmpl_var varname>
  122. </tmpl_loop>
  123. </td>
  124. </tr>
  125. </tmpl_if>
  126. <tmpl_if vLIB_ifs>
  127. <tr>
  128. <td width="37%"><b>TMPL_IF</b>:</td>
  129. <td width="63%">
  130. <tmpl_loop vLIB_ifs>
  131. <tmpl_unless name="__FIRST__"><br /></tmpl_unless>
  132. <tmpl_var ifname>
  133. </tmpl_loop>
  134. </td>
  135. </tr>
  136. </tmpl_if>
  137. <tmpl_if vLIB_elseifs>
  138. <tr>
  139. <td width="37%"><b>TMPL_ELSEIF</b>:</td>
  140. <td width="63%">
  141. <tmpl_loop vLIB_elseifs>
  142. <tmpl_unless name="__FIRST__"><br /></tmpl_unless>
  143. <tmpl_var elseifname>
  144. </tmpl_loop>
  145. </td>
  146. </tr>
  147. </tmpl_if>
  148. <tmpl_if vLIB_unless>
  149. <tr>
  150. <td width="37%"><b>TMPL_UNLESS</b>:</td>
  151. <td width="63%">
  152. <tmpl_loop vLIB_unless>
  153. <tmpl_unless name="__FIRST__"><br /></tmpl_unless>
  154. <tmpl_var unlessname>
  155. </tmpl_loop>
  156. </td>
  157. </tr>
  158. </tmpl_if>
  159. <tmpl_if vLIB_loops>
  160. <tr>
  161. <td width="37%"><b>TMPL_LOOP</b>:</td>
  162. <td width="63%">
  163. <tmpl_loop vLIB_loops>
  164. <tmpl_unless name="__FIRST__"><br /></tmpl_unless>
  165. <tmpl_var loopname>
  166. </tmpl_loop>
  167. </td>
  168. </tr>
  169. </tmpl_if>
  170. </table>
  171. </td>
  172. </tr>
  173. <tr bgcolor="#E1E3EA">
  174. <td width="38%" valign="top">List of vars set using setVar() or by vlibTemplate:
  175. </td>
  176. <td width="62%" style='margin-left: 8px;'>
  177. <tmpl_loop vLIB_tmplvars>
  178. <tmpl_var varname>
  179. <tmpl_unless __LAST__><br></tmpl_unless>
  180. </tmpl_loop>
  181. </td>
  182. </tr>
  183. <tr bgcolor="#E1E3EA">
  184. <td width="38%" height="62" valign="top">List of loops set using the Loop functions:</td>
  185. <td width="62%" style='margin-left: 8px;' height="62">
  186. <tmpl_loop vLIB_tmplloops>
  187. <tmpl_var loopname>
  188. <tmpl_unless __LAST__><br></tmpl_unless>
  189. </tmpl_loop>
  190. </td>
  191. </tr>
  192. </table>
  193. <table width="100%" border="0" cellpadding="0" bgcolor="#3D4355">
  194. <tr bgcolor="#E1E3EA">
  195. <td width="38%" valign="top">
  196. This is the array with which the Vars are built:
  197. </td>
  198. </tr>
  199. <tr bgcolor="#E1E3EA">
  200. <td width="100%" valign="top">
  201. <pre><tmpl_var vLIB_allvars></pre>
  202. </td>
  203. </tr>
  204. <tr bgcolor="#E1E3EA">
  205. <td width="38%" valign="top">
  206. This is the array with which the Loops are built:
  207. </td>
  208. </tr>
  209. <tr bgcolor="#E1E3EA">
  210. <td width="100%" valign="top">
  211. <pre><tmpl_var vLIB_allarrvars></pre>
  212. </td>
  213. </tr>
  214. </table>
  215. </td>
  216. </tr>
  217. </table>
  218. <br><br>
  219. </div>