From 4edd5115987770179259587ebed8162c7690a81e Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Sat, 25 Nov 2006 13:51:50 +0000 Subject: [PATCH] hooks.txt documentation for UploadForm:initial hook added in r17917 --- docs/hooks.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.20.1