mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Allowing normal user to change proxy template, web template
This commit is contained in:
parent
d0e2ecc305
commit
1c51af3b50
1 changed files with 24 additions and 0 deletions
|
@ -94,6 +94,30 @@
|
|||
<tr>
|
||||
<td class="step-left">
|
||||
<table style="display:<?php if (empty($v_proxy)) { echo 'none';} else {echo 'block';}?> ;" id="proxytable">
|
||||
<tr>
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('Proxy Template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select class="vst-list" name="v_proxy_template">
|
||||
<?php
|
||||
foreach ($proxy_templates as $key => $value) {
|
||||
echo "\t\t\t\t<option value=\"".htmlentities($value)."\"";
|
||||
$svalue = "'".$value."'";
|
||||
if ((!empty($v_proxy_template)) && ( $value == $v_proxy_template ) || ($svalue == $v_proxy_template)){
|
||||
echo ' selected' ;
|
||||
}
|
||||
if ((empty($v_proxy_template)) && ($value == 'default')){
|
||||
echo ' selected' ;
|
||||
}
|
||||
echo ">".htmlentities($value)."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('Proxy Extensions');?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue