Diff for /cdn/www/pxHlp_ext/extensionSetup.html between versions 1.9 and 1.10

version 1.9, 2003/02/17 00:47:30 version 1.10, 2003/02/17 00:51:29
Line 42  function checkDateWindow(dateString) { / Line 42  function checkDateWindow(dateString) { /
   
 $extensionArray = array();  $extensionArray = array();
   
/*function makeExtensionGrid($extensionArray) {
function makeExtensionGrid() {  if (count($extensionArray) == 0) {
  if (extensionArray.length == 0) {    echo('<p><b><i>A <a href="javascript:">JavaScript Error</a> has probably occurred</i></b></p>');
    document.write('<p><b><i>A <a href="javascript:">JavaScript Error</a> has probably occurred</i></b></p>'); 
   }    }
  document.write('<ul>');  echo('<ul>');
  for (var i = 0; i < extensionArray.length; i++) {  for ($i = 0; $i < count($extensionArray); $i++) {
    document.write('<div>');    echo('<div>');
    document.write('<li><a href="#');    echo('<li><a href="#');
    document.write(escape(extensionArray[i].name));    echo(html_special_chars(extensionArray[$i]['name']));
    document.write('">');    echo('">');
    document.write(extensionArray[i].name);    echo(extensionArray[$i]['name'];
    document.write('</a></li>');    echo('</a></li>');
   }    }
  document.write('</ul>');  echo('</ul>');
 }  }
   
 function listExtensions() {  
         document.write('<p>This list contains most known Phoenix Extensions. There are currently ' + extensionArray.length + ' extensions available here.</p>');  
   for (var i = 0; i < extensionArray.length; i++) {  
     document.write('<a name="');  
     document.write(extensionArray[i].name);  
     document.write('"></a>');  
     document.write('<table class="extensions"><thead><tr><td colspan="4">');  
     document.write(extensionArray[i].name);  
     document.write('</td></tr></thead>');  
     document.write('<tbody><tr>');  
     document.write('<td class="label">Size:</td><td class="size">');  
     document.write(extensionArray[i].size);  
     document.write(' KB</td>');  
     document.write('<td class="label">Author:</td><td>');  
     for (var j=0; j < extensionArray[i].author.length; j++) {  
       if (j > 0 && extensionArray[i].author.length > 1 ) {  
         document.write(', ');  
       }  
       if (extensionArray[i].authorEmail[j] != '') {  
         document.write('<a href="mailto:');  
         document.write(extensionArray[i].authorEmail[j]);  
         document.write('">');  
       }  
       document.write(extensionArray[i].author[j]);  
       if (extensionArray[i].authorEmail[j] != '') {  
         document.write('</a>');  
       }  
     }  
     document.write('</td></tr><tr><td class="label">Install:</td><td><a href="');  
     document.write(extensionArray[i].installFile);  
     document.write('">Click Here</a></td><td class="label">Homepage:</td><td>');  
     if (extensionArray[i].homepage != '') {  
       document.write('<a href="');  
       document.write(extensionArray[i].homepage);  
       document.write('">');  
       document.write(extensionArray[i].homepage);  
       document.write('</a>');  
     }  
     else {  
       document.write('N/A');  
     }  
     document.write('</td></tr><tr><td colspan="4">');  
     document.write(extensionArray[i].description);  
     document.write('</td></tr></tbody></table>');  
   }  
 }  
 */  
   
 function listExtensions($extensionArray)  function listExtensions($extensionArray)
 {  {
   

Removed from v.1.9  
changed lines
  Added in v.1.10


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>