summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwei <>2006-07-14 09:20:45 +0000
committerwei <>2006-07-14 09:20:45 +0000
commit4b78404c20490a615459267426ce9e6737bf4485 (patch)
treebe68ab7a2155980b05e5ab9f454e991e93007563
parent143980b6dab8ad87c44518e5b7befb614fb83b85 (diff)
Moving files.
-rw-r--r--.gitattributes119
-rw-r--r--buildscripts/texbuilder/time-tracker/db.vsdbin0 -> 102912 bytes
-rw-r--r--buildscripts/texbuilder/time-tracker/pages.php22
-rw-r--r--buildscripts/texbuilder/time-tracker/preface.tex18
-rw-r--r--buildscripts/texbuilder/time-tracker/time-tracker.tex122
-rw-r--r--demos/sqlmap-docs/protected/application.xml25
-rw-r--r--demos/sqlmap-sample/index.php18
-rw-r--r--demos/sqlmap-sample/protected/person-db/person.xml16
-rw-r--r--demos/sqlmap-sample/protected/person-db/personHelper.xml42
-rw-r--r--demos/sqlmap-sample/protected/person-db/test.dbbin5120 -> 0 bytes
-rw-r--r--demos/sqlmap-sample/protected/person-sqlmap.xml13
-rw-r--r--demos/sqlmap-sample/protected/petshop-db/petshop.dbbin61440 -> 0 bytes
-rw-r--r--demos/sqlmap-sample/protected/petshop-db/products.xml15
-rw-r--r--demos/sqlmap-sample/protected/petshop-sqlmap.xml12
-rw-r--r--demos/sqlmap-sample/tests/PersonTest.php57
-rw-r--r--demos/sqlmap-sample/tests/readme.txt1
-rw-r--r--demos/sqlmap-sample/tests/run_tests.php33
-rw-r--r--demos/sqlmap-sample/tests/sqlmap.xml13
-rw-r--r--demos/sqlmap/index.php (renamed from demos/sqlmap-docs/index.php)0
-rw-r--r--demos/sqlmap/protected/.htaccess (renamed from demos/sqlmap-docs/protected/.htaccess)0
-rw-r--r--demos/sqlmap/protected/application.xml (renamed from demos/sqlmap-sample/protected/application.xml)0
-rw-r--r--demos/sqlmap/protected/business-objects/Person.php (renamed from demos/sqlmap-sample/protected/business-objects/Person.php)0
-rw-r--r--demos/sqlmap/protected/controls/Layout.php (renamed from demos/sqlmap-docs/protected/controls/Layout.php)0
-rw-r--r--demos/sqlmap/protected/controls/Layout.tpl (renamed from demos/sqlmap-docs/protected/controls/Layout.tpl)0
-rw-r--r--demos/sqlmap/protected/controls/TopicList.php (renamed from demos/sqlmap-docs/protected/controls/TopicList.php)0
-rw-r--r--demos/sqlmap/protected/controls/TopicList.tpl (renamed from demos/sqlmap-docs/protected/controls/TopicList.tpl)0
-rw-r--r--demos/sqlmap/protected/pages/Home.page (renamed from demos/sqlmap-docs/protected/pages/Home.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/BigPicture.page (renamed from demos/sqlmap-docs/protected/pages/Manual/BigPicture.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/BuildingTSqlMapper.page (renamed from demos/sqlmap-docs/protected/pages/Manual/BuildingTSqlMapper.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/CacheModels.page (renamed from demos/sqlmap-docs/protected/pages/Manual/CacheModels.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/CodingExamples.page (renamed from demos/sqlmap-docs/protected/pages/Manual/CodingExamples.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/ComplexProperties.page (renamed from demos/sqlmap-docs/protected/pages/Manual/ComplexProperties.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/CompositeKeys.page (renamed from demos/sqlmap-docs/protected/pages/Manual/CompositeKeys.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/ConfigurationElements.page (renamed from demos/sqlmap-docs/protected/pages/Manual/ConfigurationElements.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/Configuring.page (renamed from demos/sqlmap-docs/protected/pages/Manual/Configuring.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/CustomTypeHandlers.page (renamed from demos/sqlmap-docs/protected/pages/Manual/CustomTypeHandlers.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/DataMapperAPI.page (renamed from demos/sqlmap-docs/protected/pages/Manual/DataMapperAPI.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/DynamicSQL.page (renamed from demos/sqlmap-docs/protected/pages/Manual/DynamicSQL.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/ImplicitResultMaps.page (renamed from demos/sqlmap-docs/protected/pages/Manual/ImplicitResultMaps.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/InheritanceMapping.page (renamed from demos/sqlmap-docs/protected/pages/Manual/InheritanceMapping.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/InlineParameterMaps.page (renamed from demos/sqlmap-docs/protected/pages/Manual/InlineParameterMaps.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/Installing.page (renamed from demos/sqlmap-docs/protected/pages/Manual/Installing.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/MappedStatements.page (renamed from demos/sqlmap-docs/protected/pages/Manual/MappedStatements.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/Overview.page (renamed from demos/sqlmap-docs/protected/pages/Manual/Overview.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/ParameterMap.page (renamed from demos/sqlmap-docs/protected/pages/Manual/ParameterMap.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/ResultMapAttributes.page (renamed from demos/sqlmap-docs/protected/pages/Manual/ResultMapAttributes.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/ResultMaps.page (renamed from demos/sqlmap-docs/protected/pages/Manual/ResultMaps.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/StatementElementAttributes.page (renamed from demos/sqlmap-docs/protected/pages/Manual/StatementElementAttributes.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/TheSQL.page (renamed from demos/sqlmap-docs/protected/pages/Manual/TheSQL.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/WorkingWithDataMaps.page (renamed from demos/sqlmap-docs/protected/pages/Manual/WorkingWithDataMaps.page)0
-rw-r--r--demos/sqlmap/protected/pages/Manual/diagram.png (renamed from demos/sqlmap-docs/protected/pages/Manual/diagram.png)bin30320 -> 30320 bytes
-rw-r--r--demos/sqlmap/protected/pages/Sample/Home.page (renamed from demos/sqlmap-sample/protected/pages/Home.page)0
-rw-r--r--demos/sqlmap/protected/pages/Sample/ProductList.page (renamed from demos/sqlmap-sample/protected/pages/ProductList.page)0
-rw-r--r--demos/sqlmap/protected/pages/Sample/ProductList.php (renamed from demos/sqlmap-sample/protected/pages/ProductList.php)0
-rw-r--r--demos/sqlmap/protected/pages/Sample/crud1.page (renamed from demos/sqlmap-sample/protected/pages/crud1.page)0
-rw-r--r--demos/sqlmap/protected/pages/Sample/crud1.php (renamed from demos/sqlmap-sample/protected/pages/crud1.php)0
-rw-r--r--demos/sqlmap/protected/pages/Sample/crud2.page (renamed from demos/sqlmap-sample/protected/pages/crud2.page)0
-rw-r--r--demos/sqlmap/protected/pages/Sample/crud2.php (renamed from demos/sqlmap-sample/protected/pages/crud2.php)0
-rw-r--r--demos/sqlmap/protected/pages/Tutorial/TestAgain.page (renamed from demos/sqlmap-docs/protected/pages/Tutorial/TestAgain.page)0
-rw-r--r--demos/sqlmap/protected/pages/Tutorial/TestFirst.page (renamed from demos/sqlmap-docs/protected/pages/Tutorial/TestFirst.page)0
-rw-r--r--demos/sqlmap/protected/pages/Tutorial/TestSecond.page (renamed from demos/sqlmap-docs/protected/pages/Tutorial/TestSecond.page)0
-rw-r--r--demos/sqlmap/protected/pages/Tutorial/example1.png (renamed from demos/sqlmap-docs/protected/pages/Tutorial/example1.png)bin236887 -> 236887 bytes
-rw-r--r--demos/sqlmap/protected/pages/Tutorial/grid1.png (renamed from demos/sqlmap-docs/protected/pages/Tutorial/grid1.png)bin275250 -> 275250 bytes
-rw-r--r--demos/sqlmap/protected/pages/Tutorial/grid2.png (renamed from demos/sqlmap-docs/protected/pages/Tutorial/grid2.png)bin218210 -> 218210 bytes
-rw-r--r--demos/sqlmap/protected/pages/config.xml (renamed from demos/sqlmap-docs/protected/pages/config.xml)0
-rw-r--r--demos/time-tracker/protected/controls/TopicList.tpl27
-rw-r--r--demos/time-tracker/protected/pages/Docs/Layout.php (renamed from demos/time-tracker/protected/controls/Layout.php)0
-rw-r--r--demos/time-tracker/protected/pages/Docs/Layout.tpl (renamed from demos/time-tracker/protected/controls/Layout.tpl)2
-rw-r--r--demos/time-tracker/protected/pages/Docs/TopicList.php (renamed from demos/time-tracker/protected/controls/TopicList.php)0
-rw-r--r--demos/time-tracker/protected/pages/Docs/TopicList.tpl27
-rw-r--r--demos/time-tracker/protected/pages/Docs/config.xml2
71 files changed, 246 insertions, 338 deletions
diff --git a/.gitattributes b/.gitattributes
index 565f4fa6..993b0cba 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -593,6 +593,10 @@ buildscripts/texbuilder/quickstart/quickstart.tex -text
buildscripts/texbuilder/sqlmap/build.php -text
buildscripts/texbuilder/sqlmap/pages.php -text
buildscripts/texbuilder/sqlmap/sqlmap.tex -text
+buildscripts/texbuilder/time-tracker/db.vsd -text
+buildscripts/texbuilder/time-tracker/pages.php -text
+buildscripts/texbuilder/time-tracker/preface.tex -text
+buildscripts/texbuilder/time-tracker/time-tracker.tex -text
demos/blog/index.php -text
demos/blog/protected/Common/BlogDataModule.php -text
demos/blog/protected/Common/BlogErrorHandler.php -text
@@ -1006,66 +1010,53 @@ demos/soap/protected/application.xml -text
demos/soap/protected/pages/Home.page -text
demos/soap/protected/pages/Home.php -text
demos/soap/protected/webservices/SimpleService.php -text
-demos/sqlmap-docs/index.php -text
-demos/sqlmap-docs/protected/.htaccess -text
-demos/sqlmap-docs/protected/application.xml -text
-demos/sqlmap-docs/protected/controls/Layout.php -text
-demos/sqlmap-docs/protected/controls/Layout.tpl -text
-demos/sqlmap-docs/protected/controls/TopicList.php -text
-demos/sqlmap-docs/protected/controls/TopicList.tpl -text
-demos/sqlmap-docs/protected/pages/Home.page -text
-demos/sqlmap-docs/protected/pages/Manual/BigPicture.page -text
-demos/sqlmap-docs/protected/pages/Manual/BuildingTSqlMapper.page -text
-demos/sqlmap-docs/protected/pages/Manual/CacheModels.page -text
-demos/sqlmap-docs/protected/pages/Manual/CodingExamples.page -text
-demos/sqlmap-docs/protected/pages/Manual/ComplexProperties.page -text
-demos/sqlmap-docs/protected/pages/Manual/CompositeKeys.page -text
-demos/sqlmap-docs/protected/pages/Manual/ConfigurationElements.page -text
-demos/sqlmap-docs/protected/pages/Manual/Configuring.page -text
-demos/sqlmap-docs/protected/pages/Manual/CustomTypeHandlers.page -text
-demos/sqlmap-docs/protected/pages/Manual/DataMapperAPI.page -text
-demos/sqlmap-docs/protected/pages/Manual/DynamicSQL.page -text
-demos/sqlmap-docs/protected/pages/Manual/ImplicitResultMaps.page -text
-demos/sqlmap-docs/protected/pages/Manual/InheritanceMapping.page -text
-demos/sqlmap-docs/protected/pages/Manual/InlineParameterMaps.page -text
-demos/sqlmap-docs/protected/pages/Manual/Installing.page -text
-demos/sqlmap-docs/protected/pages/Manual/MappedStatements.page -text
-demos/sqlmap-docs/protected/pages/Manual/Overview.page -text
-demos/sqlmap-docs/protected/pages/Manual/ParameterMap.page -text
-demos/sqlmap-docs/protected/pages/Manual/ResultMapAttributes.page -text
-demos/sqlmap-docs/protected/pages/Manual/ResultMaps.page -text
-demos/sqlmap-docs/protected/pages/Manual/StatementElementAttributes.page -text
-demos/sqlmap-docs/protected/pages/Manual/TheSQL.page -text
-demos/sqlmap-docs/protected/pages/Manual/WorkingWithDataMaps.page -text
-demos/sqlmap-docs/protected/pages/Manual/diagram.png -text
-demos/sqlmap-docs/protected/pages/Tutorial/TestAgain.page -text
-demos/sqlmap-docs/protected/pages/Tutorial/TestFirst.page -text
-demos/sqlmap-docs/protected/pages/Tutorial/TestSecond.page -text
-demos/sqlmap-docs/protected/pages/Tutorial/example1.png -text
-demos/sqlmap-docs/protected/pages/Tutorial/grid1.png -text
-demos/sqlmap-docs/protected/pages/Tutorial/grid2.png -text
-demos/sqlmap-docs/protected/pages/config.xml -text
-demos/sqlmap-sample/index.php -text
-demos/sqlmap-sample/protected/application.xml -text
-demos/sqlmap-sample/protected/business-objects/Person.php -text
-demos/sqlmap-sample/protected/pages/Home.page -text
-demos/sqlmap-sample/protected/pages/ProductList.page -text
-demos/sqlmap-sample/protected/pages/ProductList.php -text
-demos/sqlmap-sample/protected/pages/crud1.page -text
-demos/sqlmap-sample/protected/pages/crud1.php -text
-demos/sqlmap-sample/protected/pages/crud2.page -text
-demos/sqlmap-sample/protected/pages/crud2.php -text
-demos/sqlmap-sample/protected/person-db/person.xml -text
-demos/sqlmap-sample/protected/person-db/personHelper.xml -text
-demos/sqlmap-sample/protected/person-db/test.db -text
-demos/sqlmap-sample/protected/person-sqlmap.xml -text
-demos/sqlmap-sample/protected/petshop-db/petshop.db -text
-demos/sqlmap-sample/protected/petshop-db/products.xml -text
-demos/sqlmap-sample/protected/petshop-sqlmap.xml -text
-demos/sqlmap-sample/tests/PersonTest.php -text
-demos/sqlmap-sample/tests/readme.txt -text
-demos/sqlmap-sample/tests/run_tests.php -text
-demos/sqlmap-sample/tests/sqlmap.xml -text
+demos/sqlmap/index.php -text
+demos/sqlmap/protected/.htaccess -text
+demos/sqlmap/protected/application.xml -text
+demos/sqlmap/protected/business-objects/Person.php -text
+demos/sqlmap/protected/controls/Layout.php -text
+demos/sqlmap/protected/controls/Layout.tpl -text
+demos/sqlmap/protected/controls/TopicList.php -text
+demos/sqlmap/protected/controls/TopicList.tpl -text
+demos/sqlmap/protected/pages/Home.page -text
+demos/sqlmap/protected/pages/Manual/BigPicture.page -text
+demos/sqlmap/protected/pages/Manual/BuildingTSqlMapper.page -text
+demos/sqlmap/protected/pages/Manual/CacheModels.page -text
+demos/sqlmap/protected/pages/Manual/CodingExamples.page -text
+demos/sqlmap/protected/pages/Manual/ComplexProperties.page -text
+demos/sqlmap/protected/pages/Manual/CompositeKeys.page -text
+demos/sqlmap/protected/pages/Manual/ConfigurationElements.page -text
+demos/sqlmap/protected/pages/Manual/Configuring.page -text
+demos/sqlmap/protected/pages/Manual/CustomTypeHandlers.page -text
+demos/sqlmap/protected/pages/Manual/DataMapperAPI.page -text
+demos/sqlmap/protected/pages/Manual/DynamicSQL.page -text
+demos/sqlmap/protected/pages/Manual/ImplicitResultMaps.page -text
+demos/sqlmap/protected/pages/Manual/InheritanceMapping.page -text
+demos/sqlmap/protected/pages/Manual/InlineParameterMaps.page -text
+demos/sqlmap/protected/pages/Manual/Installing.page -text
+demos/sqlmap/protected/pages/Manual/MappedStatements.page -text
+demos/sqlmap/protected/pages/Manual/Overview.page -text
+demos/sqlmap/protected/pages/Manual/ParameterMap.page -text
+demos/sqlmap/protected/pages/Manual/ResultMapAttributes.page -text
+demos/sqlmap/protected/pages/Manual/ResultMaps.page -text
+demos/sqlmap/protected/pages/Manual/StatementElementAttributes.page -text
+demos/sqlmap/protected/pages/Manual/TheSQL.page -text
+demos/sqlmap/protected/pages/Manual/WorkingWithDataMaps.page -text
+demos/sqlmap/protected/pages/Manual/diagram.png -text
+demos/sqlmap/protected/pages/Sample/Home.page -text
+demos/sqlmap/protected/pages/Sample/ProductList.page -text
+demos/sqlmap/protected/pages/Sample/ProductList.php -text
+demos/sqlmap/protected/pages/Sample/crud1.page -text
+demos/sqlmap/protected/pages/Sample/crud1.php -text
+demos/sqlmap/protected/pages/Sample/crud2.page -text
+demos/sqlmap/protected/pages/Sample/crud2.php -text
+demos/sqlmap/protected/pages/Tutorial/TestAgain.page -text
+demos/sqlmap/protected/pages/Tutorial/TestFirst.page -text
+demos/sqlmap/protected/pages/Tutorial/TestSecond.page -text
+demos/sqlmap/protected/pages/Tutorial/example1.png -text
+demos/sqlmap/protected/pages/Tutorial/grid1.png -text
+demos/sqlmap/protected/pages/Tutorial/grid2.png -text
+demos/sqlmap/protected/pages/config.xml -text
demos/time-tracker/index.php -text
demos/time-tracker/protected/.htaccess -text
demos/time-tracker/protected/APP_CODE/BaseDao.php -text
@@ -1074,16 +1065,16 @@ demos/time-tracker/protected/APP_CODE/ProjectDao.php -text
demos/time-tracker/protected/APP_CODE/TimeTrackerException.php -text
demos/time-tracker/protected/APP_CODE/TimeTrackerUser.php -text
demos/time-tracker/protected/APP_CODE/exceptions.txt -text
-demos/time-tracker/protected/controls/Layout.php -text
-demos/time-tracker/protected/controls/Layout.tpl -text
-demos/time-tracker/protected/controls/TopicList.php -text
-demos/time-tracker/protected/controls/TopicList.tpl -text
demos/time-tracker/protected/data/time_tracker.db -text
demos/time-tracker/protected/pages/Docs/CreateBusinessCode.page -text
demos/time-tracker/protected/pages/Docs/GettingStarted.page -text
demos/time-tracker/protected/pages/Docs/Home.page -text
demos/time-tracker/protected/pages/Docs/Introduction.page -text
+demos/time-tracker/protected/pages/Docs/Layout.php -text
+demos/time-tracker/protected/pages/Docs/Layout.tpl -text
demos/time-tracker/protected/pages/Docs/MoreTests.page -text
+demos/time-tracker/protected/pages/Docs/TopicList.php -text
+demos/time-tracker/protected/pages/Docs/TopicList.tpl -text
demos/time-tracker/protected/pages/Docs/UserClassAndExceptions.page -text
demos/time-tracker/protected/pages/Docs/UsingSQLMap.page -text
demos/time-tracker/protected/pages/Docs/WritingFunctionalTest.page -text
diff --git a/buildscripts/texbuilder/time-tracker/db.vsd b/buildscripts/texbuilder/time-tracker/db.vsd
new file mode 100644
index 00000000..aa32902d
--- /dev/null
+++ b/buildscripts/texbuilder/time-tracker/db.vsd
Binary files differ
diff --git a/buildscripts/texbuilder/time-tracker/pages.php b/buildscripts/texbuilder/time-tracker/pages.php
new file mode 100644
index 00000000..ccad934d
--- /dev/null
+++ b/buildscripts/texbuilder/time-tracker/pages.php
@@ -0,0 +1,22 @@
+<?php
+
+$pages['preface'] = array(
+ 'preface.page'
+ );
+
+//list page into chapters
+$pages['Getting Started'] = array(
+ 'Introduction.page',
+ 'GettingStarted.page',
+ 'WritingUnitTest.page',
+ 'WritingFunctionalTest.page'
+ );
+
+$pages['Testing Business Code'] = array(
+ 'CreateBusinessCode.page',
+ 'UsingSQLMap.page',
+ 'UserClassAndExceptions.page'
+ );
+return $pages;
+
+?> \ No newline at end of file
diff --git a/buildscripts/texbuilder/time-tracker/preface.tex b/buildscripts/texbuilder/time-tracker/preface.tex
new file mode 100644
index 00000000..908f97fb
--- /dev/null
+++ b/buildscripts/texbuilder/time-tracker/preface.tex
@@ -0,0 +1,18 @@
+\chapter*{Preface}\addcontentsline{toc}{chapter}{Preface} \hypertarget{preface}{}
+\section*{Prado Time Tracker}
+This documentation is complete walk-through guide detailing the
+steps involved in implementating of the Prado Time Tracker web application.
+
+\subsection*{Target Audience}
+The guide is intended for readers who has some experience
+using PHP version 5 and some basic concepts of Object-Oriented application
+design. The guide will assume that the reader understands the primary concepts
+of class, methods, class inheritance, and other basic features offered by PHP
+version 5 or later.
+\subsection*{Questions and Comments}
+Readers are encouraged to ask questions as the forum regarding any
+particular aspect of this documentation. Comment and constructive criticisms
+are most welcome. Questions and comments may be directed at
+\href{http://www.pradosoft.com/forum/}{http://www.pradosoft.com/forum/}.
+
+
diff --git a/buildscripts/texbuilder/time-tracker/time-tracker.tex b/buildscripts/texbuilder/time-tracker/time-tracker.tex
new file mode 100644
index 00000000..739151a2
--- /dev/null
+++ b/buildscripts/texbuilder/time-tracker/time-tracker.tex
@@ -0,0 +1,122 @@
+\documentclass{book}
+\usepackage[pdftex]{graphicx}
+\usepackage[pdftex]{hyperref}
+
+\usepackage{fancyhdr,url}
+
+%---------- fonts Type 1 -----------------
+%\usepackage{times}
+%\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+
+%
+
+%------------------------Page set-up-----------------------------------------
+
+\renewcommand{\baselinestretch}{1.25}
+\setlength{\hoffset}{-1in}
+\setlength{\oddsidemargin}{3.5cm}
+\setlength{\evensidemargin}{3.5cm}
+\setlength{\topmargin}{0cm}
+\setlength{\footskip}{2cm}
+\setlength{\headheight}{14pt}
+\setlength{\marginparwidth}{0cm}
+\setlength{\marginparsep}{0cm}
+\setlength{\marginparpush}{0cm}
+\setlength{\textwidth}{15cm}
+\setlength{\parindent}{0cm}
+\setlength{\parskip}{0.75\baselineskip}
+
+%------------------------------------------------------------------------------
+
+
+%---- change link style ----
+\hypersetup{colorlinks, linkcolor=blue, pdfstartview={FitH}}
+
+
+% Pages and Fancyheadings stuff
+%-----------------------------------------------------------------------
+\cfoot{\thepage}
+\fancyhead[LE,RO]{}
+\fancyhead[LO]{\nouppercase{\scshape\rightmark}}
+\fancyhead[RE]{\nouppercase{\scshape\leftmark}}
+%-----------------------------------------------------------------------
+
+%----------------- TITLE --------------
+
+\title{\Huge{\bfseries{Time Tracker}}\\ \LARGE A PRADO Application
+ \thanks{Copyright 2005-2006. All Rights Reserved.}
+}
+\author{Wei Zhuo}
+\date{\today}
+
+
+%-------------- BEGIN DOCUMENT ------------------
+
+
+\begin{document}
+
+\maketitle
+
+\pagestyle{plain}
+\addcontentsline{toc}{chapter}{Contents}
+\pagenumbering{roman}
+\tableofcontents
+
+\include{preface}
+
+\chapter*{License}
+\addcontentsline{toc}{chapter}{License}
+PRADO is free software released under the terms of the following BSD license.\\
+Copyright 2004-2006, The PRADO Group (http://www.pradosoft.com).
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+\begin{enumerate}
+ \item Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+ \item Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+\item Neither the name of the PRADO Group nor the names of its contributors may
+be used to endorse or promote products derived from this software without
+specific prior written permission.
+\end{enumerate}
+
+\begin{verbatim}
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+\end{verbatim}
+
+
+\newpage
+
+\pagestyle{fancyplain}
+\pagenumbering{arabic}
+
+\include{ch1}
+\include{ch2}
+\include{ch3}
+\include{ch4}
+\include{ch5}
+\include{ch6}
+\include{ch7}
+\include{ch8}
+\include{ch9}
+\include{ch10}
+\include{ch11}
+\include{ch12}
+\include{ch13}
+
+\end{document}
diff --git a/demos/sqlmap-docs/protected/application.xml b/demos/sqlmap-docs/protected/application.xml
deleted file mode 100644
index f2fb1eed..00000000
--- a/demos/sqlmap-docs/protected/application.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<application id="QuickStart" Mode="Debug">
- <paths>
- <alias id="QSThemes" path="../../quickstart/themes/" />
- <alias id="Quickstart" path="../../quickstart/protected/" />
- </paths>
- <modules>
- <module id="quickstart_search"
- class="Quickstart.index.ZendSearch"
- IndexDataDirectory="Application.index.sqlmap" />
- </modules>
- <paths>
- <using namespace="Application.controls.*" />
- </paths>
- <services>
- <modules>
- <module id="theme"
- class="System.Web.UI.TThemeManager"
- BasePath="QSThemes"
- BaseUrl="../quickstart/themes" />
- </modules>
- <service id="page" class="TPageService" DefaultPage="GettingStarted.Introduction" />
- </services>
-</application> \ No newline at end of file
diff --git a/demos/sqlmap-sample/index.php b/demos/sqlmap-sample/index.php
deleted file mode 100644
index 43c0b436..00000000
--- a/demos/sqlmap-sample/index.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-$basePath=dirname(__FILE__);
-$frameworkPath=$basePath.'/../../framework/prado.php';
-$assetsPath=$basePath.'/assets';
-$runtimePath=$basePath.'/protected/runtime';
-
-if(!is_writable($assetsPath))
- die("Please make sure that the directory $assetsPath is writable by Web server process.");
-if(!is_writable($runtimePath))
- die("Please make sure that the directory $runtimePath is writable by Web server process.");
-
-require_once($frameworkPath);
-
-$application=new TApplication;
-$application->run();
-
-?> \ No newline at end of file
diff --git a/demos/sqlmap-sample/protected/person-db/person.xml b/demos/sqlmap-sample/protected/person-db/person.xml
deleted file mode 100644
index 4ffe44d9..00000000
--- a/demos/sqlmap-sample/protected/person-db/person.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<sqlMap>
-
- <select id="SelectAll" resultClass="Person">
- SELECT
- per_id as ID,
- per_first_name as FirstName,
- per_last_name as LastName,
- per_birth_date as BirthDate,
- per_weight_kg as WeightInKilograms,
- per_height_m as HeightInMeters
- FROM
- person
- </select>
-
-</sqlMap> \ No newline at end of file
diff --git a/demos/sqlmap-sample/protected/person-db/personHelper.xml b/demos/sqlmap-sample/protected/person-db/personHelper.xml
deleted file mode 100644
index ea2d4302..00000000
--- a/demos/sqlmap-sample/protected/person-db/personHelper.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-
-<sqlMap Name="PersonHelper">
-
- <select id="Select" parameterClass="int" resultClass="Person">
- select
- PER_ID as ID,
- PER_FIRST_NAME as FirstName,
- PER_LAST_NAME as LastName,
- PER_BIRTH_DATE as BirthDate,
- PER_WEIGHT_KG as WeightInKilograms,
- PER_HEIGHT_M as HeightInMeters
- from PERSON
- WHERE
- PER_ID = #value#
- </select>
-
- <insert id="Insert" parameterClass="Person">
- insert into PERSON
- (PER_ID, PER_FIRST_NAME, PER_LAST_NAME,
- PER_BIRTH_DATE, PER_WEIGHT_KG, PER_HEIGHT_M)
- values
- (#ID#, #FirstName#, #LastName#,
- #BirthDate#, #WeightInKilograms#, #HeightInMeters#)
- </insert>
-
- <update id="Update" parameterClass="Person">
- update PERSON set
- PER_FIRST_NAME = #FirstName#,
- PER_LAST_NAME = #LastName#,
- PER_BIRTH_DATE = #BirthDate#,
- PER_WEIGHT_KG = #WeightInKilograms#,
- PER_HEIGHT_M = #HeightInMeters#
- where PER_ID = #ID#
- </update>
-
- <delete id="Delete" parameterClass="int">
- delete from PERSON
- where PER_ID = #value#
- </delete>
-
-</sqlMap>
diff --git a/demos/sqlmap-sample/protected/person-db/test.db b/demos/sqlmap-sample/protected/person-db/test.db
deleted file mode 100644
index a40c91fe..00000000
--- a/demos/sqlmap-sample/protected/person-db/test.db
+++ /dev/null
Binary files differ
diff --git a/demos/sqlmap-sample/protected/person-sqlmap.xml b/demos/sqlmap-sample/protected/person-sqlmap.xml
deleted file mode 100644
index 8d5319e8..00000000
--- a/demos/sqlmap-sample/protected/person-sqlmap.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<sqlMapConfig>
-
- <provider class="TAdodbProvider">
- <datasource driver="sqlite" host="protected/person-db/test.db" />
- </provider>
-
- <sqlMaps>
- <sqlMap resource="person-db/person.xml"/>
- <sqlMap resource="person-db/personHelper.xml"/>
- </sqlMaps>
-
-</sqlMapConfig> \ No newline at end of file
diff --git a/demos/sqlmap-sample/protected/petshop-db/petshop.db b/demos/sqlmap-sample/protected/petshop-db/petshop.db
deleted file mode 100644
index 9a4404df..00000000
--- a/demos/sqlmap-sample/protected/petshop-db/petshop.db
+++ /dev/null
Binary files differ
diff --git a/demos/sqlmap-sample/protected/petshop-db/products.xml b/demos/sqlmap-sample/protected/petshop-db/products.xml
deleted file mode 100644
index 3c2899a7..00000000
--- a/demos/sqlmap-sample/protected/petshop-db/products.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<sqlmap>
-
- <cacheModel id="product-cache" implementation="basic">
- <!-- cache data for 60 seconds -->
- <property name="expiry" value="60" />
- </cacheModel>
-
- <select id="SelectAllProducts" cacheModel="product-cache" >
- SELECT *
- FROM
- product
- </select>
-
-</sqlmap> \ No newline at end of file
diff --git a/demos/sqlmap-sample/protected/petshop-sqlmap.xml b/demos/sqlmap-sample/protected/petshop-sqlmap.xml
deleted file mode 100644
index f77fe2b7..00000000
--- a/demos/sqlmap-sample/protected/petshop-sqlmap.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<sqlMapConfig>
-
- <provider class="TAdodbProvider">
- <datasource driver="sqlite" host="protected/petshop-db/petshop.db" />
- </provider>
-
- <sqlMaps>
- <sqlMap resource="petshop-db/products.xml"/>
- </sqlMaps>
-
-</sqlMapConfig> \ No newline at end of file
diff --git a/demos/sqlmap-sample/tests/PersonTest.php b/demos/sqlmap-sample/tests/PersonTest.php
deleted file mode 100644
index c40bffa0..00000000
--- a/demos/sqlmap-sample/tests/PersonTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-class PersonTest extends UnitTestCase
-{
- function testPersonList()
- {
- //try it
- $people = TMapper::instance()->queryForList("SelectAll");
-
- //test it
- $this->assertNotNull($people, "Person list is not returned");
- $this->assertTrue(count($people) > 0, "Person list is empty");
- $person = $people[0];
- $this->assertNotNull($person, "Person not returned");
- }
-
- function testPersonUpdate()
- {
- $expect = "wei";
- $edited = "Nah";
-
- //get it;
- $person = TMapper::instance()->queryForObject("Select", 1);
-
- //test it
- $this->assertNotNull($person);
- $this->assertEqual($expect, $person->FirstName);
-
- //change it
- $person->FirstName = $edited;
- TMapper::instance()->update("Update", $person);
-
- //get it again
- $person = TMapper::instance()->queryForObject("Select", 1);
-
- //test it
- $this->assertEqual($edited, $person->FirstName);
-
- //change it back
- $person->FirstName = $expect;
- TMapper::instance()->update("Update", $person);
- }
-
- function testPersonDelete()
- {
- //insert it
- $person = new Person;
- $person->ID = -1;
- TMapper::instance()->insert("Insert", $person);
-
- //delte it
- $count = TMapper::instance()->delete("Delete", -1);
- $this->assertEqual(1, $count);
- }
-}
-
-?> \ No newline at end of file
diff --git a/demos/sqlmap-sample/tests/readme.txt b/demos/sqlmap-sample/tests/readme.txt
deleted file mode 100644
index c0d0afdb..00000000
--- a/demos/sqlmap-sample/tests/readme.txt
+++ /dev/null
@@ -1 +0,0 @@
-The ''Data'' directory and ''Data/test.db'' must be writable by PHP for SQLite database to work. \ No newline at end of file
diff --git a/demos/sqlmap-sample/tests/run_tests.php b/demos/sqlmap-sample/tests/run_tests.php
deleted file mode 100644
index 843d0a79..00000000
--- a/demos/sqlmap-sample/tests/run_tests.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-//define simple test location
-define('SIMPLE_TEST', realpath('../../../tests/UnitTests/simpletest'));
-
-//define prado framework location
-define('PRADO', realpath('../../../framework'));
-
-//define directory that contains business objects
-define('MY_MODELS', realpath('../protected/business-objects'));
-
-require_once(SIMPLE_TEST.'/unit_tester.php');
-require_once(SIMPLE_TEST.'/reporter.php');
-require_once(PRADO.'/prado.php');
-require_once(MY_MODELS.'/Person.php');
-
-//supress strict warnings
-error_reporting(E_ALL);
-
-//import Data mapper
-Prado::using('System.DataAccess.SQLMap.TMapper');
-
-//Add tests
-$test = new GroupTest('SQLMap Tutorial tests');
-$test->addTestFile('PersonTest.php');
-if(SimpleReporter::inCli())
- $reporter = new TextReporter();
-else
- $reporter = new HtmlReporter();
-$test->run($reporter);
-
-
-?> \ No newline at end of file
diff --git a/demos/sqlmap-sample/tests/sqlmap.xml b/demos/sqlmap-sample/tests/sqlmap.xml
deleted file mode 100644
index 3968fab4..00000000
--- a/demos/sqlmap-sample/tests/sqlmap.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<sqlMapConfig>
-
- <provider class="TAdodbProvider">
- <datasource driver="sqlite" host="../protected/person-db/test.db" />
- </provider>
-
- <sqlMaps>
- <sqlMap resource="../protected/person-db/person.xml"/>
- <sqlMap resource="../protected/person-db/personHelper.xml"/>
- </sqlMaps>
-
-</sqlMapConfig> \ No newline at end of file
diff --git a/demos/sqlmap-docs/index.php b/demos/sqlmap/index.php
index afada2c1..afada2c1 100644
--- a/demos/sqlmap-docs/index.php
+++ b/demos/sqlmap/index.php
diff --git a/demos/sqlmap-docs/protected/.htaccess b/demos/sqlmap/protected/.htaccess
index 3418e55a..3418e55a 100644
--- a/demos/sqlmap-docs/protected/.htaccess
+++ b/demos/sqlmap/protected/.htaccess
diff --git a/demos/sqlmap-sample/protected/application.xml b/demos/sqlmap/protected/application.xml
index 7cfb440f..7cfb440f 100644
--- a/demos/sqlmap-sample/protected/application.xml
+++ b/demos/sqlmap/protected/application.xml
diff --git a/demos/sqlmap-sample/protected/business-objects/Person.php b/demos/sqlmap/protected/business-objects/Person.php
index ad9da4b3..ad9da4b3 100644
--- a/demos/sqlmap-sample/protected/business-objects/Person.php
+++ b/demos/sqlmap/protected/business-objects/Person.php
diff --git a/demos/sqlmap-docs/protected/controls/Layout.php b/demos/sqlmap/protected/controls/Layout.php
index e612d52d..e612d52d 100644
--- a/demos/sqlmap-docs/protected/controls/Layout.php
+++ b/demos/sqlmap/protected/controls/Layout.php
diff --git a/demos/sqlmap-docs/protected/controls/Layout.tpl b/demos/sqlmap/protected/controls/Layout.tpl
index c62cc046..c62cc046 100644
--- a/demos/sqlmap-docs/protected/controls/Layout.tpl
+++ b/demos/sqlmap/protected/controls/Layout.tpl
diff --git a/demos/sqlmap-docs/protected/controls/TopicList.php b/demos/sqlmap/protected/controls/TopicList.php
index ce827cc0..ce827cc0 100644
--- a/demos/sqlmap-docs/protected/controls/TopicList.php
+++ b/demos/sqlmap/protected/controls/TopicList.php
diff --git a/demos/sqlmap-docs/protected/controls/TopicList.tpl b/demos/sqlmap/protected/controls/TopicList.tpl
index 6c7a3e9e..6c7a3e9e 100644
--- a/demos/sqlmap-docs/protected/controls/TopicList.tpl
+++ b/demos/sqlmap/protected/controls/TopicList.tpl
diff --git a/demos/sqlmap-docs/protected/pages/Home.page b/demos/sqlmap/protected/pages/Home.page
index ff226d4e..ff226d4e 100644
--- a/demos/sqlmap-docs/protected/pages/Home.page
+++ b/demos/sqlmap/protected/pages/Home.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/BigPicture.page b/demos/sqlmap/protected/pages/Manual/BigPicture.page
index 7857d6ec..7857d6ec 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/BigPicture.page
+++ b/demos/sqlmap/protected/pages/Manual/BigPicture.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/BuildingTSqlMapper.page b/demos/sqlmap/protected/pages/Manual/BuildingTSqlMapper.page
index 87165da2..87165da2 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/BuildingTSqlMapper.page
+++ b/demos/sqlmap/protected/pages/Manual/BuildingTSqlMapper.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/CacheModels.page b/demos/sqlmap/protected/pages/Manual/CacheModels.page
index 94f20f3d..94f20f3d 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/CacheModels.page
+++ b/demos/sqlmap/protected/pages/Manual/CacheModels.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/CodingExamples.page b/demos/sqlmap/protected/pages/Manual/CodingExamples.page
index bbd1488e..bbd1488e 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/CodingExamples.page
+++ b/demos/sqlmap/protected/pages/Manual/CodingExamples.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/ComplexProperties.page b/demos/sqlmap/protected/pages/Manual/ComplexProperties.page
index f62795f8..f62795f8 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/ComplexProperties.page
+++ b/demos/sqlmap/protected/pages/Manual/ComplexProperties.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/CompositeKeys.page b/demos/sqlmap/protected/pages/Manual/CompositeKeys.page
index 6e33c6cd..6e33c6cd 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/CompositeKeys.page
+++ b/demos/sqlmap/protected/pages/Manual/CompositeKeys.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/ConfigurationElements.page b/demos/sqlmap/protected/pages/Manual/ConfigurationElements.page
index 589a6dde..589a6dde 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/ConfigurationElements.page
+++ b/demos/sqlmap/protected/pages/Manual/ConfigurationElements.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/Configuring.page b/demos/sqlmap/protected/pages/Manual/Configuring.page
index 75dade31..75dade31 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/Configuring.page
+++ b/demos/sqlmap/protected/pages/Manual/Configuring.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/CustomTypeHandlers.page b/demos/sqlmap/protected/pages/Manual/CustomTypeHandlers.page
index c66820cf..c66820cf 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/CustomTypeHandlers.page
+++ b/demos/sqlmap/protected/pages/Manual/CustomTypeHandlers.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/DataMapperAPI.page b/demos/sqlmap/protected/pages/Manual/DataMapperAPI.page
index 8f0b66a4..8f0b66a4 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/DataMapperAPI.page
+++ b/demos/sqlmap/protected/pages/Manual/DataMapperAPI.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/DynamicSQL.page b/demos/sqlmap/protected/pages/Manual/DynamicSQL.page
index 2ed8c6ec..2ed8c6ec 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/DynamicSQL.page
+++ b/demos/sqlmap/protected/pages/Manual/DynamicSQL.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/ImplicitResultMaps.page b/demos/sqlmap/protected/pages/Manual/ImplicitResultMaps.page
index 07dc61e0..07dc61e0 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/ImplicitResultMaps.page
+++ b/demos/sqlmap/protected/pages/Manual/ImplicitResultMaps.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/InheritanceMapping.page b/demos/sqlmap/protected/pages/Manual/InheritanceMapping.page
index 0458a291..0458a291 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/InheritanceMapping.page
+++ b/demos/sqlmap/protected/pages/Manual/InheritanceMapping.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/InlineParameterMaps.page b/demos/sqlmap/protected/pages/Manual/InlineParameterMaps.page
index 3bfa4ceb..3bfa4ceb 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/InlineParameterMaps.page
+++ b/demos/sqlmap/protected/pages/Manual/InlineParameterMaps.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/Installing.page b/demos/sqlmap/protected/pages/Manual/Installing.page
index bb083996..bb083996 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/Installing.page
+++ b/demos/sqlmap/protected/pages/Manual/Installing.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/MappedStatements.page b/demos/sqlmap/protected/pages/Manual/MappedStatements.page
index c4dfa3d9..c4dfa3d9 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/MappedStatements.page
+++ b/demos/sqlmap/protected/pages/Manual/MappedStatements.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/Overview.page b/demos/sqlmap/protected/pages/Manual/Overview.page
index 694daf68..694daf68 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/Overview.page
+++ b/demos/sqlmap/protected/pages/Manual/Overview.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/ParameterMap.page b/demos/sqlmap/protected/pages/Manual/ParameterMap.page
index de574139..de574139 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/ParameterMap.page
+++ b/demos/sqlmap/protected/pages/Manual/ParameterMap.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/ResultMapAttributes.page b/demos/sqlmap/protected/pages/Manual/ResultMapAttributes.page
index dd754197..dd754197 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/ResultMapAttributes.page
+++ b/demos/sqlmap/protected/pages/Manual/ResultMapAttributes.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/ResultMaps.page b/demos/sqlmap/protected/pages/Manual/ResultMaps.page
index 97165ffb..97165ffb 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/ResultMaps.page
+++ b/demos/sqlmap/protected/pages/Manual/ResultMaps.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/StatementElementAttributes.page b/demos/sqlmap/protected/pages/Manual/StatementElementAttributes.page
index e5cef09d..e5cef09d 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/StatementElementAttributes.page
+++ b/demos/sqlmap/protected/pages/Manual/StatementElementAttributes.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/TheSQL.page b/demos/sqlmap/protected/pages/Manual/TheSQL.page
index 0817ec26..0817ec26 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/TheSQL.page
+++ b/demos/sqlmap/protected/pages/Manual/TheSQL.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/WorkingWithDataMaps.page b/demos/sqlmap/protected/pages/Manual/WorkingWithDataMaps.page
index 321b2993..321b2993 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/WorkingWithDataMaps.page
+++ b/demos/sqlmap/protected/pages/Manual/WorkingWithDataMaps.page
diff --git a/demos/sqlmap-docs/protected/pages/Manual/diagram.png b/demos/sqlmap/protected/pages/Manual/diagram.png
index 0a0ca73d..0a0ca73d 100644
--- a/demos/sqlmap-docs/protected/pages/Manual/diagram.png
+++ b/demos/sqlmap/protected/pages/Manual/diagram.png
Binary files differ
diff --git a/demos/sqlmap-sample/protected/pages/Home.page b/demos/sqlmap/protected/pages/Sample/Home.page
index 6d059c7e..6d059c7e 100644
--- a/demos/sqlmap-sample/protected/pages/Home.page
+++ b/demos/sqlmap/protected/pages/Sample/Home.page
diff --git a/demos/sqlmap-sample/protected/pages/ProductList.page b/demos/sqlmap/protected/pages/Sample/ProductList.page
index 904d411d..904d411d 100644
--- a/demos/sqlmap-sample/protected/pages/ProductList.page
+++ b/demos/sqlmap/protected/pages/Sample/ProductList.page
diff --git a/demos/sqlmap-sample/protected/pages/ProductList.php b/demos/sqlmap/protected/pages/Sample/ProductList.php
index a35c40ea..a35c40ea 100644
--- a/demos/sqlmap-sample/protected/pages/ProductList.php
+++ b/demos/sqlmap/protected/pages/Sample/ProductList.php
diff --git a/demos/sqlmap-sample/protected/pages/crud1.page b/demos/sqlmap/protected/pages/Sample/crud1.page
index ce467ffa..ce467ffa 100644
--- a/demos/sqlmap-sample/protected/pages/crud1.page
+++ b/demos/sqlmap/protected/pages/Sample/crud1.page
diff --git a/demos/sqlmap-sample/protected/pages/crud1.php b/demos/sqlmap/protected/pages/Sample/crud1.php
index 40733dc9..40733dc9 100644
--- a/demos/sqlmap-sample/protected/pages/crud1.php
+++ b/demos/sqlmap/protected/pages/Sample/crud1.php
diff --git a/demos/sqlmap-sample/protected/pages/crud2.page b/demos/sqlmap/protected/pages/Sample/crud2.page
index 4d34e873..4d34e873 100644
--- a/demos/sqlmap-sample/protected/pages/crud2.page
+++ b/demos/sqlmap/protected/pages/Sample/crud2.page
diff --git a/demos/sqlmap-sample/protected/pages/crud2.php b/demos/sqlmap/protected/pages/Sample/crud2.php
index 46fe3893..46fe3893 100644
--- a/demos/sqlmap-sample/protected/pages/crud2.php
+++ b/demos/sqlmap/protected/pages/Sample/crud2.php
diff --git a/demos/sqlmap-docs/protected/pages/Tutorial/TestAgain.page b/demos/sqlmap/protected/pages/Tutorial/TestAgain.page
index 4adac73b..4adac73b 100644
--- a/demos/sqlmap-docs/protected/pages/Tutorial/TestAgain.page
+++ b/demos/sqlmap/protected/pages/Tutorial/TestAgain.page
diff --git a/demos/sqlmap-docs/protected/pages/Tutorial/TestFirst.page b/demos/sqlmap/protected/pages/Tutorial/TestFirst.page
index 80a155cb..80a155cb 100644
--- a/demos/sqlmap-docs/protected/pages/Tutorial/TestFirst.page
+++ b/demos/sqlmap/protected/pages/Tutorial/TestFirst.page
diff --git a/demos/sqlmap-docs/protected/pages/Tutorial/TestSecond.page b/demos/sqlmap/protected/pages/Tutorial/TestSecond.page
index 706b5220..706b5220 100644
--- a/demos/sqlmap-docs/protected/pages/Tutorial/TestSecond.page
+++ b/demos/sqlmap/protected/pages/Tutorial/TestSecond.page
diff --git a/demos/sqlmap-docs/protected/pages/Tutorial/example1.png b/demos/sqlmap/protected/pages/Tutorial/example1.png
index b5241de6..b5241de6 100644
--- a/demos/sqlmap-docs/protected/pages/Tutorial/example1.png
+++ b/demos/sqlmap/protected/pages/Tutorial/example1.png
Binary files differ
diff --git a/demos/sqlmap-docs/protected/pages/Tutorial/grid1.png b/demos/sqlmap/protected/pages/Tutorial/grid1.png
index 845b9581..845b9581 100644
--- a/demos/sqlmap-docs/protected/pages/Tutorial/grid1.png
+++ b/demos/sqlmap/protected/pages/Tutorial/grid1.png
Binary files differ
diff --git a/demos/sqlmap-docs/protected/pages/Tutorial/grid2.png b/demos/sqlmap/protected/pages/Tutorial/grid2.png
index dcafc33d..dcafc33d 100644
--- a/demos/sqlmap-docs/protected/pages/Tutorial/grid2.png
+++ b/demos/sqlmap/protected/pages/Tutorial/grid2.png
Binary files differ
diff --git a/demos/sqlmap-docs/protected/pages/config.xml b/demos/sqlmap/protected/pages/config.xml
index e0850c2c..e0850c2c 100644
--- a/demos/sqlmap-docs/protected/pages/config.xml
+++ b/demos/sqlmap/protected/pages/config.xml
diff --git a/demos/time-tracker/protected/controls/TopicList.tpl b/demos/time-tracker/protected/controls/TopicList.tpl
deleted file mode 100644
index bc9fff26..00000000
--- a/demos/time-tracker/protected/controls/TopicList.tpl
+++ /dev/null
@@ -1,27 +0,0 @@
-<div id="toc">
-
-<div class="topic">
-<ul>
- <li><a href="?page=preface">Preface</a></li>
-</ul>
-<div>Prado Time Tracker Implementation Guide</div>
-<ul>
- <li><a href="?page=Introduction">Introduction</a></li>
- <li><a href="?page=GettingStarted">Installation</a></li>
- <li><a href="?page=WritingUnitTest">Writing a Unit Test</a></li>
- <li><a href="?page=WritingFunctionalTest">Writing a Functional Web Test</a></li>
-</ul>
-
-<div>Testing Business Code</div>
-<ul>
- <li><a href="?page=CreateBusinessCode">Create Business Code</a></li>
- <li><a href="?page=UsingSQLMap">Using SQLMap Data Mapper</a></li>
- <li><a href="?page=UserClassAndExceptions">User Class and Exceptions</a></li>
- <li><a href="?page=MoreTests">More Tests</a></li>
-</ul>
-
-</div>
-
-
-
-</div> \ No newline at end of file
diff --git a/demos/time-tracker/protected/controls/Layout.php b/demos/time-tracker/protected/pages/Docs/Layout.php
index e612d52d..e612d52d 100644
--- a/demos/time-tracker/protected/controls/Layout.php
+++ b/demos/time-tracker/protected/pages/Docs/Layout.php
diff --git a/demos/time-tracker/protected/controls/Layout.tpl b/demos/time-tracker/protected/pages/Docs/Layout.tpl
index 95c88fd8..291c2482 100644
--- a/demos/time-tracker/protected/controls/Layout.tpl
+++ b/demos/time-tracker/protected/pages/Docs/Layout.tpl
@@ -23,7 +23,7 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width="1">
-<com:Application.controls.TopicList ID="TopicPanel" />
+<com:Application.pages.Docs.TopicList ID="TopicPanel" />
</td>
<td valign="top">
<div id="content">
diff --git a/demos/time-tracker/protected/controls/TopicList.php b/demos/time-tracker/protected/pages/Docs/TopicList.php
index ce827cc0..ce827cc0 100644
--- a/demos/time-tracker/protected/controls/TopicList.php
+++ b/demos/time-tracker/protected/pages/Docs/TopicList.php
diff --git a/demos/time-tracker/protected/pages/Docs/TopicList.tpl b/demos/time-tracker/protected/pages/Docs/TopicList.tpl
new file mode 100644
index 00000000..5fa2adb5
--- /dev/null
+++ b/demos/time-tracker/protected/pages/Docs/TopicList.tpl
@@ -0,0 +1,27 @@
+<div id="toc">
+
+<div class="topic">
+<ul>
+ <li><a href="?page=Docs.preface">Preface</a></li>
+</ul>
+<div>Prado Time Tracker Implementation Guide</div>
+<ul>
+ <li><a href="?page=Docs.Introduction">Introduction</a></li>
+ <li><a href="?page=Docs.GettingStarted">Installation</a></li>
+ <li><a href="?page=Docs.WritingUnitTest">Writing a Unit Test</a></li>
+ <li><a href="?page=Docs.WritingFunctionalTest">Writing a Functional Web Test</a></li>
+</ul>
+
+<div>Testing Business Code</div>
+<ul>
+ <li><a href="?page=Docs.CreateBusinessCode">Create Business Code</a></li>
+ <li><a href="?page=Docs.UsingSQLMap">Using SQLMap Data Mapper</a></li>
+ <li><a href="?page=Docs.UserClassAndExceptions">User Class and Exceptions</a></li>
+ <li><a href="?page=Docs.MoreTests">More Tests</a></li>
+</ul>
+
+</div>
+
+
+
+</div> \ No newline at end of file
diff --git a/demos/time-tracker/protected/pages/Docs/config.xml b/demos/time-tracker/protected/pages/Docs/config.xml
index e0850c2c..da4d3bfc 100644
--- a/demos/time-tracker/protected/pages/Docs/config.xml
+++ b/demos/time-tracker/protected/pages/Docs/config.xml
@@ -4,5 +4,5 @@
<paths>
<alias id="Pages" path="." />
</paths>
- <pages MasterClass="Application.controls.Layout" Theme="PradoSoft" />
+ <pages MasterClass="Application.pages.Docs.Layout" />
</configuration> \ No newline at end of file