Changeset 698

Show
Ignore:
Timestamp:
08/22/05 16:16:00 (8 years ago)
Author:
plec_
Message:

Change javascript to OnClick? + dependencie note

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/install.php

    r694 r698  
    186186  'radius'      => array('needed' => 0, 'available' => 0, 'command' => "return dl('radius.so');",                'message' => 'Try in command line : pear install radius'), 
    187187  'Auth_RADIUS' => array('needed' => 0, 'available' => 0, 'command' => "return include_once 'Auth/RADIUS.php';", 'message' => 'Try in command line : pear install Auth_RADIUS'), 
    188   'Crypt_CHAP'  => array('needed' => 0, 'available' => 0, 'command' => "return include_once 'Crypt/CHAP.php';",  'message' => 'Try in command line : pear install Crypt_CHAP') 
     188  'Crypt_CHAP'  => array('needed' => 0, 'available' => 0, 'command' => "return include_once 'Crypt/CHAP.php';",  'message' => 'Try in command line : pear install Crypt_CHAP (mhash and mcrypt extensions are needed)') 
    189189); 
    190190 
     
    283283    empty($navArray['action']) ? $action = '' : $action = $navArray['action']; 
    284284    print <<<EndHTML 
    285 <A HREF="javascript: document.myform.page.value = '$page'; document.myform.action.value = '$action'; document.myform.submit();" CLASS="button">$title</A> 
     285<A HREF="#" ONCLICK="document.myform.page.value = '$page'; document.myform.action.value = '$action'; document.myform.submit();" CLASS="button">$title</A> 
    286286 
    287287EndHTML; 
     
    297297  print <<<EndHTML 
    298298 
    299 <P><A HREF="javascript: window.location.reload(true);" CLASS="button">Refresh</A></P> 
     299<P><A HREF="#" ONCLICK="javascript: window.location.reload(true);" CLASS="button">Refresh</A></P> 
    300300EndHTML; 
    301301} 
     
    493493 
    494494    print "<P><B>Home</B>: $basepath</P>"; 
    495     print "<P><B>HTTPD username</B>: $process_username</P>"; 
     495    print "<P><B>HTTPD username/group</B>: $process_username/$process_group</P>"; 
     496#    print "<P><B>HTTPD group</B>: $process_group<BR</P>"; 
    496497    print "<P><TABLE BORDER=\"1\"><TR><TD><B>Directory</B></TD></TD><TD><B>Owner</B></TD><TD><B>Writable</B></TD></TR>\n"; 
    497498 
     
    770771    navigation(array(array("title" => "Back", "page" => "magpierss"))); #, array("title" => "Next", "page" => "testdatabase"))); 
    771772    print <<< EndHTML 
    772 <P><A HREF="javascript: document.myform.page.value='testdatabase'; submitDatabaseValue(); document.myform.submit();" CLASS="button">Next</A></P> 
     773<P><A HREF="#" ONCLICK="javascript: document.myform.page.value='testdatabase'; submitDatabaseValue(); document.myform.submit();" CLASS="button">Next</A></P> 
    773774 
    774775EndHTML; 
     
    11191120 
    11201121    print <<< EndHTML 
    1121 <P><A HREF="javascript: document.myform.page.value='languages'; submitOptionsValue(); document.myform.submit();" CLASS="button">Next</A></P> 
     1122<P><A HREF="#" ONCLICK="javascript: document.myform.page.value='languages'; submitOptionsValue(); document.myform.submit();" CLASS="button">Next</A></P> 
    11221123EndHTML; 
    11231124 
     
    12281229EndHTML; 
    12291230    navigation(array(array("title" => "Back", "page" => "radius"))); 
    1230     print "<P><A HREF=\"javascript: submitValue();\" CLASS=\"button\">Next</A></P>\n"; 
     1231    print "<P><A HREF=\"#\" ONCLICK=\"javascript: submitValue();\" CLASS=\"button\">Next</A></P>\n"; 
    12311232    } 
    12321233  break; 
     
    12801281 
    12811282    print <<< EndHTML 
    1282 <P><A HREF="javascript: document.myform.page.value='hotspot'; submitOptionsValue(); document.myform.submit();" CLASS="button">Next</A></P> 
     1283<P><A HREF="#" ONCLICK="javascript: document.myform.page.value='hotspot'; submitOptionsValue(); document.myform.submit();" CLASS="button">Next</A></P> 
    12831284EndHTML; 
    12841285    #navigation(array(array("title" => "Back", "page" => "admin"), array("title" => "Next", "page" => "hotspot")));