[Openfirst-cvscommit] base/config install.php,1.14,1.15
Brought to you by:
xtimg
From: <dav...@us...> - 2003-09-13 15:38:30
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv20924/base/config Modified Files: install.php Log Message: Minor bug and design changes. Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** install.php 23 Aug 2003 20:37:30 -0000 1.14 --- install.php 13 Sep 2003 15:38:26 -0000 1.15 *************** *** 34,44 **** ?> ! <h1>Module Install</h1> ! <p>This utility will create the tables required for certain openFIRST ! components to run. Select the modules you would like to ! install. Once installed, modules must be enabled from the ! <a href="modules.php"><strong>Module Administrator</strong></a>.</p> <form method="post" action="install.php"> <?php --- 34,48 ---- ?> ! <h1>Module Installer</h1> ! <p>This utility will create the tables required for certain openFIRST components ! to run.<br> ! Select the modules you would like to install.<br> ! <br> ! <font color="#FF0000">Once installed, modules must be enabled from the <a href="modules.php"><strong>Module ! Administrator</strong></a>.</font></p> <form method="post" action="install.php"> + <table> + <tr><th>Module Name</th><th>Response</th></tr> <?php *************** *** 47,51 **** $sqlf = str_replace(".", "-", str_replace(".$dbasetype", "",substr(strrchr($filename, "/"), 1))); $dir = str_replace(".", "-", str_replace(".$dbasetype", "", substr(strchr($filename, "/"), 1))); ! echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { --- 51,55 ---- $sqlf = str_replace(".", "-", str_replace(".$dbasetype", "",substr(strrchr($filename, "/"), 1))); $dir = str_replace(".", "-", str_replace(".$dbasetype", "", substr(strchr($filename, "/"), 1))); ! echo("<tr><td><br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input></td>"); if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { *************** *** 61,66 **** } } - echo(" - <b>Submitted, and added.</b> - This module must be configured in the module administrator to show up on menus."); fclose($sf); } } --- 65,72 ---- } } fclose($sf); + echo("<td><b><font color='Green'>Module Installed</font></b></td></tr>"); + }else{ + echo "<td>--</td></tr>"; } } *************** *** 101,104 **** --- 107,111 ---- } ?> + </table> <br /><input type="submit" value="Create Tables" /> </form> |