Merge branch 'master' of https://github.com/serghey-rodin/vesta into js-stuff

This commit is contained in:
very-twi@github.com 2014-02-12 14:35:19 +02:00
commit b7ab201653
136 changed files with 1247 additions and 1601 deletions

View file

@ -74,6 +74,9 @@ increase_user_value $user '$U_CRON_JOBS'
# Restart crond # Restart crond
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "added cron job $job" log_history "added cron job $job"

View file

@ -46,6 +46,9 @@ sync_cron_jobs
# Restart crond # Restart crond
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "enabled cron reporting" log_history "enabled cron reporting"

View file

@ -162,6 +162,9 @@ increase_user_value "$user" '$U_DNS_RECORDS' "$records"
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -39,7 +39,7 @@ if [ "$rtype" != 'MX' ] && [ "$rtype" != 'SRV' ]; then
fi fi
# Add trailing dot at the end of NS/CNAME/MX/PTR/SRV record # Add trailing dot at the end of NS/CNAME/MX/PTR/SRV record
fqdn_type=$(echo $rtype | grep "[NS|CNAME|MX|PTR|SRV]") fqdn_type=$(echo $rtype |grep "NS\|CNAME\|MX\|PTR\|SRV")
if [ ! -z "$fqdn_type" ]; then if [ ! -z "$fqdn_type" ]; then
trailing_dot=$(echo $dvalue | grep "\.$") trailing_dot=$(echo $dvalue | grep "\.$")
if [ -z $trailing_dot ]; then if [ -z $trailing_dot ]; then
@ -107,6 +107,9 @@ increase_user_value "$user" '$U_DNS_RECORDS'
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -18,7 +18,7 @@ domain_idn=$(idn -t --quiet -a "$domain")
antispam=${3-yes} antispam=${3-yes}
antivirus=${4-yes} antivirus=${4-yes}
dkim=${5-yes} dkim=${5-yes}
dkim_size=${6-512} dkim_size=${6-1024}
# Includes # Includes
source $VESTA/func/main.sh source $VESTA/func/main.sh

View file

@ -152,7 +152,13 @@ fi
# Restart web server # Restart web server
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "added system ip address $ip" '' 'admin' log_history "added system ip address $ip" '' 'admin'

View file

@ -176,6 +176,9 @@ chmod 660 $USER_DATA/web.conf
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -103,7 +103,14 @@ increase_user_value "$user" '$U_WEB_ALIASES'
# Adding task to the vesta pipe # Adding task to the vesta pipe
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
log_history "added $dom_alias as alias for $domain" log_history "added $dom_alias as alias for $domain"

View file

@ -103,6 +103,9 @@ update_object_value 'web' 'DOMAIN' "$domain" '$PROXY_EXT' "$extentions"
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
log_history "enabled proxy support for $domain" log_history "enabled proxy support for $domain"

View file

@ -126,6 +126,14 @@ update_object_value 'web' 'DOMAIN' "$domain" '$SSL' "yes"
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -65,6 +65,9 @@ sync_cron_jobs
# Restart crond # Restart crond
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "changed cron job $job" log_history "changed cron job $job"

View file

@ -70,6 +70,9 @@ fi
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -64,6 +64,9 @@ fi
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -88,6 +88,9 @@ fi
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -63,6 +63,9 @@ fi
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -98,6 +98,9 @@ fi
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -70,6 +70,9 @@ fi
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -77,6 +77,9 @@ fi
# Restart ftp server # Restart ftp server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-ftp $BIN/v-restart-ftp
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -87,7 +87,14 @@ update_object_value 'web' 'DOMAIN' "$domain" '$IP' "$3"
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -94,6 +94,9 @@ update_object_value 'web' 'DOMAIN' "$domain" '$PROXY_EXT' "$extentions"
# Restart web # Restart web
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -71,7 +71,14 @@ fi
# Restart web server # Restart web server
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "changed ssl certificate for $domain" log_history "changed ssl certificate for $domain"

View file

@ -71,7 +71,14 @@ update_object_value 'web' 'DOMAIN' "$domain" '$SSL_HOME' "$SSL_HOME"
# Restart web server # Restart web server
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "changed ssl home for $domain to $ssl_home" log_history "changed ssl home for $domain to $ssl_home"

View file

@ -75,7 +75,7 @@ fi
if [ "$SSL" = 'yes' ]; then if [ "$SSL" = 'yes' ]; then
conf="$HOMEDIR/$user/conf/web/s$WEB_SYSTEM.conf" conf="$HOMEDIR/$user/conf/web/s$WEB_SYSTEM.conf"
tpl_file="$WEBTPL/$WEB_SYSTEM/$template.stpl" tpl_file="$WEBTPL/$WEB_SYSTEM/$template.stpl"
del_web_config
add_web_config add_web_config
# Running template trigger # Running template trigger
@ -96,6 +96,9 @@ update_object_value 'web' 'DOMAIN' "$domain" '$TPL' "$template"
# Restart web # Restart web
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -54,6 +54,9 @@ decrease_user_value "$user" '$U_CRON_JOBS'
# Restart crond # Restart crond
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "deleted cron job $job" log_history "deleted cron job $job"

View file

@ -46,6 +46,9 @@ sync_cron_jobs
# Restart crond # Restart crond
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "disabled cron reporting" log_history "disabled cron reporting"

View file

@ -75,6 +75,9 @@ decrease_user_value "$user" '$U_DNS_RECORDS' "$records"
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $restart $BIN/v-restart-dns $restart
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -43,6 +43,9 @@ done
# Restart named # Restart named
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_event "$OK" "$EVENT" log_event "$OK" "$EVENT"

View file

@ -46,6 +46,9 @@ done
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -69,6 +69,9 @@ decrease_user_value "$user" '$U_DNS_RECORDS'
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -39,7 +39,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
if [ ! -z "$check_web" ]; then if [ ! -z "$check_web" ]; then
$BIN/v-delete-web-domain $user $domain $BIN/v-delete-web-domain $user $domain
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit $? exit E_RESTART
fi fi
fi fi
fi fi
@ -50,7 +50,7 @@ if [ ! -z "$DNS_SYSTEM" ] && [ "$DNS_SYSTEM" != 'no' ]; then
if [ ! -z "$check_dns" ]; then if [ ! -z "$check_dns" ]; then
$BIN/v-delete-dns-domain $user $domain $BIN/v-delete-dns-domain $user $domain
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit $? exit E_RESTART
fi fi
fi fi
fi fi
@ -61,7 +61,7 @@ if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL_SYSTEM" != 'no' ]; then
if [ ! -z "$check_mail" ]; then if [ ! -z "$check_mail" ]; then
$BIN/v-delete-mail-domain $user $domain $BIN/v-delete-mail-domain $user $domain
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit $? exit E_RESTART
fi fi
fi fi
fi fi

View file

@ -121,7 +121,14 @@ fi
# Adding task to the vesta pipe # Adding task to the vesta pipe
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
# Logging # Logging
log_history "deleted system ip address $ip" log_history "deleted system ip address $ip"

View file

@ -154,7 +154,14 @@ fi
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -101,7 +101,14 @@ decrease_user_value "$user" '$U_WEB_ALIASES'
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -80,6 +80,9 @@ fi
# Restart proxy server # Restart proxy server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -92,7 +92,14 @@ decrease_user_value "$user" '$U_WEB_SSL'
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -45,7 +45,14 @@ done
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -72,6 +72,9 @@ chmod 660 $USER_DATA/dns.conf
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $restart $BIN/v-restart-dns $restart
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -47,6 +47,9 @@ echo "$data" >> $USER_DATA/dns/$domain.conf
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $restart $BIN/v-restart-dns $restart
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -50,6 +50,9 @@ fi
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -43,6 +43,9 @@ sync_cron_jobs
# Restart crond # Restart crond
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -78,6 +78,9 @@ update_user_value "$user" '$SUSPENDED_DNS' "$suspended_dns"
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns "$restart" $BIN/v-restart-dns "$restart"
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -78,6 +78,9 @@ update_user_value "$user" '$SUSPENDED_DNS' "$suspended_dns"
# Restart named # Restart named
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -69,7 +69,7 @@ if [ "$domain_counter" -lt 1 ]; then
# Deleting web configs # Deleting web configs
rm -f $HOMEDIR/$user/conf/web/* rm -f $HOMEDIR/$user/conf/web/*
sed -i "/.*\/$user\/.*$WEB_SYSTEM.conf/d" $web_conf sed -i "/.*\/$user\/.*$WEB_SYSTEM.conf/d" $web_conf
if [ -e "$proxy_conf" ]; then if [ ! -z "$PROXY_SYSTEM" ]; then
sed -i "/.*\/$user\/.*$PROXY_SYSTEM.conf/d" $proxy_conf sed -i "/.*\/$user\/.*$PROXY_SYSTEM.conf/d" $proxy_conf
fi fi
@ -103,34 +103,35 @@ else
fi fi
# Checking proxy # Checking proxy
if [ "$proxy_change" = 'yes' ]; then if [ ! -z "$PROXY_SYSTEM" ]; then
tmp_conf="$HOMEDIR/$user/conf/web/tmp_$PROXY_SYSTEM.conf" if [ "$proxy_change" = 'yes' ]; then
conf="$HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf" tmp_conf="$HOMEDIR/$user/conf/web/tmp_$PROXY_SYSTEM.conf"
mv $tmp_conf $conf conf="$HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf"
proxy_include=$(grep "$conf" $proxy_conf ) mv $tmp_conf $conf
if [ -z "$proxy_include" ]; then proxy_include=$(grep "$conf" $proxy_conf )
echo "include $conf;" >> $proxy_conf if [ -z "$proxy_include" ]; then
echo "include $conf;" >> $proxy_conf
fi
else
conf="$HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf"
sed -i "/.*\/$user\/.*$PROXY_SYSTEM.conf/d" $proxy_conf
rm -f $HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf
fi fi
else
conf="$HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf"
sed -i "/.*\/$user\/.*$PROXY_SYSTEM.conf/d" $proxy_conf
rm -f $HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf
fi
# Checking SSL proxy # Checking SSL proxy
if [ "$proxy_change" = 'yes' ] && [ "$ssl_change" = 'yes' ]; then if [ "$proxy_change" = 'yes' ] && [ "$ssl_change" = 'yes' ]; then
tmp_conf="$HOMEDIR/$user/conf/web/tmp_s$PROXY_SYSTEM.conf" tmp_conf="$HOMEDIR/$user/conf/web/tmp_s$PROXY_SYSTEM.conf"
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf" conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
mv $tmp_conf $conf mv $tmp_conf $conf
proxy_include=$(grep "$conf" $proxy_conf ) proxy_include=$(grep "$conf" $proxy_conf )
if [ -z "$proxy_include" ]; then if [ -z "$proxy_include" ]; then
echo "include $conf;" >> $proxy_conf echo "include $conf;" >> $proxy_conf
fi
else
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
sed -i "/.*\/$user\/.*$PROXY_SYSTEM.conf/d" $proxy_conf
rm -f $HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf
fi fi
else
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
sed -i "/.*\/$user\/.*$PROXY_SYSTEM.conf/d" $proxy_conf
rm -f $HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf
fi fi
fi fi
@ -148,7 +149,14 @@ update_user_value "$user" '$U_WEB_ALIASES' "$user_aliases"
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -56,6 +56,7 @@ if [ $? -ne 0 ]; then
/etc/init.d/$DNS_SYSTEM restart >/dev/null 2>&1 /etc/init.d/$DNS_SYSTEM restart >/dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
send_email_report send_email_report
echo "Error: $DNS_SYSTEM restart failed"
exit $E_RESTART exit $E_RESTART
fi fi
fi fi

View file

@ -48,6 +48,7 @@ fi
/etc/init.d/$FTP_SYSTEM restart >/dev/null 2>&1 /etc/init.d/$FTP_SYSTEM restart >/dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
send_email_report send_email_report
echo "Error: $FTP_SYSTEM restart failed"
exit $E_RESTART exit $E_RESTART
fi fi

View file

@ -49,6 +49,7 @@ fi
/etc/init.d/$MAIL_SYSTEM restart >/dev/null 2>&1 /etc/init.d/$MAIL_SYSTEM restart >/dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
send_email_report send_email_report
echo "Error: $MAIL_SYSTEM restart failed"
exit $E_RESTART exit $E_RESTART
fi fi

View file

@ -45,13 +45,11 @@ if [ -z "$PROXY_SYSTEM" ]; then
fi fi
# Restart system # Restart system
/etc/init.d/$PROXY_SYSTEM reload >/dev/null 2>&1 /etc/init.d/$PROXY_SYSTEM restart >/dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
/etc/init.d/$PROXY_SYSTEM restart >/dev/null 2>&1 send_email_report
if [ $? -ne 0 ]; then echo "Error: $PROXY_SYSTEM restart failed"
send_email_report exit $E_RESTART
exit $E_RESTART
fi
fi fi
# Update restart queue # Update restart queue

View file

@ -53,6 +53,7 @@ if [ "$WEB_SYSTEM" == 'apache2' ]; then
/etc/init.d/$WEB_SYSTEM restart >/dev/null 2>&1 /etc/init.d/$WEB_SYSTEM restart >/dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
send_email_report send_email_report
echo "Error: $WEB_SYSTEM restart failed"
exit $E_RESTART exit $E_RESTART
fi fi
fi fi
@ -62,6 +63,7 @@ else
/etc/init.d/$WEB_SYSTEM restart >/dev/null 2>&1 /etc/init.d/$WEB_SYSTEM restart >/dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
send_email_report send_email_report
echo "Error: $WEB_SYSTEM restart failed"
exit $E_RESTART exit $E_RESTART
fi fi
fi fi

View file

@ -372,7 +372,15 @@ if [ "$web" != 'no' ]; then
# Restart WEB # Restart WEB
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
echo echo
msg="$msg\n" msg="$msg\n"
fi fi
@ -482,6 +490,10 @@ if [ "$dns" != 'no' ]; then
# Restart DNS # Restart DNS
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
echo echo
msg="$msg\n" msg="$msg\n"
fi fi
@ -695,6 +707,10 @@ if [ "$cron" != 'no' ]; then
# Restart cron # Restart cron
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
echo echo
msg="$msg\n" msg="$msg\n"
fi fi

View file

@ -49,6 +49,9 @@ sync_cron_jobs
# Restart crond # Restart crond
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -44,6 +44,9 @@ done
# Restart crond # Restart crond
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -49,6 +49,9 @@ increase_user_value "$user" '$SUSPENDED_DNS'
# Restart named # Restart named
#if [ "$restart" != 'no' ]; then #if [ "$restart" != 'no' ]; then
# $BIN/v-restart-dns # $BIN/v-restart-dns
# if [ $? -ne 0 ]; then
# exit E_RESTART
# fi
#fi #fi
# Logging # Logging

View file

@ -45,6 +45,9 @@ done
# Restart dns server # Restart dns server
#if [ "$restart" != 'no' ]; then #if [ "$restart" != 'no' ]; then
# $BIN/v-restart-dns # $BIN/v-restart-dns
# if [ $? -ne 0 ]; then
# exit E_RESTART
# fi
#fi #fi
# Logging # Logging

View file

@ -63,6 +63,9 @@ update_domain_zone
# Restart named # Restart named
#if [ "$restart" != 'no' ]; then #if [ "$restart" != 'no' ]; then
# $BIN/v-restart-dns # $BIN/v-restart-dns
# if [ $? -ne 0 ]; then
# exit E_RESTART
# fi
#fi #fi
# Logging # Logging

View file

@ -71,8 +71,19 @@ fi
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Changing suspend value # Changing suspend value

View file

@ -91,7 +91,14 @@ increase_user_value "$user" '$SUSPENDED_WEB'
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -45,6 +45,14 @@ done
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -49,6 +49,9 @@ sync_cron_jobs
# Restart crond # Restart crond
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -44,6 +44,9 @@ done
# Restart crond # Restart crond
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -51,6 +51,9 @@ sed -i "s/SUSPENDED='yes'/SUSPENDED='no'/g" $USER_DATA/dns/$domain.conf
# Restart named # Restart named
#if [ "$restart" != 'no' ]; then #if [ "$restart" != 'no' ]; then
# $BIN/v-restart-dns # $BIN/v-restart-dns
# if [ $? -ne 0 ]; then
# exit E_RESTART
# fi
#fi #fi
# Logging # Logging

View file

@ -45,6 +45,9 @@ done
# Restart dns server # Restart dns server
#if [ "$restart" != 'no' ]; then #if [ "$restart" != 'no' ]; then
# $BIN/v-restart-dns # $BIN/v-restart-dns
# if [ $? -ne 0 ]; then
# exit E_RESTART
# fi
#fi #fi
# Logging # Logging

View file

@ -62,6 +62,9 @@ update_domain_zone
# Restart named # Restart named
#if [ "$restart" != 'no' ]; then #if [ "$restart" != 'no' ]; then
# $BIN/v-restart-dns # $BIN/v-restart-dns
# if [ $? -ne 0 ]; then
# exit E_RESTART
# fi
#fi #fi
# Logging # Logging

View file

@ -73,8 +73,19 @@ decrease_user_value 'admin' '$SUSPENDED_USERS'
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-cron $BIN/v-restart-cron
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -88,7 +88,14 @@ decrease_user_value "$user" '$SUSPENDED_WEB'
# Restart web erver # Restart web erver
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -46,6 +46,14 @@ done
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Logging # Logging

View file

@ -53,6 +53,9 @@ if [ ! -z "$vst_ip_list" ] && [ "$vst_ip_num" -eq '1' ]; then
/etc/$PROXY_SYSTEM/conf.d/$new.conf /etc/$PROXY_SYSTEM/conf.d/$new.conf
sed -i "s/$old/$new/g" /etc/$PROXY_SYSTEM/conf.d/$new.conf sed -i "s/$old/$new/g" /etc/$PROXY_SYSTEM/conf.d/$new.conf
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
if [ ! -z "$WEB_SYSTEM" ]; then if [ ! -z "$WEB_SYSTEM" ]; then
mv /etc/$WEB_SYSTEM/conf.d/$old.conf \ mv /etc/$WEB_SYSTEM/conf.d/$old.conf \
@ -65,6 +68,9 @@ if [ ! -z "$vst_ip_list" ] && [ "$vst_ip_num" -eq '1' ]; then
$BIN/v-rebuild-web-domains $user no $BIN/v-rebuild-web-domains $user no
done done
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
if [ ! -z "$DNS_SYSTEM" ]; then if [ ! -z "$DNS_SYSTEM" ]; then
@ -75,6 +81,9 @@ if [ ! -z "$vst_ip_list" ] && [ "$vst_ip_num" -eq '1' ]; then
$BIN/v-rebuild-dns-domains $user no $BIN/v-rebuild-dns-domains $user no
done done
$BIN/v-restart-dns $BIN/v-restart-dns
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# No further comparation is needed # No further comparation is needed

View file

@ -110,7 +110,7 @@ build_awstats() {
grep -v icon | sort -r ) grep -v icon | sort -r )
for link in $months; do for link in $months; do
year=$(echo $link |cut -f 1 -d \-) year=$(echo $link |cut -f 1 -d \-)
month=$(echo $link |cut -f 2 -d \-) month=$(echo $link |cut -f 2 -d \-| sed -e "s/^0//")
case "$month" in case "$month" in
1) month='January';; 1) month='January';;
2) month='February';; 2) month='February';;

View file

@ -64,7 +64,14 @@ done
# Restart web server # Restart web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then
$BIN/v-restart-web $BIN/v-restart-web
if [ $? -ne 0 ]; then
exit E_RESTART
fi
$BIN/v-restart-proxy $BIN/v-restart-proxy
if [ $? -ne 0 ]; then
exit E_RESTART
fi
fi fi
# Delete tmpdir # Delete tmpdir

View file

@ -477,7 +477,7 @@ is_dns_record_critical() {
is_dns_fqnd() { is_dns_fqnd() {
t=$1 t=$1
r=$2 r=$2
fqdn_type=$(echo $t | grep "[NS|CNAME|MX|PTR|SRV]") fqdn_type=$(echo $t | grep "NS\|CNAME\|MX\|PTR\|SRV")
tree_length=3 tree_length=3
if [ $t = 'CNAME' ]; then if [ $t = 'CNAME' ]; then
tree_length=2 tree_length=2

View file

@ -616,10 +616,17 @@ validate_format_name_s() {
# Username # Username
validate_format_username() { validate_format_username() {
if ! [[ "$1" =~ ^[a-zA-Z0-9][-|\.|_|a-zA-Z0-9]{0,28}[a-zA-Z0-9]$ ]]; then if [ "${#1}" -eq 1 ]; then
echo "Error: $2 $1 is not valid" if ! [[ "$1" =~ [a-z] ]]; then
log_event "$E_INVALID" "$EVENT" echo "Error: $2 $1 is not valid"
exit $E_INVALID exit 1
fi
else
if ! [[ "$1" =~ ^[a-zA-Z0-9][-|\.|_|a-zA-Z0-9]{0,28}[a-zA-Z0-9]$ ]]
then
echo "Error: $2 $1 is not valid"
exit 1
fi
fi fi
} }

View file

@ -40,5 +40,5 @@ server {
location ~ /\.hg/ {return 404;} location ~ /\.hg/ {return 404;}
location ~ /\.bzr/ {return 404;} location ~ /\.bzr/ {return 404;}
include %home%/%user%/conf/nginx.%domain%.conf*; include %home%/%user%/conf/web/nginx.%domain%.conf*;
} }

View file

@ -37,5 +37,5 @@ server {
location ~ /\.hg/ {return 404;} location ~ /\.hg/ {return 404;}
location ~ /\.bzr/ {return 404;} location ~ /\.bzr/ {return 404;}
include %home%/%user%/conf/nginx.%domain%.conf*; include %home%/%user%/conf/web/nginx.%domain%.conf*;
} }

View file

@ -4,7 +4,7 @@ server {
ssl on; ssl on;
ssl_certificate %ssl_pem%; ssl_certificate %ssl_pem%;
ssl_certificate_key %ssl_key%; ssl_certificate_key %ssl_key%;
error_log /var/log/httpd/domains/%domain%.error.log error; error_log /var/log/%web_system%/domains/%domain%.error.log error;
location / { location / {
proxy_pass http://%ip%:%web_port%; proxy_pass http://%ip%:%web_port%;
@ -19,8 +19,8 @@ server {
location ~* ^.+\.(%proxy_extentions%)$ { location ~* ^.+\.(%proxy_extentions%)$ {
proxy_cache off; proxy_cache off;
root %docroot%; root %docroot%;
access_log /var/log/httpd/domains/%domain%.log combined; access_log /var/log/%web_system%/domains/%domain%.log combined;
access_log /var/log/httpd/domains/%domain%.bytes bytes; access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
expires max; expires max;
try_files $uri @fallback; try_files $uri @fallback;
} }
@ -40,5 +40,5 @@ server {
location ~ /\.hg/ {return 404;} location ~ /\.hg/ {return 404;}
location ~ /\.bzr/ {return 404;} location ~ /\.bzr/ {return 404;}
include %home%/%user%/conf/nginx.%domain%.conf*; include %home%/%user%/conf/web/nginx.%domain%.conf*;
} }

View file

@ -1,7 +1,7 @@
server { server {
listen %ip%:%proxy_port%; listen %ip%:%proxy_port%;
server_name %domain_idn% %alias_idn%; server_name %domain_idn% %alias_idn%;
error_log /var/log/httpd/domains/%domain%.error.log error; error_log /var/log/%web_system%/domains/%domain%.error.log error;
location / { location / {
proxy_pass http://%ip%:%web_port%; proxy_pass http://%ip%:%web_port%;
@ -16,8 +16,8 @@ server {
location ~* ^.+\.(%proxy_extentions%)$ { location ~* ^.+\.(%proxy_extentions%)$ {
proxy_cache off; proxy_cache off;
root %docroot%; root %docroot%;
access_log /var/log/httpd/domains/%domain%.log combined; access_log /var/log/%web_system%/domains/%domain%.log combined;
access_log /var/log/httpd/domains/%domain%.bytes bytes; access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
expires max; expires max;
try_files $uri @fallback; try_files $uri @fallback;
} }
@ -37,5 +37,5 @@ server {
location ~ /\.hg/ {return 404;} location ~ /\.hg/ {return 404;}
location ~ /\.bzr/ {return 404;} location ~ /\.bzr/ {return 404;}
include %home%/%user%/conf/nginx.%domain%.conf*; include %home%/%user%/conf/web/nginx.%domain%.conf*;
} }

View file

@ -40,5 +40,5 @@ server {
location ~ /\.hg/ {return 404;} location ~ /\.hg/ {return 404;}
location ~ /\.bzr/ {return 404;} location ~ /\.bzr/ {return 404;}
include %home%/%user%/conf/nginx.%domain%.conf*; include %home%/%user%/conf/web/nginx.%domain%.conf*;
} }

View file

@ -37,5 +37,5 @@ server {
location ~ /\.hg/ {return 404;} location ~ /\.hg/ {return 404;}
location ~ /\.bzr/ {return 404;} location ~ /\.bzr/ {return 404;}
include %home%/%user%/conf/nginx.%domain%.conf*; include %home%/%user%/web/conf/nginx.%domain%.conf*;
} }

View file

@ -40,14 +40,14 @@ if (!empty($_POST['ok'])) {
$_SESSION['error_msg'] = __('Field "%s" can not be blank.',$error_msg); $_SESSION['error_msg'] = __('Field "%s" can not be blank.',$error_msg);
} else { } else {
// Add DNS // Add DNS
exec (VESTA_CMD."v-add-dns-domain ".$user." ".$v_domain." ".$v_ip." ".$v_ns1." ".$v_ns2." ".$v_ns3." ".$v_ns4, $output, $return_var); exec (VESTA_CMD."v-add-dns-domain ".$user." ".$v_domain." ".$v_ip." ".$v_ns1." ".$v_ns2." ".$v_ns3." ".$v_ns4." no", $output, $return_var);
check_return_code($return_var,$output); check_return_code($return_var,$output);
unset($output); unset($output);
// Change Expiriation date // Change Expiriation date
if ((!empty($_POST['v_exp'])) && ($_POST['v_exp'] != date('Y-m-d', strtotime('+1 year')))) { if ((!empty($_POST['v_exp'])) && ($_POST['v_exp'] != date('Y-m-d', strtotime('+1 year')))) {
$v_exp = escapeshellarg($_POST['v_exp']); $v_exp = escapeshellarg($_POST['v_exp']);
exec (VESTA_CMD."v-change-dns-domain-exp ".$user." ".$v_domain." ".$v_exp, $output, $return_var); exec (VESTA_CMD."v-change-dns-domain-exp ".$user." ".$v_domain." ".$v_exp." no", $output, $return_var);
check_return_code($return_var,$output); check_return_code($return_var,$output);
unset($output); unset($output);
} }
@ -55,7 +55,7 @@ if (!empty($_POST['ok'])) {
// Change TTL // Change TTL
if ((!empty($_POST['v_ttl'])) && ($_POST['v_ttl'] != '14400') && (empty($_SESSION['error_msg']))) { if ((!empty($_POST['v_ttl'])) && ($_POST['v_ttl'] != '14400') && (empty($_SESSION['error_msg']))) {
$v_ttl = escapeshellarg($_POST['v_ttl']); $v_ttl = escapeshellarg($_POST['v_ttl']);
exec (VESTA_CMD."v-change-dns-domain-ttl ".$user." ".$v_domain." ".$v_ttl, $output, $return_var); exec (VESTA_CMD."v-change-dns-domain-ttl ".$user." ".$v_domain." ".$v_ttl." no", $output, $return_var);
check_return_code($return_var,$output); check_return_code($return_var,$output);
unset($output); unset($output);
} }
@ -64,6 +64,13 @@ if (!empty($_POST['ok'])) {
$_SESSION['ok_msg'] = __('DNS_DOMAIN_CREATED_OK',$_POST[v_domain],$_POST[v_domain]); $_SESSION['ok_msg'] = __('DNS_DOMAIN_CREATED_OK',$_POST[v_domain],$_POST[v_domain]);
unset($v_domain); unset($v_domain);
} }
if (empty($_SESSION['error_msg'])) {
exec (VESTA_CMD."v-restart-dns", $output, $return_var);
check_return_code($return_var,$output);
unset($output);
}
} }
} }
@ -120,11 +127,7 @@ if ((empty($_GET['domain'])) && (empty($_POST['domain']))) {
} }
if (empty($v_ttl)) $v_ttl = 14400; if (empty($v_ttl)) $v_ttl = 14400;
if (empty($v_exp)) $v_exp = date('Y-m-d', strtotime('+1 year')); if (empty($v_exp)) $v_exp = date('Y-m-d', strtotime('+1 year'));
if ($_SESSION['user'] == 'admin') { include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/add_dns.html');
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/add_dns.html');
} else {
include($_SERVER['DOCUMENT_ROOT'].'/templates/user/add_dns.html');
}
unset($_SESSION['error_msg']); unset($_SESSION['error_msg']);
unset($_SESSION['ok_msg']); unset($_SESSION['ok_msg']);
} else { } else {

View file

@ -272,12 +272,7 @@ $v_ftp_email = $panel[$user]['CONTACT'];
$stats = json_decode(implode('', $output), true); $stats = json_decode(implode('', $output), true);
unset($output); unset($output);
// Are you admin?
if ($_SESSION['user'] == 'admin') {
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/add_web.html'); include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/add_web.html');
} else {
include($_SERVER['DOCUMENT_ROOT'].'/templates/user/add_web.html');
}
unset($_SESSION['error_msg']); unset($_SESSION['error_msg']);
unset($_SESSION['ok_msg']); unset($_SESSION['ok_msg']);
//} //}

View file

@ -10,6 +10,16 @@ form {
margin: 0; margin: 0;
} }
table {
border-collapse: collapse;
}
td {
padding: 0;
}
.hidden { .hidden {
display: none; display: none;
} }
@ -263,7 +273,7 @@ form {
.submenu-select-block { .submenu-select-block {
float:left; float:left;
padding-left: 22px; padding-left: 30px;
} }
.submenu-select-link { .submenu-select-link {
@ -274,7 +284,7 @@ form {
letter-spacing: 0.1em; letter-spacing: 0.1em;
margin: 7px 7px 0 0; margin: 7px 7px 0 0;
text-decoration: none; text-decoration: none;
padding: 0 4px 0 14px padding: 0 4px
} }
.submenu-select-link:hover { .submenu-select-link:hover {
@ -441,10 +451,9 @@ form {
.data-dotted { .data-dotted {
text-align: left; text-align: left;
vertical-align:top; vertical-align:top;
border-top:1px dotted #d3d3d3; border-top: 1px dotted #d3d3d3;
padding: 0 0 26px 0; padding: 0 0 26px 0;
margin: 0; margin: 0;
width: 166px;
} }
.data-dotted td { .data-dotted td {
@ -453,33 +462,33 @@ form {
.data-col1 { .data-col1 {
text-align: left; text-align: left;
padding:0; padding: 0;
width: 173px;
} }
.data-col1 tr td { .data-col1 tr td {
padding:0 0 6px 24px; padding:2px 0 6px 26px;
} }
.data-col1 tr:first-child td { .data-col1 tr:first-child td {
padding:22px 0 0 24px; padding:24px 0 0 26px;
} }
.data-col2 { .data-col2 {
text-align: left; text-align: left;
padding: 0;
overflow: hidden; overflow: hidden;
width: 827px;
} }
.data-col5 { .data-col5 {
table-layout: fixed;
text-align: left; text-align: left;
padding: 0;
overflow: hidden; overflow: hidden;
width: 817px;
table-layout: fixed;
white-space: nowrap; white-space: nowrap;
} }
.data-date { .data-date {
padding: 0 0 0 18;
letter-spacing: 0.3em; letter-spacing: 0.3em;
font-size: 8pt; font-size: 8pt;
color: #6A6A6A color: #6A6A6A
@ -489,14 +498,12 @@ form {
font-size: 8pt; font-size: 8pt;
letter-spacing: 0.1em; letter-spacing: 0.1em;
color: #81a64f; color: #81a64f;
padding: 0 0 13 18;
} }
.data-suspended { .data-suspended {
font-size: 8pt; font-size: 8pt;
letter-spacing: 0.1em; letter-spacing: 0.1em;
color: #de5543; color: #de5543;
padding: 0 0 13 18;
} }
.data-controls { .data-controls {
@ -504,7 +511,7 @@ form {
height: 16px; height: 16px;
border-left: 1px solid #d3d3d3; border-left: 1px solid #d3d3d3;
font-size: 8pt; font-size: 8pt;
padding: 2px 12px 0 6px; padding: 2px 12px 1px 6px;
letter-spacing: 0.1em; letter-spacing: 0.1em;
color: #2361a1; color: #2361a1;
text-decoration: none; text-decoration: none;
@ -546,21 +553,25 @@ form {
.username { .username {
color: #222; color: #222;
font-size: 14pt; font-size: 14pt;
padding: 1px 0 2px 0;
} }
.domain { .domain {
color: #222; color: #222;
font-size: 14pt; font-size: 14pt;
padding: 1px 0 2px 0;
} }
.cron { .cron {
color: #222; color: #222;
font-size: 18px; font-size: 18px;
padding: 1px 0 2px 0;
} }
.log { .log {
color: #222; color: #222;
font-size: 12pt; font-size: 12pt;
padding: 1px 0 2px 0;
} }
.aliases { .aliases {
@ -587,14 +598,14 @@ form {
line-height: 1.3em; line-height: 1.3em;
font-size: 10pt; font-size: 10pt;
color: #222; color: #222;
padding: 0 4px 0 0; padding: 2px 4px 1px 0;
} }
.cron-counter-name { .cron-counter-name {
vertical-align:top; vertical-align:top;
line-height: 0.8em; line-height: 0.8em;
font-size: 8pt; font-size: 8pt;
padding: 4 0 0 0; padding: 4px 0 0 0;
color: #222; color: #222;
} }
@ -603,7 +614,7 @@ form {
line-height: 1.3em; line-height: 1.3em;
font-size: 10pt; font-size: 10pt;
color: #222; color: #222;
padding: 0 0 0 2px; padding: 2px 0 1px 2px;
} }
.log-counter-value { .log-counter-value {
@ -685,7 +696,7 @@ form {
padding: 5px; padding: 5px;
width: 360px; width: 360px;
height: 28px; height: 28px;
margin: 0 6px 0 0; margin: 2px 6px 0 0;
} }
.vst-input:hover { .vst-input:hover {
@ -706,6 +717,7 @@ form {
color: #555; color: #555;
height: 30px; height: 30px;
min-width: 138px; min-width: 138px;
margin: 2px 6px 0 0;
} }
@-moz-document url-prefix() { @-moz-document url-prefix() {
@ -718,6 +730,7 @@ form {
padding: 5px; padding: 5px;
font-size: 12pt; font-size: 12pt;
border: 1px solid #f7f6ed; border: 1px solid #f7f6ed;
margin: 2px 6px 0 0;
} }
.vst-checkbox:hover { .vst-checkbox:hover {
@ -857,7 +870,6 @@ form {
vertical-align:top; vertical-align:top;
width: 500px; width: 500px;
height: 50px; height: 50px;
padding: 0 8px 0 0;
margin: 0; margin: 0;
} }
@ -865,7 +877,7 @@ form {
font-size: 8pt; font-size: 8pt;
color: #222; color: #222;
text-align: right; text-align: right;
padding: 20px 0 0 0; padding: 0 8px 0 0;
} }
.error { .error {

View file

@ -97,6 +97,7 @@ if (!empty($_POST['save'])) {
exec (VESTA_CMD."v-change-web-domain-ip ".$v_username." ".$v_domain." ".$v_ip." 'no'", $output, $return_var); exec (VESTA_CMD."v-change-web-domain-ip ".$v_username." ".$v_domain." ".$v_ip." 'no'", $output, $return_var);
check_return_code($return_var,$output); check_return_code($return_var,$output);
$restart_web = 'yes'; $restart_web = 'yes';
$restart_proxy = 'yes';
unset($output); unset($output);
exec (VESTA_CMD."v-list-dns-domain ".$v_username." ".$v_domain." json", $output, $return_var); exec (VESTA_CMD."v-list-dns-domain ".$v_username." ".$v_domain." json", $output, $return_var);
if ((empty($_SESSION['error_msg'])) && ($return_var == 0 )) { if ((empty($_SESSION['error_msg'])) && ($return_var == 0 )) {
@ -138,6 +139,7 @@ if (!empty($_POST['save'])) {
foreach ($result as $alias) { foreach ($result as $alias) {
if ((empty($_SESSION['error_msg'])) && (!empty($alias))) { if ((empty($_SESSION['error_msg'])) && (!empty($alias))) {
$restart_web = 'yes'; $restart_web = 'yes';
$restart_proxy = 'yes';
$v_template = escapeshellarg($_POST['v_template']); $v_template = escapeshellarg($_POST['v_template']);
exec (VESTA_CMD."v-delete-web-domain-alias ".$v_username." ".$v_domain." '".$alias."' 'no'", $output, $return_var); exec (VESTA_CMD."v-delete-web-domain-alias ".$v_username." ".$v_domain." '".$alias."' 'no'", $output, $return_var);
check_return_code($return_var,$output); check_return_code($return_var,$output);
@ -160,6 +162,7 @@ if (!empty($_POST['save'])) {
foreach ($result as $alias) { foreach ($result as $alias) {
if ((empty($_SESSION['error_msg'])) && (!empty($alias))) { if ((empty($_SESSION['error_msg'])) && (!empty($alias))) {
$restart_web = 'yes'; $restart_web = 'yes';
$restart_proxy = 'yes';
$v_template = escapeshellarg($_POST['v_template']); $v_template = escapeshellarg($_POST['v_template']);
exec (VESTA_CMD."v-add-web-domain-alias ".$v_username." ".$v_domain." '".$alias."' 'no'", $output, $return_var); exec (VESTA_CMD."v-add-web-domain-alias ".$v_username." ".$v_domain." '".$alias."' 'no'", $output, $return_var);
check_return_code($return_var,$output); check_return_code($return_var,$output);
@ -225,6 +228,7 @@ if (!empty($_POST['save'])) {
unset($output); unset($output);
$v_ssl = 'no'; $v_ssl = 'no';
$restart_web = 'yes'; $restart_web = 'yes';
$restart_proxy = 'yes';
} }
if (($v_ssl == 'yes') && (!empty($_POST['v_ssl'])) && (empty($_SESSION['error_msg']))) { if (($v_ssl == 'yes') && (!empty($_POST['v_ssl'])) && (empty($_SESSION['error_msg']))) {
if (( $v_ssl_crt != str_replace("\r\n", "\n", $_POST['v_ssl_crt'])) || ( $v_ssl_key != str_replace("\r\n", "\n", $_POST['v_ssl_key'])) || ( $v_ssl_ca != str_replace("\r\n", "\n", $_POST['v_ssl_ca']))) { if (( $v_ssl_crt != str_replace("\r\n", "\n", $_POST['v_ssl_crt'])) || ( $v_ssl_key != str_replace("\r\n", "\n", $_POST['v_ssl_key'])) || ( $v_ssl_ca != str_replace("\r\n", "\n", $_POST['v_ssl_ca']))) {
@ -259,6 +263,7 @@ if (!empty($_POST['save'])) {
check_return_code($return_var,$output); check_return_code($return_var,$output);
unset($output); unset($output);
$restart_web = 'yes'; $restart_web = 'yes';
$restart_proxy = 'yes';
$v_ssl_crt = $_POST['v_ssl_crt']; $v_ssl_crt = $_POST['v_ssl_crt'];
$v_ssl_key = $_POST['v_ssl_key']; $v_ssl_key = $_POST['v_ssl_key'];
$v_ssl_ca = $_POST['v_ssl_ca']; $v_ssl_ca = $_POST['v_ssl_ca'];
@ -316,6 +321,7 @@ if (!empty($_POST['save'])) {
unset($output); unset($output);
$v_ssl = 'yes'; $v_ssl = 'yes';
$restart_web = 'yes'; $restart_web = 'yes';
$restart_proxy = 'yes';
$v_ssl_crt = $_POST['v_ssl_crt']; $v_ssl_crt = $_POST['v_ssl_crt'];
$v_ssl_key = $_POST['v_ssl_key']; $v_ssl_key = $_POST['v_ssl_key'];
$v_ssl_ca = $_POST['v_ssl_ca']; $v_ssl_ca = $_POST['v_ssl_ca'];
@ -474,6 +480,13 @@ if (!empty($_POST['save'])) {
unset($output); unset($output);
} }
// Restart proxy
if (!empty($restart_proxy) && (empty($_SESSION['error_msg']))) {
exec (VESTA_CMD."v-restart-proxy", $output, $return_var);
check_return_code($return_var,$output);
unset($output);
}
// Restart dns // Restart dns
if (!empty($restart_dns) && (empty($_SESSION['error_msg']))) { if (!empty($restart_dns) && (empty($_SESSION['error_msg']))) {
exec (VESTA_CMD."v-restart-dns", $output, $return_var); exec (VESTA_CMD."v-restart-dns", $output, $return_var);

View file

@ -128,10 +128,10 @@ $LANG['id'] = array(
'minute' => 'menit', 'minute' => 'menit',
'hour' => 'jam', 'hour' => 'jam',
'day' => 'hari', 'day' => 'hari',
'days' => 'beberapa hari', 'days' => ' hari',
'hours' => 'beberapa jam', 'hours' => ' jam',
'minutes' => 'beberapa jam', 'minutes' => ' jam',
'month' => 'beberapa month', 'month' => ' month',
'package' => 'paket', 'package' => 'paket',
'Bandwidth' => 'Bandwidth', 'Bandwidth' => 'Bandwidth',
'Disk' => 'Cakram', 'Disk' => 'Cakram',
@ -205,7 +205,7 @@ $LANG['id'] = array(
'Bandwidth Usage eth0' => 'Penggunaan Bandwidth eth0', 'Bandwidth Usage eth0' => 'Penggunaan Bandwidth eth0',
'FTP Usage' => 'Penggunaan FTP', 'FTP Usage' => 'Penggunaan FTP',
'SSH Usage' => 'Penggunaan SSH', 'SSH Usage' => 'Penggunaan SSH',
'reverse proxy' => 'membalikkan proxy', 'reverse proxy' => 'reverse proxy',
'web server' => 'server web', 'web server' => 'server web',
'dns server' => 'server dns', 'dns server' => 'server dns',
'mail server' => 'server mail', 'mail server' => 'server mail',
@ -363,7 +363,7 @@ $LANG['id'] = array(
'IP_CREATED_OK' => 'Alamat IP <a href="/edit/ip/?ip=%s"><b>%s</b></a> udah berhasil dibikin.', 'IP_CREATED_OK' => 'Alamat IP <a href="/edit/ip/?ip=%s"><b>%s</b></a> udah berhasil dibikin.',
'PACKAGE_CREATED_OK' => 'Paket <a href="/edit/package/?package=%s"><b>%s</b></a> udah berhasil dibikin.', 'PACKAGE_CREATED_OK' => 'Paket <a href="/edit/package/?package=%s"><b>%s</b></a> udah berhasil dibikin.',
'SSL_GENERATED_OK' => 'Sertifikat udah berhasil dihasilkan.', 'SSL_GENERATED_OK' => 'Sertifikat udah berhasil dihasilkan.',
'Changes has been saved.' => 'PErubahan udah disimpan.', 'Changes has been saved.' => 'Perubahan udah disimpan.',
'Confirmation' => 'Konfirmasi', 'Confirmation' => 'Konfirmasi',
'DELETE_USER_CONFIRMATION' => 'Yakin pengguna %s mau dihapus nih?', 'DELETE_USER_CONFIRMATION' => 'Yakin pengguna %s mau dihapus nih?',
'SUSPEND_USER_CONFIRMATION' => 'Yakin pengguna %s mau ditangguhkan nih?', 'SUSPEND_USER_CONFIRMATION' => 'Yakin pengguna %s mau ditangguhkan nih?',

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding Cron Job');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding Cron Job');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -26,20 +26,15 @@
<form id="vstobjects" name="v_add_cron" method="post"> <form id="vstobjects" name="v_add_cron" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('Minute');?> <?php print __('Minute');?>
</td> </td>
</tr> </tr>
@ -49,7 +44,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Hour');?> <?php print __('Hour');?>
</td> </td>
</tr> </tr>
@ -59,7 +54,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Day');?> <?php print __('Day');?>
</td> </td>
</tr> </tr>
@ -69,7 +64,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Month');?> <?php print __('Month');?>
</td> </td>
</tr> </tr>
@ -79,7 +74,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Day of week');?> <?php print __('Day of week');?>
</td> </td>
</tr> </tr>
@ -89,7 +84,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Command');?> <?php print __('Command');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding database');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding database');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -46,25 +46,20 @@
</script> </script>
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td style="padding: 20px 0 0 2px; color:#777;" > <td style="padding:24px 0 0 0; color:#777;" >
<?php print __('Prefix will be automaticaly added to database name and database user',$user."_");?> <?php print __('Prefix will be automaticaly added to database name and database user',$user."_");?>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Database');?> <?php print __('Database');?>
</td> </td>
</tr> </tr>
@ -75,7 +70,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('User');?> <?php print __('User');?>
</td> </td>
</tr> </tr>
@ -86,7 +81,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a> <?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a>
</td> </td>
</tr> </tr>
@ -96,7 +91,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Type');?> <?php print __('Type');?>
</td> </td>
</tr> </tr>
@ -114,7 +109,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Host');?> <?php print __('Host');?>
</td> </td>
</tr> </tr>
@ -133,7 +128,7 @@
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Charset');?> <?php print __('Charset');?>
</td> </td>
</tr> </tr>
@ -179,7 +174,7 @@
</select> </select>
</td> </td>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Send login credentials to email address') ?> <?php print __('Send login credentials to email address') ?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding DNS Domain');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding DNS Domain');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -37,20 +37,15 @@
<table class="data"> <table class="data">
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('Domain');?> <?php print __('Domain');?>
</td> </td>
</tr> </tr>
@ -60,7 +55,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('IP address');?> <?php print __('IP address');?>
</td> </td>
</tr> </tr>
@ -70,7 +65,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print __('Advanced options');?></a> <a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print __('Advanced options');?></a>
</td> </td>
</tr> </tr>
@ -78,7 +73,7 @@
<td class="vst-text" style="padding: 10px 0 0 0px;"> <td class="vst-text" style="padding: 10px 0 0 0px;">
<table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable"> <table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable">
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Expiration Date');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('YYYY-MM-DD');?>)</span> <?php print __('Expiration Date');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('YYYY-MM-DD');?>)</span>
</td> </td>
</tr> </tr>
@ -88,7 +83,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
TTL TTL
</td> </td>
</tr> </tr>
@ -98,7 +93,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Name servers');?> <?php print __('Name servers');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding DNS Record'); ?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding DNS Record'); ?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -26,20 +26,15 @@
<form id="vstobjects" name="v_add_dns_rec" method="post"> <form id="vstobjects" name="v_add_dns_rec" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('Domain');?> <?php print __('Domain');?>
</td> </td>
</tr> </tr>
@ -49,7 +44,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Record');?> <?php print __('Record');?>
</td> </td>
</tr> </tr>
@ -60,7 +55,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Type');?> <?php print __('Type');?>
</td> </td>
</tr> </tr>
@ -83,7 +78,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('IP or Value');?> <?php print __('IP or Value');?>
</td> </td>
</tr> </tr>
@ -93,7 +88,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Priority');?> <span class="optional">(<?php print __('optional');?>)</span> <?php print __('Priority');?> <span class="optional">(<?php print __('optional');?>)</span>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding IP address');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding IP address');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -37,20 +37,15 @@
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('IP address') ?> <?php print __('IP address') ?>
</td> </td>
</tr> </tr>
@ -60,7 +55,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Netmask');?> <?php print __('Netmask');?>
</td> </td>
</tr> </tr>
@ -70,7 +65,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Interface');?> <?php print __('Interface');?>
</td> </td>
</tr> </tr>
@ -88,7 +83,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Shared');?> <?php print __('Shared');?>
</td> </td>
</tr> </tr>
@ -122,7 +117,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Assigned domain');?> <span class="optional">(<?php print __('optional');?>)</span> <?php print __('Assigned domain');?> <span class="optional">(<?php print __('optional');?>)</span>
</td> </td>
</tr> </tr>
@ -132,7 +127,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('NAT IP association');?> <span class="optional"">(<?php print __('optional');?>)</span> <?php print __('NAT IP association');?> <span class="optional"">(<?php print __('optional');?>)</span>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding Mail Domain');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding Mail Domain');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -26,20 +26,15 @@
<form id="vstobjects" name="v_add_mail" method="post"> <form id="vstobjects" name="v_add_mail" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('Domain');?> <?php print __('Domain');?>
</td> </td>
</tr> </tr>
@ -49,7 +44,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('AntiSpam Support');?> <?php print __('AntiSpam Support');?>
</td> </td>
</tr> </tr>
@ -59,7 +54,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('AntiVirus Support');?> <?php print __('AntiVirus Support');?>
</td> </td>
</tr> </tr>
@ -69,7 +64,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DKIM Support');?> <?php print __('DKIM Support');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding Mail Account');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding Mail Account');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -47,20 +47,15 @@
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('Domain');?> <?php print __('Domain');?>
</td> </td>
</tr> </tr>
@ -70,7 +65,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Account');?> <?php print __('Account');?>
</td> </td>
</tr> </tr>
@ -80,7 +75,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a> <?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a>
</td> </td>
</tr> </tr>
@ -90,16 +85,16 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"> <?php print __('Advanced options');?></a> <a href="javascript:elementHideShow('advtable');" class="vst-advanced"> <?php print __('Advanced options');?></a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 9px 0 0 0px;"> <td class="vst-text" style="padding: 12px 0 0 0px;">
<table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable"> <table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable">
<tr> <tr>
<td class="vst-text" style="padding: 0 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Quota');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('in megabytes');?>)</span> <?php print __('Quota');?> <span style="padding: 0 0 0 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('in megabytes');?>)</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -108,8 +103,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Aliases');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('use local-part');?>)</span> <?php print __('Aliases');?> <span style="padding: 0 0 0 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('use local-part');?>)</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -118,8 +113,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0">
<?php print __('Forward to');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('one or more email addresses');?>)</span> <?php print __('Forward to');?> <span style="padding: 0 0 0 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('one or more email addresses');?>)</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -128,7 +123,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Do not store forwarded mail');?> <?php print __('Do not store forwarded mail');?>
</td> </td>
</tr> </tr>
@ -154,5 +149,5 @@
</table> </table>
</td> </td>
</tr> </tr>
</table> </table>
</form> </form>

View file

@ -9,7 +9,7 @@
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding Package');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding Package');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -27,20 +27,15 @@
<form id="vstobjects" name="v_add_package" method="post"> <form id="vstobjects" name="v_add_package" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px"> <table class="data-col2">
<tr> <tr>
<td></td> <td class="vst-text" style="padding: 24px 0 0 0;">
</tr>
</table>
<table class="data-col2" width="830px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print __('Package Name');?> <?php print __('Package Name');?>
</td> </td>
</tr> </tr>
@ -50,7 +45,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Web Template');?> <?php print __('Web Template');?>
</td> </td>
</tr> </tr>
@ -73,7 +68,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Proxy Template');?> <?php print __('Proxy Template');?>
</td> </td>
</tr> </tr>
@ -96,7 +91,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DNS Template');?> <?php print __('DNS Template');?>
</td> </td>
</tr> </tr>
@ -119,7 +114,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('SSH Access');?> <?php print __('SSH Access');?>
</td> </td>
</tr> </tr>
@ -142,7 +137,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Web Domains');?> <?php print __('Web Domains');?>
</td> </td>
</tr> </tr>
@ -152,7 +147,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Web Aliases');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span> <?php print __('Web Aliases');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span>
</td> </td>
</tr> </tr>
@ -162,7 +157,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DNS domains');?> <?php print __('DNS domains');?>
</td> </td>
</tr> </tr>
@ -172,7 +167,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DNS records');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span> <?php print __('DNS records');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span>
</td> </td>
</tr> </tr>
@ -182,7 +177,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Mail Domains');?> <?php print __('Mail Domains');?>
</td> </td>
</tr> </tr>
@ -192,7 +187,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Mail Accounts');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span> <?php print __('Mail Accounts');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span>
</td> </td>
</tr> </tr>
@ -202,7 +197,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Databases');?> <?php print __('Databases');?>
</td> </td>
</tr> </tr>
@ -212,7 +207,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Cron Jobs');?> <?php print __('Cron Jobs');?>
</td> </td>
</tr> </tr>
@ -222,7 +217,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Backups');?> <?php print __('Backups');?>
</td> </td>
</tr> </tr>
@ -232,7 +227,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Quota');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('in megabytes');?>)</span> <?php print __('Quota');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('in megabytes');?>)</span>
</td> </td>
</tr> </tr>
@ -242,7 +237,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Bandwidth');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('in megabytes');?>)</span> <?php print __('Bandwidth');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('in megabytes');?>)</span>
</td> </td>
</tr> </tr>
@ -252,7 +247,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Name servers');?> <?php print __('Name servers');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding User');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding User');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -45,21 +45,15 @@
<table class="data"> <table class="data">
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px"> <table class="data-col2">
<tr> <tr>
<td></td> <td class="vst-text" style="padding: 24px 0 0 0;">
</tr>
</table>
<table class="data-col2" width="830px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print __('Username');?> <?php print __('Username');?>
</td> </td>
</tr> </tr>
@ -69,7 +63,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate" ><?php print __('generate');?></a> <?php print __('Password');?> / <a href="javascript:randomString();" class="generate" ><?php print __('generate');?></a>
</td> </td>
</tr> </tr>
@ -79,7 +73,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Email');?> <?php print __('Email');?>
</td> </td>
</tr> </tr>
@ -89,7 +83,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;" name="v_package"> <td class="vst-text" style="padding: 12px 0 0 0;" name="v_package">
<?php print __('Package');?> <?php print __('Package');?>
</td> </td>
</tr> </tr>
@ -113,7 +107,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;" > <td class="vst-text" style="padding: 12px 0 0 0;" >
<?php print __('Language');?> <?php print __('Language');?>
</td> </td>
</tr> </tr>
@ -139,7 +133,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('First Name');?> <?php print __('First Name');?>
</td> </td>
</tr> </tr>
@ -149,7 +143,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Last Name');?> <?php print __('Last Name');?>
</td> </td>
</tr> </tr>
@ -159,7 +153,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Send login credentials to email address');?> <?php print __('Send login credentials to email address');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Adding Domain');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Adding Domain');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -65,22 +65,17 @@
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td></td> <td></td>
</tr> </tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px"> <table class="data-col2">
<tr> <tr>
<td></td> <td class="vst-text" style="padding: 24px 0 0 0;">
</tr>
</table>
<table class="data-col2" width="600px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print __('Domain');?> <?php print __('Domain');?>
</td> </td>
</tr> </tr>
@ -90,7 +85,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('IP address');?> <?php print __('IP address');?>
</td> </td>
</tr> </tr>
@ -112,7 +107,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DNS Support');?> <?php print __('DNS Support');?>
</td> </td>
</tr> </tr>
@ -122,7 +117,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Mail Support');?> <?php print __('Mail Support');?>
</td> </td>
</tr> </tr>
@ -132,14 +127,14 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print __('Advanced options');?></a> <a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print __('Advanced options');?></a>
</td> </td>
</tr> </tr>
</table> </table>
<table class="data-col2" width="600px" style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable"> <table class="data-col2" width="600px" style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable">
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Aliases');?> <?php print __('Aliases');?>
</td> </td>
</tr> </tr>
@ -149,7 +144,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Proxy Support');?> <?php print __('Proxy Support');?>
</td> </td>
</tr> </tr>
@ -162,7 +157,7 @@
<td> <td>
<table style="display:<?php if ($v_proxy == 'off') { echo 'none';} else {echo 'block';}?>;" id="proxytable" > <table style="display:<?php if ($v_proxy == 'off') { echo 'none';} else {echo 'block';}?>;" id="proxytable" >
<tr> <tr>
<td class="vst-text" style="padding: 9px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Proxy Extentions');?> <?php print __('Proxy Extentions');?>
</td> </td>
</tr> </tr>
@ -175,7 +170,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('SSL Support');?> / <?php print __('SSL Support');?> /
<a class="generate" target="_blank" href="/generate/ssl/"><?php print __('Generate CSR') ?></a> <a class="generate" target="_blank" href="/generate/ssl/"><?php print __('Generate CSR') ?></a>
</td> </td>
@ -189,7 +184,7 @@
<td> <td>
<table style="display:<?php if (empty($v_ssl)) { echo 'none';} else {echo 'block';}?>;" id="ssltable"> <table style="display:<?php if (empty($v_ssl)) { echo 'none';} else {echo 'block';}?>;" id="ssltable">
<tr> <tr>
<td class="vst-text" style="padding: 9px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('SSL Home Directory');?> <?php print __('SSL Home Directory');?>
</td> </td>
</tr> </tr>
@ -206,7 +201,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('SSL Certificate');?> <?php print __('SSL Certificate');?>
</td> </td>
</tr> </tr>
@ -216,7 +211,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('SSL Key');?> <?php print __('SSL Key');?>
</td> </td>
</tr> </tr>
@ -226,7 +221,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('SSL Certificate Authority / Intermediate');?> <span class="optional">(<?php print __('optional');?>)</span> <?php print __('SSL Certificate Authority / Intermediate');?> <span class="optional">(<?php print __('optional');?>)</span>
</td> </td>
</tr> </tr>
@ -239,7 +234,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Web Statistics');?> <?php print __('Web Statistics');?>
</td> </td>
</tr> </tr>
@ -261,7 +256,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Statistics Authorization');?> <?php print __('Statistics Authorization');?>
</td> </td>
</tr> </tr>
@ -274,7 +269,7 @@
<td> <td>
<table style="display:<?php if (empty($v_stats_user)) { echo 'none';} else {echo 'block';}?> ;" id="statstable" name="v-add-web-domain-stats-user"> <table style="display:<?php if (empty($v_stats_user)) { echo 'none';} else {echo 'block';}?> ;" id="statstable" name="v-add-web-domain-stats-user">
<tr> <tr>
<td class="vst-text" style="padding: 9px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Username');?> <?php print __('Username');?>
</td> </td>
</tr> </tr>
@ -284,7 +279,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Password');?> / <a href="javascript:WEBrandom();" class="generate"><?php print __('generate');?></a> <?php print __('Password');?> / <a href="javascript:WEBrandom();" class="generate"><?php print __('generate');?></a>
</td> </td>
</tr> </tr>
@ -297,7 +292,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Additional FTP Account');?> <?php print __('Additional FTP Account');?>
</td> </td>
</tr> </tr>
@ -310,7 +305,7 @@
<td> <td>
<table style="display:<?php if (empty($v_ftp_user)) { echo 'none';} else {echo 'block';}?> ;" id="ftptable" name="v_add_domain_ftp"> <table style="display:<?php if (empty($v_ftp_user)) { echo 'none';} else {echo 'block';}?> ;" id="ftptable" name="v_add_domain_ftp">
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Username');?><br> <?php print __('Username');?><br>
<span style="font-size: 10pt; color:#777;"><?php print __('Prefix will be automaticaly added to username',$user."_");?></span> <span style="font-size: 10pt; color:#777;"><?php print __('Prefix will be automaticaly added to username',$user."_");?></span>
</td> </td>
@ -322,7 +317,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Password');?> / <a href="javascript:FTPrandom();" class="generate" ><?php print __('generate');?></a> <?php print __('Password');?> / <a href="javascript:FTPrandom();" class="generate" ><?php print __('generate');?></a>
</td> </td>
</tr> </tr>
@ -332,7 +327,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 0;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Send FTP credentials to email');?> <?php print __('Send FTP credentials to email');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing Cron Job');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing Cron Job');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -26,7 +26,7 @@
<form id="vstobjects" name="v_edit_cron" method="post"> <form id="vstobjects" name="v_edit_cron" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -37,16 +37,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('Minute');?> <?php print __('Minute');?>
</td> </td>
</tr> </tr>
@ -56,7 +50,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Hour');?> <?php print __('Hour');?>
</td> </td>
</tr> </tr>
@ -66,7 +60,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Day');?> <?php print __('Day');?>
</td> </td>
</tr> </tr>
@ -76,7 +70,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Month');?> <?php print __('Month');?>
</td> </td>
</tr> </tr>
@ -86,7 +80,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Day of week');?> <?php print __('Day of week');?>
</td> </td>
</tr> </tr>
@ -96,7 +90,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Command');?> <?php print __('Command');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing Database');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing Database');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -47,7 +47,7 @@
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -58,15 +58,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('Database');?> <?php print __('Database');?>
</td> </td>
</tr> </tr>
@ -77,7 +72,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('User');?> <?php print __('User');?>
</td> </td>
</tr> </tr>
@ -88,7 +83,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a> <?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a>
</td> </td>
</tr> </tr>
@ -98,7 +93,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Type');?> <?php print __('Type');?>
</td> </td>
</tr> </tr>
@ -108,7 +103,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Host');?> <?php print __('Host');?>
</td> </td>
</tr> </tr>
@ -118,7 +113,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Charset');?> <?php print __('Charset');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing DNS Domain');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing DNS Domain');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -26,7 +26,7 @@
<form id="vstobjects" name="v_edit_dns" method="post"> <form id="vstobjects" name="v_edit_dns" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -37,15 +37,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px"> <table class="data-col2">
<tr> <tr>
<td></td> <td class="vst-text" style="padding: 24px 0 0 0;">
</tr>
</table>
<table class="data-col2" width="830px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print __('Domain');?> <?php print __('Domain');?>
</td> </td>
</tr> </tr>
@ -55,7 +50,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('IP Address');?> <?php print __('IP Address');?>
</td> </td>
</tr> </tr>
@ -65,7 +60,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Template');?> <?php print __('Template');?>
</td> </td>
</tr> </tr>
@ -86,7 +81,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Expiration Date');?><span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('YYYY-MM-DD');?>)</span> <?php print __('Expiration Date');?><span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('YYYY-MM-DD');?>)</span>
</td> </td>
</tr> </tr>
@ -96,7 +91,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
SOA SOA
</td> </td>
</tr> </tr>
@ -106,7 +101,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
TTL TTL
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing DNS Record');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing DNS Record');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -26,7 +26,7 @@
<form id="vstobjects" name="v_edit_dns_rec" method="post"> <form id="vstobjects" name="v_edit_dns_rec" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -37,15 +37,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px"> <table class="data-col2">
<tr> <tr>
<td></td> <td class="vst-text" style="padding: 24px 0 0 0;">
</tr>
</table>
<table class="data-col2" width="830px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print __('Domain');?> <?php print __('Domain');?>
</td> </td>
</tr> </tr>
@ -56,7 +51,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Record');?> <?php print __('Record');?>
</td> </td>
</tr> </tr>
@ -66,7 +61,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Type');?> <?php print __('Type');?>
</td> </td>
</tr> </tr>
@ -76,7 +71,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('IP or Value');?> <?php print __('IP or Value');?>
</td> </td>
</tr> </tr>
@ -86,7 +81,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Priority');?> <span class="optional">(<?php print __('optional');?>)</span> <?php print __('Priority');?> <span class="optional">(<?php print __('optional');?>)</span>
</td> </td>
</tr> </tr>
@ -96,7 +91,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Record Number');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('internal');?>)</span> <?php print __('Record Number');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('internal');?>)</span>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing IP Address');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing IP Address');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -38,7 +38,7 @@
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -49,15 +49,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('IP address'); ?> <?php print __('IP address'); ?>
</td> </td>
</tr> </tr>
@ -67,7 +62,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Netmask');?> <?php print __('Netmask');?>
</td> </td>
</tr> </tr>
@ -77,7 +72,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Interface'); ?> <?php print __('Interface'); ?>
</td> </td>
</tr> </tr>
@ -87,7 +82,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Shared'); ?> <?php print __('Shared'); ?>
</td> </td>
</tr> </tr>
@ -97,7 +92,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Assigned user'); ?> <?php print __('Assigned user'); ?>
</td> </td>
</tr> </tr>
@ -115,7 +110,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Assigned domain');?> <span class="optional">(<?php print __('optional');?>)</span> <?php print __('Assigned domain');?> <span class="optional">(<?php print __('optional');?>)</span>
</td> </td>
</tr> </tr>
@ -125,7 +120,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('NAT IP association');?> <span class="optional">(<?php print __('optional');?>)</span> <?php print __('NAT IP association');?> <span class="optional">(<?php print __('optional');?>)</span>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing Mail Domain');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing Mail Domain');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -26,7 +26,7 @@
<form id="vstobjects" name="v_edit_mail" method="post"> <form id="vstobjects" name="v_edit_mail" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -37,15 +37,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status); ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status); ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px"> <table class="data-col2">
<tr> <tr>
<td></td> <td class="vst-text" style="padding: 24px 0 0 0;">
</tr>
</table>
<table class="data-col2" width="830px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print __('Domain');?> <?php print __('Domain');?>
</td> </td>
</tr> </tr>
@ -55,7 +50,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('AntiSpam Support');?> <?php print __('AntiSpam Support');?>
</td> </td>
</tr> </tr>
@ -65,7 +60,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('AntiVirus Support');?> <?php print __('AntiVirus Support');?>
</td> </td>
</tr> </tr>
@ -75,7 +70,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DKIM Support');?> <?php print __('DKIM Support');?>
</td> </td>
</tr> </tr>
@ -85,7 +80,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Catchall email');?> <?php print __('Catchall email');?>
</td> </td>
</tr> </tr>

View file

@ -9,7 +9,7 @@
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing Mail Account');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing Mail Account');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -48,7 +48,7 @@
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -59,15 +59,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo $v_status ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo $v_status ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px">
<tr>
<td></td>
</tr>
</table>
<table class="data-col2" width="600px"> <table class="data-col2" width="600px">
<tr> <tr>
<td class="vst-text" style="padding: 20px 0 0 2px;"> <td class="vst-text" style="padding: 24px 0 0 0;">
<?php print __('Account');?> <?php print __('Account');?>
</td> </td>
</tr> </tr>
@ -79,7 +74,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a> <?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a>
</td> </td>
</tr> </tr>
@ -89,8 +84,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Quota');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('in megabytes');?>)</span> <?php print __('Quota');?> <span style="padding: 0 0 0 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('in megabytes');?>)</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -99,8 +94,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Aliases');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('use local-part');?>)</span> <?php print __('Aliases');?> <span style="padding: 0 0 0 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('use local-part');?>)</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -109,8 +104,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Forward to');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('one or more email addresses');?>)</span> <?php print __('Forward to');?> <span style="padding: 0 0 0 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print __('one or more email addresses');?>)</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -119,7 +114,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Do not store forwarded mail');?> <?php print __('Do not store forwarded mail');?>
</td> </td>
</tr> </tr>
@ -129,7 +124,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Autoreply');?> <?php print __('Autoreply');?>
</td> </td>
</tr> </tr>
@ -142,7 +137,7 @@
<td> <td>
<table style="display:<?php if ($v_autoreply == 'no') { echo 'none';} else {echo 'block';}?> ;" id="autoreplytable"> <table style="display:<?php if ($v_autoreply == 'no') { echo 'none';} else {echo 'block';}?> ;" id="autoreplytable">
<tr> <tr>
<td class="vst-text" style="padding: 9px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Message');?> <?php print __('Message');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing Package');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing Package');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -26,7 +26,7 @@
<form id="vstobjects" name="v_edit_package" method="post"> <form id="vstobjects" name="v_edit_package" method="post">
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -37,15 +37,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo $v_status ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo $v_status ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px"> <table class="data-col2">
<tr> <tr>
<td></td> <td class="vst-text" style="padding: 24px 0 0 0;">
</tr>
</table>
<table class="data-col2" width="830px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print __('Package Name');?> <?php print __('Package Name');?>
</td> </td>
</tr> </tr>
@ -56,7 +51,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Web Template');?> <?php print __('Web Template');?>
</td> </td>
</tr> </tr>
@ -79,7 +74,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Proxy Template');?> <?php print __('Proxy Template');?>
</td> </td>
</tr> </tr>
@ -102,7 +97,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DNS Template');?> <?php print __('DNS Template');?>
</td> </td>
</tr> </tr>
@ -125,7 +120,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('SSH Access');?> <?php print __('SSH Access');?>
</td> </td>
</tr> </tr>
@ -148,7 +143,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Web Domains');?> <?php print __('Web Domains');?>
</td> </td>
</tr> </tr>
@ -158,7 +153,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Web Aliases');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span> <?php print __('Web Aliases');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span>
</td> </td>
</tr> </tr>
@ -168,7 +163,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DNS domains');?> <?php print __('DNS domains');?>
</td> </td>
</tr> </tr>
@ -178,7 +173,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('DNS records');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span> <?php print __('DNS records');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span>
</td> </td>
</tr> </tr>
@ -188,7 +183,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Mail Domains');?> <?php print __('Mail Domains');?>
</td> </td>
</tr> </tr>
@ -198,7 +193,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Mail Accounts');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span> <?php print __('Mail Accounts');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('per domain');?>)</span>
</td> </td>
</tr> </tr>
@ -208,7 +203,7 @@
<td> <td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Databases');?> <?php print __('Databases');?>
</td> </td>
</tr> </tr>
@ -218,7 +213,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Cron Jobs');?> <?php print __('Cron Jobs');?>
</td> </td>
</tr> </tr>
@ -228,7 +223,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Backups');?> <?php print __('Backups');?>
</td> </td>
</tr> </tr>
@ -238,7 +233,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Quota');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('in megabytes');?>)</span> <?php print __('Quota');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('in megabytes');?>)</span>
</td> </td>
</tr> </tr>
@ -248,7 +243,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Bandwidth');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('in megabytes');?>)</span> <?php print __('Bandwidth');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print __('in megabytes');?>)</span>
</td> </td>
</tr> </tr>
@ -258,7 +253,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Name Servers');?> <?php print __('Name Servers');?>
</td> </td>
</tr> </tr>

View file

@ -8,7 +8,7 @@
?> ?>
<table class="submenu"> <table class="submenu">
<tr> <tr>
<td style="padding: 18px 8px;" ><a class="name"><b><?php print __('Editing User');?></b></a> <td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing User');?></b></a>
<?php <?php
if (!empty($_SESSION['error_msg'])) { if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>"; echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -38,7 +38,7 @@
</script> </script>
<table class='data'> <table class='data'>
<tr class="data-add"> <tr class="data-add">
<td class="data-dotted" width="150"> <td class="data-dotted">
<table class="data-col1"> <table class="data-col1">
<tr> <tr>
<td> <td>
@ -49,16 +49,10 @@
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status); ?></b></td></tr> <tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status); ?></b></td></tr>
</table> </table>
</td> </td>
<td class="data-dotted" width="830px"> <td class="data-dotted">
<table width="830px"> <table class="data-col2">
<tr> <tr>
<td></td> <td class="vst-text" style="padding: 28px 0 0 0;">
</tr>
</table>
<table class="data-col2" width="830px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print __('Username');?> <?php print __('Username');?>
</td> </td>
</tr> </tr>
@ -68,7 +62,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a> <?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a>
</td> </td>
</tr> </tr>
@ -78,7 +72,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Email');?> <?php print __('Email');?>
</td> </td>
</tr> </tr>
@ -88,7 +82,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;" > <td class="vst-text" style="padding: 12px 0 0 0;" >
<?php print __('Package');?> <?php print __('Package');?>
</td> </td>
</tr> </tr>
@ -109,7 +103,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;" > <td class="vst-text" style="padding: 12px 0 0 0;" >
<?php print __('Language');?> <?php print __('Language');?>
</td> </td>
</tr> </tr>
@ -133,7 +127,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('First Name');?> <?php print __('First Name');?>
</td> </td>
</tr> </tr>
@ -143,7 +137,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Last Name');?> <?php print __('Last Name');?>
</td> </td>
</tr> </tr>
@ -153,7 +147,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;" > <td class="vst-text" style="padding: 12px 0 0 0;" >
<?php print __('SSH Access');?> <?php print __('SSH Access');?>
</td> </td>
</tr> </tr>
@ -174,7 +168,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="vst-text" style="padding: 10px 0 0 2px;"> <td class="vst-text" style="padding: 12px 0 0 0;">
<?php print __('Default Name Servers');?> <?php print __('Default Name Servers');?>
</td> </td>
</tr> </tr>

Some files were not shown because too many files have changed in this diff Show more