Index: trunk/docs/coding_standards.txt
===================================================================
--- trunk/docs/coding_standards.txt	(revision 27)
+++ trunk/docs/coding_standards.txt	(revision 42)
@@ -7,5 +7,5 @@
 ======================================================================
 
-We're following the PEAR coding standards, with minor modifications. 
+We're following the PEAR coding standards, with minor modifications.
 
 This is essential reading:
@@ -20,5 +20,5 @@
 
 Auth_SQL.inc.php        One PHP Class to be included. The filename is the
-                        type of class, underscore, name. Or if in subdirs, 
+                        type of class, underscore, name. Or if in subdirs,
                         this could be /Auth/SQL.inc.php while the class name
                         remains "Auth_SQL"
@@ -29,5 +29,5 @@
                         directly in the web root.
 
-script.cli.php          A command-line executable script, possibly executed 
+script.cli.php          A command-line executable script, possibly executed
                         with CRON, usually outputs TEXT, not HTML.
 
@@ -43,5 +43,5 @@
 
 Use an indent of 4 spaces, with no tabs. Code and especially comments should
-be wrapped <= 80 characters. Exceptions are made in the case where code 
+be wrapped <= 80 characters. Exceptions are made in the case where code
 readability is significantly improved with longer lines.
 
@@ -80,13 +80,13 @@
         action1;
         break;
-    
+
     case 2:
         action2;
         break;
-    
+
     default:
         defaultaction;
         break;
-    
+
     }
 
@@ -137,5 +137,5 @@
 ======================================================================
 
-When functions return boolean values, use 'return false;' or 'return true;' 
+When functions return boolean values, use 'return false;' or 'return true;'
 as opposed to 'return 0;' or 'return 1;' or 'return(-1);'.
 
@@ -149,7 +149,7 @@
 
     $something = $blah . funky() . ".\".=" . $blab;
-    
+
 is better than:
-    
+
     $something = $blah.funky().".\".=".$blab;
 
@@ -159,7 +159,7 @@
 ======================================================================
 
-Use the single quote marks ' to enclose simple strings whenever possible. 
-Double quote marks " require extra parsing and thus slow things down, but 
-are necessary if entities there must be swapped-out such as variables or 
+Use the single quote marks ' to enclose simple strings whenever possible.
+Double quote marks " require extra parsing and thus slow things down, but
+are necessary if entities there must be swapped-out such as variables or
 control characters.
 
@@ -196,8 +196,8 @@
 ======================================================================
 
-Function comments should follow the Javadoc standard, with detailed 
+Function comments should follow the Javadoc standard, with detailed
 function comments and one-line pointers along the way:
 http://java.sun.com/products/jdk/javadoc/writingdoccomments/index.html
- 
+
     <?php
     /**
@@ -215,5 +215,5 @@
     {
         $qid = DB::query("SHOW COLUMNS FROM $db_table LIKE '$db_col'",false);
-            
+
         $row = mysql_fetch_row($qid);
         if (preg_match('/^enum|^set/i', $row[1]) && preg_match_all("/'([^']*)'/", $row[1], $match)) {
@@ -283,5 +283,5 @@
 ======================================================================
 
-All HTML should be valid XHTML 1.0 verfied with the 
+All HTML should be valid XHTML 1.0 verfied with the
 W3C Markup Validation Service: http://validator.w3.org/
 
@@ -302,5 +302,5 @@
     <td nowrap="nowrap">Example</td>
 
-All tags must be properly closed. Tags without a closing part must follow the 
+All tags must be properly closed. Tags without a closing part must follow the
 XHTML convention and end with a space and a slash:
 
Index: trunk/docs/example_config.inc.php
===================================================================
--- trunk/docs/example_config.inc.php	(revision 27)
+++ trunk/docs/example_config.inc.php	(revision 42)
@@ -12,5 +12,5 @@
 // To work around a PHP bug always include this config file with: require_once dirname(__FILE__) . '/_config.inc.php';
 if (!preg_match('!^(/|[A-Z]:)!', __FILE__)) {
-	trigger_error('_config.inc.php include must be specified with an absolute file path (eg: "require_once dirname(__FILE__) . \'/_config.inc.php\';"', E_USER_ERROR);
+    trigger_error('_config.inc.php include must be specified with an absolute file path (eg: "require_once dirname(__FILE__) . \'/_config.inc.php\';"', E_USER_ERROR);
 }
 
@@ -19,5 +19,5 @@
 define('COMMON_BASE', realpath(dirname(__FILE__) . '/../'));
 
-// The DocRoot for this application. SITE_BASE is ifferent from $_SERVER['DOCUMENT_ROOT'] because the 
+// The DocRoot for this application. SITE_BASE is ifferent from $_SERVER['DOCUMENT_ROOT'] because the
 // latter does not change when using the apache Alias directive or URL Rewriting to define a site.
 define('SITE_BASE', dirname(__FILE__));
Index: trunk/docs/file_layout.txt
===================================================================
--- trunk/docs/file_layout.txt	(revision 27)
+++ trunk/docs/file_layout.txt	(revision 42)
@@ -5,6 +5,6 @@
 ======================================================================================
 
-codebase/ 
-    bin/ 
+codebase/
+    bin/
         (generic command-line scripts and applications)
         file_importer.php
@@ -16,5 +16,5 @@
             list_template.cli.php
             module.cli.php
-            skel/ 
+            skel/
                 (templates for generating modules)
                 adm_form.ihtml
@@ -32,5 +32,5 @@
         file_layout.txt
         software_licence.txt
-        todo.txt    
+        todo.txt
     lib/
         App.inc.php (functions dealing with sessions, href/url/IP manipulation, directories.)
@@ -61,5 +61,5 @@
         Upload.inc.php (class that manages uploading of files.)
         Utilities.inc.php (functions for general utility: setting defaults, num/string functions, etc.)
-    services/ 
+    services/
         (codebase scripts that are only useful when web accessible, i.e. to be used in a doc root)
         admins.php
@@ -79,17 +79,17 @@
 ======================================================================================
 
-global/ 
+global/
     (global level configuration and libraries for a group of sites/apps)
     config.inc.php (system-wide configuration)
     db_auth.inc.php (db-authentication for CLI scripts. chown'ed by user executing cron, NOT apache).
 
-docs/ 
+docs/
     (documents specific to a group of sites/apps)
     tei_db.mysql (db schema)
-    
-bin/ 
+
+bin/
     (global level command-line scripts)
-    
-admin/ 
+
+admin/
     (DocumentRoot for the admin application)
     _config.inc.php
@@ -107,5 +107,5 @@
     versions.php (manage db record versions)
 
-html/ 
+html/
     (DocumentRoot of main site application)
     _config.inc.php (configuration options and defaults specific to this site. included first in each script.)
Index: trunk/docs/revision_history.txt
===================================================================
--- trunk/docs/revision_history.txt	(revision 27)
+++ trunk/docs/revision_history.txt	(revision 42)
@@ -10,9 +10,9 @@
     - will still run if info missing: db creds, log dir, session info.
     - can be located in /usr/local/lib/php if necessary, so accessible by all sites.
-    
+
 remove interdependencies:
     - App() is the only dependency for other classes. It includes Utilities.inc.php silently.
     - Update libs requiring external files, such as html templates and email templates, classes now self-contained.
-    
+
 Things with modified interfaces:
     - App
@@ -41,13 +41,13 @@
         - lang
     - $dbh database handler
-    
+
 App object:
     - object belongs to a realm, keeping messages and session data within specific site/app.
     - uses the singleton pattern so only one instance of App exists for each app.
     - app object can be accessed globally without reference to object name by calling methods statically, e.g. App:logMsg()
-    - seperate application and codebase parameters from site configuration variables. 
+    - seperate application and codebase parameters from site configuration variables.
       Use $app->getParam('var') or App::getParam('var') to get app params.
       F or site configurations do whatever you want (I'm using $cfg['node']['features'] format for configurations)
-    
+
 App configuration parameters
     - defaults part of the app class
