Update of /cvsroot/phpwebapp/documentation
In directory sc8-pr-cvs1:/tmp/cvs-serv4885
Modified Files:
webapp.php browse.php ToDo.txt
Log Message:
Index: webapp.php
===================================================================
RCS file: /cvsroot/phpwebapp/documentation/webapp.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** webapp.php 15 Aug 2003 09:01:58 -0000 1.3
--- webapp.php 22 Aug 2003 06:51:17 -0000 1.4
***************
*** 26,30 ****
include WEBAPP_PATH."WebApp.php";
! if ($event->targetPage==UNDEFINED)
{
//first time that the user enters in the application
--- 26,30 ----
include WEBAPP_PATH."WebApp.php";
! if (WebApp::first_time())
{
//first time that the user enters in the application
Index: browse.php
===================================================================
RCS file: /cvsroot/phpwebapp/documentation/browse.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** browse.php 23 Feb 2003 14:29:07 -0000 1.2
--- browse.php 22 Aug 2003 06:51:17 -0000 1.3
***************
*** 1,5 ****
<?php
include "webapp.php";
WebApp::addVar("APP_STYLE", APP_URL."templates/styles.css");
WebApp::constructHtmlPage(BROWSER_PATH."fileBrowser.html");
! ?>
--- 1,14 ----
<?php
include "webapp.php";
+
+ if (WebApp::first_time())
+ {
+ $path = $_SERVER["QUERY_STRING"];
+ WebApp::addSVar("folderListing->fileFilter", ".*");
+ WebApp::addSVar("folderListing->root", APP_PATH);
+ WebApp::addSVar("folderListing->currentPath", $path);
+ }
+
WebApp::addVar("APP_STYLE", APP_URL."templates/styles.css");
WebApp::constructHtmlPage(BROWSER_PATH."fileBrowser.html");
! ?>
\ No newline at end of file
Index: ToDo.txt
===================================================================
RCS file: /cvsroot/phpwebapp/documentation/ToDo.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ToDo.txt 20 Aug 2003 07:33:55 -0000 1.3
--- ToDo.txt 22 Aug 2003 06:51:17 -0000 1.4
***************
*** 1,7 ****
! * Make sample apps 3, 4, 5 etc.
! * Update tutorial 2, add tutorials 3, 4, 5 etc.
! * Add a "Would you like to help improve this page." notice at the
! end of some pages.
* Put summaries of the tutorials in separate files.
* Review the code of web_app and improve the comments.
--- 1,6 ----
! * Make sample apps 4, 5 etc.
! * Write tutorials 4, 5 etc.
!
* Put summaries of the tutorials in separate files.
* Review the code of web_app and improve the comments.
|