comparison www/macros.m4 @ 2682:3f938458f716 octave-forge

Package listing now features javascript
author hauberg
date Sat, 14 Oct 2006 15:09:33 +0000
parents c6031fa3abe1
children ac2e7f5878ed
comparison
equal deleted inserted replaced
2681:5aad991269cf 2682:3f938458f716
81 m4_dnl 81 m4_dnl
82 m4_dnl 82 m4_dnl
83 m4_define(`__HTML_HEADER__', `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 83 m4_define(`__HTML_HEADER__', `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
84 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 84 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
85 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 85 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
86 <meta http-equiv="content-type" content="text/html; charset=utf-8">
87 <head> 86 <head>
87 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
88 <title>$1</title> 88 <title>$1</title>
89 <link rel="stylesheet" type="text/css" href="__BASE_ADDRESS__/octave-forge.css" /> 89 <link rel="stylesheet" type="text/css" href="__BASE_ADDRESS__/octave-forge.css" />
90 <script type="text/javascript"> 90 <script type="text/javascript">
91 <!-- 91 <!--
92 function goto_url(url) { 92 function goto_url(url) {
93 if (url != "-1") { 93 if (url != "-1") {
94 location.href=url; 94 location.href=url;
95 } 95 }
96 }
97 function unfold(id) {
98 document.getElementById(id).style.display = "none;";
99 document.getElementById(id+"_detailed").style.display = "block;";
100 }
101 function fold(id) {
102 document.getElementById(id+"_detailed").style.display = "none;";
103 document.getElementById(id).style.display = "block;";
96 } 104 }
97 // --> 105 // -->
98 </script> 106 </script>
99 </head> 107 </head>
100 <body> 108 <body>
200 </p>')m4_dnl 208 </p>')m4_dnl
201 m4_dnl 209 m4_dnl
202 m4_dnl 210 m4_dnl
203 m4_dnl 211 m4_dnl
204 m4_define(`__TRAILER__', ` 212 m4_define(`__TRAILER__', `
213 </div>
205 <div id="sf_logo"> 214 <div id="sf_logo">
206 <a href="__SOURCEFORGE__"><img src="__SOURCEFORGE__/sflogo.php?__GROUP_ID__&amp;type=1" width="88" 215 <a href="__SOURCEFORGE__"><img src="__SOURCEFORGE__/sflogo.php?__GROUP_ID__&amp;type=1" width="88"
207 height="31" border="0" alt="SourceForge.net Logo" /></a> 216 height="31" style="border: 0;" alt="SourceForge.net Logo" /></a>
208 </div> 217 </div>
209 </body> 218 </body>
210 </html>')m4_dnl 219 </html>')m4_dnl
211 m4_dnl 220 m4_dnl
212 m4_dnl 221 m4_dnl