Show
Ignore:
Timestamp:
07/07/08 17:22:49 (5 months ago)
Author:
kimparsell
Message:

+ Major cleanup of markup in plog-admin section files - markup now structured properly and validates as XHTML Strict
+ Added plog-admin/images/diag-bg.gif - left out of original restructuring
+ plog-admin/plog-options.php - reworked date formats/added 2 new formats
+ plog-admin/includes/install-functions.php - change install email layout
+ plog-admin/js/plogger.js - changed line endings to unix
+ plog-admin/js/ajax_editing.js - minor markup correction
+ plog-includes/js/plog-slideshow.js - corrected markup, changed loop to false
+ plog-includes/plog-functions.php - minor change to comment notification email, minor markup tweaks
+ index.php - markup tweaks in prep for front-end/theme cleanup
+ gallery.php - minor cleanup (remove extra blank line at end of file)
+ plogger.php - minor cleanup (remove extra blank line at end of file)

Files:
1 modified

Legend:

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

    r552 r555  
    1818        $errors = check_requirements(); 
    1919        if (sizeof($errors) > 0) { 
    20                 print '<p>Plogger wont work until the following problems are resolved</p>'; 
     20                print '<p>Plogger will not work until the following problems are resolved</p>'; 
    2121                print '<ul>'; 
    2222                foreach($errors as $error) { 
     
    2424                } 
    2525                print '</ul>'; 
    26                 print '<form method="GET" action="_install.php"><input type="submit" value="Try again"/></form>'; 
     26                print '<form method="get" action="_install.php"><input type="submit" value="Try again" /></form>'; 
    2727                return false; 
    2828        } 
     
    101101 
    102102                if (!$ok) { 
    103                         print '<ul><li>'; 
     103                        print '<ul>\n<li>'; 
    104104                        print join("</li>\n<li>",$errors); 
    105                         print '</li></ul>'; 
     105                        print '</li>\n</ul>'; 
    106106                } else { 
    107107                        $password = generate_password(); 
     
    169169        PRIMARY KEY  (id)" 
    170170        ,"Type=MyISAM $default_charset"); 
    171  
    172171 
    173172        maybe_add_table( 
     
    373372        mysql_query($query) or die(mysql_error().'<br /><br />'. $query); 
    374373 
    375         mail($config['admin_email'],"Your new gallery","You have successfully installed your new Plogger gallery. You can manage it at ${config['gallery_url']}plog-admin Username is `${config['admin_username']}` and password `${config['admin_password']}`."); 
    376 } 
     374                mail($config['admin_email'],"[Plogger] Your new gallery","You have successfully installed your new Plogger gallery.\n\nYou can login and manage it at ${config['gallery_url']}plog-admin.\n\nUsername: ${config['admin_username']}\nPassword: ${config['admin_password']}"); 
     375                } 
    377376 
    378377function create_config_file($db_host,$db_user,$db_pass,$db_name,$ftp_host,$ftp_user,$ftp_pass,$ftp_path) { 
     
    401400} 
    402401 
    403  
    404402function maybe_add_column($table,$column,$add_sql) { 
    405403        $sql = "DESCRIBE $table"; 
     
    429427                return "<li>dropping $column"; 
    430428        } else { 
    431                 //print "$column does not exist<br/>"; 
     429                //print "$column does not exist<br />"; 
    432430        } 
    433431} 
     
    506504                $login = @ftp_login($connection, $user, $pass); 
    507505                if (!$login) { 
    508                         $errors[] = "Couldn't login to FTP host \"$host\" with username \"$user\" and password \"$pass\".  Please check your FTP Username: and FTP Password:"; 
     506                        $errors[] = "Couldn't login to FTP host \"$host\" with username \"$user\" and password \"$pass\". Please check your FTP Username: and FTP Password:"; 
    509507                } else { 
    510508                        $checkdir = @ftp_chdir($connection, $path."plog-content/images/"); // check to see if the plog-content/images/ folder is accessible 
    511509                        if (!$checkdir) { 
    512                                 $errors[] = "Couldn't find the Plogger 'plog-content/images/' folder along the path \"$path\".  Please check your FTP Path to Plogger Base Folder (from FTP login):"; 
     510                                $errors[] = "Couldn't find the Plogger 'plog-content/images/' folder along the path \"$path\". Please check your FTP Path to Plogger Base Folder (from FTP login):"; 
    513511                        } 
    514512                }