Update of /cvsroot/phpwebapp/web_app/tools/fileBrowser
In directory sc8-pr-cvs1:/tmp/cvs-serv5059/tools/fileBrowser
Modified Files:
doc.fileBrowser.txt
Log Message:
Index: doc.fileBrowser.txt
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/doc.fileBrowser.txt,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** doc.fileBrowser.txt 21 Feb 2003 08:17:01 -0000 1.1.1.1
--- doc.fileBrowser.txt 23 Feb 2003 14:20:30 -0000 1.2
***************
*** 12,21 ****
to their types, e.g. a php file is displayed as code, an image
file is displayed as an image, an HTML file can be displayed
! both as code and as HTML, etc.
It is usually used by the grafical designer of the application
to see how the templates look in the application. He cannot see
the templates properly just by opening them in the browser, because
! the templates contain variables, template tags (like <Repeat>, <if>,
<Recordset>) etc. It can also be used by the JavaScript programmer
and PHP/DB programmer to test the functionality of a WebBox separately
--- 12,21 ----
to their types, e.g. a php file is displayed as code, an image
file is displayed as an image, an HTML file can be displayed
! both as HTML code and as rendered HTML, etc.
It is usually used by the grafical designer of the application
to see how the templates look in the application. He cannot see
the templates properly just by opening them in the browser, because
! the templates contain {{variables}}, template tags (like <Repeat>, <if>,
<Recordset>) etc. It can also be used by the JavaScript programmer
and PHP/DB programmer to test the functionality of a WebBox separately
***************
*** 28,42 ****
'browse.php') in the root folder of the application, which
contains these lines:
! <?
! include "application.php";
! WebApp::addVar("APP_STYLE", APP_URL."templates/styles.css");
! $session->Vars["folderListing.fileFilter"] = ".*";
! WebApp::constructHtmlPage(BROWSE_PATH."fileBrowser.html");
! ?>
! It is not an standalone application, it is like a plug-in tool
that can be added to an existing application. The constant
BROWSE_PATH is declared by the framework itself. By including
! the "application.php" of the application, it gets the paths,
the DB connection and the configuration of the application itself,
which are needed in order to preview the templates correctly.
--- 28,41 ----
'browse.php') in the root folder of the application, which
contains these lines:
! <?php
! include "webapp.php";
! WebApp::addVar("APP_STYLE", APP_URL."templates/styles.css");
! WebApp::constructHtmlPage(BROWSER_PATH."fileBrowser.html");
! ?>
! It is not a standalone application, it is like a plug-in tool
that can be added to an existing application. The constant
BROWSE_PATH is declared by the framework itself. By including
! the "webapp.php" of the application, it gets the paths,
the DB connection and the configuration of the application itself,
which are needed in order to preview the templates correctly.
***************
*** 52,56 ****
If you check the "Hide Folder Box" and then click refresh, then the
left box that is used to browse the folders is hidden (this may be
! usefull when the template that is being displayed is too large and
fills all the width of the browser).
--- 51,55 ----
If you check the "Hide Folder Box" and then click refresh, then the
left box that is used to browse the folders is hidden (this may be
! useful when the template that is being displayed is too large and
fills all the width of the browser).
|