Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php echo showSectionHead($spTextProxy['Edit Proxy']); ?>
2
<form id="editProxy">
3
<input type="hidden" name="sec" value="update"/>
4
<input type="hidden" name="oldProxy" value="<?php echo $post['oldProxy']?>"/>
5
<input type="hidden" name="id" value="<?php echo $post['id']?>"/>
6
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
7
	<tr class="listHead">
8
		<td class="left" width='30%'><?php echo $spTextProxy['Edit Proxy']?></td>
9
		<td class="right">&nbsp;</td>
10
	</tr>
11
	<tr class="white_row">
12
		<td class="td_left_col"><?php echo $spText['label']['Proxy']?>:</td>
13
		<td class="td_right_col"><input type="text" name="proxy" value="<?php echo $post['proxy']?>"><?php echo $errMsg['proxy']?></td>
14
	</tr>
15
	<tr class="blue_row">
16
		<td class="td_left_col"><?php echo $spText['label']['Port']?>:</td>
17
		<td class="td_right_col">
18
			<input type="text" name="port" value="<?php echo $post['port']?>" style="width:60px;"><?php echo $errMsg['port']?>
19
		</td>
20
	</tr>
21
	<tr class="white_row">
22
		<td class="td_left_col"><?php echo $spText['label']['Authentication']?>:</td>
23
		<td class="td_right_col"><input type="checkbox" id="proxy_auth" name="proxy_auth" <?php echo empty($post['proxy_auth']) ? "" : "checked"; ?> > Yes</td>
24
	</tr>
25
	<tr class="white_row">
26
		<td class="td_left_col"><?php echo $spTextProxy['Proxy Username']?>:</td>
27
		<td class="td_right_col"><input type="text" name="proxy_username" value="<?php echo $post['proxy_username']?>"><?php echo $errMsg['proxy_username']?></td>
28
	</tr>
29
	<tr class="blue_row">
30
		<td class="td_left_col"><?php echo $spTextProxy['Proxy Password']?>:</td>
31
		<td class="td_right_col">
32
			<input type="password" name="proxy_password" value="<?php echo $post['proxy_password']?>"><?php echo $errMsg['proxy_password']?>
33
		</td>
34
	</tr>
35
	<tr class="blue_row">
36
		<td class="td_left_col"><?php echo $spText['common']['Status']?>:</td>
37
		<td class="td_right_col">
38
			<select name="status" onchange="<?php echo $searchFun?>">
39
				<?php
40
				$inactCheck = $actCheck = "";
41
				if ($post['status']) {
42
				    $actCheck = "selected";
43
				} else {
44
				    $inactCheck = "selected";
45
				}
46
				?>
47
				<option value="1" <?php echo $actCheck?> ><?php echo $spText['common']["Active"]?></option>
48
				<option value="0" <?php echo $inactCheck?> ><?php echo $spText['common']["Inactive"]?></option>
49
			</select>
50
		</td>
51
	</tr>
52
	<tr class="blue_row">
53
		<td class="tab_left_bot_noborder"></td>
54
		<td class="tab_right_bot"></td>
55
	</tr>
56
	<tr class="listBot">
57
		<td class="left" colspan="1"></td>
58
		<td class="right"></td>
59
	</tr>
60
</table>
61
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec">
62
	<tr>
63
    	<td style="padding-top: 6px;text-align:right;">
64
    		<a onclick="scriptDoLoad('proxy.php', 'content')" href="javascript:void(0);" class="actionbut">
65
         		<?php echo $spText['button']['Cancel']?>
66
         	</a>&nbsp;
67
         	<?php $actFun = SP_DEMO ? "alertDemoMsg()" : "confirmSubmit('proxy.php', 'editProxy', 'content')"; ?>
68
         	<a onclick="<?php echo $actFun?>" href="javascript:void(0);" class="actionbut">
69
         		<?php echo $spText['button']['Proceed']?>
70
         	</a>
71
    	</td>
72
	</tr>
73
</table>
74
</form>