mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Fixed syntax errors
This commit is contained in:
parent
f42face68d
commit
bf7058f8b6
51 changed files with 356 additions and 376 deletions
|
@ -40,7 +40,7 @@
|
|||
<td class="data-dotted">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 24px 0 0 0;">
|
||||
<td class="vst-text step-top">
|
||||
<?php print __('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -50,7 +50,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -60,7 +60,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('Expiration Date');?><span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('YYYY-MM-DD');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -70,7 +70,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<td class="vst-text input-label">
|
||||
SOA
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -80,7 +80,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<td class="vst-text input-label">
|
||||
TTL
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -92,10 +92,10 @@
|
|||
</table>
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;" width="116px">
|
||||
<td class="step-top" width="116px">
|
||||
<input type="submit" class="button" name="save" value="<?php print __('Save');?>">
|
||||
</td>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<td class="step-top">
|
||||
<input type="button" class="button" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -103,4 +103,4 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</form>
|
|
@ -52,7 +52,7 @@
|
|||
<td class="data-dotted">
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 28px 0 0 0;">
|
||||
<td class="vst-text step-top">
|
||||
<?php print __('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -62,7 +62,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -72,7 +72,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('Email');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -82,7 +82,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;" >
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('Language');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -106,7 +106,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('Default Name Servers');?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -133,10 +133,10 @@
|
|||
</table>
|
||||
<table class="data-col2">
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;" width="116px">
|
||||
<td class="step-top" width="116px">
|
||||
<input type="submit" class="button" name="save" value="<?php print __('Save');?>">
|
||||
</td>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<td class="step-top">
|
||||
<input type="button" class="button" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/cron/'"> <?php print __('Add Cron Job');?> </button>
|
||||
</div>
|
||||
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<tr class="data-row">
|
||||
<tr class="data-row <? if($status == 'suspended') echo 'suspended';?>">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="job[]" value="<?php echo $data[$key]['JOB'] ?>" ></td></tr>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/db/'"> <?php print __('Add Database');?> </button>
|
||||
</div>
|
||||
|
@ -48,7 +48,7 @@
|
|||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phppgadmin/";
|
||||
if (($data[$key]['TYPE'] == 'pgsql') && (!empty($sys['config']['DB_PGA_URL']))) $db_admin_link = $sys['config']['DB_PGA_URL'];
|
||||
?>
|
||||
<tr class="data-row">
|
||||
<tr class="data-row <? if($status == 'suspended') echo 'suspended';?>">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="database[]" value="<?php echo $key ?>" ></td></tr>
|
||||
|
@ -75,7 +75,7 @@
|
|||
</a>
|
||||
<a href="<?php echo $db_admin_link; ?>" target="_blank" class="data-controls">
|
||||
<span>
|
||||
<img src="/images/new_window.png" width="8px" height="8px">
|
||||
<img src="/images/db.png" width="8px" height="8px">
|
||||
<?php print __('open %s',$db_admin);?>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 4px 0 0 0"><?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/dns/'"> <?php print __('Add DNS Domain');?> </button>
|
||||
</div>
|
||||
|
@ -40,7 +40,7 @@
|
|||
$spnd_confirmation = 'SUSPEND_DOMAIN_CONFIRMATION' ;
|
||||
}
|
||||
?>
|
||||
<tr class="data-row">
|
||||
<tr class="data-row <? if($status == 'suspended') echo 'suspended';?>">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="domain[]" value="<?php echo $key ?>" ></td></tr>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/dns/?domain=<?php echo $_GET['domain'] ?>'"> <?php print __('Add DNS Record');?> </button>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/mail/'"> <?php print __('Add Mail Domain');?> </button>
|
||||
</div>
|
||||
|
@ -47,7 +47,7 @@
|
|||
$data[$key]['CATCHALL'] = '/dev/null';
|
||||
}
|
||||
?>
|
||||
<tr class="data-row">
|
||||
<tr class="data-row <? if($status == 'suspended') echo 'suspended';?>">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
|
||||
|
@ -74,7 +74,7 @@
|
|||
</a>
|
||||
<a href="<?php echo $webmail; ?>" target="_blank" class="data-controls">
|
||||
<span>
|
||||
<img src="/images/new_window.png" width="8px" height="8px">
|
||||
<img src="/images/mail.png" width="9px" height="8px">
|
||||
<?php print __('open webmail');?>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -102,7 +102,7 @@
|
|||
<tr>
|
||||
<td class="chart1" style="padding: 4px 0 0 0">
|
||||
<?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/mail/?domain=<?php echo $_GET['domain'] ?>'"> <?php print __('Add Mail Account');?> </button>
|
||||
</div>
|
||||
|
@ -81,7 +81,7 @@
|
|||
<tr>
|
||||
<td class="chart1" style="padding: 4px 0 0 0">
|
||||
<?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div style="submenu-button-block">
|
||||
<a style="float:left; font-size: 16pt; color: #555;"><b><?php print __('Search Results');?></b></a>
|
||||
</div>
|
||||
|
@ -35,7 +35,7 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<tr class="data-row">
|
||||
<tr class="data-row <? if($status == 'suspended') echo 'suspended';?>">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE']))?></a></td></tr>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-search-block">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" class="submenu-search-field">
|
||||
|
@ -43,7 +43,7 @@
|
|||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 14px 0 0 0px;">
|
||||
<?php print __('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:8px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -51,7 +51,7 @@
|
|||
<tr>
|
||||
<td class="chart1" colspan=2>
|
||||
<?php print __('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<div style="width:160px; height:8px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:8px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:8px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/web/'"> <?php print __('Add Web Domain');?> </button>
|
||||
</div>
|
||||
|
@ -40,7 +40,7 @@
|
|||
$spnd_confirmation = 'SUSPEND_USER_CONFIRMATION' ;
|
||||
}
|
||||
?>
|
||||
<tr class="data-row">
|
||||
<tr class="data-row <? if($status == 'suspended') echo 'suspended';?>">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="user[]" value="<?php echo $key ?>" ></td></tr>
|
||||
|
@ -67,14 +67,14 @@
|
|||
<tr><td colspan=2 class="counter-name" style="padding: 2px 0 14px 0;">[<?php echo $data[$key]['PACKAGE']?>] <?php print __('package');?></td></tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2><?php print __('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:7px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0px 0 0 0;"><?php print __('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:7px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:7px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 14px 10px">
|
||||
<td class="wrapper">
|
||||
<div class="submenu-button-block">
|
||||
<button class="submenu-button-main" onclick="location.href='/add/web/'"> <?php print __('Add Web Domain');?> </button>
|
||||
</div>
|
||||
|
@ -71,7 +71,7 @@
|
|||
$proxy_ext = str_replace(',', ', ', $data[$key]['PROXY_EXT']);
|
||||
}
|
||||
?>
|
||||
<tr class="data-row">
|
||||
<tr class="data-row <? if($status == 'suspended') echo 'suspended';?>">
|
||||
<td class="data-dotted">
|
||||
<table class="data-col1">
|
||||
<tr><td><input type="checkbox" class="ch-toggle" name="domain[]" value="<?php echo $key ?>" ></td></tr>
|
||||
|
@ -108,7 +108,7 @@
|
|||
?>
|
||||
<a href="http://<?php echo $key ?>/vstats/" target="_blank" class="data-controls">
|
||||
<span>
|
||||
<img src="/images/new_window.png" width="8px" height="8px">
|
||||
<img src="/images/stats.png" width="8px" height="8px">
|
||||
<?php print __('open webstats');?>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -132,14 +132,14 @@
|
|||
<tr>
|
||||
<td class="chart1" style="padding: 8px 0 0 0">
|
||||
<?php print __('Bandwidth');?>: <?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$panel[$user]['BANDWIDTH']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 4px 0 0 0"><?php print __('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#ddd;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue