[phpwebapp-commits] CVS: web_app/tools/fileBrowser sample.html,1.2,1.3 panel.html,1.1.1.1,1.2 folder
Brought to you by:
dashohoxha
|
From: Dashamir H. <das...@us...> - 2003-08-22 06:47:31
|
Update of /cvsroot/phpwebapp/web_app/tools/fileBrowser
In directory sc8-pr-cvs1:/tmp/cvs-serv4302/tools/fileBrowser
Modified Files:
sample.html panel.html folder.html file.php file.html
Log Message:
Index: sample.html
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/sample.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sample.html 16 Jul 2003 09:27:59 -0000 1.2
--- sample.html 22 Aug 2003 06:47:20 -0000 1.3
***************
*** 1,9 ****
<table width="402" border="0" cellspacing="0" cellpadding="1">
! <tr><td bgcolor="#000055" align="left">
! <table width="400" height="200" border="0" cellspacing="0" cellpadding="5" bgcolor="white">
! <tr><td align="center" valign="middle">
! <div class="strong">Sample Template File</div>
! </td></tr>
! </table>
! </td></tr>
</table>
--- 1,9 ----
<table width="402" border="0" cellspacing="0" cellpadding="1">
! <tr><td bgcolor="#000055" align="left">
! <table width="400" height="200" border="0" cellspacing="0" cellpadding="5" bgcolor="white">
! <tr><td align="center" valign="middle">
! <div class="strong">Sample Template File</div>
! </td></tr>
! </table>
! </td></tr>
</table>
Index: panel.html
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/panel.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** panel.html 21 Feb 2003 08:17:01 -0000 1.1.1.1
--- panel.html 22 Aug 2003 06:47:20 -0000 1.2
***************
*** 4,32 ****
<table border="0" cellspacing="0" cellpadding="1" bgcolor="white">
<tr>
! <form name="changeViewForm" onsubmit="return false;">
! <td width="17%" nowrap="true" valign="top">
! <input type="checkbox" name="hide" class="checkbox"><span class="font">Hide Folder Box</span><br>
! <input type="button" name="refresh" value="Refresh" class="button" onclick="on_refresh()">
! </td>
! <td width="17%" nowrap="true" valign="top">
! <input type="radio" name="viewMode" value="codeView" class="radio" {{codeView_checked}}><span class="font">Code View</span> <br>
! <input type="radio" name="viewMode" value="preview" class="radio" {{preview_checked}}><span class="font">Preview</span>
! </td>
! <td bgcolor="#006633"></td>
! <td width="10%" nowrap="true" valign="top" align="right">
! <span class="font">Change Session:</span> <br>
! <input type="button" name="changeSess" value="Change" class="button" onclick="on_changeSess()">
! </td>
! <td width="20%" nowrap="true" valign="top">
! <input type="text" name="var_name" class="text" size="15"> <br>
! <input type="text" name="var_value" class="text" size="15">
! </td>
! <td bgcolor="#006633"></td>
! <td width="40%" nowrap="true">
! <span class="font">Root Folder:</span> <br>
! <input type="text" name="root_folder" class="text" value="{{folderListing->root}}" size="30">
! <input type="button" name="changePath" value="GO" class="button" onclick="on_changePath()">
! </td>
! </form>
</tr>
</table>
--- 4,32 ----
<table border="0" cellspacing="0" cellpadding="1" bgcolor="white">
<tr>
! <form name="changeViewForm" onsubmit="return false;">
! <td width="17%" nowrap="true" valign="top">
! <input type="checkbox" name="hide" class="checkbox"><span class="font">Hide Folder Box</span><br>
! <input type="button" name="refresh" value="Refresh" class="button" onclick="on_refresh()">
! </td>
! <td width="17%" nowrap="true" valign="top">
! <input type="radio" name="viewMode" value="codeView" class="radio" {{codeView_checked}}><span class="font">Code View</span> <br>
! <input type="radio" name="viewMode" value="preview" class="radio" {{preview_checked}}><span class="font">Preview</span>
! </td>
! <td bgcolor="#006633"></td>
! <td width="10%" nowrap="true" valign="top" align="right">
! <span class="font">Change Session:</span> <br>
! <input type="button" name="changeSess" value="Change" class="button" onclick="on_changeSess()">
! </td>
! <td width="20%" nowrap="true" valign="top">
! <input type="text" name="var_name" class="text" size="15"> <br>
! <input type="text" name="var_value" class="text" size="15">
! </td>
! <td bgcolor="#006633"></td>
! <td width="40%" nowrap="true">
! <span class="font">Root Folder:</span> <br>
! <input type="text" name="root_folder" class="text" value="{{folderListing->root}}" size="30">
! <input type="button" name="changePath" value="GO" class="button" onclick="on_changePath()">
! </td>
! </form>
</tr>
</table>
Index: folder.html
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/folder.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** folder.html 16 Jul 2003 09:27:59 -0000 1.2
--- folder.html 22 Aug 2003 06:47:20 -0000 1.3
***************
*** 1,15 ****
<!--# Folder Box #-->
<table width="100%" border="0" cellspacing="0" cellpadding="1">
! <tr bgcolor="#006633">
! <td>
! <div class="title">Folder</div>
! </td>
! </tr>
! <tr><td bgcolor="#006633" align="left">
! <table width="100%" height="300" border="0" cellspacing="0" cellpadding="5" bgcolor="white">
! <tr><td valign="top">
! <Include SRC="{{FOLDERLISTING_PATH}}folderListing.html" />
! </td></tr>
! </table>
! </td></tr>
</table>
--- 1,15 ----
<!--# Folder Box #-->
<table width="100%" border="0" cellspacing="0" cellpadding="1">
! <tr bgcolor="#006633">
! <td>
! <div class="title">Folder</div>
! </td>
! </tr>
! <tr><td bgcolor="#006633" align="left">
! <table width="100%" height="300" border="0" cellspacing="0" cellpadding="5" bgcolor="white">
! <tr><td valign="top">
! <Include SRC="{{FOLDERLISTING_PATH}}folderListing.html" />
! </td></tr>
! </table>
! </td></tr>
</table>
Index: file.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/file.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** file.php 11 Aug 2003 16:17:51 -0000 1.3
--- file.php 22 Aug 2003 06:47:20 -0000 1.4
***************
*** 15,18 ****
--- 15,25 ----
{
$tpl_file = WebApp::getSVar("fileView->file");
+ $this->load_cfg_file($tpl_file);
+ $file = ereg_replace("^".APP_PATH, '', $tpl_file);
+ WebApp::addVar("file", $file);
+ }
+
+ function load_cfg_file($tpl_file)
+ {
$path = dirname($tpl_file);
$fname = basename($tpl_file);
Index: file.html
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/tools/fileBrowser/file.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** file.html 16 Jul 2003 09:27:59 -0000 1.2
--- file.html 22 Aug 2003 06:47:20 -0000 1.3
***************
*** 2,21 ****
<WebBox ID="file">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
! <tr bgcolor="#006633">
! <td>
! <div class="title">File: '{{fileView->file}}'</div>
! </td>
! </tr>
! <tr><td bgcolor="#006633">
! <table width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="white">
! <tr><td align="left">
! <table border="0" cellspacing="0" cellpadding="5">
! <tr><td>
! <Include SRC="{{FILEVIEW_PATH}}fileView.html" />
! </td></tr>
! </table
! </td></tr>
! </table>
</td></tr>
</table>
</WebBox>
--- 2,21 ----
<WebBox ID="file">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
! <tr bgcolor="#006633">
! <td>
! <div class="title">File: '{{file}}'</div>
! </td>
! </tr>
! <tr><td bgcolor="#006633">
! <table width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="white">
! <tr><td align="left">
! <table border="0" cellspacing="0" cellpadding="5">
! <tr><td>
! <Include SRC="{{FILEVIEW_PATH}}fileView.html" />
</td></tr>
+ </table
+ </td></tr>
+ </table>
+ </td></tr>
</table>
</WebBox>
|