diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-25 14:17:08 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-25 14:17:08 +0000 |
commit | 681a40af319373510f30793d3b892bd9700213fb (patch) | |
tree | 06bae9ed1f84f044d2edc45e0a75303e92239ba8 /central/trunk/theme | |
parent | 19ecd42bcc8f3da1cdfce989126f009cb7b990d0 (diff) | |
download | instadisc-681a40af319373510f30793d3b892bd9700213fb.tar.gz instadisc-681a40af319373510f30793d3b892bd9700213fb.tar.bz2 instadisc-681a40af319373510f30793d3b892bd9700213fb.zip |
Central: Added Activate Subscription form
Also added an option to the user panel that allows you to edit configuration values if you're an admin. Refs #25
Diffstat (limited to 'central/trunk/theme')
-rw-r--r-- | central/trunk/theme/activatedsub.tpl | 14 | ||||
-rw-r--r-- | central/trunk/theme/activatesub.tpl | 51 | ||||
-rw-r--r-- | central/trunk/theme/userpanel.tpl | 8 |
3 files changed, 73 insertions, 0 deletions
diff --git a/central/trunk/theme/activatedsub.tpl b/central/trunk/theme/activatedsub.tpl new file mode 100644 index 0000000..9bdcbf5 --- /dev/null +++ b/central/trunk/theme/activatedsub.tpl | |||
@@ -0,0 +1,14 @@ | |||
1 | <HTML> | ||
2 | <HEAD> | ||
3 | <TITLE><!--SITENAME--> InstaDisc Central Server</TITLE> | ||
4 | </HEAD> | ||
5 | |||
6 | <BODY> | ||
7 | <CENTER> | ||
8 | <H1>InstaDisc Subscription Activation</H1> | ||
9 | |||
10 | <P>You've sucessfully activated your subscription! <A HREF="userpanel.php">Back to User Panel</A> | ||
11 | </CENTER> | ||
12 | </BODY> | ||
13 | </HTML> | ||
14 | |||
diff --git a/central/trunk/theme/activatesub.tpl b/central/trunk/theme/activatesub.tpl new file mode 100644 index 0000000..f6dd6a0 --- /dev/null +++ b/central/trunk/theme/activatesub.tpl | |||
@@ -0,0 +1,51 @@ | |||
1 | <HTML> | ||
2 | <HEAD> | ||
3 | <TITLE><!--SITENAME--> InstaDisc Central Server</TITLE> | ||
4 | <LINK REL="stylesheet" TYPE="text/css" HREF="theme/uniform.css"> | ||
5 | </HEAD> | ||
6 | |||
7 | <BODY> | ||
8 | <CENTER> | ||
9 | <H1>InstaDisc Subscription Activation</H1> | ||
10 | |||
11 | <P>If you've already requested a subscription be sponsered and added its Activation Key to its Subscription File, you can activate the subscription here: | ||
12 | </CENTER> | ||
13 | |||
14 | <FORM CLASS="uniform" ACTION="./activatesub.php?submit=" METHOD="POST"> | ||
15 | |||
16 | <!--BEGIN ERROR--> | ||
17 | <DIV ID="errorMsg">Uh oh! Validation errors!<P> | ||
18 | <OL> | ||
19 | <!--END ERROR--> | ||
20 | |||
21 | <!--BEGIN ERRORS--> | ||
22 | <LI><A HREF="#error<!--ERRORS.NAME-->"><!--ERRORS.MSG--></A></LI> | ||
23 | <!--END ERRORS--> | ||
24 | |||
25 | <!--BEGIN ERROR--> | ||
26 | </OL> | ||
27 | </DIV> | ||
28 | <!--END ERROR--> | ||
29 | |||
30 | <FIELDSET CLASS="inlineLabels"> | ||
31 | <LEGEND>User Details</LEGEND> | ||
32 | |||
33 | <DIV CLASS="ctrlHolder<!--URL_ERR-->"> | ||
34 | <!--BEGIN URL_ERRS--> | ||
35 | <P ID="error<!--URL_ERRS.NAME-->" CLASS="errorField"><EM>*</EM> | ||
36 | <!--URL_ERRS.MSG--> | ||
37 | </P> | ||
38 | <!--END URL_ERRS--> | ||
39 | |||
40 | <LABEL FOR="url"><EM>*</EM> Subscription File URL: </LABEL> | ||
41 | <INPUT TYPE="text" ID="url" NAME="url" CLASS="textInput" VALUE="<!--URL-->"> | ||
42 | </DIV> | ||
43 | </FIELDSET> | ||
44 | |||
45 | <DIV CLASS="buttonHolder"> | ||
46 | <INPUT TYPE="submit" NAME="submit" VALUE="Verify"> | ||
47 | <INPUT TYPE="submit" NAME="submit" VALUE="Delete"> | ||
48 | </DIV> | ||
49 | </FORM> | ||
50 | </BODY> | ||
51 | </HTML> | ||
diff --git a/central/trunk/theme/userpanel.tpl b/central/trunk/theme/userpanel.tpl index 63be6f1..c10c0dc 100644 --- a/central/trunk/theme/userpanel.tpl +++ b/central/trunk/theme/userpanel.tpl | |||
@@ -21,6 +21,14 @@ | |||
21 | <LI><A HREF="activatesub.php">Activate a Subscription</A></LI> | 21 | <LI><A HREF="activatesub.php">Activate a Subscription</A></LI> |
22 | <LI><A HREF="mansub.php">Manage subscriptions</A></LI> | 22 | <LI><A HREF="mansub.php">Manage subscriptions</A></LI> |
23 | </UL> | 23 | </UL> |
24 | |||
25 | <!--BEGIN ADMIN--> | ||
26 | <P>Since you are the almighty admin of this Central Server, you can edit configurational values! | ||
27 | |||
28 | <UL> | ||
29 | <LI><A HREF="admin.php">Edit Configuration</A></LI> | ||
30 | </UL> | ||
31 | <!--END ADMIN--> | ||
24 | </CENTER> | 32 | </CENTER> |
25 | </BODY> | 33 | </BODY> |
26 | </HTML> | 34 | </HTML> |