Diff for /cdn/www/pxHlp_ext/extensionSetup.html between versions 1.6 and 1.7

version 1.6, 2003/02/17 00:39:11 version 1.7, 2003/02/17 00:42:50
Line 112  function listExtensions($extensionArray) Line 112  function listExtensions($extensionArray)
   
   $ret = '<p>This list contains most known Phoenix Extensions. There are currently ' . count($extensionArray) . ' extensions available here.</p>';    $ret = '<p>This list contains most known Phoenix Extensions. There are currently ' . count($extensionArray) . ' extensions available here.</p>';
       
  //for (var i = 0; i < extensionArray.length; i++)  for ($i = 0; $i < count($extensionArray); i++)
    {
  //{   
   
  $i = 0; 
   
     $ret .= '<a name="';      $ret .= '<a name="';
     $ret .= $extensionArray[$i]['name'];      $ret .= $extensionArray[$i]['name'];
     $ret .= '"></a>';      $ret .= '"></a>';
Line 129  function listExtensions($extensionArray) Line 126  function listExtensions($extensionArray)
     $ret .= $extensionArray[$i]['size'];      $ret .= $extensionArray[$i]['size'];
     $ret .= ' KB</td>';      $ret .= ' KB</td>';
     $ret .= '<td class="label">Author:</td><td>';      $ret .= '<td class="label">Author:</td><td>';
/*    for ($j=0; $j < $extensionArray[$i].author.length; $j++) {    for ($j=0; $extensionArray[$i]['author'][$j] != 0; $j++) {
      if (j > 0 && $extensionArray[$i].author.length > 1 ) {      if ($j > 0 && count($extensionArray[$i]['author']) > 1 ) {
         $ret .= ', ';          $ret .= ', ';
       }        }
      if ($extensionArray[$i].authorEmail[j] != '') {      if ($extensionArray[$i]['authorEmail'][$j] != '') {
         $ret .= '<a href="mailto:';          $ret .= '<a href="mailto:';
        $ret .= $extensionArray[$i].authorEmail[j]);        $ret .= $extensionArray[$i]['authorEmail'][$j];
         $ret .= '">';          $ret .= '">';
       }        }
      $ret .= $extensionArray[$i].author[j]);      $ret .= $extensionArray[$i]['author'][$j];
      if ($extensionArray[$i].authorEmail[j] != '') {      if ($extensionArray[$i]['authorEmail'][$j] != '') {
         $ret .= '</a>';          $ret .= '</a>';
       }        }
    }*/    }
     $ret .= '</td></tr><tr><td class="label">Install:</td><td><a href="';      $ret .= '</td></tr><tr><td class="label">Install:</td><td><a href="';
     $ret .= $extensionArray[$i]['installFile'];      $ret .= $extensionArray[$i]['installFile'];
     $ret .= '">Click Here</a></td><td class="label">Homepage:</td><td>';      $ret .= '">Click Here</a></td><td class="label">Homepage:</td><td>';
Line 159  function listExtensions($extensionArray) Line 156  function listExtensions($extensionArray)
     $ret .= '</td></tr><tr><td colspan="4">';      $ret .= '</td></tr><tr><td colspan="4">';
     $ret .= $extensionArray[$i]['description'];      $ret .= $extensionArray[$i]['description'];
     $ret .= '</td></tr></tbody></table>';      $ret .= '</td></tr></tbody></table>';
  //}  
   }
   
   return $ret;    return $ret;
   

Removed from v.1.6  
changed lines
  Added in v.1.7


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