From: Andrew Garrett Date: Sat, 25 Nov 2006 13:51:50 +0000 (+0000) Subject: hooks.txt documentation for UploadForm:initial hook added in r17917 X-Git-Tag: 1.31.0-rc.0~55086 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=4edd5115987770179259587ebed8162c7690a81e;p=lhc%2Fweb%2Fwiklou.git hooks.txt documentation for UploadForm:initial hook added in r17917 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 58de4edce9..ab699e66b2 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -437,6 +437,12 @@ $article: article object to be removed $user: user that was watching $article: article object removed +'UploadForm:initial': before the upload form is generated +$form: UploadForm object +You might set the member-variables $uploadFormTextTop and +$uploadFormTextAfterSummary to inject text (HTML) either before +or after the editform. + 'UploadVerification': additional chances to reject an uploaded file string $saveName: destination file name string $tempName: filesystem path to the temporary file for checks