root/trunk/templates/xmlPretty.tmpl

Revision 2 (checked in by schst, 5 years ago)

initial commit on new server

  • Property 0 set to
  • Property 1 set to
Line 
1 <patTemplate:tmpl name="page">
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html>
4 <head>
5         <title>Pretty, documented source of {XMLSOURCE}</title>
6 <script src="javascript/ml_mdl.js" language="JavaScript" type="text/javascript"></script>
7 <script src="javascript/ml_mdl_mouse.js" language="JavaScript" type="text/javascript"></script>
8 <script language="JavaScript" type="text/javascript">
9 <!--
10 var     loaded  =       false;
11 var infolayer;
12 var layercontent;
13
14 function init()
15 {
16         infolayer       =       mdl_getLayer( "popuplayer" );
17         loaded          =       true;
18 }
19
20 function popUp( message )
21 {
22         if( !loaded )
23                 return  true;
24                
25         layercontent    =       '<table width="312" border="0" cellpadding="0" cellspacing="0">'+
26                                                 '       <tr>'+
27                                                 '               <td><img src="img/infolayer_corner_tl.gif" width="10" height="22" alt="" border="0"></td>'+
28                                                 '               <td background="img/infolayer_bg_t.gif" valign="top" width="100%"><img src="img/infolayer_h_shortinfo.gif" width="106" height="14" alt="" border="0"></td>'+
29                                                 '               <td><img src="img/infolayer_corner_tr.gif" width="11" height="22" alt="" border="0"></td>'+
30                                                 '       </tr>'+
31                                                 '               <td background="img/infolayer_bg_l.gif"><img src="img/px.gif" width="10" height="1" alt="" border="0"></td>'+
32                                                 '               <td background="img/px_ffffff.gif">'+
33                                                 '                       <font face="verdana,arial" size="-1">'+
34                                                 '                               '+message+'<br>'+
35                                                 '                       </font>'+
36                                                 '               </td>'+
37                                                 '               <td background="img/infolayer_bg_r.gif"><img src="img/px.gif" width="11" height="1" alt="" border="0"></td>'+
38                                                 '       <tr>'+
39                                                 '               <td><img src="img/infolayer_corner_bl.gif" width="10" height="13" alt="" border="0"></td>'+
40                                                 '               <td background="img/infolayer_bg_b.gif"><img src="img/px.gif" width="1" height="13" alt="" border="0"></td>'+
41                                                 '               <td><img src="img/infolayer_corner_br.gif" width="11" height="13" alt="" border="0"></td>'+
42                                                 '       </tr>'+
43                                                 '</table>';
44
45         mdl_changeLayerContent( infolayer, layercontent );
46         mdl_showLayer( infolayer );
47 }
48
49 function hidePopUp()
50 {
51         if( !loaded )
52                 return  true;
53
54         mdl_hideLayer( infolayer );
55 }
56
57 //-->
58 </script>
59 <style type="text/css">
60 <!--
61 #popuplayer     { position:absolute; top:0px; left:0px; visibility:hidden; }
62 font            { font-family:monospace,verdana,tahoma,arial,helvetica,serif; font-size:12px; }
63 .header         { font-family:verdana,tahoma,arial,helvetica,serif; color:#608DB7; }
64 a                       { text-decoration: none; }
65
66 //-->
67 </style>
68 <!--[if gte IE 5.5]>
69 <style type="text/css">
70 #popuplayer     { filter: progid:DXImageTransform.Microsoft.Alpha( opacity=80, finishopacity=80, style=0 ); }
71 </style>
72 <![endif]-->
73 </head>
74 <body onload="init();" bgcolor="#efefef" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
75 <div id="popuplayer"></div>
76
77 <table width="90%" background="img/pgeheader_bg.gif" border="0" cellpadding="0" cellspacing="0">
78         <tr>
79                 <td><img src="img/pgeheader_start.gif" width="159" height="68" alt="" border="0"></td>
80                 <td width="100%" valign="top">
81                         <img src="img/pgeheader_documentedsource.gif" width="218" height="26" alt="" border="0"><br>
82                         <img src="img/px.gif" width="1" height="6" alt="" border="0"><br>                       
83                         <font face="Verdana,tahoma,arial,helvetica" size="-2" class="header">
84                                 (Move your mouse over the XML tags to view a tag description)<br>
85                         </font>
86                 </td>
87                 <td valign="top"><img src="img/pgeheader_end.gif" width="230" height="26" alt="" border="0"></td>
88         </tr>
89 </table>
90
91 <img src="img/px.gif" width="1" height="20" alt="" border="0"><br>
92
93 <patTemplate:tmpl name="line">
94 <table border="0" cellpadding="0" cellspacing="0">
95         <tr>
96                 <td><img src="img/px.gif" width="{INDENT}" height="1" alt="" border="0"></td>
97                 <td nowrap><nobr>{TAG}</nobr></td>
98         </tr>
99 </table>
100 </patTemplate:tmpl>
101
102 <img src="img/px.gif" width="1" height="20" alt="" border="0"><br>
103
104 <table width="100%" cellpadding="0" cellspacing="0" border="0">
105 <tr>
106         <td><img src="img/px.gif" width="83" height="1" alt="" border="0"></td>
107         <td width="100%">
108                 <table bgcolor="#608DB7" width="100%" border="0" cellpadding="0" cellspacing="0">
109                         <tr>
110                                 <td>
111                                         <table border="0" cellpadding="0" cellspacing="0">
112                                                 <tr>
113                                                         <td><img src="img/footerbar_start.gif" width="102" height="16" alt="" border="0"></td>
114                                                         <td><a href="javascript:window.close();"><img src="img/footerbar_closewindow.gif" width="96" height="16" alt="" border="0"></a></td>
115                                                 </tr>
116                                         </table>
117                                 </td>
118                                 <td align="right">
119                                         <a href="#top"><img src="img/footerbar_end.gif" width="31" height="16" alt="Jump to the top of the page (of course only if you're far enough down...)" border="0"></a><br>
120                                 </td>
121                         </tr>
122                 </table>
123         </td>
124 </tr>
125 </table>
126 <img src="img/px.gif" width="1" height="30" alt="" border="0"><br>
127
128 </body>
129 </html>
130 </patTemplate:tmpl>
Note: See TracBrowser for help on using the browser.