<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -25,7 +25,7 @@
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
 if (!defined('PHP5')) {
-	define ('PHP5', (PHP_VERSION &gt;= 5));
+	define('PHP5', (PHP_VERSION &gt;= 5));
 }
 /**
  * Configuration, directory layout and standard libraries</diff>
      <filename>bootstrap.php</filename>
    </modified>
    <modified>
      <diff>@@ -31,81 +31,81 @@
  * here.
  */
 	if (!defined('ROOT')) {
-		define ('ROOT', '../');
+		define('ROOT', '../');
 	}
 	if (!defined('WEBROOT_DIR')) {
-		define ('WEBROOT_DIR', 'webroot');
+		define('WEBROOT_DIR', 'webroot');
 	}
 /**
  * Path to the cake directory.
  */
-	define ('CAKE', CORE_PATH.'cake'.DS);
+	define('CAKE', CORE_PATH.'cake'.DS);
 /**
  * Path to the application's directory.
  */
 if (!defined('APP')) {
-	define ('APP', ROOT.DS.APP_DIR.DS);
+	define('APP', ROOT.DS.APP_DIR.DS);
 }
 /**
  * Path to the application's models directory.
  */
-	define ('MODELS', APP.'models'.DS);
+	define('MODELS', APP.'models'.DS);
 /**
  * Path to model behaviors directory.
  */
-	define ('BEHAVIORS', MODELS.'behaviors'.DS);
+	define('BEHAVIORS', MODELS.'behaviors'.DS);
 /**
  * Path to the application's controllers directory.
  */
-	define ('CONTROLLERS', APP.'controllers'.DS);
+	define('CONTROLLERS', APP.'controllers'.DS);
 /**
  * Path to the application's components directory.
  */
-	define ('COMPONENTS', CONTROLLERS.'components'.DS);
+	define('COMPONENTS', CONTROLLERS.'components'.DS);
 /**
  * Path to the application's views directory.
  */
-	define ('VIEWS', APP.'views'.DS);
+	define('VIEWS', APP.'views'.DS);
 /**
  * Path to the application's helpers directory.
  */
-	define ('HELPERS', VIEWS.'helpers'.DS);
+	define('HELPERS', VIEWS.'helpers'.DS);
 /**
  * Path to the application's view's layouts directory.
  */
-	define ('LAYOUTS', VIEWS.'layouts'.DS);
+	define('LAYOUTS', VIEWS.'layouts'.DS);
 /**
  * Path to the application's view's elements directory.
  * It's supposed to hold pieces of PHP/HTML that are used on multiple pages
  * and are not linked to a particular layout (like polls, footers and so on).
  */
-	define ('ELEMENTS', VIEWS.'elements'.DS);
+	define('ELEMENTS', VIEWS.'elements'.DS);
 /**
  * Path to the configuration files directory.
  */
 if (!defined('CONFIGS')) {
-	define ('CONFIGS', APP.'config'.DS);
+	define('CONFIGS', APP.'config'.DS);
 }
 /**
  * Path to the libs directory.
  */
-	define ('INFLECTIONS', CAKE.'config'.DS.'inflections'.DS);
+	define('INFLECTIONS', CAKE.'config'.DS.'inflections'.DS);
 /**
  * Path to the libs directory.
  */
-	define ('LIBS', CAKE.'libs'.DS);
+	define('LIBS', CAKE.'libs'.DS);
 /**
  * Path to the public CSS directory.
  */
-	define ('CSS', WWW_ROOT.'css'.DS);
+	define('CSS', WWW_ROOT.'css'.DS);
 /**
  * Path to the public JavaScript directory.
  */
-	define ('JS', WWW_ROOT.'js'.DS);
+	define('JS', WWW_ROOT.'js'.DS);
 /**
  * Path to the public images directory.
  */
-	define ('IMAGES', WWW_ROOT.'img'.DS);
+	define('IMAGES', WWW_ROOT.'img'.DS);
 /**
  * Path to the console libs direcotry.
  */
@@ -114,49 +114,49 @@ if (!defined('CONFIGS')) {
  * Path to the tests directory.
  */
 if (!defined('TESTS')) {
-	define ('TESTS', APP.'tests'.DS);
+	define('TESTS', APP.'tests'.DS);
 }
 /**
  * Path to the core tests directory.
  */
 if (!defined('CAKE_TESTS')) {
-	define ('CAKE_TESTS', CAKE.'tests'.DS);
+	define('CAKE_TESTS', CAKE.'tests'.DS);
 }
 /**
  * Path to the test suite.
  */
-	define ('CAKE_TESTS_LIB', CAKE_TESTS.'lib'.DS);
+	define('CAKE_TESTS_LIB', CAKE_TESTS.'lib'.DS);
 
 /**
  * Path to the controller test directory.
  */
-	define ('CONTROLLER_TESTS', TESTS.'cases'.DS.'controllers'.DS);
+	define('CONTROLLER_TESTS', TESTS.'cases'.DS.'controllers'.DS);
 /**
  * Path to the components test directory.
  */
-	define ('COMPONENT_TESTS', TESTS.'cases'.DS.'components'.DS);
+	define('COMPONENT_TESTS', TESTS.'cases'.DS.'components'.DS);
 /**
  * Path to the helpers test directory.
  */
-	define ('HELPER_TESTS', TESTS.'cases'.DS.'views'.DS.'helpers'.DS);
+	define('HELPER_TESTS', TESTS.'cases'.DS.'views'.DS.'helpers'.DS);
 /**
  * Path to the models' test directory.
  */
-	define ('MODEL_TESTS', TESTS.'cases'.DS.'models'.DS);
+	define('MODEL_TESTS', TESTS.'cases'.DS.'models'.DS);
 /**
  * Path to the lib test directory.
  */
-	define ('LIB_TESTS', CAKE_TESTS.'cases'.DS.'lib'.DS);
+	define('LIB_TESTS', CAKE_TESTS.'cases'.DS.'lib'.DS);
 /**
  * Path to the temporary files directory.
  */
 if (!defined('TMP')) {
-	define ('TMP', APP.'tmp'.DS);
+	define('TMP', APP.'tmp'.DS);
 }
 /**
  * Path to the logs directory.
  */
-	define ('LOGS', TMP.'logs'.DS);
+	define('LOGS', TMP.'logs'.DS);
 /**
  * Path to the cache files directory. It can be shared between hosts in a multi-server setup.
  */
@@ -165,14 +165,14 @@ if (!defined('TMP')) {
  * Path to the vendors directory.
  */
 if (!defined('VENDORS')) {
-	define ('VENDORS', CAKE_CORE_INCLUDE_PATH.DS.'vendors'.DS);
+	define('VENDORS', CAKE_CORE_INCLUDE_PATH.DS.'vendors'.DS);
 }
 /**
  * Path to the Pear directory
  * The purporse is to make it easy porting Pear libs into Cake
  * without setting the include_path PHP variable.
  */
-	define ('PEAR', VENDORS.'Pear'.DS);
+	define('PEAR', VENDORS.'Pear'.DS);
 /**
  *  Full url prefix
  */
@@ -193,18 +193,18 @@ if (!defined('FULL_BASE_URL')) {
  * Web path to the public images directory.
  */
 if (!defined('IMAGES_URL')) {
-	define ('IMAGES_URL', 'img/');
+	define('IMAGES_URL', 'img/');
 }
 /**
  * Web path to the CSS files directory.
  */
 if (!defined('CSS_URL')) {
-	define ('CSS_URL', 'css/');
+	define('CSS_URL', 'css/');
 }
 /**
  * Web path to the js files directory.
  */
 if (!defined('JS_URL')) {
-	define ('JS_URL', 'js/');
+	define('JS_URL', 'js/');
 }
 ?&gt;
\ No newline at end of file</diff>
      <filename>config/paths.php</filename>
    </modified>
    <modified>
      <diff>@@ -318,7 +318,7 @@ class ConsoleShell extends Shell {
  */
 	function __loadRoutes() {
 		$router =&amp; Router::getInstance();
-		
+
 		$router-&gt;reload();
 		extract($router-&gt;getNamedExpressions());
 </diff>
      <filename>console/libs/console.php</filename>
    </modified>
    <modified>
      <diff>@@ -45,7 +45,6 @@ class I18nShell extends Shell {
  * @access public
  */
 	var $tasks = array('DbConfig', 'Extract');
-
 /**
  * Override startup of the Shell
  *
@@ -127,5 +126,4 @@ class I18nShell extends Shell {
 		$this-&gt;Extract-&gt;help();
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>console/libs/i18n.php</filename>
    </modified>
    <modified>
      <diff>@@ -46,7 +46,6 @@ class ModelTask extends Shell {
  * @access public
  */
 	var $path = MODELS;
-
 /**
  * tasks
  *</diff>
      <filename>console/libs/tasks/model.php</filename>
    </modified>
    <modified>
      <diff>@@ -84,7 +84,7 @@ class PluginTask extends Shell {
 				$this-&gt;__interactive($plugin);
 			}
 		}
-		
+
 		if (isset($this-&gt;args[0])) {
 			$task = Inflector::classify($this-&gt;args[0]);
 			$this-&gt;Dispatch-&gt;shiftArgs();
@@ -177,7 +177,7 @@ class PluginTask extends Shell {
 			$this-&gt;out(sprintf(__(&quot;Created: %s in %s&quot;, true), $plugin, $this-&gt;path . $pluginPath));
 			$this-&gt;hr();
 		}
-		
+
 		return true;
 	}
 /**</diff>
      <filename>console/libs/tasks/plugin.php</filename>
    </modified>
    <modified>
      <diff>@@ -36,6 +36,6 @@
  * @package       cake
  * @subpackage    cake.app
  */
-class AppModel extends Model{
+class AppModel extends Model {
 }
 ?&gt;
\ No newline at end of file</diff>
      <filename>console/libs/templates/skel/app_model.php</filename>
    </modified>
    <modified>
      <diff>@@ -24,9 +24,6 @@
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
 /**
- * Included libraries.
- */
-/**
  * Caching for CakePHP.
  *
  * @package       cake</diff>
      <filename>libs/cache.php</filename>
    </modified>
    <modified>
      <diff>@@ -1155,7 +1155,7 @@ class App extends Object {
  * Object destructor.
  *
  * Writes cache file if changes have been made to the $__map or $__paths
- * 
+ *
  * @return void
  * @access private
  */</diff>
      <filename>libs/configure.php</filename>
    </modified>
    <modified>
      <diff>@@ -44,7 +44,6 @@
  * @link          http://book.cakephp.org/view/460/Using-the-Debugger-Class
  */
 class Debugger extends Object {
-
 /**
  * A list of errors generated by the application.
  *
@@ -565,5 +564,4 @@ class Debugger extends Object {
 if (!defined('DISABLE_DEFAULT_ERROR_HANDLING')) {
 	Debugger::invoke(Debugger::getInstance());
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/debugger.php</filename>
    </modified>
    <modified>
      <diff>@@ -57,7 +57,7 @@ class CakeErrorController extends AppController {
 	}
 }
 /**
- * Error Handler. 
+ * Error Handler.
  *
  * Captures and handles all cakeError() calls.
  * Displays helpful framework errors when debug &gt; 1.
@@ -83,7 +83,7 @@ class ErrorHandler extends Object {
 	function __construct($method, $messages) {
 		App::import('Core', 'Sanitize');
 		static $__previousError = null;
-		
+
 		if ($__previousError != array($method, $messages)) {
 			$__previousError = array($method, $messages);
 			$this-&gt;controller =&amp; new CakeErrorController();</diff>
      <filename>libs/error.php</filename>
    </modified>
    <modified>
      <diff>@@ -27,9 +27,8 @@
  *
  */
 if (!class_exists('Object')) {
-	uses ('object');
+	uses('object');
 }
-
 if (!class_exists('Folder')) {
 	require LIBS . 'folder.php';
 }</diff>
      <filename>libs/file.php</filename>
    </modified>
    <modified>
      <diff>@@ -28,9 +28,9 @@
  * Included libraries.
  *
  */
-	if (!class_exists('Object')) {
-		 uses ('object');
-	}
+if (!class_exists('Object')) {
+	uses('object');
+}
 /**
  * Text-to-HTML parser.
  *</diff>
      <filename>libs/flay.php</filename>
    </modified>
    <modified>
      <diff>@@ -26,9 +26,9 @@
  * Included libraries.
  *
  */
-	if (!class_exists('Object')) {
-		uses('object');
-	}
+if (!class_exists('Object')) {
+	uses('object');
+}
 /**
  * Folder structure browser, lists folders and files.
  *</diff>
      <filename>libs/folder.php</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,6 @@
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
 App::import('Core', array('Socket', 'Set', 'Router'));
-
 /**
  * Cake network socket connection class.
  *
@@ -40,7 +39,6 @@ class HttpSocket extends CakeSocket {
  * @access public
  */
 	var $description = 'HTTP-based DataSource Interface';
-
 /**
  * When one activates the $quirksMode by setting it to true, all checks meant to enforce RFC 2616 (HTTP/1.1 specs)
  * will be disabled and additional measures to deal with non-standard responses will be enabled.
@@ -49,7 +47,6 @@ class HttpSocket extends CakeSocket {
  * @access public
  */
 	var $quirksMode = false;
-
 /**
  * The default values to use for a request
  *
@@ -103,9 +100,8 @@ class HttpSocket extends CakeSocket {
 		),
 		'header' =&gt; array(),
 		'body' =&gt; '',
-		'cookies' =&gt; array(),
+		'cookies' =&gt; array()
 	);
-
 /**
  * Default configuration settings for the HttpSocket
  *
@@ -129,10 +125,9 @@ class HttpSocket extends CakeSocket {
 				'user' =&gt; null,
 				'pass' =&gt; null
 			),
-			'cookies' =&gt; array(),
+			'cookies' =&gt; array()
 		)
 	);
-
 /**
  * String that represents a line break.
  *
@@ -158,7 +153,6 @@ class HttpSocket extends CakeSocket {
 		}
 		parent::__construct($this-&gt;config);
 	}
-
 /**
  * Issue the specified request.
  *
@@ -265,7 +259,6 @@ class HttpSocket extends CakeSocket {
 
 		return $this-&gt;response['body'];
 	}
-
 /**
  * Issues a GET request to the specified URI, query, and request.
  *
@@ -303,7 +296,6 @@ class HttpSocket extends CakeSocket {
 		$request = Set::merge(array('method' =&gt; 'POST', 'uri' =&gt; $uri, 'body' =&gt; $data), $request);
 		return $this-&gt;request($request);
 	}
-
 /**
  * Issues a PUT request to the specified URI, query, and request.
  *
@@ -317,7 +309,6 @@ class HttpSocket extends CakeSocket {
 		$request = Set::merge(array('method' =&gt; 'PUT', 'uri' =&gt; $uri, 'body' =&gt; $data), $request);
 		return $this-&gt;request($request);
 	}
-
 /**
  * Issues a DELETE request to the specified URI, query, and request.
  *
@@ -366,7 +357,6 @@ class HttpSocket extends CakeSocket {
 		}
 		return $this-&gt;buildUri($url);
 	}
-
 /**
  * Parses the given message and breaks it down in parts.
  *
@@ -746,7 +736,6 @@ class HttpSocket extends CakeSocket {
 		}
 		return $request['method'].' '.$request['uri'].' '.$versionToken.$this-&gt;lineBreak;
 	}
-
 /**
  * Serializes an array for transport.
  *
@@ -935,7 +924,6 @@ class HttpSocket extends CakeSocket {
 		$token = preg_replace($regex, '&quot;\\1&quot;', $token);
 		return $token;
 	}
-
 /**
  * Gets escape chars according to RFC 2616 (HTTP 1.1 specs).
  *
@@ -987,5 +975,4 @@ class HttpSocket extends CakeSocket {
 		return true;
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/http_socket.php</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,7 @@
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
 if (!class_exists('File')) {
-	uses ('object', 'file');
+	uses('object', 'file');
 }
 /**
  * A class to parse and use the MagicDb for file type analysis</diff>
      <filename>libs/magic_db.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Model behaviors base class.
  *</diff>
      <filename>libs/model/behavior.php</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,6 @@
  * @subpackage    cake.cake.libs.model.behaviors
  */
 class AclBehavior extends ModelBehavior {
-
 /**
  * Maps ACL type options to ACL models
  *</diff>
      <filename>libs/model/behaviors/acl.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Short description for file.
  *
@@ -25,6 +24,8 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
+uses ('model' . DS . 'datasources' . DS . 'datasource');
+config('database');
 
 /**
  * Manages loaded instances of DataSource objects
@@ -34,10 +35,6 @@
  * @package       cake
  * @subpackage    cake.cake.libs.model
  */
-
-uses ('model' . DS . 'datasources' . DS . 'datasource');
-config('database');
-
 class ConnectionManager extends Object {
 /**
  * Holds a loaded instance of the Connections object</diff>
      <filename>libs/model/connection_manager.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * AdoDB layer for DBO.
  *
@@ -25,12 +24,10 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Include AdoDB files.
  */
 App::import('Vendor', 'NewADOConnection', array('file' =&gt; 'adodb' . DS . 'adodb.inc.php'));
-
 /**
  * AdoDB DBO implementation.
  *
@@ -137,17 +134,11 @@ class DboAdodb extends DboSource {
 		return $this-&gt;_adodb-&gt;execute($sql);
 	}
 /**
- * Returns a row from given resultset as an array .
- *
- * @return array The fetched row as an array
- */
-/**
  * Returns a row from current resultset as an array .
  *
  * @return array The fetched row as an array
  */
 	function fetchRow($sql = null) {
-
 		if (!empty($sql) &amp;&amp; is_string($sql) &amp;&amp; strlen($sql) &gt; 5) {
 			if (!$this-&gt;execute($sql)) {
 				return null;
@@ -443,7 +434,6 @@ class DboAdodb extends DboSource {
 		}
 		return $resultRow;
 	}
-
 /**
  * Generate a database-native column schema string
  *</diff>
      <filename>libs/model/datasources/dbo/dbo_adodb.php</filename>
    </modified>
    <modified>
      <diff>@@ -248,7 +248,6 @@ class DboDb2 extends DboSource {
  * @return string Quoted and escaped
  * @todo Add logic that formats/escapes data based on column type
  */
-
 	function value($data, $column = null, $safe = false) {
 		$parent = parent::value($data, $column, $safe);
 </diff>
      <filename>libs/model/datasources/dbo/dbo_db2.php</filename>
    </modified>
    <modified>
      <diff>@@ -117,7 +117,6 @@ class DboFirebird extends DboSource {
 		'commit'   =&gt; 'COMMIT',
 		'rollback' =&gt; 'ROLLBACK'
 	);
-
 /**
  * Connects to the database using options in the given configuration array.
  *</diff>
      <filename>libs/model/datasources/dbo/dbo_firebird.php</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Short description for class.
  *
@@ -356,7 +355,6 @@ class DboMssql extends DboSource {
 		}
 		return $result;
 	}
-
 /**
  * Generates and executes an SQL UPDATE statement for given model, fields, and values.
  * Removes Identity (primary key) column from update data before returning to parent.
@@ -683,5 +681,4 @@ class DboMssql extends DboSource {
 		return $join;
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/model/datasources/dbo/dbo_mssql.php</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Short description for class.
  *</diff>
      <filename>libs/model/datasources/dbo/dbo_mysql.php</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Short description for class.
  *
@@ -58,7 +57,6 @@ class DboMysqli extends DboSource {
  * @var array
  */
 	var $index = array('PRI' =&gt; 'primary', 'MUL' =&gt; 'index', 'UNI' =&gt; 'unique');
-
 /**
  * Base configuration settings for Mysqli driver
  *</diff>
      <filename>libs/model/datasources/dbo/dbo_mysqli.php</filename>
    </modified>
    <modified>
      <diff>@@ -35,40 +35,36 @@
  * @subpackage    cake.cake.libs.model.datasources.dbo
  */
 class DboOdbc extends DboSource {
-
 /**
  * Driver description
  *
  * @var string
  */
 	var $description = &quot;ODBC DBO Driver&quot;;
-
 /**
  * Table/column starting quote
  *
  * @var string
  */
 	var $startQuote = &quot;`&quot;;
-
 /**
  * Table/column end quote
  *
  * @var string
  */
 	var $endQuote = &quot;`&quot;;
-
 /**
  * Driver base configuration
  *
  * @var array
  */
-	var $_baseConfig = array('persistent' =&gt; true,
-				'login' =&gt; 'root',
-				'password' =&gt; '',
-				'database' =&gt; 'cake',
-				'connect'  =&gt; 'odbc_pconnect'
+	var $_baseConfig = array(
+		'persistent' =&gt; true,
+		'login' =&gt; 'root',
+		'password' =&gt; '',
+		'database' =&gt; 'cake',
+		'connect'  =&gt; 'odbc_pconnect'
 	);
-
 /**
  * Enter description here...
  *
@@ -87,7 +83,6 @@ class DboOdbc extends DboSource {
 	//						'date' =&gt; array('name' =&gt; 'date', 'format' =&gt; 'Y-m-d', 'formatter' =&gt; 'date'),
 	//						'binary' =&gt; array('name' =&gt; 'blob'),
 	//						'boolean' =&gt; array('name' =&gt; 'tinyint', 'limit' =&gt; '1'));
-
 /**
  * Connects to the database using options in the given configuration array.
  *
@@ -106,7 +101,6 @@ class DboOdbc extends DboSource {
 
 		return $this-&gt;connected;
 	}
-
 /**
  * Disconnects from database.
  *
@@ -131,19 +125,11 @@ class DboOdbc extends DboSource {
  * @return array Array of tablenames in the database
  */
 	function listSources() {
-
 		$cache = parent::listSources();
 		if ($cache != null) {
 			return $cache;
 		}
 
-		/*$result = odbc_tables($this-&gt;connection);
-		if (function_exists('odbc_fetch_row')) {
-			echo 'GOOD';
-		} else {
-			echo 'BAD';
-		}*/
-
 		$result = odbc_tables($this-&gt;connection);
 
 		$tables = array();
@@ -185,29 +171,25 @@ class DboOdbc extends DboSource {
 		$this-&gt;__cacheDescription($model-&gt;tablePrefix . $model-&gt;table, $fields);
 		return $fields;
 	}
-	
 /**
  * Name
  *
- * @param string $data 
+ * @param string $data
  * @access public
  * @return void
  */
 	function name($data) {
 		if ($data == '*') {
-				return '*';
+			return '*';
 		}
 
-		$pos = strpos($data, '`');
-
-		if ($pos === false) {
-				$data = '' . str_replace('.', '.', $data) . '';
-		//$data = '`'. str_replace('.', '`.`', $data) .'`';
+		if (strpos($data, '`') === false) {
+			$data = '' . str_replace('.', '.', $data) . '';
+			//$data = '`'. str_replace('.', '`.`', $data) .'`';
 		}
 
 		return $data;
 	}
-
 /**
  * Returns a quoted and escaped string of $data for use in an SQL statement.
  *
@@ -235,7 +217,6 @@ class DboOdbc extends DboSource {
 
 		return $return;
 	}
-
 /**
  * Not sure about this one, MySQL needs it but does ODBC?  Safer just to leave it
  * Translates between PHP boolean values and MySQL (faked) boolean values
@@ -256,7 +237,6 @@ class DboOdbc extends DboSource {
 			return false;
 		}
 	}
-
 /**
  * Begin a transaction
  *
@@ -273,7 +253,6 @@ class DboOdbc extends DboSource {
 		}
 		return false;
 	}
-
 /**
  * Commit a transaction
  *
@@ -291,7 +270,6 @@ class DboOdbc extends DboSource {
 		}
 		return false;
 	}
-
 /**
  * Rollback a transaction
  *
@@ -307,7 +285,6 @@ class DboOdbc extends DboSource {
 		}
 		return false;
 	}
-
 /**
  * Returns a formatted error message from previous database operation.
  *
@@ -319,7 +296,6 @@ class DboOdbc extends DboSource {
 		}
 		return null;
 	}
-
 /**
  * Returns number of affected rows in previous database operation. If no previous operation exists,
  * this returns false.
@@ -332,7 +308,6 @@ class DboOdbc extends DboSource {
 		}
 		return false;
 	}
-
 /**
  * Returns number of rows in previous resultset. If no previous resultset exists,
  * this returns false.
@@ -340,9 +315,9 @@ class DboOdbc extends DboSource {
  * @return int Number of rows in resultset
  */
 	function lastNumRows() {
-		if($this-&gt;hasResult()) {
+		if ($this-&gt;hasResult()) {
 			$counter = 0;
-			if(@odbc_fetch_into($this-&gt;_result, $results)) {
+			if (@odbc_fetch_into($this-&gt;_result, $results)) {
 				return count($results);
 			} else {
 				return null;
@@ -350,8 +325,6 @@ class DboOdbc extends DboSource {
 		}
 		return null;
 	}
-
-
 /**
  * Returns the ID generated from the previous INSERT operation.
  *
@@ -359,10 +332,9 @@ class DboOdbc extends DboSource {
  * @return int
  */
 	function lastInsertId($source = null) {
-		$result=$this-&gt;fetchRow('SELECT @@IDENTITY');
+		$result = $this-&gt;fetchRow('SELECT @@IDENTITY');
 		return $result[0];
 	}
-
 /**
  * Enter description here...
  *
@@ -378,7 +350,6 @@ class DboOdbc extends DboSource {
 		}
 		return $real;
 	}
-
 /**
 * Enter description here...
 *
@@ -393,7 +364,7 @@ class DboOdbc extends DboSource {
 		while($j &lt; $num_fields) {
 			$columnName = odbc_field_name($results, $j+1);
 
-			if(strpos($columnName, '_dot_') !== false) {
+			if (strpos($columnName, '_dot_') !== false) {
 				$parts = explode('_dot_', $columnName);
 				$this-&gt;map[$index++] = array($parts[0], $parts[1]);
 			} else {
@@ -402,9 +373,6 @@ class DboOdbc extends DboSource {
 			$j++;
 		}
 	}
-
-
-	
 /**
 * Generates the fields list of an SQL query.
 *
@@ -445,7 +413,7 @@ class DboOdbc extends DboSource {
 						$fields[$i] = trim(r('DISTINCT', '', $fields[$i]));
 					}
 
-					if(strrpos($fields[$i], '.') === false) {
+					if (strrpos($fields[$i], '.') === false) {
 						$fields[$i] = $prepend . $this-&gt;name($alias) . '.' . $this-&gt;name($fields[$i]) . ' AS ' . $this-&gt;name($alias . '_dot_' . $fields[$i]);
 					} else {
 						$build = explode('.', $fields[$i]);
@@ -456,15 +424,13 @@ class DboOdbc extends DboSource {
 		}
 		return $fields;
 	}
-
-
 /**
  * Fetches the next row from the current result set
  *
  * @return unknown
  */
 	function fetchResult() {
-		if($row = odbc_fetch_row($this-&gt;results)) {
+		if ($row = odbc_fetch_row($this-&gt;results)) {
 			$resultRow = array();
 			$numFields = odbc_num_fields($this-&gt;results);
 			$i = 0;
@@ -477,6 +443,5 @@ class DboOdbc extends DboSource {
 			return false;
 		}
 	}
-
 }
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/model/datasources/dbo/dbo_odbc.php</filename>
    </modified>
    <modified>
      <diff>@@ -56,7 +56,6 @@ class DboOracle extends DboSource {
  * @var boolean
  */
 	var $__transactionStarted = false;
-
 /**
  * Enter description here...
  *
@@ -126,14 +125,12 @@ class DboOracle extends DboSource {
  * @access protected
  */
 	var $_results;
-
 /**
  * Last error issued by oci extension
  *
  * @var unknown_type
  */
 	var $_error;
-
 /**
  * Base configuration settings for MySQL driver
  *
@@ -148,7 +145,6 @@ class DboOracle extends DboSource {
 		'nls_sort' =&gt; '',
 		'nls_sort' =&gt; ''
 	);
-
 /**
  * Table-sequence map
  *
@@ -190,7 +186,6 @@ class DboOracle extends DboSource {
 		}
 		return $this-&gt;connected;
 	}
-
 	/**
 	 * Keeps track of the most recent Oracle error
 	 *
@@ -393,7 +388,11 @@ class DboOracle extends DboSource {
 		$this-&gt;_currentRow++;
 		return $resultRow;
 	}
-
+/**
+ * Fetches the next row from the current result set
+ *
+ * @return unknown
+ */
 	function fetchResult() {
 		return $this-&gt;fetchRow();
 	}
@@ -618,7 +617,6 @@ class DboOracle extends DboSource {
 		}
 		return true;
 	}
-
 /**
  * Returns an array of the indexes in given table name.
  *
@@ -628,7 +626,7 @@ class DboOracle extends DboSource {
 	function index($model) {
 		$index = array();
 		$table = $this-&gt;fullTableName($model, false);
-		if($table) {
+		if ($table) {
 			$indexes = $this-&gt;query('SELECT
 			  cc.table_name,
 			  cc.column_name,
@@ -646,11 +644,11 @@ class DboOracle extends DboSource {
 				} else {
 					continue;
 				}
-				if(!isset($index[$key])) {
+				if (!isset($index[$key])) {
 					$index[$key]['column'] = strtolower($idx['cc']['column_name']);
 					$index[$key]['unique'] = intval($idx['i']['uniqueness'] == 'UNIQUE');
 				} else {
-					if(!is_array($index[$key]['column'])) {
+					if (!is_array($index[$key]['column'])) {
 						$col[] = $index[$key]['column'];
 					}
 					$col[] = strtolower($idx['cc']['column_name']);
@@ -660,7 +658,6 @@ class DboOracle extends DboSource {
 		}
 		return $index;
 	}
-
 /**
  * Generate a Oracle Alter Table syntax for the given Schema comparison
  *
@@ -668,7 +665,7 @@ class DboOracle extends DboSource {
  * @return unknown
  */
 	function alterSchema($compare, $table = null) {
-		if(!is_array($compare)) {
+		if (!is_array($compare)) {
 			return false;
 		}
 		$out = '';
@@ -682,7 +679,7 @@ class DboOracle extends DboSource {
 							foreach($column as $field =&gt; $col) {
 								$col['name'] = $field;
 								$alter = 'ADD '.$this-&gt;buildColumn($col);
-								if(isset($col['after'])) {
+								if (isset($col['after'])) {
 									$alter .= ' AFTER '. $this-&gt;name($col['after']);
 								}
 								$colList[] = $alter;
@@ -696,7 +693,7 @@ class DboOracle extends DboSource {
 						break;
 						case 'change':
 							foreach($column as $field =&gt; $col) {
-								if(!isset($col['name'])) {
+								if (!isset($col['name'])) {
 									$col['name'] = $field;
 								}
 								$colList[] = 'CHANGE '. $this-&gt;name($field).' '.$this-&gt;buildColumn($col);
@@ -709,7 +706,6 @@ class DboOracle extends DboSource {
 		}
 		return $out;
 	}
-
 /**
  * This method should quote Oracle identifiers. Well it doesn't.
  * It would break all scaffolding and all of Cake's default assumptions.
@@ -922,7 +918,6 @@ class DboOracle extends DboSource {
 			break;
 		}
 	}
-
 /**
  * Enter description here...
  *
@@ -938,9 +933,7 @@ class DboOracle extends DboSource {
  * @param array $stack
  */
 	function queryAssociation(&amp;$model, &amp;$linkModel, $type, $association, $assocData, &amp;$queryData, $external = false, &amp;$resultSet, $recursive, $stack) {
-
 		if ($query = $this-&gt;generateAssociationQuery($model, $linkModel, $type, $association, $assocData, $queryData, $external, $resultSet)) {
-
 			if (!isset($resultSet) || !is_array($resultSet)) {
 				if (Configure::read() &gt; 0) {
 					e('&lt;div style = &quot;font: Verdana bold 12px; color: #FF0000&quot;&gt;' . sprintf(__('SQL Error in model %s:', true), $model-&gt;alias) . ' ');
@@ -1083,7 +1076,5 @@ class DboOracle extends DboSource {
 			}
 		}
 	}
-
 }
-
-?&gt;
+?&gt;
\ No newline at end of file</diff>
      <filename>libs/model/datasources/dbo/dbo_oracle.php</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * PostgreSQL layer for DBO.
  *
@@ -35,7 +34,6 @@
  * @subpackage    cake.cake.libs.model.datasources.dbo
  */
 class DboPostgres extends DboSource {
-
 /**
  * Driver description
  *
@@ -178,7 +176,6 @@ class DboPostgres extends DboSource {
 			return $tables;
 		}
 	}
-
 /**
  * Returns an array of the fields in given table name.
  *
@@ -307,7 +304,6 @@ class DboPostgres extends DboSource {
 		$error = pg_last_error($this-&gt;connection);
 		return ($error) ? $error : null;
 	}
-
 /**
  * Returns number of affected rows in previous database operation. If no previous operation exists, this returns false.
  *
@@ -711,5 +707,4 @@ class DboPostgres extends DboSource {
 		}
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/model/datasources/dbo/dbo_postgres.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * SQLite layer for DBO
  *
@@ -34,7 +33,6 @@
  * @subpackage    cake.cake.libs.model.datasources.dbo
  */
 class DboSqlite extends DboSource {
-
 /**
  * Enter description here...
  *
@@ -556,5 +554,4 @@ class DboSqlite extends DboSource {
 		}
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/model/datasources/dbo/dbo_sqlite.php</filename>
    </modified>
    <modified>
      <diff>@@ -381,5 +381,4 @@ class DboSybase extends DboSource {
 		}
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/model/datasources/dbo/dbo_sybase.php</filename>
    </modified>
    <modified>
      <diff>@@ -25,9 +25,6 @@
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
 /**
- * Set database config if not defined.
- */
-/**
  * Load Model and AppModel
  */
 App::import('Model', 'App');</diff>
      <filename>libs/model/db_acl.php</filename>
    </modified>
    <modified>
      <diff>@@ -66,7 +66,7 @@ class Model extends Overloadable {
  */
 	var $displayField = null;
 /**
- * Value of the primary key ID of the record that this model is currently pointing to. 
+ * Value of the primary key ID of the record that this model is currently pointing to.
  * Automatically set after database insertions.
  *
  * @var mixed
@@ -247,7 +247,7 @@ class Model extends Overloadable {
  */
 	var $findQueryType = null;
 /**
- * Number of associations to recurse through during find calls. Fetches only 
+ * Number of associations to recurse through during find calls. Fetches only
  * the first level by default.
  *
  * @var integer
@@ -256,8 +256,8 @@ class Model extends Overloadable {
  */
 	var $recursive = 1;
 /**
- * The column name(s) and direction(s) to order find results by default. 
- * 
+ * The column name(s) and direction(s) to order find results by default.
+ *
  * var $order = &quot;Post.created DESC&quot;;
  * var $order = array(&quot;Post.view_count DESC&quot;, &quot;Post.rating DESC&quot;);
  *
@@ -1068,7 +1068,7 @@ class Model extends Overloadable {
 		return $this-&gt;save(array($this-&gt;alias =&gt; array($this-&gt;primaryKey =&gt; $id, $name =&gt; $value)), $options);
 	}
 /**
- * Saves model data (based on white-list, if supplied) to the database. By 
+ * Saves model data (based on white-list, if supplied) to the database. By
  * default, validation occurs before save.
  *
  * @param array $data Data to save.
@@ -2623,7 +2623,7 @@ class Model extends Overloadable {
 	}
 /**
  * Called after each find operation. Can be used to modify any results returned by find().
- * Return value should be the (modified) results. 
+ * Return value should be the (modified) results.
  *
  * @param mixed $results The results of the find operation
  * @param boolean $primary Whether this model is being queried directly (vs. being queried as an association)
@@ -2646,7 +2646,7 @@ class Model extends Overloadable {
 		return true;
 	}
 /**
- * Called after each successful save operation. 
+ * Called after each successful save operation.
  *
  * @param boolean $created True if this save created a new record
  * @access public
@@ -2655,7 +2655,7 @@ class Model extends Overloadable {
 	function afterSave($created) {
 	}
 /**
- * Called after every deletion operation. 
+ * Called after every deletion operation.
  *
  * @param boolean $cascade If true records that depend on this record will also be deleted
  * @return boolean True if the operation should continue, false if it should abort
@@ -2674,7 +2674,7 @@ class Model extends Overloadable {
 	function afterDelete() {
 	}
 /**
- * Called during save operations, before validation. Please note that custom 
+ * Called during save operations, before validation. Please note that custom
  * validation rules can be defined in $validate.
  *
  * @return boolean True if validate operation should continue, false to abort</diff>
      <filename>libs/model/model.php</filename>
    </modified>
    <modified>
      <diff>@@ -25,16 +25,12 @@
 /**
  * Overloadable class selector
  *
- * @package       cake
- * @subpackage    cake.cake.libs
- */
-
-/**
  * Load the interface class based on the version of PHP.
  *
+ * @package       cake
+ * @subpackage    cake.cake.libs
  */
 class Overloadable extends Object {
-
 /**
  * Constructor.
  *
@@ -44,7 +40,6 @@ class Overloadable extends Object {
 		$this-&gt;overload();
 		parent::__construct();
 	}
-
 /**
  * Overload implementation.
  *
@@ -85,8 +80,15 @@ class Overloadable extends Object {
 }
 Overloadable::overload('Overloadable');
 
+/**
+ * Overloadable2 class selector
+ *
+ * Load the interface class based on the version of PHP.
+ *
+ * @package       cake
+ * @subpackage    cake.cake.libs
+ */
 class Overloadable2 extends Object {
-
 /**
  * Constructor
  *
@@ -96,7 +98,6 @@ class Overloadable2 extends Object {
 		$this-&gt;overload();
 		parent::__construct();
 	}
-
 /**
  * Overload implementation.
  *
@@ -117,7 +118,6 @@ class Overloadable2 extends Object {
 			}
 		}
 	}
-
 /**
  * Magic method handler.
  *
@@ -134,7 +134,6 @@ class Overloadable2 extends Object {
 		$return = $this-&gt;call__($method, $params);
 		return true;
 	}
-
 /**
  * Getter.
  *
@@ -147,7 +146,6 @@ class Overloadable2 extends Object {
 		$value = $this-&gt;get__($name);
 		return true;
 	}
-
 /**
  * Setter.
  *</diff>
      <filename>libs/overloadable_php4.php</filename>
    </modified>
    <modified>
      <diff>@@ -25,23 +25,18 @@
 /**
  * Overloadable class selector
  *
- * @package       cake
- * @subpackage    cake.cake.libs
- */
-
-/**
  * Load the interface class based on the version of PHP.
  *
+ * @package       cake
+ * @subpackage    cake.cake.libs
  */
 class Overloadable extends Object {
-
 /**
  * Overload implementation. No need for implementation in PHP5.
  *
  * @access public
  */
 	function overload() { }
-
 /**
  * Magic method handler.
  *
@@ -58,15 +53,20 @@ class Overloadable extends Object {
 	}
 }
 
+/**
+ * Overloadable2 class selector
+ *
+ * Load the interface class based on the version of PHP.
+ *
+ * @package       cake
+ */
 class Overloadable2 extends Object {
-
 /**
  * Overload implementation. No need for implementation in PHP5.
  *
  * @access public
  */
 	function overload() { }
-
 /**
  * Magic method handler.
  *
@@ -81,7 +81,6 @@ class Overloadable2 extends Object {
 		}
 		return $this-&gt;call__($method, $params);
 	}
-
 /**
  * Getter.
  *
@@ -93,7 +92,6 @@ class Overloadable2 extends Object {
 	function __get($name) {
 		return $this-&gt;get__($name);
 	}
-
 /**
  * Setter.
  *
@@ -106,5 +104,4 @@ class Overloadable2 extends Object {
 		return $this-&gt;set__($name, $value);
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/overloadable_php5.php</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,6 @@
  * @subpackage    cake.cake.libs
  */
 class Security extends Object {
-
 /**
  * Default hash method
  *</diff>
      <filename>libs/security.php</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,6 @@
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
 App::import('Core', 'Validation');
-
 /**
  * Cake network socket connection class.
  *
@@ -279,5 +278,4 @@ class CakeSocket extends Object {
 		return true;
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/socket.php</filename>
    </modified>
    <modified>
      <diff>@@ -73,7 +73,7 @@ class Validation extends Object {
  *
  * @var array
  * @access private
- */	
+ */
 	var $__pattern = array(
 		'ip' =&gt; '(?:(?:25[0-5]|2[0-4][0-9]|(?:(?:1[0-9])?|[1-9]?)[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|(?:(?:1[0-9])?|[1-9]?)[0-9])',
 		'hostname' =&gt; '(?:[a-z0-9][-a-z0-9]*\.)*(?:[a-z0-9][-a-z0-9]{0,62})\.(?:(?:[a-z]{2}\.)?[a-z]{2,4}|museum|travel)'</diff>
      <filename>libs/validation.php</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,7 @@
 ?&gt;
 &lt;div id=&quot;cakeControllerDump&quot;&gt;
 	&lt;h2&gt;&lt;?php __('Controller dump:'); ?&gt;&lt;/h2&gt;
-		&lt;pre&gt;
-			&lt;?php echo h(print_r($controller, true)); ?&gt;
-		&lt;/pre&gt;
+	&lt;pre&gt;
+		&lt;?php echo h(print_r($controller, true)); ?&gt;
+	&lt;/pre&gt;
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>libs/view/elements/dump.ctp</filename>
    </modified>
    <modified>
      <diff>@@ -26,4 +26,4 @@
 &lt;p class=&quot;error&quot;&gt;
 	&lt;strong&gt;&lt;?php __('Error'); ?&gt;: &lt;/strong&gt;
 	&lt;?php echo sprintf(__(&quot;The requested address %s was not found on this server.&quot;, true), &quot;&lt;strong&gt;'{$message}'&lt;/strong&gt;&quot;)?&gt;
-&lt;/p&gt;
+&lt;/p&gt;
\ No newline at end of file</diff>
      <filename>libs/view/errors/error404.ctp</filename>
    </modified>
    <modified>
      <diff>@@ -30,4 +30,4 @@
 &lt;p class=&quot;notice&quot;&gt;
 	&lt;strong&gt;&lt;?php __('Notice'); ?&gt;: &lt;/strong&gt;
 	&lt;?php echo sprintf(__('If you want to customize this error message, create %s', true), APP_DIR.DS.&quot;views&quot;.DS.&quot;errors&quot;.DS.&quot;missing_table.ctp&quot;);?&gt;
-&lt;/p&gt;
+&lt;/p&gt;
\ No newline at end of file</diff>
      <filename>libs/view/errors/missing_table.ctp</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Backend for helpers.
  *
@@ -25,7 +24,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Included libs
  */
@@ -40,7 +38,6 @@ App::import('Core', 'Overloadable');
  * @subpackage    cake.cake.libs.view
  */
 class Helper extends Overloadable {
-
 /**
  * List of helpers used by this helper
  *</diff>
      <filename>libs/view/helper.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Helper for AJAX operations.
  *
@@ -25,7 +24,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * AjaxHelper helper library.
  *
@@ -577,7 +575,7 @@ class AjaxHelper extends AppHelper {
  * @param string $id DOM ID of input element
  * @param string $url Postback URL of saved data
  * @param array $options Array of options to control the editor, including ajaxOptions (see link).
- * @link          http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor 
+ * @link          http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor
  */
 	function editor($id, $url, $options = array()) {
 		$url = $this-&gt;url($url);
@@ -614,7 +612,7 @@ class AjaxHelper extends AppHelper {
  *
  * @param string $id DOM ID of parent
  * @param array $options Array of options to control sort.
- * @link          http://github.com/madrobby/scriptaculous/wikis/sortable 
+ * @link          http://github.com/madrobby/scriptaculous/wikis/sortable
  */
 	function sortable($id, $options = array()) {
 		if (!empty($options['url'])) {</diff>
      <filename>libs/view/helpers/ajax.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Javascript Helper class file.
  *
@@ -23,7 +22,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Javascript Helper class for easy use of JavaScript.
  *
@@ -32,7 +30,6 @@
  * @package       cake
  * @subpackage    cake.cake.libs.view.helpers
  */
-
 class JavascriptHelper extends AppHelper {
 /**
  * Determines whether native JSON extension is used for encoding.  Set by object constructor.</diff>
      <filename>libs/view/helpers/javascript.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Javascript Generator class file.
  *
@@ -23,7 +22,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Javascript Generator helper class for easy use of JavaScript.
  *
@@ -33,9 +31,7 @@
  * @package       cake
  * @subpackage    cake.cake.libs.view.helpers
  */
-
 class JsHelper extends Overloadable2 {
-
 	var $base = null;
 	var $webroot = null;
 	var $here = null;
@@ -276,7 +272,6 @@ class JsHelper extends Overloadable2 {
 }
 
 class JsHelperObject {
-
 	var $__parent = null;
 
 	var $id = null;
@@ -453,5 +448,4 @@ class JsHelperObject {
 		return join(', ', $options);
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/view/helpers/js.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Number Helper.
  *
@@ -25,7 +24,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Number helper library.
  *
@@ -46,7 +44,6 @@ class NumberHelper extends AppHelper {
 	function precision($number, $precision = 3) {
 		return sprintf(&quot;%01.{$precision}f&quot;, $number);
 	}
-
 /**
  * Returns a formatted-for-humans file size.
  *
@@ -192,5 +189,4 @@ class NumberHelper extends AppHelper {
 		return $result;
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/view/helpers/number.php</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,6 @@
  * @subpackage    cake.cake.libs.view.helpers
  */
 class PaginatorHelper extends AppHelper {
-
 /**
  * Helper dependencies
  *</diff>
      <filename>libs/view/helpers/paginator.php</filename>
    </modified>
    <modified>
      <diff>@@ -22,6 +22,8 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
+App::import('Helper', 'Xml');
+
 /**
  * XML Helper class for easy output of XML structures.
  *
@@ -30,8 +32,6 @@
  * @package       cake
  * @subpackage    cake.cake.libs.view.helpers
  */
-App::import('Helper', 'Xml');
-
 class RssHelper extends XmlHelper {
 /**
  * Helpers used by RSS Helper
@@ -197,7 +197,7 @@ class RssHelper extends XmlHelper {
 								unset($category['domain']);
 							}
 							$categories[] = $this-&gt;elem($key, $attrib, $category);
-						}					
+						}
 						$elements[$key] = join('', $categories);
 						continue 2;
 					} else if (is_array($val) &amp;&amp; isset($val['domain'])) {</diff>
      <filename>libs/view/helpers/rss.php</filename>
    </modified>
    <modified>
      <diff>@@ -24,6 +24,10 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
+if (!class_exists('cakesession')) {
+	uses('session');
+}
+
 /**
  * Session Helper.
  *
@@ -33,10 +37,6 @@
  * @subpackage    cake.cake.libs.view.helpers
  *
  */
-if (!class_exists('cakesession')) {
-	uses('session');
-}
-
 class SessionHelper extends CakeSession {
 /**
  * List of helpers used by this helper</diff>
      <filename>libs/view/helpers/session.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Text Helper
  *
@@ -25,20 +24,16 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Included libraries.
  *
  */
-
 if (!class_exists('HtmlHelper')) {
 	App::import('Helper', 'Html');
 }
-
 if (!class_exists('Multibyte')) {
 	App::import('Core', 'Multibyte');
 }
-
 /**
  * Text helper library.
  *
@@ -48,7 +43,6 @@ if (!class_exists('Multibyte')) {
  * @subpackage    cake.cake.libs.view.helpers
  */
 class TextHelper extends AppHelper {
-
 /**
  * Highlights a given phrase in a text. You can specify any expression in highlighter that
  * may include the \1 expression to include the $phrase found.</diff>
      <filename>libs/view/helpers/text.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Time Helper class file.
  *
@@ -23,7 +22,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Time Helper class for easy use of time data.
  *
@@ -536,5 +534,4 @@ class TimeHelper extends AppHelper {
 		return date($format, $date);
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/view/helpers/time.php</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,6 @@ App::import('Core', array('Xml', 'Set'));
  * @subpackage    cake.cake.libs.view.helpers
  */
 class XmlHelper extends AppHelper {
-
 /**
  * Default document encoding
  *
@@ -157,5 +156,4 @@ class XmlHelper extends AppHelper {
 		return $data-&gt;toString(array_merge(array('header' =&gt; false), $options));
 	}
 }
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/view/helpers/xml.php</filename>
    </modified>
    <modified>
      <diff>@@ -23,15 +23,13 @@
  */
 ?&gt;
 &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;&gt;
-
 &lt;html&gt;
 &lt;head&gt;
 	&lt;title&gt;&lt;?php echo $title_for_layout;?&gt;&lt;/title&gt;
 &lt;/head&gt;
-
 &lt;body&gt;
 	&lt;?php echo $content_for_layout;?&gt;
 
 	&lt;p&gt;This email was sent using the &lt;a href=&quot;http://cakephp.org&quot;&gt;CakePHP Framework&lt;/a&gt;&lt;/p&gt;
 &lt;/body&gt;
-&lt;/html&gt;
+&lt;/html&gt;
\ No newline at end of file</diff>
      <filename>libs/view/layouts/email/html/default.ctp</filename>
    </modified>
    <modified>
      <diff>@@ -13,5 +13,4 @@ echo $rss-&gt;document(
 		array(), $channel, $content_for_layout
 	)
 );
-
 ?&gt;
\ No newline at end of file</diff>
      <filename>libs/view/layouts/rss/default.ctp</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@
 &lt;h2&gt;&lt;?php echo $pluralHumanName;?&gt;&lt;/h2&gt;
 &lt;p&gt;&lt;?php
 echo $paginator-&gt;counter(array(
-'format' =&gt; 'Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%'
+	'format' =&gt; 'Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%'
 ));
 ?&gt;&lt;/p&gt;
 &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;</diff>
      <filename>libs/view/scaffolds/index.ctp</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,6 @@
  * @lastmodified  $Date$
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
-
 /**
  * Theme view class
  *
@@ -48,7 +47,6 @@ class ThemeView extends View {
  * @var string
  */
 	var $themePath = null;
-
 /**
  * Enter description here...
  *</diff>
      <filename>libs/view/theme.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * Methods for displaying presentation data in the view.
  *</diff>
      <filename>libs/view/view.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 &lt;?php
 /* SVN FILE: $Id$ */
-
 /**
  * XML handling for Cake.
  *
@@ -26,7 +25,6 @@
  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
  */
 App::import('Core', 'Set');
-
 /**
  * XML node.
  *</diff>
      <filename>libs/xml.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4ade3d688be9da672137dae96845f0285eeb9666</id>
    </parent>
  </parents>
  <author>
    <name>renan.saddam</name>
    <email>renan.saddam@3807eeeb-6ff5-0310-8944-8be069107fe0</email>
  </author>
  <url>http://github.com/joelmoss/cakephp/commit/eabdfd151123783d23a6540f88cd6726d3e4d3ce</url>
  <id>eabdfd151123783d23a6540f88cd6726d3e4d3ce</id>
  <committed-date>2008-11-07T18:54:07-08:00</committed-date>
  <authored-date>2008-11-07T18:54:07-08:00</authored-date>
  <message>Removed trailing whitespaces from core.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x/cake@7847 3807eeeb-6ff5-0310-8944-8be069107fe0</message>
  <tree>262ac1c3d4d9c1a9c7f86a0db1a8cda4810d14e4</tree>
  <committer>
    <name>renan.saddam</name>
    <email>renan.saddam@3807eeeb-6ff5-0310-8944-8be069107fe0</email>
  </committer>
</commit>
