diff options
author | wei <> | 2006-07-16 06:19:36 +0000 |
---|---|---|
committer | wei <> | 2006-07-16 06:19:36 +0000 |
commit | c7d41e5bea4a5f96979a08da9cc9f79355edfe70 (patch) | |
tree | 8f21cba052c1eae7c7204ac272dd8c5e9d6fe110 /demos/sqlmap | |
parent | af68030fcf0c266300feb2c100149ecadef7d364 (diff) |
Update Time Tracker demo.
Diffstat (limited to 'demos/sqlmap')
-rw-r--r-- | demos/sqlmap/protected/APP_CODE/Person.php (renamed from demos/sqlmap/protected/business-objects/Person.php) | 0 | ||||
-rw-r--r-- | demos/sqlmap/protected/application.xml | 17 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Home.page | 1 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Layout.php (renamed from demos/sqlmap/protected/controls/Layout.php) | 0 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Layout.tpl (renamed from demos/sqlmap/protected/controls/Layout.tpl) | 2 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Overview.page | 10 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/TopicList.php (renamed from demos/sqlmap/protected/controls/TopicList.php) | 0 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/TopicList.tpl (renamed from demos/sqlmap/protected/controls/TopicList.tpl) | 6 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Tutorial/TestAgain.page (renamed from demos/sqlmap/protected/pages/Tutorial/TestAgain.page) | 0 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Tutorial/TestFirst.page (renamed from demos/sqlmap/protected/pages/Tutorial/TestFirst.page) | 0 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Tutorial/TestSecond.page (renamed from demos/sqlmap/protected/pages/Tutorial/TestSecond.page) | 0 | ||||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Tutorial/example1.png (renamed from demos/sqlmap/protected/pages/Tutorial/example1.png) | bin | 236887 -> 236887 bytes | |||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Tutorial/grid1.png (renamed from demos/sqlmap/protected/pages/Tutorial/grid1.png) | bin | 275250 -> 275250 bytes | |||
-rw-r--r-- | demos/sqlmap/protected/pages/Manual/Tutorial/grid2.png (renamed from demos/sqlmap/protected/pages/Tutorial/grid2.png) | bin | 218210 -> 218210 bytes | |||
-rw-r--r-- | demos/sqlmap/protected/pages/config.xml | 8 |
15 files changed, 19 insertions, 25 deletions
diff --git a/demos/sqlmap/protected/business-objects/Person.php b/demos/sqlmap/protected/APP_CODE/Person.php index ad9da4b3..ad9da4b3 100644 --- a/demos/sqlmap/protected/business-objects/Person.php +++ b/demos/sqlmap/protected/APP_CODE/Person.php diff --git a/demos/sqlmap/protected/application.xml b/demos/sqlmap/protected/application.xml index 7cfb440f..7dcde037 100644 --- a/demos/sqlmap/protected/application.xml +++ b/demos/sqlmap/protected/application.xml @@ -1,16 +1,11 @@ <?xml version="1.0" encoding="utf-8"?>
<application id="Database" Mode="Debug">
<paths>
- <alias id="Example" path="business-objects" />
+ <alias id="Example" path="APP_CODE" />
+ <alias id="Quickstart" path="../../quickstart" />
+ <using namespace="Quickstart.protected.controls.*" />
</paths>
- <modules>
- <module id="cache" class="System.Caching.TSqliteCache" />
- <module id="petshop-sqlmap"
- enableConfigCache="true"
- class="System.DataAccess.TSQLMap"
- configFile="Application.petshop-sqlmap" />
- <module id="person-sample"
- class="System.DataAccess.TSQLMap"
- configFile="Application.person-sqlmap" />
- </modules>
+ <services>
+ <service id="page" class="TPageService" DefaultPage="Manual.Overview" />
+ </services>
</application>
\ No newline at end of file diff --git a/demos/sqlmap/protected/pages/Home.page b/demos/sqlmap/protected/pages/Home.page deleted file mode 100644 index ff226d4e..00000000 --- a/demos/sqlmap/protected/pages/Home.page +++ /dev/null @@ -1 +0,0 @@ -<h1>Welcome to Prado!</h1>
\ No newline at end of file diff --git a/demos/sqlmap/protected/controls/Layout.php b/demos/sqlmap/protected/pages/Manual/Layout.php index e612d52d..e612d52d 100644 --- a/demos/sqlmap/protected/controls/Layout.php +++ b/demos/sqlmap/protected/pages/Manual/Layout.php diff --git a/demos/sqlmap/protected/controls/Layout.tpl b/demos/sqlmap/protected/pages/Manual/Layout.tpl index c62cc046..7c47646d 100644 --- a/demos/sqlmap/protected/controls/Layout.tpl +++ b/demos/sqlmap/protected/pages/Manual/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.Manual.TopicList ID="TopicPanel" />
</td>
<td valign="top">
<div id="content">
diff --git a/demos/sqlmap/protected/pages/Manual/Overview.page b/demos/sqlmap/protected/pages/Manual/Overview.page index 694daf68..258be782 100644 --- a/demos/sqlmap/protected/pages/Manual/Overview.page +++ b/demos/sqlmap/protected/pages/Manual/Overview.page @@ -34,7 +34,15 @@ material applies to both implementations. SQLMap PHP Developer Guide.</p>
<p>A Tutorial is also available. We recommend reviewing the Tutorial for your
-platform before reading this Guide.</p>
+platform before reading this Guide.
+
+<a href="?page=Tutorial.TestFirst">SQLMap Tutorial</a>
+<ul>
+ <li><a href="index.php?page=Sample.crud1">Tutorial 1 Sample</a></li>
+ <li><a href="index.php?page=Sample.crud2">Tutorial 2 Sample</a></li>
+ <li><a href="index.php?page=Sample.ProductList">Product List Sample</a></li>
+</ul>
+</p>
<h1>Support</h1>
diff --git a/demos/sqlmap/protected/controls/TopicList.php b/demos/sqlmap/protected/pages/Manual/TopicList.php index ce827cc0..ce827cc0 100644 --- a/demos/sqlmap/protected/controls/TopicList.php +++ b/demos/sqlmap/protected/pages/Manual/TopicList.php diff --git a/demos/sqlmap/protected/controls/TopicList.tpl b/demos/sqlmap/protected/pages/Manual/TopicList.tpl index 6c7a3e9e..58e6d9ae 100644 --- a/demos/sqlmap/protected/controls/TopicList.tpl +++ b/demos/sqlmap/protected/pages/Manual/TopicList.tpl @@ -16,9 +16,9 @@ <div>SQLMap for PHP Tutorial</div>
<ul>
- <li><a href="?page=Tutorial.TestFirst">Test First!</a></li>
- <li><a href="?page=Tutorial.TestSecond">Playtest second!</a></li>
- <li><a href="?page=Tutorial.TestAgain">Test, test, again ...</a></li>
+ <li><a href="?page=Manual.Tutorial.TestFirst">Test First!</a></li>
+ <li><a href="?page=Manual.Tutorial.TestSecond">Playtest second!</a></li>
+ <li><a href="?page=Manual.Tutorial.TestAgain">Test, test, again ...</a></li>
</ul>
<div>Using SQLMap DataMapper</div>
diff --git a/demos/sqlmap/protected/pages/Tutorial/TestAgain.page b/demos/sqlmap/protected/pages/Manual/Tutorial/TestAgain.page index 4adac73b..4adac73b 100644 --- a/demos/sqlmap/protected/pages/Tutorial/TestAgain.page +++ b/demos/sqlmap/protected/pages/Manual/Tutorial/TestAgain.page diff --git a/demos/sqlmap/protected/pages/Tutorial/TestFirst.page b/demos/sqlmap/protected/pages/Manual/Tutorial/TestFirst.page index 80a155cb..80a155cb 100644 --- a/demos/sqlmap/protected/pages/Tutorial/TestFirst.page +++ b/demos/sqlmap/protected/pages/Manual/Tutorial/TestFirst.page diff --git a/demos/sqlmap/protected/pages/Tutorial/TestSecond.page b/demos/sqlmap/protected/pages/Manual/Tutorial/TestSecond.page index 706b5220..706b5220 100644 --- a/demos/sqlmap/protected/pages/Tutorial/TestSecond.page +++ b/demos/sqlmap/protected/pages/Manual/Tutorial/TestSecond.page diff --git a/demos/sqlmap/protected/pages/Tutorial/example1.png b/demos/sqlmap/protected/pages/Manual/Tutorial/example1.png Binary files differindex b5241de6..b5241de6 100644 --- a/demos/sqlmap/protected/pages/Tutorial/example1.png +++ b/demos/sqlmap/protected/pages/Manual/Tutorial/example1.png diff --git a/demos/sqlmap/protected/pages/Tutorial/grid1.png b/demos/sqlmap/protected/pages/Manual/Tutorial/grid1.png Binary files differindex 845b9581..845b9581 100644 --- a/demos/sqlmap/protected/pages/Tutorial/grid1.png +++ b/demos/sqlmap/protected/pages/Manual/Tutorial/grid1.png diff --git a/demos/sqlmap/protected/pages/Tutorial/grid2.png b/demos/sqlmap/protected/pages/Manual/Tutorial/grid2.png Binary files differindex dcafc33d..dcafc33d 100644 --- a/demos/sqlmap/protected/pages/Tutorial/grid2.png +++ b/demos/sqlmap/protected/pages/Manual/Tutorial/grid2.png diff --git a/demos/sqlmap/protected/pages/config.xml b/demos/sqlmap/protected/pages/config.xml deleted file mode 100644 index e0850c2c..00000000 --- a/demos/sqlmap/protected/pages/config.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-
-<configuration>
- <paths>
- <alias id="Pages" path="." />
- </paths>
- <pages MasterClass="Application.controls.Layout" Theme="PradoSoft" />
-</configuration>
\ No newline at end of file |