author | Dan |
Fri, 12 Jun 2009 13:49:22 -0400 | |
changeset 77 | e5f1f45ea7e2 |
permissions | -rw-r--r-- |
77
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
1 |
{** |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
2 |
* Template file for default Funky Monkey theme |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
3 |
* Web control interface script for Amarok |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
4 |
* Written by Dan Fuhry - 2008 |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
5 |
* |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
6 |
* This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
7 |
* as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
8 |
* |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
10 |
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
11 |
*} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
12 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
13 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
14 |
<html> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
15 |
<head> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
16 |
<title>Greyhound: Configuration</title> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
17 |
<!-- iPhone viewport hack from jailbreakme.com --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
18 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
19 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
20 |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
21 |
<link rel="stylesheet" type="text/css" href="/themes/{$theme|escape}/style.css" /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
22 |
<link rel="favorite icon" type="image/ico" href="/favicon.ico" /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
23 |
<script type="text/javascript" src="/scripts/config.js"></script> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
24 |
</head> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
25 |
<body> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
26 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
27 |
<div class="greylogo"></div> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
28 |
<a class="backlink" href="/index">« Return to playlist</a> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
29 |
<div class="clearer"></div> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
30 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
31 |
<form action="/config" method="post"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
32 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
33 |
<div class="tblholder" style="margin: 0 5px;"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
34 |
<table border="0" cellspacing="1" cellpadding="4" style="width: 100%;"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
35 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
36 |
<th>Greyhound configuration</th> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
37 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
38 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
39 |
{if $tried} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
40 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
41 |
<td class="row3"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
42 |
{if $success} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
43 |
<p class="success">{$success|nl2br}</p> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
44 |
{else} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
45 |
<p class="error">{$error|nl2br}</p> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
46 |
{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
47 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
48 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
49 |
{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
50 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
51 |
{if $message} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
52 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
53 |
<td class="row3"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
54 |
<p class="success">{$message|nl2br}</p> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
55 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
56 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
57 |
{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
58 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
59 |
<!-- field - current config pass --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
60 |
{if $needpass} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
61 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
62 |
<td class="row2"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
63 |
<b>Config password:</b> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
64 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
65 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
66 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
67 |
<td class="row1"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
68 |
<input type="password" name="configpass" /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
69 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
70 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
71 |
{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
72 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
73 |
<!-- field - public IP --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
74 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
75 |
<td class="row2"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
76 |
<label><input type="checkbox" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
77 |
name="public" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
78 |
id="chk_public" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
79 |
{if $public}checked="checked"{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
80 |
/> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
81 |
Public IP |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
82 |
{if !$reboot_support}<span style="color: #ff5321;">Restart required</span>{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
83 |
</label> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
84 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
85 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
86 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
87 |
<!-- field - IPv6 --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
88 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
89 |
<td class="row1"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
90 |
<label> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
91 |
<input type="checkbox" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
92 |
name="ipv6" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
93 |
id="chk_ipv6" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
94 |
{if $ipv6}checked="checked"{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
95 |
/> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
96 |
IPv6 support |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
97 |
{if !$reboot_support}<span style="color: #ff5321;">Restart required</span>{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
98 |
</label> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
99 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
100 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
101 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
102 |
<!-- field - allow multi-process --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
103 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
104 |
<td class="row2"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
105 |
<label> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
106 |
<input type="checkbox" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
107 |
name="allow_fork" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
108 |
id="chk_allow_fork" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
109 |
{if $allow_fork}checked="checked"{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
110 |
/> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
111 |
Multi-process server mode |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
112 |
{if !$reboot_support}<span style="color: #ff5321;">Restart required</span>{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
113 |
</label> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
114 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
115 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
116 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
117 |
<!-- field - allow control --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
118 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
119 |
<td class="row1"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
120 |
<label> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
121 |
<input type="checkbox" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
122 |
name="allowcontrol" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
123 |
id="chk_allowcontrol" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
124 |
{if $allowcontrol}checked="checked"{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
125 |
/> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
126 |
Allow control of Amarok |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
127 |
</label> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
128 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
129 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
130 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
131 |
<!-- section - diagnostics --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
132 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
133 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
134 |
<th> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
135 |
Diagnostics |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
136 |
</th> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
137 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
138 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
139 |
<!-- clear artwork --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
140 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
141 |
<td class="row2" style="text-align: center;"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
142 |
<a href="/config/rebuild/artwork" class="backlink inline">Clear artwork cache</a> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
143 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
144 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
145 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
146 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
147 |
<td class="row2" style="text-align: center;"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
148 |
<a href="/config/rebuild/playlist" class="backlink inline">Refresh playlist</a> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
149 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
150 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
151 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
152 |
<!-- section - auth config --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
153 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
154 |
<th> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
155 |
Authentication |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
156 |
</th> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
157 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
158 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
159 |
<!-- field - enable auth --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
160 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
161 |
<td class="row1"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
162 |
<input type="checkbox" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
163 |
name="use_auth" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
164 |
id="chk_use_auth" |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
165 |
{if $use_auth}checked="checked"{/if} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
166 |
/> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
167 |
Login required for access |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
168 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
169 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
170 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
171 |
<!-- field - user list --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
172 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
173 |
<td class="row2"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
174 |
<b>User list:</b><br /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
175 |
<small>Warning: passwords aren't encrypted</small><br /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
176 |
<br /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
177 |
{strip} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
178 |
{foreach key=username item=password from=$users} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
179 |
<script type="text/javascript">register_user('{$username|escape:'quotes'}');</script> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
180 |
{/foreach} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
181 |
{/strip} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
182 |
<ul id="userlist"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
183 |
<li><a href="#" onclick="add_user_form(); return false;">add user</a></li> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
184 |
</ul> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
185 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
186 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
187 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
188 |
<!-- field - config PW --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
189 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
190 |
<td class="row1"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
191 |
Change config password:<br /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
192 |
<input type="password" name="newconfigpass" value="____________________" /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
193 |
</td> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
194 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
195 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
196 |
<!-- submit --> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
197 |
<tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
198 |
<th> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
199 |
<input type="hidden" name="submit" value="true" /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
200 |
<input type="submit" value="Save changes" /> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
201 |
</th> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
202 |
</tr> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
203 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
204 |
</table> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
205 |
</div> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
206 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
207 |
</form> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
208 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
209 |
<a class="backlink" href="/index">« Return to playlist</a> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
210 |
|
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
211 |
<div class="poweredby"> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
212 |
{include file="footer.tpl"} |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
213 |
</div> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
214 |
</body> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
215 |
</html> |
e5f1f45ea7e2
Added ability to configure from iPhone; changed up iPhone interface a bit
Dan
parents:
diff
changeset
|
216 |