Ignore:
Timestamp:
06/30/08 13:45:19 (4 years ago)
Author:
sidtheduck
Message:

+ BIG Plogger restructure
+ fixing miscellaneous small bug fixes (RSS validation, beginnings of $_GET switch script integration, etc.)

Location:
trunk/plog-admin
Files:
1 added
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/plog-admin/includes/install-form-setup.php

    r546 r550  
    44}; 
    55?> 
    6 <h1>Plogger Configuration Setup</h1> 
    7 <p>To install, simply fill out the following form.  If there are any problems, you will be notified and asked to fix them before the installation will continue.  After the installation has finished, you will be redirected to the Plogger admin page.</p> 
    8 <form action="_install.php" method="post"> 
    9 <input type="hidden" name="action" value="install" /> 
    10 <table> 
    11         <tr> 
    12         <td colspan="2"> 
    13                 <div id="navcontainer"> 
    14                         <h1>Database Setup</h1> 
    15                 </div> 
    16                 </td> 
    17         </tr> 
    18         <tr> 
    19                 <td class="form_label"><label for="db_host">MySQL host:</label></td> 
    20                 <td class="form_input"><input type="text" name="db_host" id="db_host" value="<?php echo $form['db_host']; ?>" /></td> 
    21         </tr> 
     6        <h1>Plogger Configuration Setup</h1> 
     7        <p>To install, simply fill out the following form.  If there are any problems, you will be notified and asked to fix them before the installation will continue.  After the installation has finished, you will be redirected to the Plogger admin page.</p> 
     8        <form action="_install.php" method="post"> 
     9        <input type="hidden" name="action" value="install" /> 
     10        <table> 
     11                <tr> 
     12                        <td colspan="2"> 
     13                                <div id="navcontainer"> 
     14                                        <h1>Database Setup</h1> 
     15                                </div> 
     16                        </td> 
     17                </tr> 
     18                <tr> 
     19                        <td class="form_label"><label for="db_host">MySQL host:</label></td> 
     20                        <td class="form_input"><input type="text" name="db_host" id="db_host" value="<?php echo $form['db_host']; ?>" /></td> 
     21                </tr> 
    2222 
    23         <tr> 
    24                 <td class="form_label"><label for="db_user">MySQL Username:</label></td> 
    25                 <td class="form_input"><input type="text" name="db_user" id="db_user" value="<?php echo $form['db_user']; ?>" /></td> 
    26         </tr> 
    27         <tr> 
    28                 <td class="form_label"><label for="db_password">MySQL Password:</label></td> 
    29                 <td class="form_input"><input type="password" name="db_pass" id="db_pass" value="<?php echo $form['db_pass']; ?>" /></td> 
    30         </tr> 
     23                <tr> 
     24                        <td class="form_label"><label for="db_user">MySQL Username:</label></td> 
     25                        <td class="form_input"><input type="text" name="db_user" id="db_user" value="<?php echo $form['db_user']; ?>" /></td> 
     26                </tr> 
     27                <tr> 
     28                        <td class="form_label"><label for="db_password">MySQL Password:</label></td> 
     29                        <td class="form_input"><input type="password" name="db_pass" id="db_pass" value="<?php echo $form['db_pass']; ?>" /></td> 
     30                </tr> 
    3131 
    32         <tr> 
    33                 <td class="form_label"><label for="db_name">MySQL Database:</label></td> 
    34                 <td class="form_input"><input type="text" name="db_name" id="db_name" value="<?php echo $form['db_name']; ?>" /></td> 
    35         </tr> 
    36         <tr> 
    37                 <td colspan="2"> 
    38                 <div id="navcontainer"> 
    39                         <h1>Administrative Setup</h1> 
    40                 </div> 
    41                 </td> 
    42         </tr> 
    43         <tr> 
    44                 <td class="form_label"><label for="gallery">Gallery Name:</label></td> 
    45                 <td class="form_input"><input type="text" name="gallery_name" id="gallery" value="<?php echo $form['gallery_name']; ?>" /></td> 
    46         </tr> 
    47         <tr> 
    48                 <td class="form_label"><label for="username">Your e-mail:</label></td> 
    49                 <td class="form_input"><input type="text" name="admin_email" id="email" value="<?php echo $form['admin_email']; ?>" /></td> 
    50         </tr> 
    51    <?php 
    52    //if server is safe_mode enabled, prompt user for FTP info for FTP workaround 
    53    if (ini_get('safe_mode') && function_exists('ftp_connect')){?> 
    54    <tr> 
    55         <td colspan="2"> 
    56                 <div id="navcontainer"> 
    57                         <h1>Safe_mode FTP workaround</h1> 
    58          <br />Safe mode has been detected on your server.  FTP access is needed to allow Plogger to work correctly with safe_mode enabled. 
    59       </div> 
    60                 </td> 
    61         </tr> 
    62         <tr> 
    63                 <td class="form_label"><label for="ftp_host">FTP Host:</label></td> 
    64                 <td class="form_input"><input type="text" name="ftp_host" id="ftp_host" value="<?php echo $form['ftp_host']; ?>" /></td> 
    65         </tr> 
    66         <tr> 
    67                 <td class="form_label"><label for="ftp_user">FTP Username:</label></td> 
    68                 <td class="form_input"><input type="text" name="ftp_user" id="ftp_user" value="<?php echo $form['ftp_user']; ?>" /></td> 
    69         </tr> 
    70         <tr> 
    71                 <td class="form_label"><label for="ftp_password">FTP Password:</label></td> 
    72                 <td class="form_input"><input type="password" name="ftp_pass" id="ftp_pass" value="<?php echo $form['ftp_pass']; ?>" /></td> 
    73         </tr> 
    74         <tr> 
    75                 <td class="form_label"><label for="ftp_path">FTP Path to Plogger Base Folder (from FTP login):</label></td> 
    76                 <td class="form_input"><input type="text" name="ftp_path" id="ftp_path" value="<?php echo $form['ftp_path']; ?>" /></td> 
    77         </tr> 
    78    <?php } //end safe_mode workaround ?> 
    79    <tr> 
    80                 <td class="submitButtonRow" colspan="2"> 
    81                         <input type="submit" name="submit" id="submit" value="Proceed" /> 
    82                 </td> 
    83         </tr> 
    84 </table> 
    85 </form> 
     32                <tr> 
     33                        <td class="form_label"><label for="db_name">MySQL Database:</label></td> 
     34                        <td class="form_input"><input type="text" name="db_name" id="db_name" value="<?php echo $form['db_name']; ?>" /></td> 
     35                </tr> 
     36                <tr> 
     37                        <td colspan="2"> 
     38                                <div id="navcontainer"> 
     39                                        <h1>Administrative Setup</h1> 
     40                                </div> 
     41                        </td> 
     42                </tr> 
     43                <tr> 
     44                        <td class="form_label"><label for="gallery">Gallery Name:</label></td> 
     45                        <td class="form_input"><input type="text" name="gallery_name" id="gallery" value="<?php echo $form['gallery_name']; ?>" /></td> 
     46                </tr> 
     47                <tr> 
     48                        <td class="form_label"><label for="username">Your e-mail:</label></td> 
     49                        <td class="form_input"><input type="text" name="admin_email" id="email" value="<?php echo $form['admin_email']; ?>" /></td> 
     50                </tr> 
     51<?php 
     52//if server is safe_mode enabled, prompt user for FTP info for FTP workaround 
     53        if (ini_get('safe_mode') && function_exists('ftp_connect')){ 
     54?> 
     55                <tr> 
     56                        <td colspan="2"> 
     57                                <div id="navcontainer"> 
     58                                        <h1>Safe_mode FTP workaround</h1> 
     59                                        <br />Safe mode has been detected on your server.  FTP access is needed to allow Plogger to work correctly with safe_mode enabled. 
     60                                </div> 
     61                        </td> 
     62                </tr> 
     63                <tr> 
     64                        <td class="form_label"><label for="ftp_host">FTP Host:</label></td> 
     65                        <td class="form_input"><input type="text" name="ftp_host" id="ftp_host" value="<?php echo $form['ftp_host']; ?>" /></td> 
     66                </tr> 
     67                <tr> 
     68                        <td class="form_label"><label for="ftp_user">FTP Username:</label></td> 
     69                        <td class="form_input"><input type="text" name="ftp_user" id="ftp_user" value="<?php echo $form['ftp_user']; ?>" /></td> 
     70                </tr> 
     71                <tr> 
     72                        <td class="form_label"><label for="ftp_password">FTP Password:</label></td> 
     73                        <td class="form_input"><input type="password" name="ftp_pass" id="ftp_pass" value="<?php echo $form['ftp_pass']; ?>" /></td> 
     74                </tr> 
     75                <tr> 
     76                        <td class="form_label"><label for="ftp_path">FTP Path to Plogger Base Folder (from FTP login):</label></td> 
     77                        <td class="form_input"><input type="text" name="ftp_path" id="ftp_path" value="<?php echo $form['ftp_path']; ?>" /></td> 
     78                </tr> 
     79<?php } //end safe_mode workaround ?> 
     80                <tr> 
     81                        <td class="submitButtonRow" colspan="2"> 
     82                                <input type="submit" name="submit" id="submit" value="Proceed" /> 
     83                        </td> 
     84                </tr> 
     85        </table> 
     86        </form> 
Note: See TracChangeset for help on using the changeset viewer.