This repository has been archived by the owner on Nov 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.php
65 lines (58 loc) · 1.89 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php include "header.php" ?>
<div class="center-box">
<h1><?php echo SPR_NEW_FORM_HEADING ?></h1>
<form id="form-new-poll" action="poll.new.php" method="post">
<ul class="form">
<li>
<label><?php echo SPR_NEW_FORM_TITLE ?> <span class="required">*</span></label>
<input
type="text"
name="title"
class="field-long"
required="true"
id="titleInput"
maxlength="256"
placeholder="<?php echo SPR_NEW_FORM_TITLE_PLACEHOLDER ?>" />
</li>
<li>
<label><?php echo SPR_NEW_FORM_DETAILS ?> </label>
<textarea
name="details"
class="field-long field-textarea"
maxlength="512"
placeholder="<?php echo SPR_NEW_FORM_DETAILS_PLACEHOLDER ?>"></textarea>
</li>
<li>
<label><?php echo SPR_NEW_FORM_OPTIONS ?> <span class="required">*</span></label>
<input
type="text" name="dates[]" maxlength="32"
class="dateInput field-long datepicker-here"
required="true" placeholder="<?php echo SPR_NEW_FORM_OPTIONS_PLACEHOLDER ?>"
style="margin-bottom: 8px;" />
</li>
<li>
<div style="text-align: right">
<button type="button" id="btnMore"> </button>
<button type="button" id="btnLess" disabled> </button>
</div>
</li>
<?php if (SPR_ADMIN_LINKS == 1) { ?>
<li>
<label><?php echo SPR_NEW_FORM_ADMIN ?></label>
<input type='checkbox' name='adminLink' value='true' id='adminInput' checked />
<span style="font-size: 90%;"><?php echo SPR_NEW_FORM_ADMIN_CHECKBOX ?></span>
</li>
<?php } ?>
<li>
<br/><span class="pale"><?php echo preg_replace("/\bn\b/", SPR_DELETE_AFTER, SPR_LIFESPAN) ?></span>
</li>
<li class="content-right">
<input type="submit" value="<?php echo SPR_NEW_FORM_SUBMIT ?>" />
</li>
</ul>
</form>
</div>
<!-- INDEX PAGE JS -->
<?php include "index.js.php" ?>
<!-- PAGE FOOTER -->
<?php include "footer.php" ?>