Exemplo n.º 1
0
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr id="wins_opts">
										<td width="22%" valign="top" class="vncell"><?php 
    echo gettext("WINS Servers");
    ?>
</td>
										<td width="78%" class="vtable">
											<table border="0" cellpadding="2" cellspacing="0" summary="wins servers">
												<tr>
													<td>
														<?php 
    set_checked($pconfig['wins_server_enable'], $chk);
    ?>
														<input name="wins_server_enable" type="checkbox" id="wins_server_enable" value="yes" <?php 
    echo $chk;
    ?>
 onclick="wins_server_change()" />
													</td>
													<td>
														<span class="vexpl">
															<?php 
    echo gettext("Provide a WINS server list to clients");
    ?>
<br />
														</span>
													</td>
												</tr>
Exemplo n.º 2
0
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr> 
						<td width="22%" valign="top" class="vncell"><?php 
echo gettext("Login Banner");
?>
</td>
						<td width="78%" class="vtable">
							<table border="0" cellspacing="2" cellpadding="0" summary="enable login banner">
								<tr>
									<td>
										<?php 
set_checked($pconfig['login_banner_enable'], $chk);
?>
										<input name="login_banner_enable" type="checkbox" id="login_banner_enable" value="yes" <?php 
echo $chk;
?>
 onclick="login_banner_change()" />
									</td>
									<td>
										<?php 
echo gettext("Provide a login banner to clients");
?>
<br />
									</td>
								</tr>
							</table>
							<table border="0" cellspacing="2" cellpadding="0" summary="banner">
Exemplo n.º 3
0
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td width="22%" valign="top" class="vncell"><?php 
    echo gettext("Client Management Port");
    ?>
</td>
											<td width="78%" class="vtable">
												<table border="0" cellpadding="2" cellspacing="0" summary="client management port">
													<tr>
														<td>
															<?php 
    set_checked($pconfig['client_mgmt_port_enable'], $chk);
    ?>
															<input name="client_mgmt_port_enable" type="checkbox" id="client_mgmt_port_enable" value="yes" <?php 
    echo $chk;
    ?>
 onclick="client_mgmt_port_change()" />
														</td>
														<td>
															<span class="vexpl">
						                                        <?php 
    echo gettext("Use a different management port on clients. The default port is 166. Specify a different port if the client machines need to select from multiple OpenVPN links.");
    ?>
<br />
															</span>
														</td>
													</tr>
Exemplo n.º 4
0
								</tr>
							</table>
						</td>
					</tr>

					<tr id="chkboxRouteNoExec">
						<td width="22%" valign="top" class="vncell"><?php 
    echo gettext("Don't add/remove routes");
    ?>
</td>
						<td width="78%" class="vtable">
							<table border="0" cellpadding="2" cellspacing="0" summary="dont-exec-routes">
								<tr>
									<td>
										<?php 
    set_checked($pconfig['route_no_exec'], $chk);
    ?>
										<input name="route_no_exec" type="checkbox" value="yes" <?php 
    echo $chk;
    ?>
 />
									</td>
									<td>
										<span class="vexpl">
											<?php 
    echo gettext("Don't add or remove routes automatically. Instead pass routes to ");
    ?>
 <strong>--route-up</strong> <?php 
    echo gettext("script using environmental variables");
    ?>
.
Exemplo n.º 5
0
					<div class="btn-group ui-radio" data-toggle="buttons-radio">
						<label class="btn <?php 
echo set_checked('show', '1', $it['show'], 'active');
?>
">
							<input type="radio" name="show" id="show1" value="1" <?php 
echo set_checked('show', '1', $it['show']);
?>
> 显示
						</label>
						<label class="btn <?php 
echo set_checked('show', '0', $it['show'], 'active');
?>
">
						<input type="radio" name="show" id="show2" value="0" <?php 
echo set_checked('show', '0', $it['show']);
?>
 > 隐藏
						</label>
					</div>

				</div>
			</div>

			<div class="tabbable">
                <ul class="nav nav-tabs">
                    <li class="active"><a href="#tab1" data-toggle="tab">详细说明</a></li>
                    <li><a href="#tab2" data-toggle="tab">能力要求</a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="tab1">
Exemplo n.º 6
0
						</label>
						<label class="btn <?php 
echo set_checked('gender', '1', set_value('gender'), 'active');
?>
">
							<input type="radio" name="gender" id="gender2" value="1" <?php 
echo set_checked('gender', '1', '1');
?>
 > 男
						</label>
						<label class="btn <?php 
echo set_checked('gender', '2', set_value('gender'), 'active');
?>
">
							<input type="radio" name="gender" id="gender3" value="2" <?php 
echo set_checked('gender', '2', '2');
?>
 > 女
						</label>
					</div>

				</div>
			</div> -->

			<div class="control-group">
				<label class="control-label" for="age"> 年龄要求 </label>
				<div class="controls">
					<input type="text" name="age" value="18" id="age">
					 至 
					<input type="text" name="age_max" value="35" id="age_max">
				</div>
Exemplo n.º 7
0
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td width="22%" valign="top" class="vncell"><?php 
    echo gettext("Type-of-Service");
    ?>
</td>
						<td width="78%" class="vtable">
							<table border="0" cellpadding="2" cellspacing="0">
								<tr>
									<td>
										<?php 
    set_checked($pconfig['passtos'], $chk);
    ?>
										<input name="passtos" type="checkbox" value="yes" <?php 
    echo $chk;
    ?>
>
									</td>
									<td>
										<span class="vexpl">
											<?php 
    echo gettext("Set the TOS IP header value of tunnel packets to match the encapsulated packet value");
    ?>
.
										</span>
									</td>
								</tr>