(file) Return to edit.dragon.tmpl CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / twiki / templates

  1 rizwank 1.1 %TMPL:INCLUDE{"twiki"}%
  2             %TMPL:P{"htmldoctype"}%
  3             <head>
  4              <title> %TMPL:P{"titleaction"}%%TOPIC% &lt; %WEB% &lt; %WIKITOOLNAME%</title>
  5              <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
  6              <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_EDIT%
  7              <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
  8              %TMPL:P{"dragoncss"}%
  9             <script language="JavaScript">
 10             <!--HIDE
 11             ns4 = (document.layers)? true:false;
 12             ie4 = (document.all)? true:false;
 13             dom = (document.getElementById)?true:false;
 14             
 15             toShow=new Array();
 16             toHide=new Array();
 17             
 18             function initForm() {
 19               document.main.text.focus();
 20               for (i = 0; i < toShow.length; i++) {
 21                  if(dom) {
 22 rizwank 1.1         document.getElementById(toShow[i]).style.display="inline";
 23                  } else if( ie4 ) {
 24                     document.all[toShow[i]].style.display="inline";
 25                  } else if( ns4 ) {
 26                     document.layers[toShow[i]].style.display="inline";
 27                  }
 28               }
 29               for ( i = 0; i < toHide.length; i++) {
 30                 if(dom) {
 31                     document.getElementById(toHide[i]).style.display="none";
 32                 } else if( ie4 ) {
 33                     document.all[toHide[i]].style.display="none";
 34                 } else if( ns4 ) {
 35                     document.layers[toHide[i]].style.display="none";
 36                 }
 37               }
 38             }
 39             function checkAll( theButton, theButtonOffset, theNum, theCheck )
 40             {
 41               // find button element index
 42               var j = 0;
 43 rizwank 1.1   for( var i = 0; i <= document.main.length; i++ ) {
 44                 if( theButton == document.main.elements[i] ) {
 45                   j = i;
 46                   break;
 47                 }
 48               }
 49               // set/clear all checkboxes
 50               var last = j+theButtonOffset+theNum;
 51               for( i = last-theNum; i < last; i++ ) {
 52                 document.main.elements[i].checked = theCheck;
 53               }
 54             }
 55             function launchWindow( theWeb, theTopic, theAnchor ) {
 56               if( ! theAnchor ) {
 57                 theAnchor = "";
 58               }
 59               win = open( "%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic + "?skin=plain" + theAnchor,
 60                           theTopic, "titlebar=0,width=500,height=480,resizable,scrollbars");
 61               if( win ) {
 62                 win.focus();
 63               }
 64 rizwank 1.1   return false;
 65             }
 66             //STOP HIDING-->
 67             </script>
 68             </head>
 69             %TMPL:DEF{"previewheaderlogo"}%
 70             <noautolink>
 71             <img src="%WIKILOGOIMG%" class="ds-logo" alt="Logo" title="This logo is not a link on edit and preview pages." />
 72             </noautolink>
 73             %TMPL:END%
 74             %TMPL:DEF{"titleaction"}%(edit) %TMPL:END%
 75             %TMPL:DEF{"titlehelp"}% %TMPL:END%
 76             %TMPL:DEF{"webaction"}%Change topic%TMPL:END%
 77             <body  onLoad="initForm()">
 78             <div class="ds-nmwrapper">
 79             <div class="ds-nmheaderwrapper">
 80             <div class="ds-nmlogowrapper">
 81             %TMPL:P{"previewheaderlogo"}%</div><div class="ds-nmheaderhelp">%TMPL:P{"headerhelp"}%</div></div>
 82             <div class="ds-nmtitlemessage">
 83             <noautolink>
 84             <b>%WEB%.%TOPIC%</b>&nbsp;<span class="ds-largerbold">%TMPL:P{"titleaction"}%</span>
 85 rizwank 1.1 </noautolink>
 86             </div>
 87             <form name="main" action="%SCRIPTURLPATH%/preview%SCRIPTSUFFIX%/%WEB%/%TOPIC%" method="post" style="margin: 0">
 88             <div class="ds-previewsave">
 89             <a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?unlock=on">Cancel edit </a> 
 90             &nbsp;%TMPL:P{"sep"}%&nbsp;<input type="submit" value=" &nbsp; Preview Changes &nbsp; " />
 91             </div>
 92             <div style="padding: 1em;">
 93             #PageTop
 94             <textarea name="text" wrap="virtual" rows="%EDITBOXHEIGHT%" cols="%EDITBOXWIDTH%" style="%EDITBOXSTYLE%">%TEXT%</textarea><br />
 95             <input type="hidden" name="formtemplate" value="%FORMTEMPLATE%" />
 96             <input type="hidden" name="topicparent" value="%TOPICPARENT%" />
 97             <input type="hidden" name="cmd" value="%CMD%" />     
 98             See below for help in editing this page.
 99             <table border="0" cellpadding="2" cellspacing="0">
100              <tr>
101               <td><b>-- <nop>%WIKIUSERNAME% - %DATE%</b></td>
102               <td> &nbsp;&nbsp; <code>&lt;==</code> Your signature for easy copy and paste (triple click to select)
103                 (<a target="GoodStyle" onClick="return launchWindow('%TWIKIWEB%','GoodStyle','#SignAndDate')" href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/GoodStyle#SignAndDate">help</a>)</td>
104              </tr>
105             </table>
106 rizwank 1.1 <div class="ds-editformfieldscontainer">
107             %FORMFIELDS%
108             </div>
109             <div class="ds-previewsave">
110             <a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?unlock=on"> Cancel edit </a>
111             &nbsp;%TMPL:P{"sep"}%&nbsp;<input type="submit" value=" &nbsp; Preview Changes &nbsp; " />
112             </div></form>
113             <div class="ds-editformattinghelp">
114             %INCLUDE{"%TWIKIWEB%.WikiSyntaxSummary"}%
115             </div>
116             </div>
117             #PageBottom
118             </div>
119             </body>
120             </html>

Rizwan Kassim
Powered by
ViewCVS 0.9.2