zuzupus
06-25-2003, 06:45 AM
Hi,
i created 2 frames left frame is tree and second frame is when i click on any link on tree i will get following html pages on right frame
and on tree there is submit button name configure html when i click on any link on left frame and then clcik on this button it will open a form on right side frame and there
Relative path to directory or file:text field here i can mention the path of any html and if i save then given name will relate to the link selected
now problem is eveyrtime i have to go on some tool called edith3.0 ther is check box called HTML-Informationen and i have to check then clcik on save to get html on my form and i want to avoid this.as i dont no how it works
anybody know any simple script or link so that when i clcik on button configure html and save whatever the file i will get on link
[code]
<? if ($is_info) { ?>
<? if ($active && $session->admin) { ?>
<form action="infopath.phtml" method="get" target="content">
<input type="hidden" name="tree" value="<?=$active ?>" />
<input type="submit" class="midgray" value="CONFIGURE HTML" />
</form>
<? } ?>
<body>
<?
$tree += 0;
list($path) = once_query_array("SELECT html_file FROM t_directories WHERE sys_pk = $tree");
?>
<form action="infopath.php" method="post">
<input type="hidden" name="tree" value="<?=$tree ?>" />
<table border="0" cellpadding="0" cellspacing="5">
<tr><td>Relative path to directory or file:</td><td><input type="text" size="70" name="path" value="<?=htmlentities($path) ?>" /></td></tr>
<tr><td></td><td align="center"><input type="submit" name="submit" value="change" /></td></tr>
</table>
</form>
/body>
thanks
i created 2 frames left frame is tree and second frame is when i click on any link on tree i will get following html pages on right frame
and on tree there is submit button name configure html when i click on any link on left frame and then clcik on this button it will open a form on right side frame and there
Relative path to directory or file:text field here i can mention the path of any html and if i save then given name will relate to the link selected
now problem is eveyrtime i have to go on some tool called edith3.0 ther is check box called HTML-Informationen and i have to check then clcik on save to get html on my form and i want to avoid this.as i dont no how it works
anybody know any simple script or link so that when i clcik on button configure html and save whatever the file i will get on link
[code]
<? if ($is_info) { ?>
<? if ($active && $session->admin) { ?>
<form action="infopath.phtml" method="get" target="content">
<input type="hidden" name="tree" value="<?=$active ?>" />
<input type="submit" class="midgray" value="CONFIGURE HTML" />
</form>
<? } ?>
<body>
<?
$tree += 0;
list($path) = once_query_array("SELECT html_file FROM t_directories WHERE sys_pk = $tree");
?>
<form action="infopath.php" method="post">
<input type="hidden" name="tree" value="<?=$tree ?>" />
<table border="0" cellpadding="0" cellspacing="5">
<tr><td>Relative path to directory or file:</td><td><input type="text" size="70" name="path" value="<?=htmlentities($path) ?>" /></td></tr>
<tr><td></td><td align="center"><input type="submit" name="submit" value="change" /></td></tr>
</table>
</form>
/body>
thanks