-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuser.php
More file actions
119 lines (103 loc) · 2.79 KB
/
user.php
File metadata and controls
119 lines (103 loc) · 2.79 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<? session_start();?>
<?
$current_user = $_SESSION["user"];
?>
<? include("stdio.php"); ?>
<vxml version="2.1"
xmlns="http://www.w3.org/2001/vxml">
<menu id="number_menu" dtmf="true">
<prompt> <!-- We ask the user to choose an action, search, edit or add -->
<audio src="<?php get_audio(9, "file") ?>">
<?php get_audio(9, "message") ?>
</audio>
<audio src="<?php get_audio(19, "file") ?>">
<?php get_audio(19, "message") ?>
</audio>
</prompt>
<choice next="main_menu.php">back</choice>
<choice next="#edit">change</choice>
<choice next="#auto">auto-login</choice>
<choice next="#exit">exit</choice>
<noinput>
<audio src="<?php get_audio(14, "file") ?>">
<?php get_audio(14, "message") ?>
</audio>
<reprompt />
</noinput>
<nomatch>
<audio src="<?php get_audio(4, "file") ?>">
<?php get_audio(4, "message") ?>
</audio>
<reprompt />
</nomatch>
</menu>
<form id="back">
<block>
<goto next="main_menu.php" />
</block>
</form>
<form id="edit">
<field name="new_pass" type="digits?length=1">
<prompt>
<!-- This is a proof of concept feature, so we'll keep it simple -->
<audio src="<?php get_audio(20, "file") ?>">
<?php get_audio(20, "message") ?>
</audio>
</prompt>
<noinput>
<audio src="<?php get_audio(14, "file") ?>">
<?php get_audio(14, "message") ?>
</audio>
<reprompt />
</noinput>
<nomatch>
<audio src="<?php get_audio(4, "file") ?>">
<?php get_audio(4, "message") ?>
</audio>
<reprompt />
</nomatch>
<filled>
<audio src="<?php get_audio(8, "file") ?>">
<?php get_audio(8, "message") ?>
</audio>
<submit next="new_pass.php" method="post" namelist="new_pass" enctype="application/x-www-form-urlencoded"/>
</filled>
</field>
</form>
<form id="auto">
<var name="userID" expr="session.connection.remote.uri" />
<field name="enable_autoLogin" type="boolean">
<prompt>
<audio src="<?php get_audio(21, "file") ?>">
<?php get_audio(21, "message") ?>
</audio>
</prompt>
<noinput>
<audio src="<?php get_audio(14, "file") ?>"> <!-- we ask the user if autologin should be enabled -->
<?php get_audio(14, "message") ?>
</audio>
<reprompt />
</noinput>
<nomatch>
<audio src="<?php get_audio(4, "file") ?>">
<?php get_audio(4, "message") ?>
</audio>
<reprompt />
</nomatch>
<filled>
<audio src="<?php get_audio(8, "file") ?>">
<?php get_audio(8, "message") ?>
</audio>
<submit next="autologin.php" method="post" namelist="enable_autoLogin userID" />
</filled>
</field>
</form>
<form id="exit">
<block>
<audio src="<?php get_audio(22, "file") ?>">
<?php get_audio(22, "message") ?>
</audio>
<exit />
</block>
</form>
</vxml>