Revision [3583]

This is an old revision of FilesManagementHandler made by ChristianBarthelemy on 2004-12-22 00:20:00.

 

Change the Mod015fFilesAction into a handler


// form
$result = "<form action=\"".$this->href()."\" method=\"post\" enctype=\"multipart/form-data\">\n";
if (!$this->config["rewrite_mode"]) $result .= "<input type=\"hidden\" name=\"wakka\" value=\"".$this->MiniHref()."\">\n";
echo $result;

into:
// form
// form
$result = "<form action=\"".$this->href()."/files\" method=\"post\" enctype=\"multipart/form-data\">\n";
if (!$this->config["rewrite_mode"]) $result .= "<input type=\"hidden\" name=\"wakka\" value=\"".$this->MiniHref()."/files\">\n";
echo $result;

<?php
        echo $this->FormClose();

into:
<?php
echo "<a href=\"".$this->Href()."\">Back to the page</a>";
echo $this->FormClose();
%%
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki