summaryrefslogtreecommitdiff
path: root/www/invite.php
diff options
context:
space:
mode:
authoroweissbarth2014-03-14 20:31:13 +0100
committeroweissbarth2014-03-14 20:31:13 +0100
commit09d24a3f321476ecdbbf10156fe724343a7d4084 (patch)
tree73f572583180c326301fa94d0fc30df2a2712288 /www/invite.php
parent20d1d5e53ce7713f7d0beb5f8538b936836ad54c (diff)
downloadfiles.iamfabulous.de-09d24a3f321476ecdbbf10156fe724343a7d4084.tar.gz
Removed more warnings.
Added and reorganized inline docs. Every file should have a small header explaining what the file does and what the paramerters are.
Diffstat (limited to 'www/invite.php')
-rwxr-xr-xwww/invite.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/www/invite.php b/www/invite.php
index 8eb721d..02f1617 100755
--- a/www/invite.php
+++ b/www/invite.php
@@ -1,4 +1,20 @@
-<?php include("static/header.html")?>
+<?php
+ /*Displays the invite page and possible errors. Users can enter an email address and invite other people to join vfs.
+ Permission has already been checked.
+
+ $_GET["reason"] can have the following values:
+
+ invites: Specifies that the user has already reached his invite limit. No mail is send
+
+ database: Specifies that the request could not be fullfilled due to a database error. No mail is send
+
+ succuss: Specifies that the request was successfull. The new user has been invited.
+
+ ==================================================================================================================================================
+ */
+
+
+include("static/header.html")?>
<link rel="stylesheet" type="text/css" href="/static/invite.css">