Apache-MiniWiki

 view release on metacpan or  search on metacpan

example/template,v  view on Meta::CPAN

      if (html.indexOf("view links ") >= 0) {
         expand_links[i].innerHTML = html.replace(/view/g, "hide");
      }
   }

   var objects = document.getElementsByTagName("span");
   for (i=0; i<objects.length; i++) {
       if (objects[i].id.indexOf("links_") >= 0) {
           objects[i].style.display='';
       }
   }
}

function hideAllLinks() {
   var objects = document.getElementsByTagName("span");
   for (i=0; i<objects.length; i++) {
       if (objects[i].id.indexOf("links_") >= 0) {
           objects[i].style.display = 'none';
       }
   }

   var expand_links = document.getElementsByName("expand_link");
   for (i=0; i<expand_links.length; i++) {
      html = expand_links[i].innerHTML;
      if (html.indexOf("hide links ") >= 0) {
         expand_links[i].innerHTML = html.replace(/hide/g, "view");
      }
   }
}

function focusPage(thistag) {
   styleObj = document.getElementById(thistag).style;
   styleObj.display = '';
}

function expand(linktag, hidetag) {  
   // linktag is the <a> tag the user clicked
   // hidetag is the span we want to expand/collapse

   styleObj = document.getElementById(hidetag).style;
   if (styleObj.display=='none') {       //show
      styleObj.display = '';
      linktag.innerHTML = linktag.innerHTML.replace(/view/, "hide");
   } else {       //hide
      styleObj.display = 'none';
      linktag.innerHTML = linktag.innerHTML.replace(/hide/, "view");
   }
}
-->
</script>

<body bgcolor="black">

<TABLE border=1 align=center width="100%" bgcolor="#eaeaea" cellpadding=2 cellspacing=0>
<tr>
 <td valign=top align=right bgcolor="#c8d2dc">
   <a href="<TMPL_VAR NAME=vroot>/">Home</a>,
   <a href="<TMPL_VAR NAME=vroot>/list">Pages</a>,
   <a href="<TMPL_VAR NAME=vroot>/listlinks">Links</a>,
   <a href="<TMPL_VAR NAME=vroot>/listchanges">Changes</a>,
   <a href="<TMPL_VAR NAME=vroot>/edit">Help</a>,
   <a href="<TMPL_VAR NAME=loglink>">Archive</a>,
   <a href="<TMPL_VAR NAME=vroot>/(newpassword)">Password<sup>1</sup></a>,
   <a href="<TMPL_VAR NAME=editlink>">Edit</a>
 </td>
</tr>
<tr>
 <td align=left valign=top>
  <TMPL_VAR NAME=BODY> 
<p><hr>
<sup>1</sup>This will only work if authentification is enabled in
Apache::MiniWiki. See the POD documentation, or the manual page for
more information.
 </td>
</tr>
<tr>
 <td valign=top align=right bgcolor="#c8d2dc">
   <a href="<TMPL_VAR NAME=vroot>/">Home</a>,
   <a href="<TMPL_VAR NAME=vroot>/Main">Map</a>,
   <a href="<TMPL_VAR NAME=vroot>/list">Pages</a>,
   <a href="<TMPL_VAR NAME=vroot>/listlinks">Links</a>,
   <a href="<TMPL_VAR NAME=vroot>/listchanges">Changes</a>,
   <a href="<TMPL_VAR NAME=vroot>/edit">Help</a>,
   <a href="<TMPL_VAR NAME=loglink>">Archive</a>,
   <a href="<TMPL_VAR NAME=vroot>/(newpassword)">Password<sup>1</sup></a>,
   <a href="<TMPL_VAR NAME=editlink>">Edit</a>
 </td>
</tr>
</TABLE>
<br><div align="right"><span style="bgcolor:black; color:white; font-weight:bold">
Last Modified: <TMPL_VAR NAME=lastmod></span></div>
</body></html>
@


1.8
log
@align right
@
text
@d22 66
d94 2
a95 1
   <a href="<TMPL_VAR NAME=vroot>/list">List</a>,
d116 2
a117 1
   <a href="<TMPL_VAR NAME=vroot>/list">List</a>,
@


1.7
log
@align right
@
text
@d58 2
a59 2
<br><span align=right style="bgcolor:black; color:white; font-weight:bold">
Last Modified: <TMPL_VAR NAME=lastmod></span>
@


1.6
log
@align right
@
text
@d58 1
a58 1
<br><span style="align:right; bgcolor:black; color:white; font-weight:bold">
@


1.5
log
@last modified
@
text
@d58 1
a58 1
<br><span style="text-align:right; bgcolor:black; color:white; font-weight:bold">
@


1.4
log
@*** empty log message ***
@
text
@d58 2
@


1.3
log
@*** empty log message ***
@
text
@d32 1
d39 4
d53 1
@


1.2
log
@*** empty log message ***
@
text
@d30 1
a30 1
   <a href="<TMPL_VAR NAME=vroot>/AboutThisWiki">About</a>,
d46 1
a46 1
   <a href="<TMPL_VAR NAME=vroot>/AboutThisWiki">About</a>,
@


1.1
log
@Initial revision
@
text
@d2 51
a52 11
  <html>
    <head><title>Example MiniWiki</title></head>
    <body>
     [<a href="<TMPL_VAR NAME=editlink>">Edit</a>|<a href="/wiki/(newpassword)">Change Password<sup>1</sup></a>]<br>
<TMPL_VAR NAME=BODY>
<p><hr>
<sup>1</sup>This will only work if authentification is enabled in
Apache::MiniWiki. See the POD documentation, or the manual page for
more information.
    </body>
  </html>
@



( run in 0.711 second using v1.01-cache-2.11-cpan-39bf76dae61 )