mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 14:24:07 -07:00
Merge baad48a87d
into e81fb6c730
This commit is contained in:
commit
936f3bd0df
336 changed files with 23903 additions and 22826 deletions
|
@ -1,3 +1,193 @@
|
|||
<<<<<<< HEAD
|
||||
#!/bin/bash
|
||||
# info: list system config
|
||||
# options: [FORMAT]
|
||||
#
|
||||
# The function for obtaining the list of system parameters.
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Variable&Function #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Argument defenition
|
||||
format=${1-shell}
|
||||
|
||||
# Includes
|
||||
source $VESTA/conf/vesta.conf
|
||||
source $VESTA/func/main.sh
|
||||
|
||||
get_srv_state() {
|
||||
srv=$1
|
||||
proc_name=${2-$1}
|
||||
|
||||
# Check service status
|
||||
/etc/init.d/$srv status > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
state='running'
|
||||
|
||||
# Calculate cpu and memory usage
|
||||
cpu=0
|
||||
mem=0
|
||||
for pid in $(/sbin/pidof $proc_name); do
|
||||
pid_mem=$(pmap -x $pid | tail -n1 | awk '{print $3}')
|
||||
pid_cpu=$(grep "^$pid " $tmp_file | cut -f 2 -d ' ')
|
||||
cpu=$((cpu + pid_cpu))
|
||||
mem=$((mem + pid_mem))
|
||||
done
|
||||
mem=$((mem / 1024))
|
||||
|
||||
# Get pid date
|
||||
if [ ! -z $pid ] && [ -e "/proc/$pid/cmdline" ]; then
|
||||
mtime=$(stat -c "%Y" /proc/$pid/cmdline)
|
||||
rtime=$((ctime - mtime))
|
||||
rtime=$((rtime / 60))
|
||||
fi
|
||||
else
|
||||
# Service is stopped
|
||||
state='stopped'
|
||||
mem=0
|
||||
cpu=0
|
||||
rtime="0"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Save current proccess list
|
||||
tmp_file=$(mktemp)
|
||||
if [ "$format" = 'json' ]; then
|
||||
ps aux | awk '{print $2" "$3}' | tr -d '.' > $tmp_file
|
||||
else
|
||||
ps aux | awk '{print $2" "$3}' | cut -f 1 -d '.' > $tmp_file
|
||||
fi
|
||||
|
||||
# Get current time
|
||||
ctime=$(date +%s)
|
||||
|
||||
# Proxy
|
||||
service=$PROXY_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
get_srv_state $service
|
||||
str="NAME='$service' SYSTEM='reverse proxy' STATE='$state' CPU='$cpu'"
|
||||
str="$str MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# Web
|
||||
service=$WEB_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
if [ "$service" == 'apache' ]; then
|
||||
service='httpd'
|
||||
fi
|
||||
get_srv_state $service
|
||||
str="$str\nNAME='$service' SYSTEM='web server' STATE='$state' CPU='$cpu'"
|
||||
str="$str MEM='$mem' RTIME='$rtime'"
|
||||
|
||||
fi
|
||||
|
||||
# DNS
|
||||
service=$DNS_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
if [ "$service" == 'bind' ]; then
|
||||
service='named'
|
||||
fi
|
||||
get_srv_state $service
|
||||
str="$str\nNAME='$service' SYSTEM='dns server' STATE='$state' CPU='$cpu'"
|
||||
str="$str MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# MAIL
|
||||
service=$MAIL_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
get_srv_state $service
|
||||
str="$str\nNAME='$service' SYSTEM='mail server' STATE='$state' CPU='$cpu'"
|
||||
str="$str MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# IMAP
|
||||
service=$IMAP_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
get_srv_state $service
|
||||
str="$str\nNAME='$service' SYSTEM='pop/imap server' STATE='$state'"
|
||||
str="$str CPU='$cpu' MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# ANTIVIRUS
|
||||
service=$ANTIVIRUS_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
if [ "$ANTIVIRUS_SYSTEM" = 'clamav' ]; then
|
||||
service='clamd'
|
||||
fi
|
||||
get_srv_state $service
|
||||
str="$str\nNAME='$service' SYSTEM='email antivirus' STATE='$state'"
|
||||
str="$str CPU='$cpu' MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# ANTISPAM
|
||||
service=$ANTISPAM_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
get_srv_state $service spamd
|
||||
str="$str\nNAME='$service' SYSTEM='email antispam' STATE='$state'"
|
||||
str="$str CPU='$cpu' MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# DB
|
||||
service=$DB_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
for db in ${DB_SYSTEM//,/ }; do
|
||||
service="$db"
|
||||
if [ "$service" == 'mysql' ] && [ ! -e "/etc/init.d/$service" ]; then
|
||||
service='mysqld'
|
||||
fi
|
||||
get_srv_state $service
|
||||
str="$str\nNAME='$service' SYSTEM='database server' STATE='$state'"
|
||||
str="$str CPU='$cpu' MEM='$mem' RTIME='$rtime'"
|
||||
done
|
||||
fi
|
||||
|
||||
# FTP
|
||||
service=$FTP_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
get_srv_state $service
|
||||
str="$str\nNAME='$service' SYSTEM='ftp server' STATE='$state' CPU='$cpu'"
|
||||
str="$str MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# CRON
|
||||
service=$CRON_SYSTEM
|
||||
if [ ! -z "$service" ] && [ "$service" != 'no' ]; then
|
||||
get_srv_state $service
|
||||
str="$str\nNAME='$service' SYSTEM='job scheduler' STATE='$state'"
|
||||
str="$str CPU='$cpu' MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# Defining config
|
||||
echo -e "$str" > $tmp_file
|
||||
conf=$tmp_file
|
||||
|
||||
# Defining fileds to select
|
||||
fields="\$NAME \$SYSTEM \$STATE \$CPU \$MEM \$RTIME"
|
||||
|
||||
# Listing services
|
||||
case $format in
|
||||
json) json_list ;;
|
||||
plain) nohead=1; shell_list ;;
|
||||
shell) fields='$NAME $STATE $CPU $MEM $RTIME'
|
||||
shell_list | column -t ;;
|
||||
*) check_args '1' '0' 'USER [FORMAT]'
|
||||
esac
|
||||
|
||||
rm -f $tmp_file
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Vesta #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
exit
|
||||
=======
|
||||
#!/bin/bash
|
||||
# info: list system services
|
||||
# options: [FORMAT]
|
||||
|
@ -186,3 +376,4 @@ rm -f $tmp_file
|
|||
#----------------------------------------------------------#
|
||||
|
||||
exit
|
||||
>>>>>>> 6bd00c9e5ea0ba53c998291dec65f9d20a9ce49b
|
||||
|
|
|
@ -1,3 +1,162 @@
|
|||
<<<<<<< HEAD
|
||||
#!/bin/bash
|
||||
# info: rebuild system user
|
||||
# options: USER [RESTART]
|
||||
#
|
||||
# The function rebuilds system user account.
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Variable&Function #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Argument defenition
|
||||
user=$1
|
||||
restart=$2
|
||||
|
||||
# Includes
|
||||
source $VESTA/conf/vesta.conf
|
||||
source $VESTA/func/main.sh
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
check_args '1' "$#" 'USER [RESTART]'
|
||||
validate_format 'user'
|
||||
is_object_valid 'user' 'USER' "$user"
|
||||
is_object_unsuspended 'user' 'USER' "$user"
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
export PATH=$PATH:/usr/sbin
|
||||
|
||||
# Get user variables
|
||||
source $USER_DATA/user.conf
|
||||
|
||||
# Rebuild user
|
||||
shell=$(chsh --list-shells | grep -w "$SHELL" |head -n1)
|
||||
adduser "$user" -s "$shell" -c "$CONTACT" -m -d "$HOMEDIR/$user" &>/dev/null
|
||||
|
||||
# Update password
|
||||
shadow='/etc/shadow'
|
||||
shdw=$(grep ^$user: $shadow)
|
||||
shdw3=$(echo "$shdw" | cut -f3 -d :)
|
||||
shdw4=$(echo "$shdw" | cut -f4 -d :)
|
||||
shdw5=$(echo "$shdw" | cut -f5 -d :)
|
||||
shdw6=$(echo "$shdw" | cut -f6 -d :)
|
||||
shdw7=$(echo "$shdw" | cut -f7 -d :)
|
||||
shdw8=$(echo "$shdw" | cut -f8 -d :)
|
||||
shdw9=$(echo "$shdw" | cut -f9 -d :)
|
||||
chmod u+w $shadow
|
||||
sed -i "/^$user:*/d" $shadow
|
||||
echo "$user:$MD5:$shdw3:$shdw4:$shdw5:$shdw6:$shdw7:$shdw8:$shdw9" >> $shadow
|
||||
chmod u-w $shadow
|
||||
|
||||
# Building directory tree
|
||||
mkdir -p $HOMEDIR/$user/conf
|
||||
chmod a+x $HOMEDIR/$user
|
||||
chmod a+x $HOMEDIR/$user/conf
|
||||
chown $user:$user $HOMEDIR/$user
|
||||
chown $user:$user $HOMEDIR/$user/conf
|
||||
|
||||
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
|
||||
mkdir -p $HOMEDIR/$user/conf/web
|
||||
mkdir -p $HOMEDIR/$user/web
|
||||
mkdir -p $HOMEDIR/$user/tmp
|
||||
chmod 751 $HOMEDIR/$user/conf/web
|
||||
chmod 751 $HOMEDIR/$user/web
|
||||
chmod 771 $HOMEDIR/$user/tmp
|
||||
chown $user:$user $HOMEDIR/$user/web
|
||||
$BIN/v-rebuild-web-domains $user $restart
|
||||
fi
|
||||
|
||||
if [ ! -z "$DNS_SYSTEM" ] && [ "$DNS_SYSTEM" != 'no' ]; then
|
||||
mkdir -p $HOMEDIR/$user/conf/dns
|
||||
chmod 751 $HOMEDIR/$user/conf/dns
|
||||
$BIN/v-rebuild-dns-domains $user $restart
|
||||
fi
|
||||
|
||||
if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL_SYSTEM" != 'no' ]; then
|
||||
mkdir -p $HOMEDIR/$user/conf/mail
|
||||
mkdir -p $HOMEDIR/$user/mail
|
||||
chmod 751 $HOMEDIR/$user/mail
|
||||
chmod 751 $HOMEDIR/$user/conf/mail
|
||||
$BIN/v-rebuild-mail-domains $user
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'no' ]; then
|
||||
$BIN/v-rebuild-databases $user
|
||||
fi
|
||||
|
||||
if [ ! -z "$CRON_SYSTEM" ] && [ "$CRON_SYSTEM" != 'no' ]; then
|
||||
$BIN/v-rebuild-cron-jobs $user $restart
|
||||
fi
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Vesta #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Creating configuration files and pipes
|
||||
chmod 770 $USER_DATA
|
||||
touch $USER_DATA/backup.conf
|
||||
chmod 660 $USER_DATA/backup.conf
|
||||
touch $USER_DATA/history.log
|
||||
chmod 660 $USER_DATA/history.log
|
||||
touch $USER_DATA/stats.log
|
||||
chmod 660 $USER_DATA/stats.log
|
||||
|
||||
sed -i "/ $user$/d" $VESTA/data/queue/disk.pipe
|
||||
echo "v-update-user-disk $user" >> $VESTA/data/queue/disk.pipe
|
||||
|
||||
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
|
||||
mkdir -p $USER_DATA/ssl
|
||||
chmod 770 $USER_DATA/ssl
|
||||
touch $USER_DATA/web.conf
|
||||
chmod 660 $USER_DATA/web.conf
|
||||
if [ "$(grep -w $user $VESTA/data/queue/traffic.pipe)" ]; then
|
||||
echo "$BIN/v-update-web-domains-traff $user" \
|
||||
>> $VESTA/data/queue/traffic.pipe
|
||||
fi
|
||||
echo "v-update-web-domains-disk $user" >> $VESTA/data/queue/disk.pipe
|
||||
fi
|
||||
|
||||
if [ ! -z "$DNS_SYSTEM" ] && [ "$DNS_SYSTEM" != 'no' ]; then
|
||||
mkdir -p $USER_DATA/dns
|
||||
chmod 770 $USER_DATA/dns
|
||||
touch $USER_DATA/dns.conf
|
||||
chmod 660 $USER_DATA/dns.conf
|
||||
fi
|
||||
|
||||
if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL_SYSTEM" != 'no' ]; then
|
||||
mkdir -p $USER_DATA/mail
|
||||
chmod 770 $USER_DATA/mail
|
||||
touch $USER_DATA/mail.conf
|
||||
chmod 660 $USER_DATA/mail.conf
|
||||
echo "v-update-mail-domains-disk $user" >> $VESTA/data/queue/disk.pipe
|
||||
fi
|
||||
|
||||
if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'no' ]; then
|
||||
touch $USER_DATA/db.conf
|
||||
chmod 660 $USER_DATA/db.conf
|
||||
echo "v-update-datbases-disk $user" >> $VESTA/data/queue/disk.pipe
|
||||
fi
|
||||
|
||||
if [ ! -z "$CRON_SYSTEM" ] && [ "$CRON_SYSTEM" != 'no' ]; then
|
||||
touch $USER_DATA/cron.conf
|
||||
chmod 660 $USER_DATA/cron.conf
|
||||
fi
|
||||
|
||||
# Logging
|
||||
log_event "$OK" "$EVENT"
|
||||
|
||||
exit
|
||||
=======
|
||||
#!/bin/bash
|
||||
# info: rebuild system user
|
||||
# options: USER [RESTART]
|
||||
|
@ -155,3 +314,4 @@ fi
|
|||
log_event "$OK" "$EVENT"
|
||||
|
||||
exit
|
||||
>>>>>>> e81fb6c7307a777644ccaaf4dd15c5ac51b84ebc
|
||||
|
|
|
@ -16,12 +16,12 @@ top_panel($user,$TAB);
|
|||
//if ($_SESSION['user'] == 'admin') {
|
||||
if (!empty($_POST['ok'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_min'])) $errors[] = 'minute';
|
||||
if (empty($_POST['v_hour'])) $errors[] = 'hour';
|
||||
if (empty($_POST['v_day'])) $errors[] = 'day';
|
||||
if (empty($_POST['v_month'])) $errors[] = 'month';
|
||||
if (empty($_POST['v_wday'])) $errors[] = 'day of week';
|
||||
if (empty($_POST['v_cmd'])) $errors[] = 'cmd';
|
||||
if (empty($_POST['v_min'])) $errors[] = _('minute');
|
||||
if (empty($_POST['v_hour'])) $errors[] = _('hour');
|
||||
if (empty($_POST['v_day'])) $errors[] = _('day');
|
||||
if (empty($_POST['v_month'])) $errors[] = _('month');
|
||||
if (empty($_POST['v_wday'])) $errors[] = _('day of week');
|
||||
if (empty($_POST['v_cmd'])) $errors[] = _('cmd');
|
||||
|
||||
// Protect input
|
||||
$v_min = escapeshellarg($_POST['v_min']);
|
||||
|
@ -40,7 +40,7 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
// Add Cron Job
|
||||
exec (VESTA_CMD."v-add-cron-job ".$user." ".$v_min." ".$v_hour." ".$v_day." ".$v_month." ".$v_wday." ".$v_cmd, $output, $return_var);
|
||||
|
@ -48,12 +48,12 @@ top_panel($user,$TAB);
|
|||
$v_charset = $_POST['v_charset'];
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
unset($v_password);
|
||||
unset($output);
|
||||
} else {
|
||||
$_SESSION['ok_msg'] = "OK: cron job has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _("OK: cron job has been created successfully.");
|
||||
unset($v_min);
|
||||
unset($v_hour);
|
||||
unset($v_day);
|
||||
|
|
|
@ -16,11 +16,11 @@ top_panel($user,$TAB);
|
|||
//if ($_SESSION['user'] == 'admin') {
|
||||
if (!empty($_POST['ok'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_database'])) $errors[] = 'database';
|
||||
if (empty($_POST['v_dbuser'])) $errors[] = 'username';
|
||||
if (empty($_POST['v_password'])) $errors[] = 'password';
|
||||
if (empty($_POST['v_type'])) $errors[] = 'type';
|
||||
if (empty($_POST['v_charset'])) $errors[] = 'charset';
|
||||
if (empty($_POST['v_database'])) $errors[] = _('database');
|
||||
if (empty($_POST['v_dbuser'])) $errors[] = _('username');
|
||||
if (empty($_POST['v_password'])) $errors[] = _('password');
|
||||
if (empty($_POST['v_type'])) $errors[] = _('type');
|
||||
if (empty($_POST['v_charset'])) $errors[] = _('charset');
|
||||
|
||||
// Protect input
|
||||
$v_database = escapeshellarg($_POST['v_database']);
|
||||
|
@ -39,7 +39,7 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
// Add Database
|
||||
$v_type = escapeshellarg($_POST['v_type']);
|
||||
|
@ -49,31 +49,42 @@ top_panel($user,$TAB);
|
|||
$v_charset = $_POST['v_charset'];
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
unset($v_password);
|
||||
unset($output);
|
||||
} else {
|
||||
// Add Database
|
||||
$v_type = escapeshellarg($_POST['v_type']);
|
||||
$v_charset = escapeshellarg($_POST['v_charset']);
|
||||
exec (VESTA_CMD."v-add-database ".$user." ".$v_database." ".$v_dbuser." ".$v_password." ".$v_type." 'default' ".$v_charset, $output, $return_var);
|
||||
$v_type = $_POST['v_type'];
|
||||
$v_charset = $_POST['v_charset'];
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
unset($v_password);
|
||||
unset($output);
|
||||
}
|
||||
else {
|
||||
if (empty($v_notify)) {
|
||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
|
||||
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
||||
if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
|
||||
|
||||
$to = $panel[$user]['CONTACT'];
|
||||
$subject = "Database Credentials";
|
||||
$subject = _("Database Credentials");
|
||||
$hostname = exec('hostname');
|
||||
$from = "Vesta Control Panel <noreply@".$hostname.">";
|
||||
$mailtext = "Hello ".$panel[$user]['FNAME']." ".$panel[$user]['LNAME'].",\n";
|
||||
$mailtext .= "your ".$_POST['v_type']." database has been created successfully.\n\n";
|
||||
$mailtext .= "database: ".$user."_".$_POST['v_database']."\n";
|
||||
$mailtext .= "username: ".$user."_".$_POST['v_dbuser']."\n";
|
||||
$mailtext .= "password: ".$_POST['v_password']."\n\n";
|
||||
$from = _('MAIL_FROM',$hostname);
|
||||
$mailtext = _('DATABASE_READY',$panel[$user]['FNAME'],$panel[$user]['LNAME'],$_POST['v_type'],$user,$_POST['v_database'],$user,$_POST['v_dbuser'],$_POST['v_password']);
|
||||
$mailtext .= $db_admin_link."\n\n";
|
||||
|
||||
$mailtext .= "--\nVesta Control Panel\n";
|
||||
$mailtext .= "--\n"._('Vesta Control Panel')."\n";
|
||||
send_email($to, $subject, $mailtext, $from);
|
||||
|
||||
}
|
||||
$_SESSION['ok_msg'] = "OK: database <a href='/edit/db/?database=".$user."_".$_POST['v_database']."'><b>".$user."_".$_POST['v_database']."</b></a> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _('DATABASE_CREATED_OK',$user."_".$_POST['v_database'],$user."_".$_POST['v_database']);
|
||||
unset($v_database);
|
||||
unset($v_dbuser);
|
||||
unset($v_password);
|
||||
|
@ -83,6 +94,7 @@ top_panel($user,$TAB);
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
exec (VESTA_CMD."v-list-database-types 'json'", $output, $return_var);
|
||||
$db_types = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
|
@ -94,3 +106,4 @@ top_panel($user,$TAB);
|
|||
|
||||
// Footer
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');
|
||||
?>
|
|
@ -16,8 +16,8 @@ top_panel($user,$TAB);
|
|||
//if ($_SESSION['user'] == 'admin') {
|
||||
if (!empty($_POST['ok'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_domain'])) $errors[] = 'domain';
|
||||
if (empty($_POST['v_ip'])) $errors[] = 'ip';
|
||||
if (empty($_POST['v_domain'])) $errors[] = _('domain');
|
||||
if (empty($_POST['v_ip'])) $errors[] = _('ip');
|
||||
|
||||
// Protect input
|
||||
$v_domain = preg_replace("/^www./i", "", $_POST['v_domain']);
|
||||
|
@ -42,14 +42,14 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
|
||||
// Add DNS
|
||||
exec (VESTA_CMD."v-add-dns-domain ".$user." ".$v_domain." ".$v_ip." ".$v_template." ".$v_ns1." ".$v_ns2." ".$v_ns3." ".$ns4, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -60,7 +60,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-exp ".$user." ".$v_domain." ".$v_exp, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -72,14 +72,14 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-ttl ".$user." ".$v_domain." ".$v_ttl, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: domain <a href='/list/dns/?domain=".$_POST[v_domain]."'><b>".$_POST[v_domain]."</b></a> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _('DOMAIN_CREATED_OK',$_POST[v_domain],$_POST[v_domain]);
|
||||
unset($v_domain);
|
||||
}
|
||||
}
|
||||
|
@ -110,19 +110,19 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
// Add DNS Record
|
||||
exec (VESTA_CMD."v-add-dns-domain-record ".$user." ".$v_domain." ".$v_rec." ".$v_type." ".$v_val." ".$v_priority, $output, $return_var);
|
||||
$v_type = $_POST['v_type'];
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: record <b>".$_POST[v_rec].".".$_POST[v_domain]."</b> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _('RECORD_CREATED_OK',$_POST[v_rec],$_POST[v_domain]);
|
||||
unset($v_domain);
|
||||
unset($v_rec);
|
||||
unset($v_val);
|
||||
|
|
|
@ -16,11 +16,10 @@ top_panel($user,$TAB);
|
|||
if ($_SESSION['user'] == 'admin') {
|
||||
if (!empty($_POST['ok'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_ip'])) $errors[] = 'ip address';
|
||||
if (empty($_POST['v_netmask'])) $errors[] = 'netmask';
|
||||
if (empty($_POST['v_interface'])) $errors[] = 'interface';
|
||||
if (empty($_POST['v_owner'])) $errors[] = 'assigned used';
|
||||
if (empty($_POST['v_interface'])) $errors[] = 'interface';
|
||||
if (empty($_POST['v_ip'])) $errors[] = _('ip address');
|
||||
if (empty($_POST['v_netmask'])) $errors[] = _('netmask');
|
||||
if (empty($_POST['v_interface'])) $errors[] = _('interface');
|
||||
if (empty($_POST['v_owner'])) $errors[] = _('assigned user');
|
||||
|
||||
// Protect input
|
||||
$v_ip = escapeshellarg($_POST['v_ip']);
|
||||
|
@ -47,7 +46,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
// Add IP
|
||||
$v_interface = escapeshellarg($_POST['v_interface']);
|
||||
|
@ -57,12 +56,12 @@ if ($_SESSION['user'] == 'admin') {
|
|||
$v_interface = $_POST['v_interface'];
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
unset($v_password);
|
||||
unset($output);
|
||||
} else {
|
||||
$_SESSION['ok_msg'] = "OK: ip <a href='/edit/ip/?ip=".$_POST['v_ip']."'><b>".$_POST['v_ip']."</b></a> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _('IP_CREATED_OK',$_POST['v_ip'],$_POST['v_ip']);
|
||||
unset($v_ip);
|
||||
unset($v_netmask);
|
||||
unset($v_name);
|
||||
|
|
|
@ -16,7 +16,7 @@ top_panel($user,$TAB);
|
|||
//if ($_SESSION['user'] == 'admin') {
|
||||
// Mail Domain
|
||||
if (!empty($_POST['ok'])) {
|
||||
if (empty($_POST['v_domain'])) $errors[] = 'domain';
|
||||
if (empty($_POST['v_domain'])) $errors[] = _('domain');
|
||||
if (!empty($_POST['v_antispam'])) {
|
||||
$v_antispam = 'yes';
|
||||
} else {
|
||||
|
@ -48,20 +48,20 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
|
||||
// Add mail domain
|
||||
exec (VESTA_CMD."v-add-mail-domain ".$user." ".$v_domain." ".$v_antispam." ".$v_antivirus." ".$v_dkim, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: domain <a href='/list/mail/?domain=".$_POST[v_domain]."'><b>".$_POST[v_domain]."</b></a> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _("DOMAIN_MAIL_CREATED_OK",$_POST['v_domain'],$_POST['v_domain']);
|
||||
unset($v_domain);
|
||||
}
|
||||
}
|
||||
|
@ -71,9 +71,9 @@ top_panel($user,$TAB);
|
|||
// Mail Account
|
||||
if (!empty($_POST['ok_acc'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_domain'])) $errors[] = 'domain';
|
||||
if (empty($_POST['v_account'])) $errors[] = 'account';
|
||||
if (empty($_POST['v_password'])) $errors[] = 'password';
|
||||
if (empty($_POST['v_domain'])) $errors[] = _('domain');
|
||||
if (empty($_POST['v_account'])) $errors[] = _('account');
|
||||
if (empty($_POST['v_password'])) $errors[] = _('password');
|
||||
|
||||
// Protect input
|
||||
$v_domain = escapeshellarg($_POST['v_domain']);
|
||||
|
@ -95,13 +95,13 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
// Add Mail Account
|
||||
exec (VESTA_CMD."v-add-mail-account ".$user." ".$v_domain." ".$v_account." ".$v_password." ".$v_quota, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-account-alias ".$user." ".$v_domain." ".$v_account." ".$alias, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-account-forward ".$user." ".$v_domain." ".$v_account." ".$forward, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ top_panel($user,$TAB);
|
|||
|
||||
unset($output);
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: account <a href='/edit/mail/?account=".$_POST['v_account']."&domain=".$_POST[v_domain]."'><b>".$_POST['v_account']."@".$_POST[v_domain]."</b></a> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _('MAIL_ACCOUNT_CREATED_OK',$_POST['v_account'],$_POST[v_domain],$_POST['v_account'],$_POST[v_domain]);
|
||||
unset($v_account);
|
||||
unset($v_password);
|
||||
unset($v_password);
|
||||
|
@ -162,7 +162,7 @@ top_panel($user,$TAB);
|
|||
|
||||
|
||||
if ((empty($_GET['domain'])) && (empty($_POST['domain']))) {
|
||||
$v_domain = $_GET['domain'];
|
||||
$v_domain = (isset($_GET['domain'])?$_GET['domain']:'');
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/add_mail.html');
|
||||
unset($_SESSION['error_msg']);
|
||||
unset($_SESSION['ok_msg']);
|
||||
|
|
|
@ -20,22 +20,22 @@ top_panel($user,$TAB);
|
|||
if ($_SESSION['user'] == 'admin') {
|
||||
if (!empty($_POST['ok'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_package'])) $errors[] = 'package';
|
||||
if (empty($_POST['v_template'])) $errors[] = 'template';
|
||||
if (empty($_POST['v_shell'])) $errrors[] = 'shell';
|
||||
if (!isset($_POST['v_web_domains'])) $errors[] = 'web domains';
|
||||
if (!isset($_POST['v_web_aliases'])) $errors[] = 'web aliases';
|
||||
if (!isset($_POST['v_dns_domains'])) $errors[] = 'dns domains';
|
||||
if (!isset($_POST['v_dns_records'])) $errors[] = 'dns records';
|
||||
if (!isset($_POST['v_mail_domains'])) $errors[] = 'mail domains';
|
||||
if (!isset($_POST['v_mail_accounts'])) $errors[] = 'mail accounts';
|
||||
if (!isset($_POST['v_databases'])) $errors[] = 'databases';
|
||||
if (!isset($_POST['v_cron_jobs'])) $errors[] = 'cron jobs';
|
||||
if (!isset($_POST['v_backups'])) $errors[] = 'backups';
|
||||
if (!isset($_POST['v_disk_quota'])) $errors[] = 'quota';
|
||||
if (!isset($_POST['v_bandwidth'])) $errors[] = 'bandwidth';
|
||||
if (empty($_POST['v_ns1'])) $errors[] = 'ns1';
|
||||
if (empty($_POST['v_ns2'])) $errors[] = 'ns2';
|
||||
if (empty($_POST['v_package'])) $errors[] = _('package');
|
||||
if (empty($_POST['v_template'])) $errors[] = _('template');
|
||||
if (empty($_POST['v_shell'])) $errrors[] = _('shell');
|
||||
if (!isset($_POST['v_web_domains'])) $errors[] = _('web domains');
|
||||
if (!isset($_POST['v_web_aliases'])) $errors[] = _('web aliases');
|
||||
if (!isset($_POST['v_dns_domains'])) $errors[] = _('dns domains');
|
||||
if (!isset($_POST['v_dns_records'])) $errors[] = _('dns records');
|
||||
if (!isset($_POST['v_mail_domains'])) $errors[] = _('mail domains');
|
||||
if (!isset($_POST['v_mail_accounts'])) $errors[] = _('mail accounts');
|
||||
if (!isset($_POST['v_databases'])) $errors[] = _('databases');
|
||||
if (!isset($_POST['v_cron_jobs'])) $errors[] = _('cron jobs');
|
||||
if (!isset($_POST['v_backups'])) $errors[] = _('backups');
|
||||
if (!isset($_POST['v_disk_quota'])) $errors[] = _('quota');
|
||||
if (!isset($_POST['v_bandwidth'])) $errors[] = _('bandwidth');
|
||||
if (empty($_POST['v_ns1'])) $errors[] = _('ns1');
|
||||
if (empty($_POST['v_ns2'])) $errors[] = _('ns2');
|
||||
|
||||
|
||||
// Protect input
|
||||
|
@ -73,7 +73,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
exec ('mktemp -d', $output, $return_var);
|
||||
$tmpdir = $output[0];
|
||||
|
@ -107,7 +107,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-add-user-package ".$tmpdir." ".$v_package, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -119,7 +119,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
|
||||
// Check output
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: package <a href='/edit/package/?package=".$_POST['v_package']."'><b>".$_POST['v_package']."</b></a> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _('PACKAGE_CREATED_OK',$_POST['v_package'],$_POST['v_package']);
|
||||
unset($v_package);
|
||||
}
|
||||
|
||||
|
|
|
@ -20,12 +20,12 @@ top_panel($user,$TAB);
|
|||
if ($_SESSION['user'] == 'admin') {
|
||||
if (!empty($_POST['ok'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_username'])) $errors[] = 'user';
|
||||
if (empty($_POST['v_password'])) $errors[] = 'password';
|
||||
if (empty($_POST['v_package'])) $errrors[] = 'package';
|
||||
if (empty($_POST['v_email'])) $errors[] = 'email';
|
||||
if (empty($_POST['v_fname'])) $errors[] = 'first name';
|
||||
if (empty($_POST['v_lname'])) $errors[] = 'last name';
|
||||
if (empty($_POST['v_username'])) $errors[] = _('user');
|
||||
if (empty($_POST['v_password'])) $errors[] = _('password');
|
||||
if (empty($_POST['v_package'])) $errrors[] = _('package');
|
||||
if (empty($_POST['v_email'])) $errors[] = _('email');
|
||||
if (empty($_POST['v_fname'])) $errors[] = _('first name');
|
||||
if (empty($_POST['v_lname'])) $errors[] = _('last name');
|
||||
|
||||
// Protect input
|
||||
$v_username = escapeshellarg($_POST['v_username']);
|
||||
|
@ -38,7 +38,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
|
||||
// Validate email
|
||||
if (!filter_var($_POST['v_email'], FILTER_VALIDATE_EMAIL)) {
|
||||
$_SESSION['error_msg'] = 'Please enter valid email address.';
|
||||
$_SESSION['error_msg'] = _('Please enter valid email address.');
|
||||
}
|
||||
|
||||
// Check for errors
|
||||
|
@ -50,35 +50,31 @@ if ($_SESSION['user'] == 'admin') {
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
exec (VESTA_CMD."v-add-user ".$v_username." ".$v_password." ".$v_email." ".$v_package." ".$v_fname." ".$v_lname, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
if (empty($v_notify)) {
|
||||
$to = $_POST['v_email'];
|
||||
$subject = "Welcome to Vesta Control Panel";
|
||||
$subject = _("Welcome to Vesta Control Panel");
|
||||
$hostname = exec('hostname');
|
||||
$from = "Vesta Control Panel <noreply@".$hostname.">";
|
||||
$from = _('MAIL_FROM',$hostname);
|
||||
if (!empty($_POST['v_fname'])) {
|
||||
$mailtext = "Hello ".$_POST['v_fname']." ".$_POST['v_lname'].",\n";
|
||||
$mailtext = _('GREETINGS_GORDON_FREEMAN',$_POST['v_fname'],$_POST['v_lname']);
|
||||
} else {
|
||||
$mailtext = "Hello,\n";
|
||||
$mailtext = _('GREETINGS');
|
||||
}
|
||||
$mailtext .= "Your account has been created successfully and is ready to use.\n\n";
|
||||
$mailtext .= "https://".$_SERVER['HTTP_HOST']."/login/\n";
|
||||
$mailtext .= "username: ".$_POST['v_username']."\n";
|
||||
$mailtext .= "password: ".$_POST['v_password']."\n\n";
|
||||
$mailtext .= "--\nVesta Control Panel\n";
|
||||
$mailtext .= _('ACCOUNT_READY',$_SERVER['HTTP_HOST'],$_POST['v_username'],$_POST['v_password']);
|
||||
send_email($to, $subject, $mailtext, $from);
|
||||
}
|
||||
|
||||
$_SESSION['ok_msg'] = "OK: user <a href='/edit/user/?user=".$_POST[v_username]."'><b>".$_POST[v_username]."</b></a> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _('ACCOUNT_CREATED_OK',$_POST[v_username],$_POST[v_username]);
|
||||
unset($v_username);
|
||||
unset($v_password);
|
||||
unset($v_email);
|
||||
|
|
|
@ -14,12 +14,12 @@ top_panel($user,$TAB);
|
|||
|
||||
if (!empty($_POST['ok'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_domain'])) $errors[] = 'domain';
|
||||
if (empty($_POST['v_ip'])) $errors[] = 'ip';
|
||||
if ((!empty($_POST['v_ssl'])) && (empty($_POST['v_ssl_crt']))) $errors[] = 'ssl certificate';
|
||||
if ((!empty($_POST['v_ssl'])) && (empty($_POST['v_ssl_key']))) $errors[] = 'ssl key';
|
||||
if ((!empty($_POST['v_stats_user'])) && (empty($_POST['v_stats_password']))) $errors[] = 'stats user password';
|
||||
if ((!empty($_POST['v_ftp_user'])) && (empty($_POST['v_ftp_password']))) $errors[] = 'ftp user password';
|
||||
if (empty($_POST['v_domain'])) $errors[] = _('domain');
|
||||
if (empty($_POST['v_ip'])) $errors[] = _('ip');
|
||||
if ((!empty($_POST['v_ssl'])) && (empty($_POST['v_ssl_crt']))) $errors[] = _('ssl certificate');
|
||||
if ((!empty($_POST['v_ssl'])) && (empty($_POST['v_ssl_key']))) $errors[] = _('ssl key');
|
||||
if ((!empty($_POST['v_stats_user'])) && (empty($_POST['v_stats_password']))) $errors[] = _('stats user password');
|
||||
if ((!empty($_POST['v_ftp_user'])) && (empty($_POST['v_ftp_password']))) $errors[] = _('ftp user password');
|
||||
|
||||
if ((!empty($_POST['v_aliases'])) && ($_POST['v_aliases'] != 'www.'.$_POST['v_domain'])) $v_adv = 'yes';
|
||||
if ((!empty($_POST['v_ssl'])) || (!empty($_POST['v_elog']))) $v_adv = 'yes';
|
||||
|
@ -67,7 +67,7 @@ top_panel($user,$TAB);
|
|||
|
||||
// Validate email
|
||||
if ((!empty($_POST['v_ftp_email'])) && (!filter_var($_POST['v_ftp_email'], FILTER_VALIDATE_EMAIL))) {
|
||||
$_SESSION['error_msg'] = 'Please enter valid email address.';
|
||||
$_SESSION['error_msg'] = _('Please enter valid email address.');
|
||||
}
|
||||
|
||||
// Check for errors
|
||||
|
@ -79,7 +79,7 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
|
@ -87,7 +87,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain ".$user." ".$v_domain." ".$v_ip." ".$v_template." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -97,7 +97,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-dns-domain ".$user." ".$v_domain." ".$v_ip, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -108,7 +108,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-domain ".$user." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -130,7 +130,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-alias ".$user." ".$v_domain." ".$alias." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-dns-on-web-alias ".$user." ".$v_domain." ".$alias." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -154,7 +154,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-web-domain-alias ".$user." ".$v_domain." ".$alias." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
}
|
||||
|
@ -167,7 +167,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-nginx ".$user." ".$v_domain." 'default' ".$ext." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -206,7 +206,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-ssl ".$user." ".$v_domain." ".$tmpdir." ".$v_ssl_home." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -218,7 +218,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-stats ".$user." ".$v_domain." ".$v_stats, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -229,7 +229,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-stats-user ".$user." ".$v_domain." ".$v_stats_user." ".$v_stats_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($v_stats_user);
|
||||
|
@ -246,19 +246,15 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-ftp ".$user." ".$v_domain." ".$v_ftp_user." ".$v_ftp_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
if (!empty($v_ftp_email)) {
|
||||
$to = $_POST['v_ftp_email'];
|
||||
$subject = "FTP login credentials";
|
||||
$subject = _("FTP login credentials");
|
||||
$hostname = exec('hostname');
|
||||
$from = "Vesta Control Panel <noreply@".$hostname.">";
|
||||
$mailtext .= "Your ftp account has been created successfully and is ready to use.\n\n";
|
||||
$mailtext .= "hostname: ".$_POST['v_domain']."\n";
|
||||
$mailtext .= "username: ".$user."_".$_POST['v_ftp_user']."\n";
|
||||
$mailtext .= "password: ".$_POST['v_ftp_password']."\n\n";
|
||||
$mailtext .= "--\nVesta Control Panel\n";
|
||||
$from = _('MAIL_FROM',$hostname);
|
||||
$mailtext .= _('FTP_ACCOUNT_READY',$_POST['v_domain'],$user,$_POST['v_ftp_user'],$_POST['v_ftp_password']);
|
||||
send_email($to, $subject, $mailtext, $from);
|
||||
unset($v_ftp_email);
|
||||
}
|
||||
|
@ -273,7 +269,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-restart-dns", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -283,11 +279,11 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-restart-web", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
$_SESSION['ok_msg'] = "OK: domain <a href='/edit/web/?domain=".$_POST[v_domain]."'><b>".$_POST[v_domain]."</b></a> has been created successfully.";
|
||||
$_SESSION['ok_msg'] = _('HOSTING_DOMAIN_CREATED_OK',$_POST[v_domain],$_POST[v_domain]);
|
||||
unset($v_domain);
|
||||
unset($v_aliases);
|
||||
unset($v_ssl);
|
||||
|
|
|
@ -17,7 +17,7 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -17,7 +17,7 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -17,7 +17,7 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -17,7 +17,7 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|||
exec (VESTA_CMD."v-delete-dns-domain ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -39,7 +39,7 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|||
exec (VESTA_CMD."v-delete-dns-domain-record ".$v_username." ".$v_domain." ".$v_record_id, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -12,7 +12,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -17,7 +17,7 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|||
exec (VESTA_CMD."v-delete-mail-domain ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -38,7 +38,7 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|||
exec (VESTA_CMD."v-delete-mail-account ".$v_username." ".$v_domain." ".$v_account, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -12,7 +12,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -12,7 +12,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -16,7 +16,7 @@ if (!empty($_GET['domain'])) {
|
|||
exec (VESTA_CMD."v-delete-web-domain ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -28,7 +28,7 @@ if (!empty($_GET['domain'])) {
|
|||
exec (VESTA_CMD."v-delete-dns-domain ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -42,7 +42,7 @@ if (!empty($_GET['domain'])) {
|
|||
exec (VESTA_CMD."v-delete-mail-domain ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -28,7 +28,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-list-cron-job ".$user." ".$v_job." 'json'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -64,14 +64,14 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-cron-job ".$v_username." ".$v_job." ".$v_min." ".$v_hour." ".$v_day." ".$v_month." ".$v_wday." ".$v_cmd, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
$v_cmd = $_POST['v_cmd'];
|
||||
}
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _("OK: changes has been saved.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-list-database ".$user." ".$v_database." 'json'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -58,14 +58,14 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-database-password ".$v_username." ".$v_database." ".$v_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_password = "••••••••";
|
||||
unset($output);
|
||||
}
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-list-dns-domain ".$user." ".$v_domain." json", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -67,7 +67,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-ip ".$v_username." ".$v_domain." ".$v_ip." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$restart_dns = 'yes';
|
||||
|
@ -80,7 +80,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-tpl ".$v_username." ".$v_domain." ".$v_template." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -93,7 +93,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-soa ".$v_username." ".$v_domain." ".$v_soa." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -106,7 +106,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-exp ".$v_username." ".$v_domain." ".$v_exp." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -119,7 +119,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-ttl ".$v_username." ".$v_domain." ".$v_ttl." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -131,13 +131,13 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-restart-dns", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-list-dns-domain-records ".$user." ".$v_domain." 'json'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -187,7 +187,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-record ".$v_username." ".$v_domain." ".$v_record_id." ".$v_val." ".$v_priority, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_val = $_POST['v_val'];
|
||||
|
@ -196,7 +196,7 @@ top_panel($user,$TAB);
|
|||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-list-sys-ip ".$v_ip." 'json'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -62,7 +62,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-sys-ip-status ".$v_ip." 'dedicated'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -72,7 +72,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-sys-ip-status ".$v_ip." 'shared'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -85,7 +85,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-sys-ip-owner ".$v_ip." ".$v_owner, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_owner = $_POST['v_owner'];
|
||||
|
@ -98,14 +98,14 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-sys-ip-name ".$v_ip." ".$v_name, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-list-mail-domain ".$user." ".$v_domain." json", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -60,7 +60,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-mail-domain-antispam ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_antispam = 'no';
|
||||
|
@ -70,7 +70,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-domain-antispam ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_antispam = 'yes';
|
||||
|
@ -82,7 +82,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-mail-domain-antivirus ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_antivirus = 'no';
|
||||
|
@ -92,7 +92,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-domain-antivirus ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_antivirus = 'yes';
|
||||
|
@ -100,7 +100,7 @@ top_panel($user,$TAB);
|
|||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
|
||||
// DKIM
|
||||
|
@ -108,7 +108,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-mail-domain-dkim ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_dkim = 'no';
|
||||
|
@ -118,7 +118,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-domain-dkim ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_dkim = 'yes';
|
||||
|
@ -130,7 +130,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-mail-domain-catchall ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_catchall = '';
|
||||
|
@ -143,7 +143,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-mail-domain-catchall ".$v_username." ".$v_domain." ".$v_catchall, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -155,14 +155,14 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-domain-catchall ".$v_username." ".$v_domain." ".$v_catchall, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
}
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/edit_mail.html');
|
||||
|
@ -176,7 +176,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-list-mail-account ".$user." ".$v_domain." ".$v_account." 'json'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -218,7 +218,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-mail-account-password ".$v_username." ".$v_domain." ".$v_account." ".$v_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_password = "••••••••";
|
||||
|
@ -235,7 +235,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-mail-account-quota ".$v_username." ".$v_domain." ".$v_account." ".$v_quota, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -256,7 +256,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-mail-account-alias ".$v_username." ".$v_domain." ".$v_account." '".$alias."'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -268,7 +268,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-account-alias ".$v_username." ".$v_domain." ".$v_account." '".$alias."'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -290,7 +290,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-mail-account-forward ".$v_username." ".$v_domain." ".$v_account." '".$forward."'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -302,7 +302,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-account-forward ".$v_username." ".$v_domain." ".$v_account." '".$forward."'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -315,7 +315,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-mail-account-autoreply ".$v_username." ".$v_domain." ".$v_account, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -329,7 +329,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-account-autoreply ".$v_username." ".$v_domain." ".$v_account." ".$v_autoreply_message, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -345,7 +345,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-mail-account-autoreply ".$v_username." ".$v_domain." ".$v_account." ".$v_autoreply_message, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -356,7 +356,7 @@ top_panel($user,$TAB);
|
|||
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-list-user-package ".$v_package." 'json'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -70,22 +70,22 @@ if ($_SESSION['user'] == 'admin') {
|
|||
// Action
|
||||
if (!empty($_POST['save'])) {
|
||||
// Check input
|
||||
if (empty($_POST['v_package'])) $errors[] = 'package';
|
||||
if (empty($_POST['v_template'])) $errors[] = 'template';
|
||||
if (empty($_POST['v_shell'])) $errrors[] = 'shell';
|
||||
if (!isset($_POST['v_web_domains'])) $errors[] = 'web domains';
|
||||
if (!isset($_POST['v_web_aliases'])) $errors[] = 'web aliases';
|
||||
if (!isset($_POST['v_dns_domains'])) $errors[] = 'dns domains';
|
||||
if (!isset($_POST['v_dns_records'])) $errors[] = 'dns records';
|
||||
if (!isset($_POST['v_mail_domains'])) $errors[] = 'mail domains';
|
||||
if (!isset($_POST['v_mail_accounts'])) $errors[] = 'mail accounts';
|
||||
if (!isset($_POST['v_databases'])) $errors[] = 'databases';
|
||||
if (!isset($_POST['v_cron_jobs'])) $errors[] = 'cron jobs';
|
||||
if (!isset($_POST['v_backups'])) $errors[] = 'backups';
|
||||
if (!isset($_POST['v_disk_quota'])) $errors[] = 'quota';
|
||||
if (!isset($_POST['v_bandwidth'])) $errors[] = 'bandwidth';
|
||||
if (empty($_POST['v_ns1'])) $errors[] = 'ns1';
|
||||
if (empty($_POST['v_ns2'])) $errors[] = 'ns2';
|
||||
if (empty($_POST['v_package'])) $errors[] = _('package');
|
||||
if (empty($_POST['v_template'])) $errors[] = _('template');
|
||||
if (empty($_POST['v_shell'])) $errrors[] = _('shell');
|
||||
if (!isset($_POST['v_web_domains'])) $errors[] = _('web domains');
|
||||
if (!isset($_POST['v_web_aliases'])) $errors[] = _('web aliases');
|
||||
if (!isset($_POST['v_dns_domains'])) $errors[] = _('dns domains');
|
||||
if (!isset($_POST['v_dns_records'])) $errors[] = _('dns records');
|
||||
if (!isset($_POST['v_mail_domains'])) $errors[] = _('mail domains');
|
||||
if (!isset($_POST['v_mail_accounts'])) $errors[] = _('mail accounts');
|
||||
if (!isset($_POST['v_databases'])) $errors[] = _('databases');
|
||||
if (!isset($_POST['v_cron_jobs'])) $errors[] = _('cron jobs');
|
||||
if (!isset($_POST['v_backups'])) $errors[] = _('backups');
|
||||
if (!isset($_POST['v_disk_quota'])) $errors[] = _('quota');
|
||||
if (!isset($_POST['v_bandwidth'])) $errors[] = _('bandwidth');
|
||||
if (empty($_POST['v_ns1'])) $errors[] = _('ns1');
|
||||
if (empty($_POST['v_ns2'])) $errors[] = _('ns2');
|
||||
|
||||
// Protect input
|
||||
$v_package = escapeshellarg($_POST['v_package']);
|
||||
|
@ -122,7 +122,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
exec ('mktemp -d', $output, $return_var);
|
||||
$tmpdir = $output[0];
|
||||
|
@ -156,7 +156,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-add-user-package ".$tmpdir." ".$v_package." 'yes'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -170,12 +170,12 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-update-user-package ".$v_package." 'json'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-list-user ".$v_username." json", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -78,7 +78,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-user-password ".$v_username." ".$v_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_password = "••••••••";
|
||||
|
@ -91,7 +91,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-user-package ".$v_username." ".$v_package, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -103,7 +103,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-user-template ".$v_username." ".$v_template, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -115,7 +115,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-user-shell ".$v_username." ".$v_shell, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -125,13 +125,13 @@ if ($_SESSION['user'] == 'admin') {
|
|||
if (($v_email != $_POST['v_email']) && (empty($_SESSION['error_msg']))) {
|
||||
// Validate email
|
||||
if (!filter_var($_POST['v_email'], FILTER_VALIDATE_EMAIL)) {
|
||||
$_SESSION['error_msg'] = 'Please enter valid email address.';
|
||||
$_SESSION['error_msg'] = _('Please enter valid email address.');
|
||||
} else {
|
||||
$v_email = escapeshellarg($_POST['v_email']);
|
||||
exec (VESTA_CMD."v-change-user-contact ".$v_username." ".$v_email, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-user-name ".$v_username." ".$v_fname." ".$v_lname, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -163,14 +163,14 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec ($ns_cmd, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
}
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/edit_user.html');
|
||||
|
@ -188,7 +188,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-list-user ".$v_username." json", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -225,7 +225,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-user-password ".$v_username." ".$v_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_password = "••••••••";
|
||||
|
@ -238,7 +238,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-change-user-contact ".$v_username." ".$v_email, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -256,14 +256,14 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec ($ns_cmd, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
}
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/user/edit_user.html');
|
||||
|
|
|
@ -32,7 +32,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-list-web-domain ".$user." ".$v_domain." json", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -95,7 +95,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-web-domain-ip ".$v_username." ".$v_domain." ".$v_ip." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$restart_web = 'yes';
|
||||
|
@ -105,7 +105,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-ip ".$v_username." ".$v_domain." ".$v_ip." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$restart_dns = 'yes';
|
||||
|
@ -117,7 +117,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-dns-domain-ip ".$v_username." '".$v_alias."' ".$v_ip, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$restart_dns = 'yes';
|
||||
|
@ -132,7 +132,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-web-domain-tpl ".$v_username." ".$v_domain." ".$v_template." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -155,7 +155,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-web-domain-alias ".$v_username." ".$v_domain." '".$alias."' 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -164,7 +164,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-dns-on-web-alias ".$v_username." ".$v_domain." '".$alias."' 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$restart_dns = 'yes';
|
||||
|
@ -181,7 +181,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-alias ".$v_username." ".$v_domain." '".$alias."' 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -189,7 +189,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-dns-on-web-alias ".$v_username." ".$v_domain." '".$alias."' 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$restart_dns = 'yes';
|
||||
|
@ -204,7 +204,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-web-domain-nginx ".$v_username." ".$v_domain." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -222,7 +222,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-web-domain-nginx-tpl ".$v_username." ".$v_domain." 'default' ".escapeshellarg($ext)." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_nginx_ext = str_replace(',', ', ', $ext);
|
||||
|
@ -243,7 +243,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-nginx ".$v_username." ".$v_domain." 'default' ".escapeshellarg($ext)." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -256,7 +256,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-web-domain-ssl ".$v_username." ".$v_domain." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -295,7 +295,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-web-domain-sslcert ".$user." ".$v_domain." ".$tmpdir." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -311,7 +311,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-web-domain-sslhome ".$user." ".$v_domain." ".$v_ssl_home." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
$v_ssl_home = $_POST['v_ssl_home'];
|
||||
|
@ -331,7 +331,7 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
exec ('mktemp -d', $mktemp_output, $return_var);
|
||||
$tmpdir = $mktemp_output[0];
|
||||
|
@ -359,7 +359,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-ssl ".$user." ".$v_domain." ".$tmpdir." ".$v_ssl_home." 'no'", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -377,7 +377,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-web-domain-stats ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -388,7 +388,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-change-web-domain-stats ".$v_username." ".$v_domain." ".$v_stats, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -398,7 +398,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-stats ".$v_username." ".$v_domain." ".$v_stats, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -409,7 +409,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-web-domain-stats-user ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -417,8 +417,8 @@ top_panel($user,$TAB);
|
|||
$v_stats_password = '';
|
||||
}
|
||||
if ((empty($v_stats_user)) && (!empty($_POST['v_stats_auth'])) && (empty($_SESSION['error_msg']))) {
|
||||
if (empty($_POST['v_stats_user'])) $errors[] = 'stats username';
|
||||
if (empty($_POST['v_stats_password'])) $errors[] = 'stats password';
|
||||
if (empty($_POST['v_stats_user'])) $errors[] = _('stats username');
|
||||
if (empty($_POST['v_stats_password'])) $errors[] = _('stats password');
|
||||
if (!empty($errors[0])) {
|
||||
foreach ($errors as $i => $error) {
|
||||
if ( $i == 0 ) {
|
||||
|
@ -427,14 +427,14 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
} else {
|
||||
$v_stats_user = escapeshellarg($_POST['v_stats_user']);
|
||||
$v_stats_password = escapeshellarg($_POST['v_stats_password']);
|
||||
exec (VESTA_CMD."v-add-web-domain-stats-user ".$v_username." ".$v_domain." ".$v_stats_user." ".$v_stats_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -442,8 +442,8 @@ top_panel($user,$TAB);
|
|||
}
|
||||
}
|
||||
if ((!empty($v_stats_user)) && (!empty($_POST['v_stats_auth'])) && (empty($_SESSION['error_msg']))) {
|
||||
if (empty($_POST['v_stats_user'])) $errors[] = 'stats user';
|
||||
if (empty($_POST['v_stats_password'])) $errors[] = 'stats password';
|
||||
if (empty($_POST['v_stats_user'])) $errors[] = _('stats user');
|
||||
if (empty($_POST['v_stats_password'])) $errors[] = _('stats password');
|
||||
if (!empty($errors[0])) {
|
||||
foreach ($errors as $i => $error) {
|
||||
if ( $i == 0 ) {
|
||||
|
@ -452,7 +452,7 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
}
|
||||
if (($v_stats_user != $_POST['v_stats_user']) || ($_POST['v_stats_password'] != "••••••••" ) && (empty($_SESSION['error_msg']))) {
|
||||
$v_stats_user = escapeshellarg($_POST['v_stats_user']);
|
||||
|
@ -460,7 +460,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-stats-user ".$v_username." ".$v_domain." ".$v_stats_user." ".$v_stats_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -473,7 +473,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-delete-web-domain-ftp ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -482,8 +482,8 @@ top_panel($user,$TAB);
|
|||
$v_ftp_password = '';
|
||||
}
|
||||
if ((!empty($v_ftp_user)) && (!empty($_POST['v_ftp'])) && (empty($_SESSION['error_msg']))) {
|
||||
if (empty($_POST['v_ftp_user'])) $errors[] = 'ftp user';
|
||||
if (empty($_POST['v_ftp_password'])) $errors[] = 'ftp password';
|
||||
if (empty($_POST['v_ftp_user'])) $errors[] = _('ftp user');
|
||||
if (empty($_POST['v_ftp_password'])) $errors[] = _('ftp user password');
|
||||
if (!empty($errors[0])) {
|
||||
foreach ($errors as $i => $error) {
|
||||
if ( $i == 0 ) {
|
||||
|
@ -492,7 +492,7 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
}
|
||||
if (($v_ftp_user != $_POST['v_ftp_user']) || ($_POST['v_ftp_password'] != "••••••••" ) && (empty($_SESSION['error_msg']))) {
|
||||
$v_ftp_user = preg_replace("/^".$user."_/", "", $_POST['v_ftp_user']);
|
||||
|
@ -501,19 +501,17 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-ftp ".$v_username." ".$v_domain." ".$v_ftp_user." ".$v_ftp_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
$v_ftp_user = $_POST['v_ftp_user'];
|
||||
$v_ftp_password = "••••••••";
|
||||
$v_ftp= '';
|
||||
$v_ftp_user = '';
|
||||
$v_ftp_password = '';
|
||||
}
|
||||
}
|
||||
|
||||
if ((empty($v_ftp_user)) && (!empty($_POST['v_ftp'])) && (empty($_SESSION['error_msg']))) {
|
||||
if ((!empty($_POST['v_ftp_email'])) && (!filter_var($_POST['v_ftp_email'], FILTER_VALIDATE_EMAIL))) $_SESSION['error_msg'] = 'Please enter valid email address.';
|
||||
if (empty($_POST['v_ftp_user'])) $errors[] = 'ftp username';
|
||||
if (empty($_POST['v_ftp_password'])) $errors[] = 'ftp password';
|
||||
if ((!empty($v_ftp_user)) && (!empty($_POST['v_ftp'])) && (empty($_SESSION['error_msg']))) {
|
||||
if (empty($_POST['v_ftp_user'])) $errors[] = _('ftp user');
|
||||
if (empty($_POST['v_ftp_password'])) $errors[] = _('ftp user password');
|
||||
if (!empty($errors[0])) {
|
||||
foreach ($errors as $i => $error) {
|
||||
if ( $i == 0 ) {
|
||||
|
@ -522,7 +520,38 @@ top_panel($user,$TAB);
|
|||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = "Error: field ".$error_msg." can not be blank.";
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
}
|
||||
if (($v_ftp_user != $_POST['v_ftp_user']) || ($_POST['v_ftp_password'] != "••••••••" ) && (empty($_SESSION['error_msg']))) {
|
||||
$v_ftp_user = preg_replace("/^".$user."_/", "", $_POST['v_ftp_user']);
|
||||
$v_ftp_user = escapeshellarg($v_ftp_user);
|
||||
$v_ftp_password = escapeshellarg($_POST['v_ftp_password']);
|
||||
exec (VESTA_CMD."v-add-web-domain-ftp ".$v_username." ".$v_domain." ".$v_ftp_user." ".$v_ftp_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
$v_ftp_user = $_POST['v_ftp_user'];
|
||||
$v_ftp_password = "••••••••";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((empty($v_ftp_user)) && (!empty($_POST['v_ftp'])) && (empty($_SESSION['error_msg']))) {
|
||||
if ((!empty($_POST['v_ftp_email'])) && (!filter_var($_POST['v_ftp_email'], FILTER_VALIDATE_EMAIL))) $_SESSION['error_msg'] = _('Please enter valid email address.');
|
||||
if (empty($_POST['v_ftp_user'])) $errors[] = 'ftp user';
|
||||
if (empty($_POST['v_ftp_password'])) $errors[] = 'ftp user password';
|
||||
if (!empty($errors[0])) {
|
||||
foreach ($errors as $i => $error) {
|
||||
if ( $i == 0 ) {
|
||||
$error_msg = $error;
|
||||
} else {
|
||||
$error_msg = $error_msg.", ".$error;
|
||||
}
|
||||
}
|
||||
$_SESSION['error_msg'] = _('Error: field "%s" can not be blank.',$error_msg);
|
||||
}
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$v_ftp_user = escapeshellarg($_POST['v_ftp_user']);
|
||||
|
@ -530,19 +559,15 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-add-web-domain-ftp ".$v_username." ".$v_domain." ".$v_ftp_user." ".$v_ftp_password, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
} else {
|
||||
if (!empty($_POST['v_ftp_email'])) {
|
||||
$to = $_POST['v_ftp_email'];
|
||||
$subject = "FTP login credentials";
|
||||
$subject = _("FTP login credentials");
|
||||
$hostname = exec('hostname');
|
||||
$from = "Vesta Control Panel <noreply@".$hostname.">";
|
||||
$mailtext .= "Your ftp account has been created successfully and is ready to use.\n\n";
|
||||
$mailtext .= "hostname: ".$_GET['domain']."\n";
|
||||
$mailtext .= "username: ".$user."_".$_POST['v_ftp_user']."\n";
|
||||
$mailtext .= "password: ".$_POST['v_ftp_password']."\n\n";
|
||||
$mailtext .= "--\nVesta Control Panel\n";
|
||||
$from = _('MAIL_FROM',$hostname);
|
||||
$mailtext .= _('FTP_ACCOUNT_READY',$_GET['domain'],$user."_".$_POST['v_ftp_user'],$_POST['v_ftp_password']);
|
||||
send_email($to, $subject, $mailtext, $from);
|
||||
unset($v_ftp_email);
|
||||
}
|
||||
|
@ -558,7 +583,7 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-restart-web", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
}
|
||||
|
@ -568,13 +593,13 @@ top_panel($user,$TAB);
|
|||
exec (VESTA_CMD."v-restart-dns", $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
$_SESSION['ok_msg'] = "OK: changes has been saved.";
|
||||
$_SESSION['ok_msg'] = _('OK: changes has been saved.');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
|
||||
<title>505 — internal error</title>
|
||||
<title><?php print _('505');?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="description" content="internal error"/>
|
||||
<meta name="description" content="<?php print _('505');?>"/>
|
||||
<style type="text/css">
|
||||
body {font-size:14px; color:#777777; font-family:arial; text-align:center; background: black;}
|
||||
h1 {font-size:180px; color:#99A7AF; margin: 70px 0 0 0;}
|
||||
|
@ -17,10 +17,10 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<h2>An internal error occurred</h2>
|
||||
<h2><?php print _('An internal error occurred');?></h2>
|
||||
<img src="/error/vesta.jpg">
|
||||
<div>
|
||||
Try start again from <a href="/">home page</a> or go back to <a href="javascript:%20history.go(-1)">previous page</a>.
|
||||
<?php print _('GO_BACK_LINK');?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
348
web/inc/i18n/en.php
Normal file
348
web/inc/i18n/en.php
Normal file
|
@ -0,0 +1,348 @@
|
|||
<?php
|
||||
/**
|
||||
* Vesta CP language file
|
||||
* Translated by ZonD80 (zond80@gmail.com)
|
||||
*/
|
||||
|
||||
if (!defined('LANGUAGE')) die('Direct access not allowed');
|
||||
|
||||
$LANG = array(
|
||||
'Hour'=>'Hour',
|
||||
'Min'=>'Min',
|
||||
'pb'=>'pb',
|
||||
'tb'=>'tb',
|
||||
'gb'=>'gb',
|
||||
'mb'=>'mb',
|
||||
'Error'=>'Error',
|
||||
'minute'=>'minute',
|
||||
'hour'=>'hour',
|
||||
'day'=>'day',
|
||||
'days'=>'days',
|
||||
'hours'=>'hours',
|
||||
'minutes'=>'minutes',
|
||||
'month'=>'month',
|
||||
'day of week'=>'day of week',
|
||||
'cmd'=>'cmd',
|
||||
'Error: field "%s" can not be blank.'=>'Error: Field "%s" can not be blank.',
|
||||
_('Error: vesta did not return any output.')=>'Error: Vesta did not return any output',
|
||||
'OK: cron job has been created successfully.'=>'Success: Cron Job has been created',
|
||||
'database'=>'database',
|
||||
'username'=>'username',
|
||||
'password'=>'password',
|
||||
'type'=>'type',
|
||||
'charset'=>'charset',
|
||||
'edit'=>'edit',
|
||||
'DATABASE_CREATED_OK'=>'Success: Database <a href="/edit/db/?database=%s"><b>%s</b></a> has been created.',
|
||||
'domain'=>'domain',
|
||||
'ip'=>'IP',
|
||||
'DOMAIN_CREATED_OK'=>'Success: Domain <a href="/list/dns/?domain=%s"><b>%s</b></a> has been created.',
|
||||
'RECORD_CREATED_OK'=>'Success: Record <b>%s.%s</b> has been created.',
|
||||
'ip address'=>'IP-address',
|
||||
'netmask'=>'netmask',
|
||||
'Netmask'=>'Netmask',
|
||||
'interface'=>'interface',
|
||||
'Interface'=>'Interface',
|
||||
'assigned user'=>'assigned user',
|
||||
'IP_CREATED_OK'=>'"Success: IP address <a href="/edit/ip/?ip=%s"><b>%s</b></a> has been created.',
|
||||
'DOMAIN_MAIL_CREATED_OK'=>'Success: Mail for domain <a href="/list/mail/?domain=%s"><b>%s</b></a> has been created.',
|
||||
'account'=>'account',
|
||||
'Account'=>'Account',
|
||||
'MAIL_ACCOUNT_CREATED_OK'=>'Success: Mail account <a href="/edit/mail/?account=%s&domain=%s"><b>%s@%s</b></a> has been created.',
|
||||
'package'=>'package',
|
||||
'template'=>'template',
|
||||
'shell'=>'SSH',
|
||||
'web domains'=>'web domains',
|
||||
'Web Domains'=>'Web Domains',
|
||||
'Web Aliases'=>'Web Aliases',
|
||||
'per domain'=>'per domain',
|
||||
'DNS domains'=>'DNS domains',
|
||||
'DNS records count'=>'DNS records count',
|
||||
'DNS Support'=>'DNS Support',
|
||||
'Mail Support'=>'Mail Support',
|
||||
'web aliases'=>'web aliases',
|
||||
'dns records'=>'DNS records',
|
||||
'mail domains'=>'mail domains',
|
||||
'mail accounts'=>'mail accounts',
|
||||
'Mail Domains'=>'Mail Domains',
|
||||
'Mail Accounts'=>'Mail Accounts',
|
||||
'accounts'=>'accounts',
|
||||
'databases'=>'databases',
|
||||
'Databases'=>'Databases',
|
||||
'cron jobs'=>'cron jobs',
|
||||
'Cron Jobs'=>'Cron Jobs',
|
||||
'Backups'=>'Backups',
|
||||
'backups'=>'backups',
|
||||
'quota'=>'disk quota',
|
||||
'bandwidth'=>'bandwidth',
|
||||
'Bandwidth'=>'Bandwidth',
|
||||
'ns1'=>'ns1',
|
||||
'ns2'=>'ns2',
|
||||
'PACKAGE_CREATED_OK'=>'Success: Package <a href="/edit/package/?package=%s"><b>%s</b></a> has been created.',
|
||||
'user'=>'user',
|
||||
'email'=>'email',
|
||||
'Email'=>'Email',
|
||||
'first name'=>'first name',
|
||||
'last name'=>'last name',
|
||||
'Please enter valid email address.'=>'Please enter valid email address.',
|
||||
'Welcome to Vesta Control Panel'=>'Welcome to Vesta Control Panel',
|
||||
'MAIL_FROM'=>'Vesta Control Panel <noreply@%s>',
|
||||
'GREETINGS_GORDON_FREEMAN'=>"Hello, %s %s,\n",
|
||||
'GREETINGS'=>"Hello,\n",
|
||||
'ACCOUNT_READY'=>"You account has been created and ready for use.\n\nhttps://%s/login/\nUsername: %s\nPassword: %s\n\n--\nVesta Control Panel\n",
|
||||
'ACCOUNT_CREATED_OK'=>'Success: User <a href="/edit/user/?user=%s"><b>%s</b></a> has been created.',
|
||||
'ssl certificate'=>'SSL certificate',
|
||||
'ssl key'=>'SSL key',
|
||||
'SSL Support'=>'SSL Support',
|
||||
'SSL Home Directory'=>'SSL Home Directory',
|
||||
'SSL Certificate'=>'SSL Certificate',
|
||||
'SSL Key'=>'SSL Key',
|
||||
'SSL Certificate Authority / Intermediate'=>'SSL Certificate Authority / Intermediate',
|
||||
'stats user password'=>'stats user password',
|
||||
'stats username'=>'stats username',
|
||||
'stats password'=>'stats password',
|
||||
'ftp user password'=>'FTP user password',
|
||||
'ftp user'=>'FTP user',
|
||||
'FTP login credentials'=>'FTP login credentials',
|
||||
'FTP_ACCOUNT_READY'=>"Your FTP account has been created and ready for use.\n\nHostname: %s\nUsername: %s_%s\nPassword: %s\n\n--\nVesta Control Panel\n",
|
||||
'HOSTING_DOMAIN_CREATED_OK'=>'Success: Web domain <a href="/edit/web/?domain=%s"><b>%s</b></a> has been created.',
|
||||
'OK: changes has been saved.'=>'Success: Changes have been saved.',
|
||||
'FTP login credentials'=>'FTP login credentials',
|
||||
'505'=>'505 — oops, internal error. Call an Ambulance!',
|
||||
'An internal error occurred'=>'An internal error occurred',
|
||||
'GO_BACK_LINK'=>'Try to go back to <a href="/">main page</a> or go to <a href="javascript:history.go(-1)">previous page</a>',
|
||||
'ERROR: Invalid username or password'=>'Error: Invalid username or password',
|
||||
'ERROR: Invalid username or code'=>'Error: Invalid username or reset code',
|
||||
'MAIL_RESET_SUBJECT'=>'Password Reset at %s',
|
||||
'PASSWORD_RESET_REQUEST'=>"You recently requested a password reset.\nTo coutinue to reset your password, visit this link:\nhttps://%s/reset/?action=confirm&user=%s&code=%s\n\nAlternatively, you can visit this link: https://%s/reset/?action=code&user=%s and enter the following reset code:\n%s\n\nIf you did not request password reset, please ignore this message and take out apologies.\n\n--\nVesta Control Panel\n",
|
||||
'ERROR: Passwords not match'=>'Error: Passwords did not match',
|
||||
'Adding Cron Job'=>'Adding Cron Job',
|
||||
'Minute'=>'Minute',
|
||||
'Day'=>'Day',
|
||||
'Month'=>'Month',
|
||||
'Day of week'=>'Day of week',
|
||||
'Command'=>'Command',
|
||||
'Add'=>'Add',
|
||||
'Back'=>'Back',
|
||||
'Adding database'=>'Adding database',
|
||||
'DB_PREFIX_WILL_BE_ADDED'=>'Prefix %s will be automatically added to Database and User name',
|
||||
'FTP_PREFIX_WILL_BE_ADDED'=>'Prefix %s will be automatically added to User name',
|
||||
'Database'=>'Database',
|
||||
'Username'=>'Username',
|
||||
'Password'=>'Password',
|
||||
'generate'=>'generate',
|
||||
'Type'=>'Type',
|
||||
'Charset'=>'Charset',
|
||||
'Adding DNS Domain'=>'Adding DNS Domain',
|
||||
'Domain'=>'Domain',
|
||||
'IP-Address'=>'IP-Address',
|
||||
'Advanced options'=>'Advanced options',
|
||||
'Template'=>'Template',
|
||||
'Expiration date'=>'Expiration date',
|
||||
'Expire'=>'Expire',
|
||||
'YYYY-MM-DD'=>'YYYY-MM-DD',
|
||||
'Name servers'=>'Name servers',
|
||||
'Name Servers'=>'Name Servers',
|
||||
'Powered by Vesta Control Panel'=>'Powered by Vesta Control Panel',
|
||||
'Vesta Control Panel'=>'Vesta Control Panel',
|
||||
'Translation by ZonD80'=>'Translation by ZonD80',
|
||||
'Forgot Password?'=>'Forgot Password?',
|
||||
'Log in'=>'Log in',
|
||||
'Log out'=>'Log out',
|
||||
"RESET_NOTICE"=>"Please enter you username to continue.",
|
||||
'Submit'=>'Submit',
|
||||
'RESET_CODE_SENT'=>'Password reset code has been sent to your email address<br/>Please enter the code into field located below',
|
||||
'Confirm'=>'Confirm',
|
||||
'New Password'=>'New Password',
|
||||
'Confirm Password'=>'Confirm Password',
|
||||
'Reset'=>'Reset',
|
||||
'Statistics'=>'Statistics',
|
||||
'History Log'=>'History Log',
|
||||
'Vesta logo'=>'Vesta logo',
|
||||
'USER'=>'USER',
|
||||
'logout'=>'logout',
|
||||
'users'=>'users',
|
||||
'Users'=>'Users',
|
||||
'suspended'=>'suspended',
|
||||
'WEB'=>'WEB',
|
||||
'domains'=>'domains',
|
||||
'aliases'=>'aliases',
|
||||
'Aliases'=>'Aliases',
|
||||
'DNS'=>'DNS',
|
||||
'records'=>'records',
|
||||
'Records'=>'Records',
|
||||
'MAIL'=>'MAIL',
|
||||
'DB'=>'DB',
|
||||
'CRON'=>'CRON',
|
||||
'BACKUP'=>'BACKUP',
|
||||
'Packages'=>'Packages',
|
||||
'IP Addresses'=>'IP Addresses',
|
||||
'RRD Graphics'=>'RRD Graphics',
|
||||
'jobs'=>'jobs',
|
||||
'Reset Code'=>'Reset Code',
|
||||
'disk'=>'disk',
|
||||
'Disk'=>'Disk',
|
||||
'traffic'=>'traffic',
|
||||
'Database Credentials'=>'Database Credentials',
|
||||
'DATABASE_READY'=>"Hello, %s %s,\nYour %s database has been created successfully.\n\nDatabase: %s_%s\nUser: %s_%s\nPassword: %s\n\n",
|
||||
'Send credentials to'=>'Send credentials to',
|
||||
'Adding DNS Record'=>'Adding DNS Record',
|
||||
'Record'=>'Record',
|
||||
'IP or Value'=>'IP-address or Valie',
|
||||
'Priority'=>'Priority',
|
||||
'optional'=>'optional',
|
||||
'Adding IP Address'=>'Adding IP Address',
|
||||
'Shared'=>'Shared',
|
||||
'Assigned user'=>'Assigned user',
|
||||
'Assigned domain'=>'Assigned domain',
|
||||
'Adding Mail Domain'=>'Creatin Mail Domain',
|
||||
'AntiSpam Support'=>'AntiSpam Support',
|
||||
'AntiVirus Support'=>'AntiVirus Support',
|
||||
'DKIM Support'=>'DKIM Support',
|
||||
'Adding Mail Account'=>'Adding Mail Account',
|
||||
'Advanced options'=>'Advanced options',
|
||||
'Quota'=>'Quota',
|
||||
'in megabytes'=>'in megabytes',
|
||||
'use local-part'=>'use local-part',
|
||||
'Forward to'=>'Forward to',
|
||||
'one or more email addresses'=>'one or more email addresses',
|
||||
'Adding Package'=>'Adding Package',
|
||||
'Package Name'=>'Package Name',
|
||||
'Package'=>'Package',
|
||||
'Default Template'=>'Default Template',
|
||||
'SSH Access'=>'SSH Access',
|
||||
'Adding User'=>'Adding User',
|
||||
'First Name'=>'First Name',
|
||||
'Last Name'=>'Last Name',
|
||||
'SEND_CREDENTIALS_NOTICE'=>'Send fresh credentials to user by email?',
|
||||
'Adding Domain for hosting'=>'Adding Domain for hosting',
|
||||
'Apache template'=>'Apache template',
|
||||
'Nginx Support'=>'Nginx Support',
|
||||
'Nginx Extentions'=>'Nginx Extentions',
|
||||
'Nginx Template'=>'Nginx Template',
|
||||
'Statistics Authorization'=>'Statistics Authorization',
|
||||
'Additional FTP Account'=>'Additional FTP Account',
|
||||
'Editing Cron Job'=>'Editing Cron Job',
|
||||
'Save'=>'Save',
|
||||
'Editing Database'=>'Editing Database',
|
||||
'Editing DNS Domain'=>'Editing DNS Domain',
|
||||
'Editing DNS Record'=>'Editing DNS Record',
|
||||
'Editing IP Address'=>'Editing IP Address',
|
||||
'Editing Mail Domain'=>'Editing Mail Domain',
|
||||
'Catchall email'=>'Catchall email',
|
||||
'Editing Mail Account'=>'Editing Mail Account',
|
||||
'Autoreply'=>'Autoreply',
|
||||
'Message'=>'Message',
|
||||
'Editing Package'=>'Editing Package',
|
||||
'Editing User'=>'Editing User',
|
||||
'Default Name Servers'=>'Default Name Servers',
|
||||
'Editing Domain'=>'Editing Domain',
|
||||
'Create Backup'=>'Create Backup',
|
||||
'apply to selected'=>'apply to selected',
|
||||
'toggle all'=>'toggle all',
|
||||
'delete'=>'delete',
|
||||
'active'=>'active',
|
||||
'download'=>'download',
|
||||
'Owner'=>'Owner',
|
||||
'restore'=>'restore',
|
||||
'restart'=>'restart',
|
||||
'CPU'=>'CPU',
|
||||
'Memory'=>'Memory',
|
||||
'stop'=>'stop',
|
||||
'Run Time'=>'Run Time',
|
||||
'BACKUP_DELETE_CONFIRMATION'=>'Are you sure to delete <b>%s</b> backup?',
|
||||
'Backup Size'=>'Backup Size',
|
||||
'SYS'=>'SYS',
|
||||
'one archive'=>'one archive',
|
||||
'%s archives'=>'%s archives',
|
||||
'Add Cron Job'=>'Add Cron Job',
|
||||
'add account'=>'add account',
|
||||
'open webmail'=>'open webmail',
|
||||
'suspend'=>'suspend',
|
||||
'unsuspend'=>'unsuspend',
|
||||
'CRON_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> cron job?',
|
||||
'Confirmation'=>'Confirmation',
|
||||
'one cron job'=>'one cron job',
|
||||
'%s cron jobs'=>'%s cron jobs',
|
||||
'Add Database'=>'Add Database',
|
||||
'open %s'=>'open %s',
|
||||
'DATABASE_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> database <b>%s</b>?',
|
||||
'one database'=>'ne database',
|
||||
'%s databases'=>'%s databases',
|
||||
'Add DNS Domain'=>'Add DNS Domain',
|
||||
'Search'=>'Search',
|
||||
'LIST_DOMAIN_RECORDS'=>'Show %s records',
|
||||
'add record'=>'add record',
|
||||
'DOMAIN_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> domain <b>%s?</b>',
|
||||
'one domain'=>'one domain',
|
||||
'%s domains'=>'%s domains',
|
||||
'Add DNS Record'=>'Add DNS Record',
|
||||
'Listing'=>'Listing',
|
||||
'list'=>'list',
|
||||
'RECORD_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> record <b>%s</b>?',
|
||||
'one DNS record'=>'one DNS record',
|
||||
'%s DNS records'=>'%s DNS records',
|
||||
'Add IP'=>'Add IP',
|
||||
'IP_DELETE_CONFIRMATION'=>'Are you sure to delere IP-address <b>%s</b>?',
|
||||
'Status'=>'Status',
|
||||
'one IP address'=>'one IP address',
|
||||
'%s IP addresses'=>'%s IP addresses',
|
||||
'one log record'=>'one log record',
|
||||
'%s log records'=>'%s log records',
|
||||
'Add Mail Domain'=>'Add Mail Domain',
|
||||
'MAIL_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> mail for domain <b>%s</b>?',
|
||||
'one domain with email'=>'one domain with email',
|
||||
'%s domains with email'=>'%s domains with email',
|
||||
'Add Mail Account'=>'Add Mail Account',
|
||||
'MAIL_ACCOUNT_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> mail account <b>%s</b>?',
|
||||
'one mail account'=>'one mail account',
|
||||
'%s mail accounts'=>'%s mail accounts',
|
||||
'Add Package'=>'Add Package',
|
||||
'PACKAGE_DELETE_CONFIRMATION'=>'Are you sure to delete package <b>%s</b>?',
|
||||
'one package'=>'one package',
|
||||
'%s packages'=>'%s packages',
|
||||
'Daily'=>'Daily',
|
||||
'Weekly'=>'Weekly',
|
||||
'Monthly'=>'Monthly',
|
||||
'Yearly'=>'Yearly',
|
||||
'Search Results'=>'Search Results',
|
||||
'login as'=>'login as',
|
||||
'ARE_YOU_FUCKING_SURE'=>'Are you sure to <b>%s</b> <b>%s</b>?',
|
||||
'Object'=>'Object',
|
||||
'one object'=>'one object',
|
||||
'%s objects'=>'%s objects',
|
||||
'Overall Statistics'=>'Overall Statistics',
|
||||
'show per user'=>'show per user',
|
||||
'Hosting'=>'Hosting',
|
||||
'Mail'=>'Mail',
|
||||
'User Directories'=>'Папки User Directories',
|
||||
'Web SSL Domains'=>'Web SSL Domains',
|
||||
'one month'=>'one month',
|
||||
'%s months'=>'%s months',
|
||||
'Add User'=>'Add User',
|
||||
'Add Domain'=>'Add Domain',
|
||||
'rebuild'=>'rebuild',
|
||||
'rebuild web'=>'rebuild web',
|
||||
'rebuild DNS'=>'rebuild DNS',
|
||||
'rebuild mail'=>'rebuild mail',
|
||||
'rebuild db'=>'rebuild db',
|
||||
'rebuild cron'=>'rebuild cron',
|
||||
'update counters'=>'update counters',
|
||||
'LOGGED_IN_AS'=>'Logged in as %s',
|
||||
'USER_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> user <b>%s</b>?',
|
||||
'one account'=>'one account',
|
||||
'%s accounts'=>'%s accounts',
|
||||
'Add Domain for hosting'=>'Add Domain for hosting',
|
||||
'open webstats'=>'open webstats',
|
||||
'Error Log'=>'Error Log',
|
||||
'CGI Support'=>'CGI Support',
|
||||
'Statistics Auth'=>'Statistics Auth',
|
||||
'running'=>'running',
|
||||
'SERVICE_ACTION_FAILED'=>'Error: Oparaion "%s" for service "%s" has been failed',
|
||||
'Memory Usage'=>'Memory Usage',
|
||||
'Bandwidth Usage'=>'Bandwidth Usage',
|
||||
'IP Address'=>'IP Address',
|
||||
'Accounts'=>'Accounts',
|
||||
);
|
||||
|
||||
/*error_reporting(E_ALL);
|
||||
ini_set('display_errors',true);*/
|
350
web/inc/i18n/ru.php
Normal file
350
web/inc/i18n/ru.php
Normal file
|
@ -0,0 +1,350 @@
|
|||
<?php
|
||||
/**
|
||||
* Vesta CP language file
|
||||
* Translated by ZonD80 (zond80@gmail.com)
|
||||
*/
|
||||
|
||||
if (!defined('LANGUAGE')) die('Direct access not allowed');
|
||||
|
||||
$LANG = array(
|
||||
'Hour'=>'Час',
|
||||
'Min'=>'Мин',
|
||||
'pb'=>'пб',
|
||||
'tb'=>'тб',
|
||||
'gb'=>'гб',
|
||||
'mb'=>'мб',
|
||||
'Error'=>'Ошибка',
|
||||
'minute'=>'минута',
|
||||
'hour'=>'час',
|
||||
'day'=>'день',
|
||||
'days'=>'дня(ей)',
|
||||
'hours'=>'часа(ов)',
|
||||
'minutes'=>'минут(ы)',
|
||||
'month'=>'месяц',
|
||||
'day of week'=>'день недели',
|
||||
'cmd'=>'командная строка',
|
||||
'Error: field "%s" can not be blank.'=>'Ошибка: Поле "%s" не может быть пустым.',
|
||||
_('Error: vesta did not return any output.')=>'Ошибка: Vesta не отвечает',
|
||||
'OK: cron job has been created successfully.'=>'Успех: Задание Cron успешно создано',
|
||||
'database'=>'база данных',
|
||||
'username'=>'имя пользователя',
|
||||
'password'=>'пароль',
|
||||
'type'=>'тип',
|
||||
'charset'=>'кодировка',
|
||||
'edit'=>'ред.',
|
||||
'DATABASE_CREATED_OK'=>'Успех: База данных <a href="/edit/db/?database=%s"><b>%s</b></a> успешно создана.',
|
||||
'domain'=>'домен',
|
||||
'ip'=>'IP',
|
||||
'DOMAIN_CREATED_OK'=>'Успех: Домен <a href="/list/dns/?domain=%s"><b>%s</b></a> успешно создан.',
|
||||
'RECORD_CREATED_OK'=>'Успех: Запись <b>%s.%s</b> успешно создана.',
|
||||
'ip address'=>'IP-адрес',
|
||||
'IP Address'=>'IP-адрес',
|
||||
'netmask'=>'маска подсети',
|
||||
'Netmask'=>'Маска подсети',
|
||||
'interface'=>'интерфейс',
|
||||
'Interface'=>'Интерфейс',
|
||||
'assigned user'=>'назначенный пользователь',
|
||||
'IP_CREATED_OK'=>'"Успех: ip-адрес <a href="/edit/ip/?ip=%s"><b>%s</b></a> успешно создан.',
|
||||
'DOMAIN_MAIL_CREATED_OK'=>'Успех: почта для домена <a href="/list/mail/?domain=%s"><b>%s</b></a> подключена успешно',
|
||||
'account'=>'аккаунт',
|
||||
'Account'=>'Аккаунт',
|
||||
'MAIL_ACCOUNT_CREATED_OK'=>'Успех: почтовый аккаунт <a href="/edit/mail/?account=%s&domain=%s"><b>%s@%s</b></a> успешно создан.',
|
||||
'package'=>'пакет',
|
||||
'template'=>'шаблон',
|
||||
'shell'=>'SSH',
|
||||
'web domains'=>'хосты',
|
||||
'Web Domains'=>'Хосты',
|
||||
'Web Aliases'=>'Алиасы Хостов',
|
||||
'per domain'=>'на домен',
|
||||
'DNS domains'=>'домены для DNS',
|
||||
'DNS records count'=>'Кол-во DNS записей',
|
||||
'DNS Support'=>'Поддержка DNS',
|
||||
'Mail Support'=>'Поддержка почты',
|
||||
'web aliases'=>'алиасы хостов',
|
||||
'dns records'=>'DNS записи',
|
||||
'mail domains'=>'домены с почтой',
|
||||
'mail accounts'=>'почтовые аккаунты',
|
||||
'Accounts'=>'Аккаунты',
|
||||
'Mail Domains'=>'Домены с Почтой',
|
||||
'Mail Accounts'=>'Почтовые Аккаунты',
|
||||
'accounts'=>'аккаунты',
|
||||
'databases'=>'базы данных',
|
||||
'Databases'=>'Базы Данных',
|
||||
'cron jobs'=>'cron задания',
|
||||
'Cron Jobs'=>'Cron Задания',
|
||||
'Backups'=>'Бэкапы',
|
||||
'backups'=>'бэкапы',
|
||||
'quota'=>'квота диска',
|
||||
'bandwidth'=>'ширина канала',
|
||||
'Bandwidth'=>'Ширина канала',
|
||||
'ns1'=>'DNS-сервер #1',
|
||||
'ns2'=>'DNS-сервер #2',
|
||||
'PACKAGE_CREATED_OK'=>'Успех: Пакет <a href="/edit/package/?package=%s"><b>%s</b></a> успешно создан.',
|
||||
'user'=>'пользователь',
|
||||
'email'=>'email',
|
||||
'Email'=>'Email',
|
||||
'first name'=>'Имя',
|
||||
'last name'=>'Фамилия',
|
||||
'Please enter valid email address.'=>'Пожалуйста, введите реальный email адрес.',
|
||||
'Welcome to Vesta Control Panel'=>'Добро пожаловать в панель управления Vesta',
|
||||
'MAIL_FROM'=>'Vesta Control Panel <noreply@%s>',
|
||||
'GREETINGS_GORDON_FREEMAN'=>"Здравствуйте, %s %s,\n",
|
||||
'GREETINGS'=>"Здравствуйте,\n",
|
||||
'ACCOUNT_READY'=>"Ваш аккаунт успешно создан и готов к использованию.\n\nhttps://%s/login/\nИмя пользователя: %s\nПароль: %s\n\n--\nПанель управления Vesta\n",
|
||||
'ACCOUNT_CREATED_OK'=>'Успех: Пользователь <a href="/edit/user/?user=%s"><b>%s</b></a> успешно создан.',
|
||||
'ssl certificate'=>'SSL сертификат',
|
||||
'ssl key'=>'ключ SSL сертификата',
|
||||
'SSL Support'=>'Поддержка SSL',
|
||||
'SSL Home Directory'=>'Корневая папка для SSL',
|
||||
'SSL Certificate'=>'SSL сертификат',
|
||||
'SSL Key'=>'Ключ SSL сертификата',
|
||||
'SSL Certificate Authority / Intermediate'=>'Центр сертификации SSL CA / Intermediate',
|
||||
'stats user password'=>'пароль для доступа к статистике',
|
||||
'stats username'=>'имя пользователя статистики',
|
||||
'stats password'=>'пароль пользователя статистики',
|
||||
'ftp user password'=>'пароль для доступа к FTP',
|
||||
'ftp user'=>'пользователь FTP',
|
||||
'FTP login credentials'=>'Данные для доступа к FTP',
|
||||
'FTP_ACCOUNT_READY'=>"Ваш FTP аккаунт успешно создан и готов к использованию.\n\nХост: %s\nИмя пользователя: %s_%s\nПароль: %s\n\n--\nПанель управления Vesta\n",
|
||||
'HOSTING_DOMAIN_CREATED_OK'=>'Успешно: хостинг для домена <a href="/edit/web/?domain=%s"><b>%s</b></a> был успешно создан.',
|
||||
'OK: changes has been saved.'=>'Успешно: изменения были сохранены.',
|
||||
'FTP login credentials'=>'Данные для доступа к FTP',
|
||||
'505'=>'505 — внутренняя ошибка',
|
||||
'An internal error occurred'=>'Произошла внутренняя ошибка',
|
||||
'GO_BACK_LINK'=>'Попробуйте вернуться на <a href="/">главную страницу</a> или вернитесь на <a href="javascript:history.go(-1)">предыдущую страницу</a>',
|
||||
'ERROR: Invalid username or password'=>'Ошибка: Неверный логин или пароль',
|
||||
'ERROR: Invalid username or code'=>'Ошибка: Неверный логин или код сброса пароля',
|
||||
'MAIL_RESET_SUBJECT'=>'Сброс пароля %s',
|
||||
'PASSWORD_RESET_REQUEST'=>"Вы недавно запросили смену пароля.\nЧтобы произвести смену пароля, пройдите по этой ссылке:\nhttps://%s/reset/?action=confirm&user=%s&code=%s\n\nВы также можете пойти по ссылке https://%s/reset/?action=code&user=%s и ввести следующий код для сброса пароля:\n%s\n\nЕсли вы не создавали запрос на сброс пароля, пожалуйста проигнорируйте это письмо и примите наши извиниения.\n\n--\nПанель управления Vesta\n",
|
||||
'ERROR: Passwords not match'=>'Ошибка: Пароли не совпадают',
|
||||
'Adding Cron Job'=>'Добавление cron задания',
|
||||
'Minute'=>'Минута',
|
||||
'Day'=>'День',
|
||||
'Month'=>'Месяц',
|
||||
'Day of week'=>'День недели',
|
||||
'Command'=>'Команда',
|
||||
'Add'=>'Добавить',
|
||||
'Back'=>'Назад',
|
||||
'Adding database'=>'Добавление базы данных',
|
||||
'DB_PREFIX_WILL_BE_ADDED'=>'Префикс %s будет автоматически добавлен к БД и пользователю БД',
|
||||
'FTP_PREFIX_WILL_BE_ADDED'=>'Префикс %s будет автоматически добавлен к имени пользователя',
|
||||
'Database'=>'База данных',
|
||||
'Username'=>'Имя пользователя',
|
||||
'Password'=>'Пароль',
|
||||
'generate'=>'сгенерировать',
|
||||
'Type'=>'Тип',
|
||||
'Charset'=>'Кодировка',
|
||||
'Adding DNS Domain'=>'Добавление доменного имени',
|
||||
'Domain'=>'Домен',
|
||||
'IP-Address'=>'IP-адрес',
|
||||
'Advanced options'=>'Расширенные опции',
|
||||
'Template'=>'Шаблон',
|
||||
'Expiration date'=>'Дата окончания делегирования',
|
||||
'Expire'=>'Конец',
|
||||
'YYYY-MM-DD'=>'ГГГГ-ММ-ДД',
|
||||
'Name servers'=>'Сервера имен',
|
||||
'Name Servers'=>'Сервера Имен',
|
||||
'Powered by Vesta Control Panel'=>'Работает на Панели Управления Vesta',
|
||||
'Vesta Control Panel'=>'Панель Управления Vesta',
|
||||
'Translation by ZonD80'=>'Перевод ZonD80',
|
||||
'Forgot Password?'=>'Забыли пароль?',
|
||||
'Log in'=>'Войти',
|
||||
'Log out'=>'Выйти',
|
||||
"RESET_NOTICE"=>"Для сброса пароля введите ваше имя пользователя, и мы расскажем, что нужно делать дальше.",
|
||||
'Submit'=>'Отправить',
|
||||
'RESET_CODE_SENT'=>'Код сброса пароля выслан на ваш email<br/>Пожалуйста, введите код в располженное ниже поле для продолжения',
|
||||
'Confirm'=>'Подтвердить',
|
||||
'New Password'=>'Новый Пароль',
|
||||
'Confirm Password'=>'Подтверждение Пароля',
|
||||
'Reset'=>'Сбросить',
|
||||
'Statistics'=>'Статистика',
|
||||
'History Log'=>'История изменений',
|
||||
'Vesta logo'=>'Логотип Vesta',
|
||||
'USER'=>'ПОЛЬЗ-ЛИ',
|
||||
'logout'=>'выйти',
|
||||
'users'=>'пользователи',
|
||||
'Users'=>'Пользователи',
|
||||
'suspended'=>'выключено',
|
||||
'WEB'=>'ХОСТИНГ',
|
||||
'domains'=>'домены',
|
||||
'aliases'=>'алиасы',
|
||||
'Aliases'=>'Алиасы',
|
||||
'DNS'=>'DNS',
|
||||
'records'=>'записи',
|
||||
'Records'=>'Записи',
|
||||
'MAIL'=>'ПОЧТА',
|
||||
'DB'=>'БД',
|
||||
'CRON'=>'CRON',
|
||||
'BACKUP'=>'БЭКАПЫ',
|
||||
'Packages'=>'Пакеты',
|
||||
'IP Addresses'=>'IP адреса',
|
||||
'RRD Graphics'=>'Графики',
|
||||
'jobs'=>'задания',
|
||||
'Reset Code'=>'Код сброса',
|
||||
'disk'=>'место',
|
||||
'Disk'=>'Место',
|
||||
'traffic'=>'Трафик',
|
||||
'Database Credentials'=>'Данные для доступа к БД',
|
||||
'DATABASE_READY'=>"Здравствуйте %s %s,\nВаша %s база данных создана успешно.\n\nИмя БД: %s_%s\nПользователь: %s_%s\nПароль: %s\n\n",
|
||||
'Send credentials to'=>'Отправить данные для доступа к ',
|
||||
'Adding DNS Record'=>'Добавление записи DNS',
|
||||
'Record'=>'Запись',
|
||||
'IP or Value'=>'IP-адрес или значение',
|
||||
'Priority'=>'Приоритет',
|
||||
'optional'=>'опционально',
|
||||
'Adding IP Address'=>'Добавление IP-адреса',
|
||||
'Shared'=>'Общий',
|
||||
'Assigned user'=>'Пользователь',
|
||||
'Assigned domain'=>'Домен',
|
||||
'Adding Mail Domain'=>'Создание почты для домена',
|
||||
'AntiSpam Support'=>'Поддержка Анти-спама',
|
||||
'AntiVirus Support'=>'Поддержка Антивируса',
|
||||
'DKIM Support'=>'Поддержка DKIM',
|
||||
'Adding Mail Account'=>'Создание почтового ящика',
|
||||
'Advanced options'=>'Дополнительные опции',
|
||||
'Quota'=>'Квота',
|
||||
'in megabytes'=>'в мегабайтах',
|
||||
'use local-part'=>'используйте локальные записи',
|
||||
'Forward to'=>'Перенаправление',
|
||||
'one or more email addresses'=>'один или несколько email-адресов',
|
||||
'Adding Package'=>'Создание пакета',
|
||||
'Package Name'=>'Название пакета',
|
||||
'Package'=>'Пакет',
|
||||
'Default Template'=>'Шаблон по умолчанию',
|
||||
'SSH Access'=>'Доступ к SSH',
|
||||
'Adding User'=>'Добавления пользователя',
|
||||
'First Name'=>'Имя',
|
||||
'Last Name'=>'Фамилия',
|
||||
'SEND_CREDENTIALS_NOTICE'=>'Отправить данные для доступа на ящик пользователя?',
|
||||
'Adding Domain for hosting'=>'Добавление домена для хостинга',
|
||||
'Apache template'=>'Шаблон веб-сервера Apache',
|
||||
'Nginx Support'=>'Поддержка веб-сервера Nginx',
|
||||
'Nginx Extentions'=>'Расширения Nginx',
|
||||
'Nginx Template'=>'Шаблон для Nginx',
|
||||
'Statistics Authorization'=>'Доступ к статистике',
|
||||
'Additional FTP Account'=>'Дополнительный FTP-аккаунт',
|
||||
'Editing Cron Job'=>'Редактирование cron-задания',
|
||||
'Save'=>'Сохранить',
|
||||
'Editing Database'=>'Редактирование БД',
|
||||
'Editing DNS Domain'=>'Редактирование DNS для домена',
|
||||
'Editing DNS Record'=>'Редактирование DNS записи',
|
||||
'Editing IP Address'=>'Редактирование IP-адреса',
|
||||
'Editing Mail Domain'=>'Редактирование почты для домена',
|
||||
'Catchall email'=>'Отправить почту в',
|
||||
'Editing Mail Account'=>'Редактирование почтового акканунта',
|
||||
'Autoreply'=>'Автоответчик',
|
||||
'Message'=>'Сообщение',
|
||||
'Editing Package'=>'Редактирование Пакета',
|
||||
'Editing User'=>'Редактирование Пользователя',
|
||||
'Default Name Servers'=>'DNS по умолчанию',
|
||||
'Editing Domain'=>'Редактирование хостинга',
|
||||
'Create Backup'=>'Создать Бэкап',
|
||||
'apply to selected'=>'применить к выбранным',
|
||||
'toggle all'=>'снять/выделить все',
|
||||
'delete'=>'удалить',
|
||||
'active'=>'активно',
|
||||
'download'=>'скачать',
|
||||
'Owner'=>'Владелец',
|
||||
'restore'=>'восстановить',
|
||||
'restart'=>'перезапустить',
|
||||
'CPU'=>'Процессор',
|
||||
'Memory'=>'Память',
|
||||
'stop'=>'остановить',
|
||||
'Run Time'=>'Время запуска',
|
||||
'BACKUP_DELETE_CONFIRMATION'=>'Вы уверены, что хотите удалить <b>%s</b> бэкап?',
|
||||
'Backup Size'=>'Размер Бэкапа',
|
||||
'SYS'=>'Системное',
|
||||
'one archive'=>'один архив',
|
||||
'%s archives'=>'%s архивов',
|
||||
'Add Cron Job'=>'Добавить новое Cron-задание',
|
||||
'add account'=>'добавить аккаунт',
|
||||
'open webmail'=>'открыть веб-интерфейс',
|
||||
'suspend'=>'выключить',
|
||||
'unsuspend'=>'включить',
|
||||
'CRON_ACTION_CONFIRMATION'=>'Вы уверены, что хотите <b>%s</b> cron-задание?',
|
||||
'Confirmation'=>'Подтверждение',
|
||||
'one cron job'=>'одно cron-задание',
|
||||
'%s cron jobs'=>'%s cron-заданя(ий)',
|
||||
'Add Database'=>'Добавить БД',
|
||||
'open %s'=>'открыть %s',
|
||||
'DATABASE_ACTION_CONFIRMATION'=>'Вы уверены, что хотите <b>%s</b> базу данных <b>%s</b>?',
|
||||
'one database'=>'одна БД',
|
||||
'%s databases'=>'%s БД',
|
||||
'Add DNS Domain'=>'Добавить DNS для домена',
|
||||
'Search'=>'Поиск',
|
||||
'LIST_DOMAIN_RECORDS'=>'Посмотреть %s записей',
|
||||
'add record'=>'добавить запись',
|
||||
'DOMAIN_ACTION_CONFIRMATION'=>'Вы уверены, что хотите <b>%s</b> домен <b>%s?</b>',
|
||||
'one domain'=>'Один домен',
|
||||
'%s domains'=>'%s домена(ов)',
|
||||
'Add DNS Record'=>'Добавить DNS запись',
|
||||
'Listing'=>'Просмотр',
|
||||
'list'=>'посмотреть',
|
||||
'RECORD_ACTION_CONFIRMATION'=>'Вы уверены, что хотите <b>%s</b> запись <b>%s</b>?',
|
||||
'one DNS record'=>'одна DNS-запись',
|
||||
'%s DNS records'=>'%s DNS-записи(ей)',
|
||||
'Add IP'=>'Добавить IP адрес',
|
||||
'IP_DELETE_CONFIRMATION'=>'Вы уверены, что хотите удалить IP адрес <b>%s</b>?',
|
||||
'Status'=>'Статус',
|
||||
'one IP address'=>'один IP',
|
||||
'%s IP addresses'=>'%s IP адреса(ов)',
|
||||
'one log record'=>'одна запись',
|
||||
'%s log records'=>'%s записи(ей)',
|
||||
'Add Mail Domain'=>'Добавить почту для домена',
|
||||
'MAIL_ACTION_CONFIRMATION'=>'Вы уверены, что хотите <b>%s</b> почту для домена <b>%s</b>?',
|
||||
'one domain with email'=>'один домен с почтой',
|
||||
'%s domains with email'=>'%s домена(ов) с почтой',
|
||||
'Add Mail Account'=>'Добавить почтовый аккаунт',
|
||||
'MAIL_ACCOUNT_ACTION_CONFIRMATION'=>'Вы уверены, что хотите <b>%s</b> почтовый ящик <b>%s</b>?',
|
||||
'one mail account'=>'один почтовый ящик',
|
||||
'%s mail accounts'=>'%s почтовых ящика(ов)',
|
||||
'Add Package'=>'Добавить пакет',
|
||||
'PACKAGE_DELETE_CONFIRMATION'=>'Вы уверены, что хотите удалить пакет <b>%s</b>?',
|
||||
'one package'=>'один пакет',
|
||||
'%s packages'=>'%s пакета(ов)',
|
||||
'Daily'=>'Ежедневый',
|
||||
'Weekly'=>'Еженедельный',
|
||||
'Monthly'=>'Ежемесячный',
|
||||
'Yearly'=>'Ежегодный',
|
||||
'Search Results'=>'Результаты Поиска',
|
||||
'login as'=>'войти как',
|
||||
'ARE_YOU_FUCKING_SURE'=>'Вы уверены, что хотите <b>%s</b> <b>%s</b>?',
|
||||
'Object'=>'Объект',
|
||||
'one object'=>'один объект',
|
||||
'%s objects'=>'%s объекта(ов)',
|
||||
'Overall Statistics'=>'Вся Статистика',
|
||||
'show per user'=>'показать для пользователя',
|
||||
'Hosting'=>'Хостинг',
|
||||
'Mail'=>'Почта',
|
||||
'User Directories'=>'Папки пользователя',
|
||||
'Web SSL Domains'=>'Хосты с SSL',
|
||||
'one month'=>'один месяц',
|
||||
'%s months'=>'%s месяца(ев)',
|
||||
'Add User'=>'Добавить Пользователя',
|
||||
'Add Domain'=>'Добавить Домен',
|
||||
'rebuild'=>'перестроить',
|
||||
'rebuild web'=>'перестроить хостинг',
|
||||
'rebuild DNS'=>'перестроить DNS',
|
||||
'rebuild mail'=>'перестроить почту',
|
||||
'rebuild db'=>'перестроить БД',
|
||||
'rebuild cron'=>'перестроить cron',
|
||||
'update counters'=>'обновить счетчики',
|
||||
'LOGGED_IN_AS'=>'Вы вошли как %s',
|
||||
'USER_ACTION_CONFIRMATION'=>'Вы уверены, что хотите <b>%s</b> пользователя <b>%s</b>?',
|
||||
'one account'=>'один аккаунт',
|
||||
'%s accounts'=>'%s аккаунта(ов)',
|
||||
'Add Domain for hosting'=>'Добавить Домен для хостинга',
|
||||
'open webstats'=>'открыть ститистику',
|
||||
'Error Log'=>'Лог Ошибок',
|
||||
'CGI Support'=>'Поддержка CGI',
|
||||
'Statistics Auth'=>'Авторизация Статистики',
|
||||
'running'=>'работает',
|
||||
'SERVICE_ACTION_FAILED'=>'Ошибка: Операция "%s" для сервиса "%s" не удалась',
|
||||
'Load Average'=>'Нагрузка',
|
||||
'Memory Usage'=>'Использование Памяти',
|
||||
'Bandwidth Usage'=>'Использование Сети',
|
||||
|
||||
);
|
||||
|
||||
/*error_reporting(E_ALL);
|
||||
ini_set('display_errors',true);*/
|
|
@ -1,6 +1,27 @@
|
|||
<?php
|
||||
|
||||
// need to be moved to user settings
|
||||
define('LANGUAGE','ru');
|
||||
|
||||
require_once($_SERVER['DOCUMENT_ROOT'].'/inc/i18n/'.LANGUAGE.'.php');
|
||||
|
||||
|
||||
// works like sprintf if more than one arguments called
|
||||
function _() {
|
||||
global $LANG;
|
||||
$args = func_get_args();
|
||||
$key = $args[0];
|
||||
if (!isset($LANG[$key])) $text=$key; else
|
||||
$text=$LANG[$key];
|
||||
|
||||
if (count($args)>1) { $args[0] = $text;
|
||||
return call_user_func_array("sprintf",$args);
|
||||
}
|
||||
else return $text;
|
||||
}
|
||||
|
||||
// Check user session
|
||||
if ((!isset($_SESSION['user'])) && (!isset($api_mode))) {
|
||||
if ((!isset($_SESSION['user'])) && (!isset($api_mode))&&!defined('NO_AUTH_REQUIRED')) {
|
||||
$_SESSION['request_uri'] = $_SERVER['REQUEST_URI'];
|
||||
header("Location: /login/");
|
||||
exit;
|
||||
|
@ -48,23 +69,23 @@ function humanize_time($usage) {
|
|||
$usage = $usage / 24;
|
||||
$usage = number_format($usage);
|
||||
if ( $usage == 1 ) {
|
||||
$usage = $usage." day";
|
||||
$usage = $usage." "._('day');
|
||||
} else {
|
||||
$usage = $usage." days";
|
||||
$usage = $usage." "._('days');
|
||||
}
|
||||
} else {
|
||||
$usage = number_format($usage);
|
||||
if ( $usage == 1 ) {
|
||||
$usage = $usage." hour";
|
||||
$usage = $usage." "._('hour');
|
||||
} else {
|
||||
$usage = $usage." hours";
|
||||
$usage = $usage." "._('hours');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ( $usage == 1 ) {
|
||||
$usage = $usage." minute";
|
||||
$usage = $usage." "._('minute');
|
||||
} else {
|
||||
$usage = $usage." minutes";
|
||||
$usage = $usage." "._('minutes');
|
||||
}
|
||||
}
|
||||
return $usage;
|
||||
|
@ -78,17 +99,17 @@ function humanize_usage($usage) {
|
|||
if ( $usage > 1000 ) {
|
||||
$usage = $usage / 1000 ;
|
||||
$usage = number_format($usage, 2);
|
||||
$usage = $usage." pb";
|
||||
$usage = $usage." "._('pb');
|
||||
} else {
|
||||
$usage = number_format($usage, 2);
|
||||
$usage = $usage." tb";
|
||||
$usage = $usage." "._('tb');
|
||||
}
|
||||
} else {
|
||||
$usage = number_format($usage, 2);
|
||||
$usage = $usage." gb";
|
||||
$usage = $usage." "._('gb');
|
||||
}
|
||||
} else {
|
||||
$usage = $usage." mb";
|
||||
$usage = $usage." "._('mb');
|
||||
}
|
||||
return $usage;
|
||||
}
|
||||
|
|
|
@ -20,13 +20,13 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD.$cmd, $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
$data = array_reverse($data);
|
||||
display_error_block;
|
||||
display_error_block();
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_user.html');
|
||||
} else {
|
||||
exec (VESTA_CMD."v-list-user ".$user." json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
$data = array_reverse($data);
|
||||
display_error_block;
|
||||
display_error_block();
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/user/list_user.html');
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
<?php
|
||||
|
||||
session_start();
|
||||
|
||||
define('NO_AUTH_REQUIRED',true);
|
||||
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
if (isset($_GET['logout'])) {
|
||||
session_destroy();
|
||||
}
|
||||
|
@ -26,7 +31,7 @@ if (isset($_SESSION['user'])) {
|
|||
$command="$cmd"."v-check-user-password ".$v_user." ".$v_password." '".$_SERVER["REMOTE_ADDR"]."'";
|
||||
exec ($command, $output, $return_var);
|
||||
if ( $return_var > 0 ) {
|
||||
$ERROR = "<a class=\"error\">ERROR: Invalid username or password</a>";
|
||||
$ERROR = "<a class=\"error\">"._('ERROR: Invalid username or password')."</a>";
|
||||
} else {
|
||||
$_SESSION['user'] = $_POST['user'];
|
||||
if ($_POST['user'] == 'root') $_SESSION['user'] = 'admin';
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
session_start();
|
||||
|
||||
if (!empty($_SESSION['look'])) {
|
||||
|
|
|
@ -1,23 +1,12 @@
|
|||
<?php
|
||||
session_start();
|
||||
|
||||
define('NO_AUTH_REQUIRED',true);
|
||||
|
||||
$TAB = 'RESET PASSWORD';
|
||||
//
|
||||
function send_email($to,$subject,$mailtext,$from) {
|
||||
$charset = "utf-8";
|
||||
$to = '<'.$to.'>';
|
||||
$boundary='--' . md5( uniqid("myboundary") );
|
||||
$priorities = array( '1 (Highest)', '2 (High)', '3 (Normal)', '4 (Low)', '5 (Lowest)' );
|
||||
$priority = $priorities[2];
|
||||
$ctencoding = "8bit";
|
||||
$sep = chr(13) . chr(10);
|
||||
$disposition = "inline";
|
||||
$subject = "=?$charset?B?".base64_encode($subject)."?=";
|
||||
$header.="From: $from \nX-Priority: $priority\nCC: $cc\n";
|
||||
$header.="Mime-Version: 1.0\nContent-Type: text/plain; charset=$charset \n";
|
||||
$header.="Content-Transfer-Encoding: $ctencoding\nX-Mailer: Php/libMailv1.3\n";
|
||||
$message .= $mailtext;
|
||||
mail($to, $subject, $message, $header);
|
||||
}
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
|
||||
if ((!empty($_POST['user'])) && (empty($_POST['code']))) {
|
||||
$v_user = escapeshellarg($_POST['user']);
|
||||
|
@ -31,21 +20,15 @@ if ((!empty($_POST['user'])) && (empty($_POST['code']))) {
|
|||
$lname = $data[$user]['LNAME'];
|
||||
$contact = $data[$user]['CONTACT'];
|
||||
$to = $data[$user]['CONTACT'];
|
||||
$subject = 'Password Reset '.date("Y-m-d H:i:s");
|
||||
$subject = _('MAIL_RESET_SUBJECT',date("Y-m-d H:i:s"));
|
||||
$hostname = exec('hostname');
|
||||
$from = "Vesta Control Panel <noreply@".$hostname.">";
|
||||
$from = _('MAIL_FROM',$hostname);
|
||||
if (!empty($fname)) {
|
||||
$mailtext = "Hello ".$fname." ".$lname.",\n";
|
||||
$mailtext = _('GREETINGS_GORDON_FREEMAN',$fname,$lname);
|
||||
} else {
|
||||
$mailtext = "Hello,\n";
|
||||
$mailtext = _('GREETINGS');
|
||||
}
|
||||
$mailtext .= "You recently asked to reset your control panel password. ";
|
||||
$mailtext .= "To complete your request, please follow this link:\n";
|
||||
$mailtext .= "https://".$_SERVER['HTTP_HOST']."/reset/?action=confirm&user=".$user."&code=".$rkey."\n\n";
|
||||
$mailtext .= "Alternately, you may go to https://".$_SERVER['HTTP_HOST']."/reset/?action=code&user=".$user." and enter the following password reset code:\n";
|
||||
$mailtext .= $rkey."\n\n";
|
||||
$mailtext .= "If you did not request a new password please ignore this letter and accept our apologies — we didn't intend to disturb you.\n\n";
|
||||
$mailtext .= "--\nVesta Control Panel\n";
|
||||
$mailtext .= _('PASSWORD_RESET_REQUEST',$_SERVER['HTTP_HOST'],$user,$rkey,$_SERVER['HTTP_HOST'],$user,$rkey);
|
||||
if (!empty($rkey)) send_email($to, $subject, $mailtext, $from);
|
||||
unset($output);
|
||||
}
|
||||
|
@ -68,20 +51,20 @@ if ((!empty($_POST['user'])) && (!empty($_POST['code'])) && (!empty($_POST['pass
|
|||
$cmd="/usr/bin/sudo /usr/local/vesta/bin/v-change-user-password";
|
||||
exec ($cmd." ".$v_user." ".$v_password, $output, $return_var);
|
||||
if ( $return_var > 0 ) {
|
||||
$ERROR = "<a class=\"error\">ERROR: Internal error</a>";
|
||||
$ERROR = "<a class=\"error\">"._('An internal error occurred')."</a>";
|
||||
} else {
|
||||
$_SESSION['user'] = $_POST['user'];
|
||||
header("Location: /");
|
||||
exit;
|
||||
}
|
||||
} else {
|
||||
$ERROR = "<a class=\"error\">ERROR: Invalid username or code</a>";
|
||||
$ERROR = "<a class=\"error\">"._('ERROR: Invalid username or code')."</a>";
|
||||
}
|
||||
} else {
|
||||
$ERROR = "<a class=\"error\">ERROR: Invalid username or code</a>";
|
||||
$ERROR = "<a class=\"error\">"._('ERROR: Invalid username or code')."</a>";
|
||||
}
|
||||
} else {
|
||||
$ERROR = "<a class=\"error\">ERROR: Passwords not match</a>";
|
||||
$ERROR = "<a class=\"error\">"._('ERROR: Passwords not match')."</a>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: service '.$v_service.' restart failed';
|
||||
if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('restart'),$v_service);
|
||||
$_SESSION['error_srv'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -12,7 +12,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: service '.$v_service.' start failed';
|
||||
if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('start'),$v_service);;
|
||||
$_SESSION['error_srv'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -12,7 +12,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: service '.$v_service.' stop failed';
|
||||
if (empty($error)) $error = _('SERVICE_ACTION_FAILED',_('stop'),$v_service);
|
||||
$_SESSION['error_srv'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -16,7 +16,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -17,7 +17,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -17,7 +17,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-suspend-dns-domain ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -38,7 +38,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-suspend-dns-domain-record ".$v_username." ".$v_domain." ".$v_record_id, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -17,7 +17,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-suspend-mail-domain ".$v_username." ".$v_domain, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
@ -38,7 +38,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-suspend-mail-account ".$v_username." ".$v_domain." ".$v_account, $output, $return_var);
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -13,7 +13,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -17,7 +17,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
if (empty($error)) $error = _('Error: vesta did not return any output.');
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding Cron Job</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding Cron Job');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -44,7 +44,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Minute
|
||||
<?php print _('Minute');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -54,7 +54,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Hour
|
||||
<?php print _('Hour');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -64,7 +64,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Day
|
||||
<?php print _('Day');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -74,7 +74,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Month
|
||||
<?php print _('Month');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -84,7 +84,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Day of Week
|
||||
<?php print _('Day of week');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -94,7 +94,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Command
|
||||
<?php print _('Command');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -104,8 +104,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
<?php
|
||||
$back = $_SESSION['back'];
|
||||
if (empty($back)) {
|
||||
|
@ -10,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding Database</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding database');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -65,12 +64,12 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td style="padding: 10 0 0 2px; color:99a7af;" >
|
||||
Prefix "<?php echo $user."_"; ?>" will be automaticaly added to database name and database user
|
||||
<?php print _('DB_PREFIX_WILL_BE_ADDED',$user."_");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Database
|
||||
<?php print _('Database');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -80,7 +79,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -90,7 +89,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Password <a href="javascript:randomString();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:randomString();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -100,7 +99,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Type
|
||||
<?php print _('Type');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -118,7 +117,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Charset
|
||||
<?php print _('Charset');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -164,7 +163,7 @@
|
|||
</td>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Send credentials to <?php echo $panel[$user]['CONTACT'] ?>
|
||||
<?php print _('Send credentials to'); echo $panel[$user]['CONTACT'] ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -174,8 +173,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding DNS Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding DNS Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -55,7 +55,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -65,7 +65,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP address
|
||||
<?php print _('IP-address');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -75,7 +75,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced">Advanced Options</a>
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print _('Advanced options');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -83,7 +83,7 @@
|
|||
<table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Template
|
||||
<?php print _('Template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -106,7 +106,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Domain Expiriation <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -126,7 +126,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Name Servers
|
||||
<?php print _('Name servers');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -154,8 +154,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding DNS Record</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding DNS Record'); ?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -44,7 +44,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -54,7 +54,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Record
|
||||
<?php print _('Record');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -64,7 +64,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Type
|
||||
<?php print _('Type');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP or Value
|
||||
<?php print _('IP or Value');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -97,7 +97,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Priority <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(optional)</span>
|
||||
<?php print _('Priority');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -107,8 +107,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok_rec" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok_rec" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding IP Address</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding IP Adress');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -65,7 +65,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Netmask
|
||||
<?php print _('Netmask');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -75,7 +75,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Interface
|
||||
<?php print _('Interface');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -93,7 +93,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Shared
|
||||
<?php print _('Shared');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -106,7 +106,7 @@
|
|||
<table style="display:<?php if (empty($v_dedicated)) { echo 'none';} else {echo 'block';}?> ;" id="usrtable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 0 0 0 2px;">
|
||||
Assigned User
|
||||
<?php print _('Assigned user');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -127,7 +127,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Associated Domain <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(optional)</span>
|
||||
<?php print _('Assigned domain');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -137,8 +137,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding Mail Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding Mail Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -44,7 +44,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -54,7 +54,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
AntiSpam Support
|
||||
<?php print _('AntiSpam Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -64,7 +64,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
AntiVirus Support
|
||||
<?php print _('AntiVirus Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -74,18 +74,18 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
DKIM Support
|
||||
<?php print _('DKIM Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox" size="20" class="vst-checkbox" name="v_dkim" <?php if ($v_dkim == 'yes') echo "checked=yes"; ?>>
|
||||
<input type="checkbox" size="20" class="vst-checkbox" name="v_dkim" <?php if (isset($v_dkim)&&$v_dkim == 'yes') echo "checked=yes"; ?>>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding Mail Account</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding Mail Account');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -65,7 +65,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -75,7 +75,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Account
|
||||
<?php print _('Account');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -85,7 +85,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Password <a href="javascript:randomString();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:randomString();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -95,7 +95,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"> Advanced Options</a>
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"> <?php print _('Advanced options');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -103,7 +103,7 @@
|
|||
<table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 0 0 0 2px;">
|
||||
Quota <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(in megabytes)</span>
|
||||
<?php print _('Quota');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print _('in megabytes');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -113,7 +113,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Aliases <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(use local-part)</span>
|
||||
<?php print _('Aliases');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print _('use local-part');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -123,7 +123,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Forward to <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(email address or addresses)</span>
|
||||
<?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>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -136,8 +136,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok_acc" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok_acc" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding Package</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding Package');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -44,7 +44,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Package Name
|
||||
<?php print _('Package Name');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -54,7 +54,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Default Template
|
||||
<?php print _('Default Template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -77,7 +77,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
System Shell
|
||||
<?php print _('SSH Access');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -100,7 +100,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Domains
|
||||
<?php print _('Web Domains');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -110,7 +110,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Aliases <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -120,7 +120,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
DNS Domains
|
||||
<?php print _('DNS domains');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -130,7 +130,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
DNS Records <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(per domain)</span>
|
||||
<?php print _('DNS records count');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('per domain');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -140,7 +140,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Mail Domains
|
||||
<?php print _('Mail Domains');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -150,7 +150,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Mail Accounts <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -160,7 +160,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Databases
|
||||
<?php print _('Databases');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -170,7 +170,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Cron Jobs
|
||||
<?php print _('Cron Jobs');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -180,7 +180,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Backups
|
||||
<?php print _('Backups');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -190,7 +190,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Disk Quota <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(in Mb)</span>
|
||||
<?php print _('Quota');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('in megabytes');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -200,7 +200,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Bandwidth <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(in Mb)</span>
|
||||
<?php print _('Bandwidth');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('in megabytes');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -210,7 +210,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Name Servers
|
||||
<?php print _('Name servers');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -235,8 +235,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding User</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding User');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -58,7 +58,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -68,7 +68,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Password <a href="javascript:randomString();" class="genpass" >generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:randomString();" class="genpass" ><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -78,7 +78,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Email
|
||||
<?php print _('Email');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -88,7 +88,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;" name="v_package">
|
||||
Package
|
||||
<?php print _('Package');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -108,7 +108,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
First Name
|
||||
<?php print _('First Name');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -118,7 +118,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Last Name
|
||||
<?php print _('Last Name');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -128,7 +128,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Send login credentials to the user's email address
|
||||
<?php print _('SEND_CREDENTIALS_NOTICE');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -138,8 +138,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding Domain for hosting');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -85,7 +85,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -95,7 +95,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP address
|
||||
<?php print _('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -115,7 +115,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
DNS support
|
||||
<?php print _('DNS Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -125,7 +125,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Mail support
|
||||
<?php print _('Mail Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -135,14 +135,14 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced">Advanced Options</a>
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print _('Advanced options');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="data-col2" width="600px" style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain Aliases
|
||||
<?php print _('Aliases');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -152,7 +152,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Apache Template
|
||||
<?php print _('Apache template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -175,7 +175,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Nginx Support
|
||||
<?php print _('Nginx Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -188,7 +188,7 @@
|
|||
<table style="display:<?php if ($v_nginx == 'off') { echo 'none';} else {echo 'block';}?>;" id="nginxtable" >
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
Nginx Supported Extentions
|
||||
<?php print _('Nginx Extentions');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -201,7 +201,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Support
|
||||
<?php print _('SSL Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -214,7 +214,7 @@
|
|||
<table style="display:<?php if (empty($v_ssl)) { echo 'none';} else {echo 'block';}?>;" id="ssltable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
SSL HomeDirectory
|
||||
<?php print _('SSL Home Directory');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -231,7 +231,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
SSL Certificate
|
||||
<?php print _('SSL Certificate');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -241,7 +241,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
SSL Key
|
||||
<?php print _('SSL Key');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -251,7 +251,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
SSL Certificate Authority / Intermediate <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(optional)</span>
|
||||
<?php print _('SSL Certificate Authority / Intermediate');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -264,7 +264,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistics
|
||||
<?php print _('Statistics');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -286,7 +286,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistic Authorization
|
||||
<?php print _('Statistics Authorization');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -299,7 +299,7 @@
|
|||
<table style="display:<?php if (empty($v_stats_user)) { echo 'none';} else {echo 'block';}?> ;" id="statstable" name="v-add-web-domain-stats-user">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
Web Statistics Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -309,7 +309,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
Web Statistics Password <a href="javascript:WEBrandom();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:WEBrandom();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -322,7 +322,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Additional FTP Account
|
||||
<?php print _('Additional FTP Account');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -335,8 +335,8 @@
|
|||
<table style="display:<?php if (empty($v_ftp_user)) { echo 'none';} else {echo 'block';}?> ;" id="ftptable" name="v_add_domain_ftp">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
FTP Username<br>
|
||||
<span style="font-size: 10pt; color:#555;">Prefix <?php echo $user."_"; ?> will be automaticaly added to username</span>
|
||||
<?php print _('Username');?><br>
|
||||
<span style="font-size: 10pt; color:#555;"><?php print _('FTP_PREFIX_WILL_BE_ADDED',$user."_");?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -346,7 +346,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
FTP Password <a href="javascript:FTPrandom();" class="genpass" >generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:FTPrandom();" class="genpass" ><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -356,7 +356,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
Send FTP credentials to email
|
||||
<?php print _('SEND_CREDENTIALS_NOTICE');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -371,8 +371,8 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td style="padding: 33px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing Cron Job</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing Cron Job');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -47,7 +47,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Minute
|
||||
<?php print _('Minute');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -57,7 +57,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Hour
|
||||
<?php print _('Hour');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -67,7 +67,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Day
|
||||
<?php print _('Day');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -77,7 +77,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Month
|
||||
<?php print _('Month');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Day of Week
|
||||
<?php print _('Day Of Week');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -97,7 +97,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Command
|
||||
<?php print _('Command');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -107,8 +107,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="save" value="Save" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="save" value="<?php print _('Save');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing Database</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing Database');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -66,7 +66,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Database
|
||||
<?php print _('Database');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -76,7 +76,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -86,7 +86,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Password <a href="javascript:randomString();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:randomString();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -96,7 +96,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Type
|
||||
<?php print _('Type');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -106,7 +106,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Host
|
||||
<?php print _('Host');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -116,7 +116,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Charset
|
||||
<?php print _('Charset');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -126,8 +126,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="save" value="Save" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="save" value="<?php print _('Save');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing DNS Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing DNS Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -45,7 +45,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -55,7 +55,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP address
|
||||
<?php print _('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -65,7 +65,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Template
|
||||
<?php print _('Template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -86,7 +86,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Domain Expiriation<span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -116,8 +116,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" class="button" name="save" value="Save">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing DNS Record</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing DNS Record');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -45,7 +45,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -56,7 +56,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Record
|
||||
<?php print _('Record');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -66,7 +66,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Type
|
||||
<?php print _('Type');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -76,7 +76,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP or Value
|
||||
<?php print _('IP or Value');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -86,7 +86,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Priority <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(optional)</span>
|
||||
<?php print _('Priority');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -96,8 +96,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" class="button" name="save" value="Save">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing IP Address</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing IP Address');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -67,7 +67,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Netmask
|
||||
<?php print _('Netmask');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -77,7 +77,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Interface
|
||||
<?php print _('Interface');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Shared
|
||||
<?php print _('Shared');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -97,7 +97,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Assigned User
|
||||
<?php print _('Assigned user');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -115,7 +115,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Associated Domain <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(optional)</span>
|
||||
<?php print _('Assigned domain');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -125,8 +125,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="save" value="Save" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="save" value="<?php print _('Save');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing Mail Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing Mail Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -33,7 +33,7 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 24px 0 2px 4px;"><a class="data-date" ?><?php echo date("d M Y", strtotime($v_date))?></a></td></tr>
|
||||
<tr><td style="padding: 0 0 6px 4px;"><a class="data-date" ?><?php echo $v_time?></a></td></tr>
|
||||
<tr><td style="padding: 0 0 0 21px;" class="data-<?php echo $v_status ?>"><b><?php echo $v_status ?></b></td></tr>
|
||||
<tr><td style="padding: 0 0 0 21px;" class="data-<?php echo $v_status ?>"><b><?php echo _($v_status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
|
@ -45,7 +45,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -55,7 +55,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
AntiSpam Support
|
||||
<?php print _('AntiSpam Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -65,7 +65,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
AntiVirus Support
|
||||
<?php print _('AntiVirus Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -75,7 +75,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
DKIM Support
|
||||
<?php print _('DKIM Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -85,7 +85,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Catchall Email
|
||||
<?php print _('Catchall email');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -95,8 +95,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" class="button" name="save" value="Save">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing Mail Account</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing Mail Account');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -66,7 +66,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Account
|
||||
<?php print _('Account');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -78,7 +78,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Password <a href="javascript:randomString();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:randomString();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -88,7 +88,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Quota <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(in megabytes)</span>
|
||||
<?php print _('Quota');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print _('in megabytes');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -98,7 +98,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Aliases <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(use local-part)</span>
|
||||
<?php print _('Aliases');?> <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(<?php print _('use local-part');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -108,7 +108,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Forward to <span style="padding: 0pt 0pt 0pt 6px; font-size: 10pt; color: rgb(85, 85, 85);">(email address or addresses)</span>
|
||||
<?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>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -118,7 +118,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Autoreply
|
||||
<?php print _('Autoreply');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -131,7 +131,7 @@
|
|||
<table style="display:<?php if ($v_autoreply == 'no') { echo 'none';} else {echo 'block';}?> ;" id="autoreplytable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 2px;">
|
||||
Autoreply Message
|
||||
<?php print _('Message');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -144,8 +144,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="save" value="Save" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="save" value="<?php print _('Save');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing Package</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing Package');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -45,7 +45,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Package Name
|
||||
<?php print _('Package Name');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -55,7 +55,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Default Template
|
||||
<?php print _('Default Template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -78,7 +78,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
System Shell
|
||||
<?php print _('SSH Access');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -101,7 +101,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Domains
|
||||
<?php print _('Web Domains');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -111,7 +111,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Aliases <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -121,7 +121,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
DNS Domains
|
||||
<?php print _('DNS Domains');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -131,7 +131,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
DNS Records <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(per domain)</span>
|
||||
<?php print _('DNS records count');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('per domain');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -141,7 +141,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Mail Domains
|
||||
<?php print _('Mail Domains');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -151,7 +151,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Mail Accounts <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -161,7 +161,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Databases
|
||||
<?php print _('Databases');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -171,7 +171,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Cron Jobs
|
||||
<?php print _('Cron Jobs');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -181,7 +181,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Backups
|
||||
<?php print _('Backups');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -191,7 +191,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Disk Quota <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(in Mb)</span>
|
||||
<?php print _('Quota');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('in megabytes');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -201,7 +201,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Bandwidth <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(in Mb)</span>
|
||||
<?php print _('Bandwidth');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('in megabytes');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -211,7 +211,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Name Servers
|
||||
<?php print _('Name Servers');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -236,8 +236,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="save" value="Save" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="save" value="<?php print _('Save');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing User</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing User');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -58,7 +58,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -68,7 +68,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Password <a href="javascript:randomString();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:randomString();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -78,7 +78,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Email
|
||||
<?php print _('Email');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -88,7 +88,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;" >
|
||||
Package
|
||||
<?php print _('Package');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -109,7 +109,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Frist Name
|
||||
<?php print _('First Name');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -119,7 +119,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Last Name
|
||||
<?php print _('Last Name');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -129,7 +129,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;" >
|
||||
Default Template
|
||||
<?php print _('Default Template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -150,7 +150,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;" >
|
||||
Shell
|
||||
<?php print _('SSH Access');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -171,7 +171,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Default Name Servers
|
||||
<?php print _('Default Name Servers');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -196,8 +196,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" class="button" name="save" value="Save">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -77,7 +77,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP address
|
||||
<?php print _('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -108,7 +108,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Aliases
|
||||
<?php print _('Aliases');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -118,7 +118,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Template
|
||||
<?php print _('Template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -139,7 +139,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Nginx Support
|
||||
<?php print _('Nginx Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -152,7 +152,7 @@
|
|||
<table style="display:<?php if (empty($v_nginx)) { echo 'none';} else {echo 'block';}?> ;" id="nginxtable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
Nginx Supported Extentions
|
||||
<?php print _('Nginx Extensions');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -165,7 +165,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Support
|
||||
<?php print _('SSL Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -178,7 +178,7 @@
|
|||
<table style="display:<?php if ($v_ssl == 'no' ) { echo 'none';} else {echo 'block';}?> ;" id="ssltable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
SSL HomeDirectory
|
||||
<?php print _('SSH Home Directory');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -195,7 +195,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Certificate
|
||||
<?php print _('SSL Certificate');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -205,7 +205,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Key
|
||||
<?php print _('SSL Key');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -215,7 +215,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Certificate Authority / Intermediate <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(optional)</span>
|
||||
<?php print _('SSL Certificate Authority / Intermediate');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -228,7 +228,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistics
|
||||
<?php print _('Statisitcs');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -250,7 +250,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistic Authorization
|
||||
<?php print _('Statistic Authorization');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -263,7 +263,7 @@
|
|||
<table style="display:<?php if (empty($v_stats_user)) { echo 'none';} else {echo 'block';}?> ;" id="statstable" name="v-add-web-domain-stats-user">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 2px;">
|
||||
Web Statistics Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -273,7 +273,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistics Password <a href="javascript:WEBrandom();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:WEBrandom();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -286,7 +286,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Additional FTP Account
|
||||
<?php print _('Additional FTP Account');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -299,7 +299,7 @@
|
|||
<table style="display:<?php if (empty($v_ftp_user)) { echo 'none';} else {echo 'block';}?> ;" id="ftptable" name="v_add_domain_ftp">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
FTP Username
|
||||
<?php print _('Username');?>
|
||||
<?php if (empty($v_ftp_user)) echo '<br><span style="font-size: 10pt; color:#555;">Prefix '.$user.'_ will be automaticaly added to username</span>' ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -310,7 +310,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
FTP Password <a href="javascript:FTPrandom();" class="genpass" >generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:FTPrandom();" class="genpass" ><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -324,7 +324,7 @@
|
|||
?>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
Send FTP credentials to email
|
||||
<?php print _('SEND_CREDENTIALS_NOTICE');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -340,8 +340,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" class="button" name="save" value="Save">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" > Create Backup </button>
|
||||
<button style="width:120px; padding: 2px 0px;" > <?php print _('Create Backup');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
|
@ -13,10 +13,10 @@
|
|||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/backup/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -49,21 +49,21 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="backup[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-active"><b>active</b></td></tr>
|
||||
<tr><td class="data-active"><b><?php print _('active');?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="80px"><a href="/download/backup/?backup=<?php echo $key ?>" target="_blank"><img src="/images/download.png" width="8px" height="8px"> download</a></td>
|
||||
<td class="data-controls" width="80px"><a href="#" id="restore_link_<?php echo "$i"?>"><img src="/images/restore.png" width="6px" height="8px"> restore</a></td>
|
||||
<td class="data-controls" width="80px"><a href="/download/backup/?backup=<?php echo $key ?>" target="_blank"><img src="/images/download.png" width="8px" height="8px"> <?php print _('download');?></a></td>
|
||||
<td class="data-controls" width="80px"><a href="#" id="restore_link_<?php echo "$i"?>"><img src="/images/restore.png" width="6px" height="8px"> <?php print _('restore');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/backup/?backup=<?php echo "$key" ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> backup ?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('BACKUP_DELETE_CONFIRMATION',$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -85,12 +85,12 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="chart1">
|
||||
Run Time: <?php echo humanize_time($data[$key]['RUNTIME']) ?>
|
||||
<?php print _('Run Time');?>: <?php echo humanize_time($data[$key]['RUNTIME']) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1">
|
||||
Backup Size: <?php echo humanize_usage($data[$key]['SIZE']) ?>
|
||||
<?php print _('Backup Size');?>: <?php echo humanize_usage($data[$key]['SIZE']) ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -99,7 +99,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" width="48">
|
||||
SYS:
|
||||
<?php print _('SYS');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value" title="<?php echo $data[$key]['VESTA'] ?>">
|
||||
|
@ -109,7 +109,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name" width="48">
|
||||
WEB:
|
||||
<?php print _('WEB');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value" title="<?php echo str_replace(',', ', ', $data[$key]['WEB']) ?>">
|
||||
|
@ -119,7 +119,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name" width="48">
|
||||
DNS:
|
||||
<?php print _('DNS');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value" title="<?php echo str_replace(',', ', ', $data[$key]['DNS']) ?>">
|
||||
|
@ -133,7 +133,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" width="48">
|
||||
MAIL:
|
||||
<?php print _('MAIL');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value" title="<?php echo str_replace(',', ', ', $data[$key]['MAIL']) ?>">
|
||||
|
@ -143,7 +143,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name" width="48">
|
||||
DB:
|
||||
<?php print _('DB');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value" title="<?php echo str_replace(',', ', ', $data[$key]['DB']) ?>">
|
||||
|
@ -153,7 +153,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name" width="48">
|
||||
CRON:
|
||||
<?php print _('CRON');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value" title="<?php echo $data[$key]['CRON'] ?>">
|
||||
|
@ -181,9 +181,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 backup archive ";
|
||||
echo _('one archive');
|
||||
} else {
|
||||
echo "$i backup archives ";
|
||||
echo _('%s archives',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/cron/'"> Add Cron Job </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/cron/'"> <?php print _('Add Cron Job');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
|
@ -12,12 +12,12 @@
|
|||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/cron/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('suspend');?></option>
|
||||
<option><?php print _('unsuspend');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -48,28 +48,28 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="job[]" value="<?php echo $data[$key]['JOB'] ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/cron/?job=<?php echo $data[$key]['JOB'] ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/cron/?job=<?php echo $data[$key]['JOB'] ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action); ?></a>
|
||||
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/cron/?job=<?php echo $data[$key]['JOB']; ?>" />
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> cron job?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('CRON_ACTION_CONFIRMATION',_($spnd_action));?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/cron/?job=<?php echo $data[$key]['JOB']; ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete cron job?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('CRON_ACTION_CONFIRMATION',_('delete'));?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -86,7 +86,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Min
|
||||
<?php print _('Min');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -100,7 +100,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Hour
|
||||
<?php print _('Hour');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -114,7 +114,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Day
|
||||
<?php print _('Day');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -128,7 +128,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Month
|
||||
<?php print _('Month');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -142,7 +142,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Day of Week
|
||||
<?php print _('Day of week');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -169,9 +169,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 cron job ";
|
||||
echo _('one cron job');
|
||||
} else {
|
||||
echo "$i cron jobs ";
|
||||
echo _('%s cron jobs',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/db/'"> Add Database </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/db/'"> <?php print _('Add Database');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
|
@ -13,12 +13,12 @@
|
|||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/db/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('suspend');?></option>
|
||||
<option><?php print _('unsuspend');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -52,29 +52,29 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="database[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="128px"><a href="<?php echo $db_admin_link; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> open <?php echo $db_admin ?> </a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/db/?database=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="128px"><a href="<?php echo $db_admin_link; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> <?php print _('open %s',$db_admin);?> </a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/db/?database=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action) ?></a>
|
||||
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/db/?database=<?php echo "$key" ?>" />
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> <b><?php echo "$key" ?></b> database?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DATABASE_ACTION_CONFIRMATION',_($spnd_action),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<input type="hidden" name="delete_url" value="/delete/db/?database=<?php echo "$key" ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> database?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DATABASE_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -90,11 +90,11 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 2px 0 4px 2px">
|
||||
[<?php echo $data[$key]['TYPE'] ?>] database
|
||||
[<?php echo $data[$key]['TYPE'] ?>] <?php print _('database');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 0px 0 0px 2px">Disk: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<td class="chart1" style="padding: 0px 0 0px 2px"><?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -106,7 +106,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
User:
|
||||
<?php print _('User');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['DBUSER'] ?>
|
||||
|
@ -114,7 +114,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Host:
|
||||
<?php print _('Host');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['HOST'] ?>
|
||||
|
@ -126,7 +126,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Charset:
|
||||
<?php print _('Charset');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['CHARSET'] ?>
|
||||
|
@ -150,9 +150,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 database ";
|
||||
echo _('one database');
|
||||
} else {
|
||||
echo "$i databases ";
|
||||
echo _('%s databases',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -2,22 +2,22 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/dns/'"> Add DNS Domain </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/dns/'"> <?php print _('Add DNS Domain');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/dns/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('suspend');?></option>
|
||||
<option><?php print _('unsuspend');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -47,30 +47,30 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status) ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="108px"><a href="/list/dns/?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list <?php echo $data[$key]['RECORDS'] ?> records</a></td>
|
||||
<td class="data-controls" width="92px"><a href="/add/dns/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> add record</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="108px"><a href="/list/dns/?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> <?php print _('LIST_DOMAIN_RECORDS',$data[$key]['RECORDS']); ?> </a></td>
|
||||
<td class="data-controls" width="92px"><a href="/add/dns/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> <?php print _('add record');?></a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action); ?></a>
|
||||
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/dns/?domain=<?php echo $key ?>" />
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DOMAIN_ACTION_CONFIRMATION',_($spnd_action),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/dns/?domain=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DOMAIN_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -90,7 +90,7 @@
|
|||
</td>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 0 0 20px 2px">
|
||||
[<?php echo $data[$key]['TPL'] ?>] template
|
||||
[<?php echo $data[$key]['TPL'] ?>] <?php print _('template');?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -110,11 +110,11 @@
|
|||
<td rowspan=4 style="vertical-align:top;" width="300">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">Expire:</td>
|
||||
<td class="counter-name"><?php print _('Expire');?>:</td>
|
||||
<td class="counter-value"><?php echo date("Y M d", strtotime($data[$key]['EXP'])) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Records:</td>
|
||||
<td class="counter-name"><?php print _('Records');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['RECORDS'] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -135,13 +135,12 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 user dns domain ";
|
||||
echo _('one domain');
|
||||
} else {
|
||||
echo "$i dns domains ";
|
||||
echo _('%s domains',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,24 +1,23 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/dns/?domain=<?php echo $_GET['domain'] ?>'"> Add DNS Record </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/dns/?domain=<?php echo $_GET['domain'] ?>'"> <?php print _('Add DNS Record');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/dns/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('suspend');?></option>
|
||||
<option><?php print _('unsuspend');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -28,19 +27,19 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="vstobjects">
|
||||
<div style="height:10px; font-size:0;"></div>
|
||||
<table class="data" style="background: #ebe9dc;">
|
||||
<tr>
|
||||
<td style="padding: 8px 2px 8px 0;">
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b>Listing <?php echo $_GET['domain'] ?></b></a>
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b><?php print _('Listing');?> <?php echo $_GET['domain'] ?></b></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="height:10px; font-size:0;"></div>
|
||||
<table class="data">
|
||||
<?php
|
||||
|
||||
foreach ($data as $key => $value) {
|
||||
++$i;
|
||||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||
|
@ -57,28 +56,28 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="record[]" value="<?php echo $data[$key]['ID']?>" > <input type="hidden" name="domain" value="<?php echo $_GET['domain'] ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $_GET['domain'] ?>&record_id=<?php echo $data[$key]['ID'] ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $_GET['domain'] ?>&record_id=<?php echo $data[$key]['ID'] ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action); ?></a>
|
||||
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/dns/?domain=<?php echo $_GET['domain'] ?>&record_id=<?php echo $data[$key]['ID'] ?>" />
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> <span style="color: #34536A;"><b><?php echo $data[$key]['RECORD'] ?></b></span> record?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('RECORD_ACTION_CONFIRMATION',_($spnd_action),$data[$key]['RECORD']);?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/dns/?domain=<?php echo $_GET['domain'] ?>&record_id=<?php echo $data[$key]['ID'] ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <span style="color: #34536A;"><b><?php echo $data[$key]['RECORD'] ?></b></span> record?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('RECORD_ACTION_CONFIRMATION',_('delete'),$data[$key]['RECORD']);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -105,9 +104,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 dns record ";
|
||||
echo _('one DNS record');
|
||||
} else {
|
||||
echo "$i dns records ";
|
||||
echo _('%s DNS records',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/ip/'"> Add IP </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/ip/'"> <?php print _('Add IP');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/ip/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -40,20 +40,20 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="ip[]" value="<?php echo $key ?>"></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-active"><b>active</b></td></tr>
|
||||
<tr><td class="data-active"><b><?php print _('active');?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/ip/?ip=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/ip/?ip=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/ip/?ip=<?php echo "$key" ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> ip?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('IP_DELETE_CONFIRMATION',$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -84,7 +84,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Web Domains:
|
||||
<?php print _('Web Domains');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value"><?php echo $data[$key]['U_WEB_DOMAINS'] ?></a>
|
||||
|
@ -92,7 +92,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Status:
|
||||
<?php print _('Status');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value"> <?php echo $data[$key]['STATUS'] ?></a>
|
||||
|
@ -104,7 +104,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" colspan="2" >
|
||||
Sys Users: <a style="padding: 0 0 0 26" class="nginx-ext"><?php echo str_replace(',', ', ', $data[$key]['U_SYS_USERS']) ?>
|
||||
<?php print _('Users');?>: <a style="padding: 0 0 0 26" class="nginx-ext"><?php echo str_replace(',', ', ', $data[$key]['U_SYS_USERS']) ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -126,9 +126,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 ip address ";
|
||||
echo _('one IP address');
|
||||
} else {
|
||||
echo "$i ip addresses ";
|
||||
echo _('%s IP addresses',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -60,9 +60,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 log record ";
|
||||
echo _('one log record');
|
||||
} else {
|
||||
echo "$i log records ";
|
||||
echo _('%s log records',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -2,22 +2,22 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/mail/'"> Add Mail Domain </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/mail/'"> <?php print _('Add Mail Domain');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/mail/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('suspend');?></option>
|
||||
<option><?php print _('unsuspend');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -51,31 +51,31 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="112px"><a href="?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list <?php echo $data[$key]['ACCOUNTS'] ?> accounts</a></td>
|
||||
<td class="data-controls" width="98px"><a href="/add/mail/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> add account</a></td>
|
||||
<td class="data-controls" width="104px"><a href="<?php echo "http://".$http_host."/webmail/"; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> open webmail</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="112px"><a href="?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> <?php print _('list');?> <?php echo $data[$key]['ACCOUNTS'] ?> <?php print _('accounts');?></a></td>
|
||||
<td class="data-controls" width="98px"><a href="/add/mail/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> <?php print _('add account');?></a></td>
|
||||
<td class="data-controls" width="104px"><a href="<?php echo "http://".$http_host."/webmail/"; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> <?php print _('open webmail');?></a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action); ?></a>
|
||||
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/mail/?domain=<?php echo $key ?>" />
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('MAIL_ACTION_CONFIRMATION',_($spnd_action),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/mail/?domain=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('MAIL_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -92,12 +92,12 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 2px 0 2px 0">
|
||||
catchall > <?php echo $data[$key]['CATCHALL'] ?>
|
||||
<?php print _('Catchall email');?> > <?php echo $data[$key]['CATCHALL'] ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1">
|
||||
Disk: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -109,7 +109,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Antivirus:
|
||||
<?php print _('AntiVirus Support');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['ANTIVIRUS'] ?>
|
||||
|
@ -117,7 +117,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Antispam:
|
||||
<?php print _('AntiSpam Support');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['ANTISPAM'] ?>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
DKIM:
|
||||
<?php print _('DKIM Support');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['DKIM'] ?>
|
||||
|
@ -137,7 +137,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Accounts:
|
||||
<?php print _('Accounts');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['ACCOUNTS'] ?>
|
||||
|
@ -162,9 +162,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 mail domain ";
|
||||
echo _('one domain with email');
|
||||
} else {
|
||||
echo "$i mail domains ";
|
||||
echo _('%s domains with email',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -1,24 +1,23 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/mail/?domain=<?php echo $_GET['domain'] ?>'"> Add Mail Account </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/mail/?domain=<?php echo $_GET['domain'] ?>'"> <?php print _('Add Mail Account');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/mail/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('suspend');?></option>
|
||||
<option><?php print _('unsuspend');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -34,7 +33,7 @@
|
|||
<table class="data" style="background: #ebe9dc;">
|
||||
<tr>
|
||||
<td style="padding: 8px 2px 8px 0;">
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b>Listing <?php echo $_GET['domain'] ?></b></a>
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b><?php print _('Listing');?> <?php echo $_GET['domain'] ?></b></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -57,28 +56,28 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="account[]" value="<?php echo $key?>" ><input type="hidden" name="domain" value="<?php echo $_GET['domain'] ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $_GET['domain'] ?>&account=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $_GET['domain'] ?>&account=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action); ?></a>
|
||||
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/mail/?domain=<?php echo $_GET['domain'] ?>&account=<?php echo $key ?>" />
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> <b><?php echo $key ?></b> account?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('MAIL_ACCOUNT_ACTION_CONFIRMATION',_($spnd_action),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/mail/?domain=<?php echo $_GET['domain'] ?>&account=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo $key ?></b> account?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('MAIL_ACCOUNT_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -95,7 +94,7 @@
|
|||
</td>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 0 0 2px 0">
|
||||
Disk: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -107,7 +106,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Quota:
|
||||
<?php print _('Quota');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['QUOTA'] ?>
|
||||
|
@ -115,7 +114,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Autoreply:
|
||||
<?php print _('Autoreply');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['AUTOREPLY'] ?>
|
||||
|
@ -127,7 +126,7 @@
|
|||
<table width="350">
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Forward:
|
||||
<?php print _('Forward to');?>:
|
||||
</td>
|
||||
<td class="counter-value" style="padding: 0 0 0 8px;" >
|
||||
<?php echo str_replace(',', ', ', $data[$key]['FWD']) ?>
|
||||
|
@ -152,13 +151,12 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 mail account ";
|
||||
echo _('one mail account');
|
||||
} else {
|
||||
echo "$i mail accounts ";
|
||||
echo _('%s mail accounts',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/package/'"> Add Package </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/package/'"> <?php print _('Add Package');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/package/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -40,20 +40,20 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="package[]" value="<?php echo $key ?>"></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-active"><b>active</b></td></tr>
|
||||
<tr><td class="data-active"><b><?php print _('active');?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/package/?package=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/package/?package=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/package/?package=<?php echo "$key" ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> package?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('PACKAGE_DELETE_CONFIRMATION',$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -69,7 +69,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 4px 0px 0px 0;" width="68%">
|
||||
Defaul Template:
|
||||
<?php print _('Default Template');?>:
|
||||
</td>
|
||||
<td class="counter-value" style="padding: 4px 0 0 6px;">
|
||||
<?php echo $data[$key]['TEMPLATE'] ?>
|
||||
|
@ -77,7 +77,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 0px 0px 6px 0;">
|
||||
System Shell:
|
||||
<?php print _('SSH Access');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['SHELL'] ?>
|
||||
|
@ -85,7 +85,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 2px;">
|
||||
Bandwidth: <?php echo humanize_usage($data[$key]['BANDWIDTH']) ?>
|
||||
<?php print _('Bandwidth');?>: <?php echo humanize_usage($data[$key]['BANDWIDTH']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:0%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -93,7 +93,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 2px;">
|
||||
Disk: <?php echo humanize_usage($data[$key]['DISK_QUOTA']) ?>
|
||||
<?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['DISK_QUOTA']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:0%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -105,7 +105,7 @@
|
|||
<table width="300">
|
||||
<tr>
|
||||
<td class="counter-name" width="37%">
|
||||
Web Domains:
|
||||
<?php print _('Web Domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['WEB_DOMAINS'] ?>
|
||||
|
@ -113,15 +113,15 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Web Aliases:
|
||||
<?php print _('Web Aliases');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['WEB_ALIASES'] ?> per domain
|
||||
<?php echo $data[$key]['WEB_ALIASES'] ?> <?php print _('per domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Dns Domains:
|
||||
<?php print _('DNS domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['DNS_DOMAINS'] ?>
|
||||
|
@ -129,15 +129,15 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Dns Records:
|
||||
<?php print _('DNS records count');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['DNS_RECORDS'] ?> per domain
|
||||
<?php echo $data[$key]['DNS_RECORDS'] ?> <?php print _('per domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Name Servers:
|
||||
<?php print _('Name Servers');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo str_replace(',', ', ',$data[$key]['NS']) ?>
|
||||
|
@ -149,7 +149,7 @@
|
|||
<table class="data-col4" width="250">
|
||||
<tr>
|
||||
<td class="counter-name" width="43%">
|
||||
Mail Domains:
|
||||
<?php print _('Mail Domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['MAIL_DOMAINS'] ?>
|
||||
|
@ -157,15 +157,15 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Mail Accounts:
|
||||
<?php print _('Mail Accounts');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['MAIL_ACCOUNTS'] ?> per domain
|
||||
<?php echo $data[$key]['MAIL_ACCOUNTS'] ?> <?php print _('per domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Databases:
|
||||
<?php print _('Databases');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['DATABASES'] ?>
|
||||
|
@ -173,7 +173,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Cron Jobs:
|
||||
<?php print _('Cron Jobs');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['CRON_JOBS'] ?>
|
||||
|
@ -181,7 +181,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Backups:
|
||||
<?php print _('Backups');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['BACKUPS'] ?>
|
||||
|
@ -206,9 +206,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 package ";
|
||||
echo _('one package');
|
||||
} else {
|
||||
echo "$i packages ";
|
||||
echo _('%s packages',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 0 16px">
|
||||
<div style="float:left">
|
||||
<a class="vst" <?php if ((empty($_GET['period'])) || ($_GET['period'] == 'daily')) echo "style='color: #174f82'" ?> href="?period=daily">Daily</a>
|
||||
<a class="vst" <?php if ($_GET['period'] == 'weekly') echo "style='color: #174f82'" ?> href="?period=weekly">Weekly</a>
|
||||
<a class="vst" <?php if ($_GET['period'] == 'monthly') echo "style='color: #174f82'" ?> href="?period=monthly">Monthly</a>
|
||||
<a class="vst" <?php if ($_GET['period'] == 'yearly') echo "style='color: #174f82'" ?> href="?period=yearly">Yearly</a>
|
||||
<a class="vst" <?php if ((empty($_GET['period'])) || ($_GET['period'] == 'daily')) echo "style='color: #174f82'" ?> href="?period=daily"><?php print _('Daily');?></a>
|
||||
<a class="vst" <?php if ($_GET['period'] == 'weekly') echo "style='color: #174f82'" ?> href="?period=weekly"><?php print _('Weekly');?></a>
|
||||
<a class="vst" <?php if ($_GET['period'] == 'monthly') echo "style='color: #174f82'" ?> href="?period=monthly"><?php print _('Monthly');?></a>
|
||||
<a class="vst" <?php if ($_GET['period'] == 'yearly') echo "style='color: #174f82'" ?> href="?period=yearly"><?php print _('Yearly');?></a>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -43,11 +43,11 @@
|
|||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="80px"><a href="/rrd/<?php echo $data[$key]['TYPE']."/".$period."-".$data[$key]['RRD'].".png" ?>" target="_blank"><img src="/images/download.png" width="8px" height="8px"> download</a></td>
|
||||
<td class="data-controls" width="80px"><a href="/rrd/<?php echo $data[$key]['TYPE']."/".$period."-".$data[$key]['RRD'].".png" ?>" target="_blank"><img src="/images/download.png" width="8px" height="8px"> <?php print _('download');?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="data-col2" width="830px">
|
||||
<tr><td colspan=3 class="domain" style="padding: 0 0 4 4;"><b><?php echo $data[$key]['TITLE'] ?></b></td></tr>
|
||||
<tr><td colspan=3 class="domain" style="padding: 0 0 4 4;"><b><?php echo _($data[$key]['TITLE']); ?></b></td></tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;" width="630px">
|
||||
<table width="630px">
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<a class="name" style="padding: 0;"><b>Search Results</b></a>
|
||||
<a class="name" style="padding: 0;"><b><?php print _('Search Results');?></b></a>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150px">
|
||||
<table class="data-col1" width="150">
|
||||
<tr><td style="padding: 24 0 4 0;"><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE']))?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
|
@ -54,7 +54,7 @@
|
|||
?>
|
||||
<td class="data-controls" width="70px">
|
||||
<a href="/login/?loginas=<?php echo $data[$key]['USER'] ?>">
|
||||
<img src="/images/login-as.png" width="8px" height="8px"> login as</a>
|
||||
<img src="/images/login-as.png" width="8px" height="8px"> <?php print _('login as');?></a>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
|
@ -85,7 +85,7 @@
|
|||
</td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action); ?></a>
|
||||
<?php
|
||||
if ($data[$key]['KEY'] == 'RECORD') {
|
||||
echo '<input type="hidden" name="'.$spnd_action.'_url" ';
|
||||
|
@ -111,13 +111,13 @@
|
|||
echo '&user='.$data[$key]['USER'].'" />';
|
||||
}
|
||||
?>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> <b><?php echo $data[$key]['RESULT'] ?></b> ?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('ARE_YOU_FUCKING_SURE',_($spnd_action),$data[$key]['RESULT']);?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<?php
|
||||
if ($data[$key]['KEY'] == 'RECORD') {
|
||||
echo '<input type="hidden" name="delete_url" ';
|
||||
|
@ -144,7 +144,7 @@
|
|||
}
|
||||
?>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo $data[$key]['RESULT'] ?></b> ?</p>
|
||||
<p class="counter-value"><?php print _('ARE_YOU_FUCKING_SURE',_('delete'),$data[$key]['RESULT']);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -157,7 +157,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Object:
|
||||
<?php print _('Object');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $object ?>
|
||||
|
@ -169,7 +169,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Owner:
|
||||
<?php print _('Owner');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['USER'] ?>
|
||||
|
@ -181,10 +181,10 @@
|
|||
<table >
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Status:
|
||||
<?php print _('Status');?>:
|
||||
</td>
|
||||
<td class="counter-value" style="padding: 0 0 0 8px;">
|
||||
<?php echo $status ?>
|
||||
<?php echo _($status); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -206,9 +206,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1){
|
||||
echo "1 object ";
|
||||
echo _('one object');
|
||||
} else {
|
||||
echo "$i objects ";
|
||||
echo _('%s objects',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -5,17 +5,17 @@
|
|||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 0px;">
|
||||
<form action="/bulk/service/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>stop</option>
|
||||
<option>start</option>
|
||||
<option>restart</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option<?php print _('stop');?>></option>
|
||||
<option><?php print _('start');?></option>
|
||||
<option><?php print _('restart');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -74,15 +74,15 @@
|
|||
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
|
||||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="service[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $data[$key]['STATE'] ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($data[$key]['STATE']); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="68px"><a href="/restart/service/?srv=<?php echo $key ?>"><img src="/images/reload.png" width="6px" height="7px"> restart</a></td>
|
||||
<td class="data-controls" width="48px"><a href="/<?php echo $action ?>/service/?srv=<?php echo $key ?>"><img src="/images/<?php echo $action ?>.png" width="7px" height="7px"> <?php echo $action ?></a></td>
|
||||
<td class="data-controls" width="68px"><a href="/restart/service/?srv=<?php echo $key ?>"><img src="/images/reload.png" width="6px" height="7px"> <?php print _('restart');?></a></td>
|
||||
<td class="data-controls" width="48px"><a href="/<?php echo $action ?>/service/?srv=<?php echo $key ?>"><img src="/images/<?php echo $action ?>.png" width="7px" height="7px"> <?php echo _($action); ?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
CPU:
|
||||
<?php print _('CPU');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value"> <?php echo $cpu ?>%</a>
|
||||
|
@ -118,10 +118,10 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Memory:
|
||||
<?php print _('Memory');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value"><?php echo $data[$key]['MEM'] ?> mb</a>
|
||||
<a class="counter-value"><?php echo $data[$key]['MEM'] ?> <?php print _('mb');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -130,7 +130,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Run Time:
|
||||
<?php print _('Run Time');?>:
|
||||
</td>
|
||||
<td>
|
||||
<a class="counter-value"><?php echo humanize_time($data[$key]['RTIME']) ?> </a>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<td style="padding: 12px 0 0 16px">
|
||||
<div style="float:left">
|
||||
<form action="/list/stats/" method="get" id="objects">
|
||||
<a class="vst" <?php if (empty($_GET['user'])) echo "style='color: #174f82'"; ?> href='/list/stats/'>Overall Statistics</a>
|
||||
<a class="vst" <?php if (empty($_GET['user'])) echo "style='color: #174f82'"; ?> href='/list/stats/'><?php print _('Overall Statistics');?></a>
|
||||
<span style="padding: 0 8px;"></span>
|
||||
<select style="margin:0 2px 0 0px;" name="user">
|
||||
<option value=''>show per user</option>
|
||||
<option value=''><?php print _('show per user');?></option>
|
||||
<?php
|
||||
foreach ($users as $key => $value) {
|
||||
echo "\t\t\t\t<option value=\"".$value."\"";
|
||||
|
@ -25,7 +25,7 @@
|
|||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -67,12 +67,12 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td colspan=2 class="counter-name" style="padding: 2px 0px 6px 2px;">
|
||||
[<?php echo $data[$key]['PACKAGE']?>] package
|
||||
[<?php echo $data[$key]['PACKAGE']?>] <?php print _('package');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 2px;">
|
||||
Bandwidth: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<?php print _('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -80,7 +80,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 2px;">
|
||||
Disk: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<?php print _('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -91,12 +91,12 @@
|
|||
<table class="chart2">
|
||||
<tr>
|
||||
<td>
|
||||
Web: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?><br>
|
||||
Mail: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?><br>
|
||||
<?php print _('Hosting');?>: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?><br>
|
||||
<?php print _('Mail');?>: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?><br>
|
||||
</td>
|
||||
<td style="padding: 0px 10px 0px 8px">
|
||||
Databases: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?><br>
|
||||
User Dirs: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?><br>
|
||||
<?php print _('Databases');?>: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?><br>
|
||||
<?php print _('User Directories');?>: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -108,7 +108,7 @@
|
|||
<table width="280">
|
||||
<tr>
|
||||
<td class="counter-name" width="37%">
|
||||
Web Domains:
|
||||
<?php print _('Web Domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_WEB_DOMAINS'] ?>
|
||||
|
@ -116,7 +116,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Web SSL:
|
||||
<?php print _('Web SSL Domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_WEB_SSL'] ?>
|
||||
|
@ -124,7 +124,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Web Aliases:
|
||||
<?php print _('Web Aliases');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_WEB_ALIASES'] ?>
|
||||
|
@ -132,7 +132,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Dns Domains:
|
||||
<?php print _('DNS domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_DNS_DOMAINS'] ?>
|
||||
|
@ -140,7 +140,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Dns Records:
|
||||
<?php print _('DNS records');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_DNS_RECORDS'] ?>
|
||||
|
@ -152,7 +152,7 @@
|
|||
<table class="data-col4" width="250">
|
||||
<tr>
|
||||
<td class="counter-name" width="43%">
|
||||
Mail Domains:
|
||||
<?php print _('Mail domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_MAIL_DOMAINS'] ?>
|
||||
|
@ -160,7 +160,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Mail Accounts:
|
||||
<?php print _('Mail Accounts');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_MAIL_ACCOUNTS'] ?>
|
||||
|
@ -168,7 +168,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Databases:
|
||||
<?php print _('Databases');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_DATABASES'] ?>
|
||||
|
@ -176,7 +176,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Cron Jobs:
|
||||
<?php print _('Cron Jobs');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_CRON_JOBS'] ?>
|
||||
|
@ -184,7 +184,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Dedicated IP:
|
||||
<?php print _('IP Adresses');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['IP_OWNED'] ?>
|
||||
|
@ -209,9 +209,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 month ";
|
||||
echo _('one month');
|
||||
} else {
|
||||
echo "$i months ";
|
||||
echo _('%s months',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -5,33 +5,33 @@
|
|||
<div style="float:left">
|
||||
<?php
|
||||
if ($user == 'admin') {
|
||||
echo "<button style=\"width:120px; padding: 2px 0px;\" onclick=\"location.href='/add/user/'\"> Add User </button>";
|
||||
echo "<button style=\"width:120px; padding: 2px 0px;\" onclick=\"location.href='/add/user/'\"> <?php print _('Add User');?> </button>";
|
||||
} else {
|
||||
echo "<button style=\"width:120px; padding: 2px 0px;\" onclick=\"location.href='/add/web/'\"> Add Domain </button>";
|
||||
echo "<button style=\"width:120px; padding: 2px 0px;\" onclick=\"location.href='/add/web/'\"> <?php print _('Add Domain');?> </button>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/user/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>rebuild</option>
|
||||
<option>rebuild web</option>
|
||||
<option>rebuild dns</option>
|
||||
<option>rebuild mail</option>
|
||||
<option>rebuild db</option>
|
||||
<option>rebuild cron</option>
|
||||
<option>update counters</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('rebuild');?></option>
|
||||
<option><?php print _('rebuild web');?></option>
|
||||
<option><?php print _('rebuild DNS');?></option>
|
||||
<option><?php print _('rebuild mail');?></option>
|
||||
<option><?php print _('rebuild db');?></option>
|
||||
<option><?php print _('rebuild cron');?></option>
|
||||
<option><?php print _('update counters');?></option>
|
||||
<option><?php print _('suspend');?></option>
|
||||
<option><?php print _('unsuspend');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; height: 24px;font-size: 12px;">
|
||||
</div>
|
||||
|
@ -61,7 +61,7 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="user[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE']))?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
|
@ -71,7 +71,7 @@
|
|||
<td class="data-controls" width="70px">
|
||||
<?php
|
||||
if ($key == $user) {
|
||||
echo "<a href=\"/logout/\"><img src=\"/images/login-as.png\" width=\"7px\" height=\"8px\"> logout</a>";
|
||||
echo "<a href=\"/logout/\"><img src=\"/images/login-as.png\" width=\"7px\" height=\"8px\"> ". _('logout')."</a>";
|
||||
if (!empty($_SESSION['look_alert'])) {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
|
@ -88,31 +88,31 @@
|
|||
});
|
||||
</script>
|
||||
<div id="dialog-message" title="Wellcome">
|
||||
<p>You have logged in as user <?php echo "$key" ?>.</p>
|
||||
<p><?php print _('LOGGED_IN_AS',$key);?></p>
|
||||
</div>
|
||||
<?php
|
||||
unset($_SESSION['look_alert']);
|
||||
}
|
||||
} else {
|
||||
echo "<a href=\"/login/?loginas=$key\"><img src=\"/images/login-as.png\" width=\"7px\" height=\"8px\"> login as</a>";
|
||||
echo "<a href=\"/login/?loginas=$key\"><img src=\"/images/login-as.png\" width=\"7px\" height=\"8px\"> <?php print _('login as');?></a>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/user/?user=<?php echo "$key" ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/user/?user=<?php echo "$key" ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action); ?></a>
|
||||
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/user/?user=<?php echo $key ?>" />
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> <b><?php echo "$key" ?></b> user?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('USER_ACTION_CONFIRMATION',_($spnd_action),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<input type="hidden" name="delete_url" value="/delete/user/?user=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> user?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('USER_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -126,16 +126,16 @@
|
|||
<td style="vertical-align:top;" width="240">
|
||||
<table>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 2px 0 0 2px;"><?php echo $data[$key]['CONTACT']?></td></tr>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 0 0 18px 2px;">[<?php echo $data[$key]['PACKAGE']?>] package</td></tr>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 0 0 18px 2px;">[<?php echo $data[$key]['PACKAGE']?>] <?php print _('package');?></td></tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;">Bandwidth: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;"><?php print _('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;">Disk: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;"><?php print _('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -146,12 +146,12 @@
|
|||
<table class="chart2">
|
||||
<tr>
|
||||
<td>
|
||||
Web: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?><br>
|
||||
Mail: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?><br>
|
||||
<?php print _('Hosting');?>: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?><br>
|
||||
<?php print _('Mail');?>: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?><br>
|
||||
</td>
|
||||
<td style="padding: 0px 10px 0px 8px">
|
||||
Databases: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?><br>
|
||||
User Dirs: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?><br>
|
||||
<?php print _('Databases');?>: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?><br>
|
||||
<?php print _('User Directories');?>: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -162,31 +162,31 @@
|
|||
<td style="vertical-align:top;" width="320">
|
||||
<table width="300">
|
||||
<tr>
|
||||
<td class="counter-name" width="36%">Template:</td>
|
||||
<td class="counter-name" width="36%"><?php print _('Template');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['TEMPLATE'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Web Domains:</td>
|
||||
<td class="counter-name"><?php print _('Web Domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_WEB_DOMAINS'] ?> / <?php echo $data[$key]['WEB_DOMAINS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Web SSL:</td>
|
||||
<td class="counter-name"><?php print _('Web SSL Domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_WEB_SSL'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Web Aliases:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['WEB_ALIASES'] ?> per domain</td>
|
||||
<td class="counter-name"><?php print _('Web Aliases');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['WEB_ALIASES'] ?> <?php print _('per domain');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Dns Domains:</td>
|
||||
<td class="counter-name"><?php print _('DNS domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_DNS_DOMAINS'] ?> / <?php echo $data[$key]['DNS_DOMAINS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Dns Records:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['DNS_RECORDS'] ?> per domain</td>
|
||||
<td class="counter-name"><?php print _('DNS records count');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['DNS_RECORDS'] ?> <?php print _('per domain');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Name Servers:<br></td>
|
||||
<td class="counter-name"><?php print _('Name Servers');?>:<br></td>
|
||||
<td class="counter-value"><?php echo str_replace(',', ', ',$data[$key]['NS']) ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -194,31 +194,31 @@
|
|||
<td style="vertical-align:top;">
|
||||
<table class="data-col4">
|
||||
<tr>
|
||||
<td class="counter-name">Mail Domains:</td>
|
||||
<td class="counter-name"><?php print _('Mail Domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_MAIL_DOMAINS'] ?> / <?php echo $data[$key]['MAIL_DOMAINS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Mail Accounts:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['MAIL_ACCOUNTS'] ?> per domain</td>
|
||||
<td class="counter-name"><?php print _('Mail Accounts');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['MAIL_ACCOUNTS'] ?> <?php print _('per domain');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Databases:</td>
|
||||
<td class="counter-name"><?php print _('Databases');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_DATABASES'] ?> / <?php echo $data[$key]['DATABASES'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Cron Jobs:</td>
|
||||
<td class="counter-name"><?php print _('Cron Jobs');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_CRON_JOBS'] ?> / <?php echo $data[$key]['CRON_JOBS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Shell:</td>
|
||||
<td class="counter-name"><?php print _('SSH Access');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['SHELL'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Dedicated IP:</td>
|
||||
<td class="counter-name"><?php print _('IP Addresses');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['IP_OWNED'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Backups:</td>
|
||||
<td class="counter-name"><?php print _('Backups');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_BACKUPS'] ?> / <?php echo $data[$key]['BACKUPS'] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -239,9 +239,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 user account ";
|
||||
echo _('one account');
|
||||
} else {
|
||||
echo "$i user accounts ";
|
||||
echo _('%s accounts',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -3,22 +3,22 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/web/'"> Add Domain </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/web/'"> <?php print _('Add Domain for hosting');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/web/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>suspend</option>
|
||||
<option>unsuspend</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('suspend');?></option>
|
||||
<option><?php print _('unsuspend');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px;font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -79,7 +79,7 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
|
@ -90,24 +90,24 @@
|
|||
if (!empty($data[$key]['STATS'])) {
|
||||
echo ' <td class="data-controls" width="114px">';
|
||||
echo "<a href='http://".$key."/vstats/' target='_blank'>";
|
||||
echo '<img src="/images/new_window.png" width="8px" height="8px"> open webstats </a></td>';
|
||||
echo '<img src="/images/new_window.png" width="8px" height="8px"> '._('open webstats').' </a></td>';
|
||||
}
|
||||
?>
|
||||
<td class="data-controls" width="50px"><a href="/edit/web/?domain=<?php echo "$key" ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/web/?domain=<?php echo "$key" ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_<?php echo $spnd_action ?>" width="80px">
|
||||
<img src="/images/suspend.png" width="7px" height="8px" class="do_<?php echo $spnd_action ?>">
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo $spnd_action ?></a>
|
||||
<a id="<?php echo $spnd_action ?>_link_<?php echo $i ?>" class="do_<?php echo $spnd_action ?>"> <?php echo _($spnd_action); ?></a>
|
||||
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/web/?domain=<?php echo $key ?>" />
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to <?php echo $spnd_action ?> <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DOMAIN_ACTION_CONFIRMATION',_($spnd_action),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/web/?domain=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DOMAIN_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -128,19 +128,19 @@
|
|||
</td>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 0 0 8px 2px">
|
||||
[<?php echo $data[$key]['TPL'] ?>] template
|
||||
[<?php echo $data[$key]['TPL'] ?>] <?php print _('template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 0 0 0 2px">
|
||||
Bandwidth: <?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>
|
||||
<?php print _('Bandwidth');?>: <?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$panel[$user]['BANDWIDTH']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 0 0 0 2px">Disk: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<td class="chart1" style="padding: 0 0 0 2px"><?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -151,19 +151,19 @@
|
|||
<td style="vertical-align:top;" width="300">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" width="110">SSL Support:</td>
|
||||
<td class="counter-name" width="110"><?php print _('SSL Support');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['SSL'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">SSL Home:</td>
|
||||
<td class="counter-name"><?php print _('SSL Home Directory');?>:</td>
|
||||
<td class="counter-value"><?php echo $ssl_home ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Nginx Support:</td>
|
||||
<td class="counter-name"><?php print _('Nginx Support');?>:</td>
|
||||
<td class="counter-value"><?php echo $nginx_support ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Nginx Extentions:</td>
|
||||
<td class="counter-name"><?php print _('Nginx Extentions');?>:</td>
|
||||
<td class="counter-value" <?php if (!empty($nginx_ext_title)) echo "title='".$nginx_ext_title."'" ?>><?php echo $nginx_ext ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -171,11 +171,11 @@
|
|||
<td rowspan=4 style="vertical-align:top;" width="240">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">Web Statistics: </td>
|
||||
<td class="counter-name"><?php print _('Statistics');?>: </td>
|
||||
<td class="counter-value"> <?php echo $web_stats ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name"> Additional FTP:</td>
|
||||
<td class="counter-name"> <?php print _('Additional FTP Account');?>:</td>
|
||||
<td class="counter-value"> <?php echo $ftp_user ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -196,9 +196,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 web domain ";
|
||||
echo _('one domain');
|
||||
} else {
|
||||
echo "$i web domains ";
|
||||
echo _('%s domains',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
<table class="top">
|
||||
<tr>
|
||||
<td width="179px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'PACKAGE' ) echo 'selected-' ?>link" href="/list/package/"><b>Packages</a></b></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'IP' ) echo 'selected-' ?>link" href="/list/ip/"><b>IP Adresses</a></b></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'RRD' ) echo 'selected-' ?>link" href="/list/rrd/"><b>RRD Graphics</a></b></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'STATS' ) echo 'selected-' ?>link" href="/list/stats/"><b>Statistics</a></b></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'LOG' ) echo 'selected-' ?>link" href="/list/log/"><b>History Log</a></b></td>
|
||||
<td width="227px" style="border-bottom: 1px solid #d6d6d6; height: 26px; padding: 0 24px 0 0; text-align: right;"><b><?php if($user != $_SESSION['user']) echo 'admin / ' ?><?php echo $user ?></b><a class="top-link" style="padding: 0 0 0 6" href="/logout/">Log out</a></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'PACKAGE' ) echo 'selected-' ?>link" href="/list/package/"><b><?php print _('Packages');?></a></b></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'IP' ) echo 'selected-' ?>link" href="/list/ip/"><b><?php print _('IP Addresses');?></a></b></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'RRD' ) echo 'selected-' ?>link" href="/list/rrd/"><b><?php print _('RRD Graphics');?></a></b></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'STATS' ) echo 'selected-' ?>link" href="/list/stats/"><b><?php print _('Statistics');?></a></b></td>
|
||||
<td width="120px" style="border-bottom: 1px solid #d6d6d6; height: 26px;"><a class="top-<?php if($TAB == 'LOG' ) echo 'selected-' ?>link" href="/list/log/"><b><?php print _('History Log');?></a></b></td>
|
||||
<td width="227px" style="border-bottom: 1px solid #d6d6d6; height: 26px; padding: 0 24px 0 0; text-align: right;"><b><?php if($user != $_SESSION['user']) echo 'admin / ' ?><?php echo $user ?></b><a class="top-link" style="padding: 0 0 0 6" href="/logout/"><?php print _('Log out');?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="7" style="background: #fff;">
|
||||
|
@ -25,11 +25,11 @@
|
|||
<a class="nav-lnk" href="/list/user/">
|
||||
<span class="nav-<?php if($TAB == 'USER' ) echo 'selected-' ?>block">
|
||||
<p class="nav-<?php if($TAB == 'USER' ) echo 'selected-' ?>header">
|
||||
USER
|
||||
<?php print _('USER');?>
|
||||
</p>
|
||||
<p class="nav-counters" style="decoration: none;">
|
||||
users: <? echo $panel[$user]['U_USERS'] ?><br>
|
||||
suspended: <? echo $panel[$user]['SUSPENDED_USERS']?>
|
||||
<?php print _('users');?>: <? echo $panel[$user]['U_USERS'] ?><br>
|
||||
<?php print _('suspended');?>: <? echo $panel[$user]['SUSPENDED_USERS']?>
|
||||
</p>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -37,12 +37,12 @@
|
|||
<a class="nav-lnk" href="/list/web/">
|
||||
<span class="nav-<?php if($TAB == 'WEB' ) echo 'selected-' ?>block">
|
||||
<p class="nav-<?php if($TAB == 'WEB' ) echo 'selected-' ?>header">
|
||||
WEB
|
||||
<?php print _('WEB');?>
|
||||
</p>
|
||||
<p class="nav-counters" style="decoration: none;">
|
||||
domains: <? echo $panel[$user]['U_WEB_DOMAINS']?><br>
|
||||
aliases: <? echo $panel[$user]['U_WEB_ALIASES']?><br>
|
||||
suspended: <? echo $panel[$user]['SUSPENDED_WEB']?>
|
||||
<?php print _('domains');?>: <? echo $panel[$user]['U_WEB_DOMAINS']?><br>
|
||||
<?php print _('aliases');?>: <? echo $panel[$user]['U_WEB_ALIASES']?><br>
|
||||
<?php print _('suspended');?>: <? echo $panel[$user]['SUSPENDED_WEB']?>
|
||||
</p>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -50,12 +50,12 @@
|
|||
<a class="nav-lnk" href="/list/dns/">
|
||||
<span class="nav-<?php if($TAB == 'DNS' ) echo 'selected-' ?>block">
|
||||
<p class="nav-<?php if($TAB == 'DNS' ) echo 'selected-' ?>header">
|
||||
DNS
|
||||
<?php print _('DNS');?>
|
||||
</p>
|
||||
<p class="nav-counters" style="decoration: none;">
|
||||
domains: <? echo $panel[$user]['U_DNS_DOMAINS']?><br>
|
||||
records: <? echo $panel[$user]['U_DNS_RECORDS']?><br>
|
||||
suspended: <? echo $panel[$user]['SUSPENDED_DNS']?>
|
||||
<?php print _('domains');?>: <? echo $panel[$user]['U_DNS_DOMAINS']?><br>
|
||||
<?php print _('records');?>: <? echo $panel[$user]['U_DNS_RECORDS']?><br>
|
||||
<?php print _('suspended');?>: <? echo $panel[$user]['SUSPENDED_DNS']?>
|
||||
</p>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -63,12 +63,12 @@
|
|||
<a class="nav-lnk" href="/list/mail/">
|
||||
<span class="nav-<?php if($TAB == 'MAIL' ) echo 'selected-' ?>block">
|
||||
<p class="nav-<?php if($TAB == 'MAIL' ) echo 'selected-' ?>header">
|
||||
MAIL
|
||||
<?php print _('MAIL');?>
|
||||
</p>
|
||||
<p class="nav-counters" style="decoration: none;">
|
||||
domains: <? echo $panel[$user]['U_MAIL_DOMAINS']?><br>
|
||||
accounts: <? echo $panel[$user]['U_MAIL_ACCOUNTS']?><br>
|
||||
suspended: <? echo $panel[$user]['SUSPENDED_MAIL']?>
|
||||
<?php print _('domains');?>: <? echo $panel[$user]['U_MAIL_DOMAINS']?><br>
|
||||
<?php print _('accounts');?>: <? echo $panel[$user]['U_MAIL_ACCOUNTS']?><br>
|
||||
<?php print _('suspended');?>: <? echo $panel[$user]['SUSPENDED_MAIL']?>
|
||||
</p>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -76,11 +76,11 @@
|
|||
<a class="nav-lnk" href="/list/db/">
|
||||
<span class="nav-<?php if($TAB == 'DB' ) echo 'selected-' ?>block">
|
||||
<p class="nav-<?php if($TAB == 'DB' ) echo 'selected-' ?>header">
|
||||
DB
|
||||
<?php print _('DB');?>
|
||||
</p>
|
||||
<p class="nav-counters" style="decoration: none;">
|
||||
databases: <? echo $panel[$user]['U_DATABASES']?><br>
|
||||
suspended: <? echo $panel[$user]['SUSPENDED_DB']?>
|
||||
<?php print _('databases');?>: <? echo $panel[$user]['U_DATABASES']?><br>
|
||||
<?php print _('suspended');?>: <? echo $panel[$user]['SUSPENDED_DB']?>
|
||||
</p>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -88,11 +88,11 @@
|
|||
<a class="nav-lnk" href="/list/cron/">
|
||||
<span class="nav-<?php if($TAB == 'CRON' ) echo 'selected-' ?>block">
|
||||
<p class="nav-<?php if($TAB == 'CRON' ) echo 'selected-' ?>header">
|
||||
CRON
|
||||
<?php print _('CRON');?>
|
||||
</p>
|
||||
<p class="nav-counters" style="decoration: none;">
|
||||
jobs: <? echo $panel[$user]['U_CRON_JOBS']?><br>
|
||||
suspended: <? echo $panel[$user]['SUSPENDED_CRON']?>
|
||||
<?php print _('jobs');?>: <? echo $panel[$user]['U_CRON_JOBS']?><br>
|
||||
<?php print _('suspended');?>: <? echo $panel[$user]['SUSPENDED_CRON']?>
|
||||
</p>
|
||||
</span>
|
||||
</a>
|
||||
|
@ -100,10 +100,10 @@
|
|||
<a class="nav-lnk" href="/list/backup/">
|
||||
<span class="nav-<?php if($TAB == 'BACKUP' ) echo 'selected-' ?>block">
|
||||
<p class="nav-<?php if($TAB == 'BACKUP' ) echo 'selected-' ?>header">
|
||||
BACKUP
|
||||
<?php print _('BACKUP');?>
|
||||
</p>
|
||||
<p class="nav-counters" style="decoration: none;">
|
||||
backups: <? echo $panel[$user]['U_BACKUPS']?><br>
|
||||
<?php print _('backups');?>: <? echo $panel[$user]['U_BACKUPS']?><br>
|
||||
</p>
|
||||
</span>
|
||||
</a>
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td style="padding: 0 10 0 42;">
|
||||
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="Vesta Control Panel" /></a>
|
||||
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="<?php print _('Vesta Control Panel');?>" /></a>
|
||||
</td>
|
||||
<td style="padding: 20px 0 0 0;">
|
||||
<form method="post" action="/login/" >
|
||||
<table class="login-box">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 0 2px;">
|
||||
Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -22,7 +22,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 12px 0 0 2px;">
|
||||
Password <a tabindex="5" class="genpass" href="/reset/" style="padding: 0 0 0 14px;" >forgot password</a>
|
||||
<?php print _('Password');?> <a tabindex="5" class="genpass" href="/reset/" style="padding: 0 0 0 14px;" ><?php print _('Forgot Password?');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -36,7 +36,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 0 12px 0;">
|
||||
<input tabindex="3" type="submit" value="Log In" class="button">
|
||||
<input tabindex="3" type="submit" value="<?php print _('Log in');?>" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<td colspan=2>
|
||||
<table class="login-bottom">
|
||||
<tr><td>.<?php if (isset($ERROR)) echo $ERROR ?></td></tr>
|
||||
<tr><td> <a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a></td></tr>
|
||||
<tr><td> <a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a> | <a tabindex="6" class="vestacp" href="http://chto.su"><?php print _('Translation by ZonD80');?></a></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -5,19 +5,19 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td style="padding: 0 10px 0 42px;">
|
||||
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="Vesta Control Panel" /></a>
|
||||
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="<?php print _('Vesta Control Panel');?>" /></a>
|
||||
</td>
|
||||
<td style="padding: 10px 0 0 0;">
|
||||
<form method="post" action="/reset/" >
|
||||
<table class="login-box">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 0 2px;">
|
||||
To reset your password, enter your username and we'll send you instructions on how to create a new password.
|
||||
<?php print _('RESET_NOTICE');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 12px 0 0 2px;">
|
||||
Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -27,7 +27,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 12px 0;">
|
||||
<input tabindex="2" type="submit" value="Submit" class="button">
|
||||
<input tabindex="2" type="submit" value="<?php print _('Submit');?>" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<td colspan=2>
|
||||
<table class="login-bottom">
|
||||
<tr><td>.<?php if (isset($ERROR)) echo $ERROR ?></td></tr>
|
||||
<tr><td><a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a></td></tr>
|
||||
<tr><td><a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a> | <a tabindex="6" class="vestacp" href="http://chto.su"><?php print _('Translation by ZonD80');?></a></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -5,19 +5,18 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td style="padding: 0 10px 0 42px;">
|
||||
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="Vesta Control Panel" /></a>
|
||||
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="<?php print _('Vesta Control Panel');?>" /></a>
|
||||
</td>
|
||||
<td style="padding: 30px 0 0 0;">
|
||||
<form method="get" action="/reset/" >
|
||||
<table class="login-box">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 0 2px;">
|
||||
Reset code has been sent to your email address.
|
||||
Please copy and paste that code in the verification box below.
|
||||
<?php print _('RESET_CODE_SENT');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 12px 0 0 2px;">Reset Code</td>
|
||||
<td style="padding: 12px 0 0 2px;"><?php print _('Reset Code');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -28,7 +27,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 12px 0;">
|
||||
<input tabindex="2" type="submit" value="Confirm" class="button">
|
||||
<input tabindex="2" type="submit" value="<?php print _('Confirm');?>" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -39,7 +38,7 @@
|
|||
<td colspan=2>
|
||||
<table class="login-bottom">
|
||||
<tr><td>.<?php if (isset($ERROR)) echo $ERROR ?></td></tr>
|
||||
<tr><td><a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a></td></tr>
|
||||
<tr><td><a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a> | <a tabindex="6" class="vestacp" href="http://chto.su"><?php print _('Translation by ZonD80');?></a></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td style="padding: 0 10 0 42;">
|
||||
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="Vesta Control Panel" /></a>
|
||||
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="<?php print _('Vesta Control Panel');?>" /></a>
|
||||
</td>
|
||||
<td style="padding: 20px 0 0 0;">
|
||||
<form method="post">
|
||||
|
@ -15,7 +15,7 @@
|
|||
<input type="hidden" name="action" value="confirm" >
|
||||
<input type="hidden" name="user" value="<?php echo $_GET['user'];?>" >
|
||||
<input type="hidden" name="code" value="<?php echo $_GET['code'];?>" >
|
||||
New Password
|
||||
<?php print _('New Password');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -25,7 +25,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 12px 0 0 2px;">
|
||||
Confirm Password
|
||||
<?php print _('Confirm Password');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -39,7 +39,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 0 12px 0;">
|
||||
<input tabindex="3" type="submit" value="Reset" class="button">
|
||||
<input tabindex="3" type="submit" value="<?php print _('Reset');?>" class="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<td colspan=2>
|
||||
<table class="login-bottom">
|
||||
<tr><td>.<?php if (isset($ERROR)) echo $ERROR ?></td></tr>
|
||||
<tr><td> <a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a></td></tr>
|
||||
<tr><td> <a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a> | <a tabindex="6" class="vestacp" href="http://chto.su"><?php print _('Translation by ZonD80');?></a></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding DNS Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding DNS Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -54,7 +54,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -64,7 +64,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP address
|
||||
<?php print _('IP-address');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -74,7 +74,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced">Advanced Options</a>
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print _('Advanced options');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -82,7 +82,7 @@
|
|||
<table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Domain Expiriation <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -102,7 +102,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Name Servers
|
||||
<?php print _('Name servers');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -130,8 +130,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding Domain for hosting');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
|
@ -98,7 +98,7 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -108,7 +108,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP address
|
||||
<?php print _('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -128,7 +128,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
DNS support
|
||||
<?php print _('DNS Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -138,7 +138,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Mail support
|
||||
<?php print _('Mail Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -148,14 +148,14 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced">Advanced Options</a>
|
||||
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print _('Advanced options');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="data-col2" width="600px" style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="advtable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain Aliases
|
||||
<?php print _('Aliases');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -165,7 +165,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Nginx Support
|
||||
<?php print _('Nginx Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -178,7 +178,7 @@
|
|||
<table style="display:<?php if ($v_nginx == 'off') { echo 'none';} else {echo 'block';}?>;" id="nginxtable" >
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
Nginx Supported Extentions
|
||||
<?php print _('Nginx Extentions');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -191,7 +191,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Support
|
||||
<?php print _('SSL Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -204,7 +204,7 @@
|
|||
<table style="display:<?php if (empty($v_ssl)) { echo 'none';} else {echo 'block';}?>;" id="ssltable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
SSL HomeDirectory
|
||||
<?php print _('SSL Home Directory');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -221,7 +221,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
SSL Certificate
|
||||
<?php print _('SSL Certificate');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -231,7 +231,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
SSL Key
|
||||
<?php print _('SSL Key');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -241,7 +241,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
SSL Certificate Authority / Intermediate <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(optional)</span>
|
||||
<?php print _('SSL Certificate Authority / Intermediate');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -254,7 +254,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistics
|
||||
<?php print _('Statistics');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -276,7 +276,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistic Authorization
|
||||
<?php print _('Statistics Authorization');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -289,7 +289,7 @@
|
|||
<table style="display:<?php if (empty($v_stats_user)) { echo 'none';} else {echo 'block';}?> ;" id="statstable" name="v-add-web-domain-stats-user">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
Web Statistics Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -299,7 +299,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
Web Statistics Password <a href="javascript:WEBrandom();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:WEBrandom();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -312,7 +312,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Additional FTP Account
|
||||
<?php print _('Additional FTP Account');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -325,8 +325,8 @@
|
|||
<table style="display:<?php if (empty($v_ftp_user)) { echo 'none';} else {echo 'block';}?> ;" id="ftptable" name="v_add_domain_ftp">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
FTP Username<br>
|
||||
<span style="font-size: 10pt; color:#555;">Prefix <?php echo $user."_"; ?> will be automaticaly added to username</span>
|
||||
<?php print _('Username');?><br>
|
||||
<span style="font-size: 10pt; color:#555;"><?php print _('FTP_PREFIX_WILL_BE_ADDED',$user."_");?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -336,7 +336,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
FTP Password <a href="javascript:FTPrandom();" class="genpass" >generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:FTPrandom();" class="genpass" ><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -346,7 +346,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
Send FTP credentials to email
|
||||
<?php print _('SEND_CREDENTIALS_NOTICE');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -361,8 +361,8 @@
|
|||
<table class="data-col2" width="600px">
|
||||
<tr>
|
||||
<td style="padding: 33px 0 0 0;">
|
||||
<input type="submit" name="ok" value="Add" class="button">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing DNS Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing DNS Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<a class=\"vst-error\"> → ".$_SESSION['error_msg']."</a>";
|
||||
echo "<a class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
} else {
|
||||
if (!empty($_SESSION['ok_msg'])) {
|
||||
echo "<a class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</a>";
|
||||
echo "<a class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -55,7 +55,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP address
|
||||
<?php print _('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -65,7 +65,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Domain Expiriation <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -95,8 +95,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" class="button" name="save" value="Save">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing User</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing User');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<a class=\"vst-error\"> → ".$_SESSION['error_msg']."</a>";
|
||||
echo "<a class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
} else {
|
||||
if (!empty($_SESSION['ok_msg'])) {
|
||||
echo "<a class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</a>";
|
||||
echo "<a class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -57,7 +57,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -67,7 +67,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Password <a href="javascript:randomString();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:randomString();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -77,7 +77,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Email
|
||||
<?php print _('Email');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Default Name Servers
|
||||
<?php print _('Default Name Servers');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -112,8 +112,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" class="button" name="save" value="Save">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing Domain</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Editing Domain');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<a class=\"vst-error\"> → ".$_SESSION['error_msg']."</a>";
|
||||
|
@ -77,7 +77,7 @@
|
|||
<table class="data-col2" width="830px">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Domain
|
||||
<?php print _('Domain');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
IP address
|
||||
<?php print _('IP Address');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -108,7 +108,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10 0 0 2px;">
|
||||
Aliases
|
||||
<?php print _('Aliases');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -118,7 +118,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Nginx Support
|
||||
<?php print _('Nginx Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -131,7 +131,7 @@
|
|||
<table style="display:<?php if (empty($v_nginx)) { echo 'none';} else {echo 'block';}?> ;" id="nginxtable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
Nginx Supported Extentions
|
||||
<?php print _('Nginx Extensions');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -144,7 +144,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Support
|
||||
<?php print _('SSL Support');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -157,7 +157,7 @@
|
|||
<table style="display:<?php if ($v_ssl == 'no' ) { echo 'none';} else {echo 'block';}?> ;" id="ssltable">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 0;">
|
||||
SSL HomeDirectory
|
||||
<?php print _('SSH Home Directory');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -174,7 +174,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Certificate
|
||||
<?php print _('SSL Certificate');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -184,7 +184,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Key
|
||||
<?php print _('SSL Key');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -194,7 +194,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
SSL Certificate Authority / Intermediate <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(optional)</span>
|
||||
<?php print _('SSL Certificate Authority / Intermediate');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('optional');?>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -207,7 +207,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistics
|
||||
<?php print _('Statisitcs');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -229,7 +229,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistic Authorization
|
||||
<?php print _('Statistic Authorization');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -242,7 +242,7 @@
|
|||
<table style="display:<?php if (empty($v_stats_user)) { echo 'none';} else {echo 'block';}?> ;" id="statstable" name="v-add-web-domain-stats-user">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 9px 0 0 2px;">
|
||||
Web Statistics Username
|
||||
<?php print _('Username');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -252,7 +252,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Web Statistics Password <a href="javascript:WEBrandom();" class="genpass">generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:WEBrandom();" class="genpass"><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -265,7 +265,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 2px;">
|
||||
Additional FTP Account
|
||||
<?php print _('Additional FTP Account');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -278,7 +278,7 @@
|
|||
<table style="display:<?php if (empty($v_ftp_user)) { echo 'none';} else {echo 'block';}?> ;" id="ftptable" name="v_add_domain_ftp">
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
FTP Username
|
||||
<?php print _('Username');?>
|
||||
<?php if (empty($v_ftp_user)) echo '<br><span style="font-size: 10pt; color:#555;">Prefix '.$user.'_ will be automaticaly added to username</span>' ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -289,7 +289,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
FTP Password <a href="javascript:FTPrandom();" class="genpass" >generate</a>
|
||||
<?php print _('Password');?> <a href="javascript:FTPrandom();" class="genpass" ><?php print _('generate');?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -303,7 +303,7 @@
|
|||
?>
|
||||
<tr>
|
||||
<td class="vst-text" style="padding: 10px 0 0 0;">
|
||||
Send FTP credentials to email
|
||||
<?php print _('SEND_CREDENTIALS_NOTICE');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -319,8 +319,8 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" class="button" name="save" value="Save">
|
||||
<input type="button" class="button" value="Back" onclick="<?php echo $back ?>">
|
||||
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
|
||||
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/cron/'"> Add Cron Job </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/cron/'"> <?php print _('Add Cron Job');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
|
@ -14,8 +14,8 @@
|
|||
<form action="/bulk/cron/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -46,20 +46,20 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="job[]" value="<?php echo $data[$key]['JOB'] ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/cron/?job=<?php echo $data[$key]['JOB'] ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/cron/?job=<?php echo $data[$key]['JOB'] ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/cron/?job=<?php echo $data[$key]['JOB']; ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete cron job?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('CRON_ACTION_CONFIRMATION',_('delete'));?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -76,7 +76,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Min
|
||||
<?php print _('Min');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Hour
|
||||
<?php print _('Hour');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -104,7 +104,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Day
|
||||
<?php print _('Day');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -118,7 +118,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Month
|
||||
<?php print _('Month');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -132,7 +132,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="cron-counter-name">
|
||||
Day of Week
|
||||
<?php print _('Day of week');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -159,9 +159,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 cron job ";
|
||||
echo _('one cron job');
|
||||
} else {
|
||||
echo "$i cron jobs ";
|
||||
echo _('%s cron jobs',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/db/'"> Add Database </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/db/'"> <?php print _('Add Database');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
|
@ -13,10 +13,10 @@
|
|||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/db/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -50,21 +50,21 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="database[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="128px"><a href="<?php echo $db_admin_link; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> open <?php echo $db_admin ?> </a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/db/?database=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="128px"><a href="<?php echo $db_admin_link; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> <?php print _('open %s',$db_admin);?> </a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/db/?database=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<input type="hidden" name="delete_url" value="/delete/db/?database=<?php echo "$key" ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> database?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DATABASE_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -80,11 +80,11 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 2px 0 4px 2px">
|
||||
[<?php echo $data[$key]['TYPE'] ?>] database
|
||||
[<?php echo $data[$key]['TYPE'] ?>] <?php print _('database');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 0px 0 0px 2px">Disk: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<td class="chart1" style="padding: 0px 0 0px 2px"><?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -96,7 +96,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
User:
|
||||
<?php print _('User');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['DBUSER'] ?>
|
||||
|
@ -104,7 +104,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Host:
|
||||
<?php print _('Host');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['HOST'] ?>
|
||||
|
@ -116,7 +116,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Charset:
|
||||
<?php print _('Charset');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['CHARSET'] ?>
|
||||
|
@ -140,9 +140,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 database ";
|
||||
echo _('one database');
|
||||
} else {
|
||||
echo "$i databases ";
|
||||
echo _('%s databases',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -2,20 +2,20 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/dns/'"> Add DNS Domain </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/dns/'"> <?php print _('Add DNS Domain');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/dns/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -45,22 +45,22 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status) ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="108px"><a href="/list/dns/?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list <?php echo $data[$key]['RECORDS'] ?> records</a></td>
|
||||
<td class="data-controls" width="92px"><a href="/add/dns/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> add record</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="108px"><a href="/list/dns/?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> <?php print _('LIST_DOMAIN_RECORDS',$data[$key]['RECORDS']); ?> </a></td>
|
||||
<td class="data-controls" width="92px"><a href="/add/dns/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> <?php print _('add record');?></a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/dns/?domain=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DOMAIN_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -80,7 +80,7 @@
|
|||
</td>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 0 0 20px 2px">
|
||||
[<?php echo $data[$key]['TPL'] ?>] template
|
||||
[<?php echo $data[$key]['TPL'] ?>] <?php print _('template');?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -100,11 +100,11 @@
|
|||
<td rowspan=4 style="vertical-align:top;" width="300">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">Expire:</td>
|
||||
<td class="counter-name"><?php print _('Expire');?>:</td>
|
||||
<td class="counter-value"><?php echo date("Y M d", strtotime($data[$key]['EXP'])) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Records:</td>
|
||||
<td class="counter-name"><?php print _('Records');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['RECORDS'] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -125,13 +125,12 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 user dns domain ";
|
||||
echo _('one domain');
|
||||
} else {
|
||||
echo "$i dns domains ";
|
||||
echo _('%s domains',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,22 +1,21 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/dns/?domain=<?php echo $_GET['domain'] ?>'"> Add DNS Record </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/dns/?domain=<?php echo $_GET['domain'] ?>'"> <?php print _('Add DNS Record');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/dns/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -32,7 +31,7 @@
|
|||
<table class="data" style="background: #ebe9dc;">
|
||||
<tr>
|
||||
<td style="padding: 8px 2px 8px 0;">
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b>Listing <?php echo $_GET['domain'] ?></b></a>
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b><?php print _('Listing');?> <?php echo $_GET['domain'] ?></b></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -55,20 +54,20 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="record[]" value="<?php echo $data[$key]['ID']?>" ><input type="hidden" name="domain" value="<?php echo $_GET['domain'] ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $_GET['domain'] ?>&record_id=<?php echo $data[$key]['ID'] ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/dns/?domain=<?php echo $_GET['domain'] ?>&record_id=<?php echo $data[$key]['ID'] ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/dns/?domain=<?php echo $_GET['domain'] ?>&record_id=<?php echo $data[$key]['ID'] ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <span style="color: #34536A;"><b><?php echo $data[$key]['RECORD'] ?></b></span> record?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('RECORD_ACTION_CONFIRMATION',_('delete'),$data[$key]['RECORD']);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -95,13 +94,12 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 dns record ";
|
||||
echo _('one DNS record');
|
||||
} else {
|
||||
echo "$i dns records ";
|
||||
echo _('%s DNS records',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -2,20 +2,20 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/mail/'"> Add Mail Domain </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/mail/'"> <?php print _('Add Mail Domain');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/mail/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -49,23 +49,23 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="112px"><a href="?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> list <?php echo $data[$key]['ACCOUNTS'] ?> accounts</a></td>
|
||||
<td class="data-controls" width="98px"><a href="/add/mail/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> add account</a></td>
|
||||
<td class="data-controls" width="104px"><a href="<?php echo "http://".$http_host."/webmail/"; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> open webmail</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="112px"><a href="?domain=<?php echo $key ?>"><img src="/images/more.png" width="8px" height="8px"> <?php print _('list');?> <?php echo $data[$key]['ACCOUNTS'] ?> <?php print _('accounts');?></a></td>
|
||||
<td class="data-controls" width="98px"><a href="/add/mail/?domain=<?php echo $key ?>"><img src="/images/add.png" width="8px" height="8px"> <?php print _('add account');?></a></td>
|
||||
<td class="data-controls" width="104px"><a href="<?php echo "http://".$http_host."/webmail/"; ?>" target="_blank"><img src="/images/new_window.png" width="8px" height="8px"> <?php print _('open webmail');?></a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/mail/?domain=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('MAIL_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -82,12 +82,12 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 2px 0 2px 0">
|
||||
catchall > <?php echo $data[$key]['CATCHALL'] ?>
|
||||
<?php print _('Catchall email');?> > <?php echo $data[$key]['CATCHALL'] ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1">
|
||||
Disk: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -99,7 +99,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Antivirus:
|
||||
<?php print _('AntiVirus Support');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['ANTIVIRUS'] ?>
|
||||
|
@ -107,7 +107,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Antispam:
|
||||
<?php print _('AntiSpam Support');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['ANTISPAM'] ?>
|
||||
|
@ -119,7 +119,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
DKIM:
|
||||
<?php print _('DKIM Support');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['DKIM'] ?>
|
||||
|
@ -127,7 +127,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Accounts:
|
||||
<?php print _('Accounts');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['ACCOUNTS'] ?>
|
||||
|
@ -152,13 +152,12 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 mail domain ";
|
||||
echo _('one domain with email');
|
||||
} else {
|
||||
echo "$i mail domains ";
|
||||
echo _('%s domains with email',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,22 +1,21 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/mail/?domain=<?php echo $_GET['domain'] ?>'"> Add Mail Account </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/mail/?domain=<?php echo $_GET['domain'] ?>'"> <?php print _('Add Mail Account');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/mail/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -32,7 +31,7 @@
|
|||
<table class="data" style="background: #ebe9dc;">
|
||||
<tr>
|
||||
<td style="padding: 8px 2px 8px 0;">
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b>Listing <?php echo $_GET['domain'] ?></b></a>
|
||||
<a class="name" style="color: #555; font-size: 10pt;"><b><?php print _('Listing');?> <?php echo $_GET['domain'] ?></b></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -55,20 +54,20 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="account[]" value="<?php echo $key?>" ><input type="hidden" name="domain" value="<?php echo $_GET['domain'] ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
<table width="830px">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $_GET['domain'] ?>&account=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/mail/?domain=<?php echo $_GET['domain'] ?>&account=<?php echo $key ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/mail/?domain=<?php echo $_GET['domain'] ?>&account=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo $key ?></b> account?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('MAIL_ACCOUNT_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -85,7 +84,7 @@
|
|||
</td>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 0 0 2px 0">
|
||||
Disk: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -97,7 +96,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Quota:
|
||||
<?php print _('Quota');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['QUOTA'] ?>
|
||||
|
@ -105,7 +104,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Autoreply:
|
||||
<?php print _('Autoreply');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['AUTOREPLY'] ?>
|
||||
|
@ -117,7 +116,7 @@
|
|||
<table width="350">
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Forward:
|
||||
<?php print _('Forward to');?>:
|
||||
</td>
|
||||
<td class="counter-value" style="padding: 0 0 0 8px;" >
|
||||
<?php echo str_replace(',', ', ', $data[$key]['FWD']) ?>
|
||||
|
@ -142,13 +141,12 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 mail account ";
|
||||
echo _('one mail account');
|
||||
} else {
|
||||
echo "$i mail accounts ";
|
||||
echo _('%s mail accounts',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<a class="name" style="padding: 0;"><b>Search Results</b></a>
|
||||
<a class="name" style="padding: 0;"><b><?php print _('Search Results');?></b></a>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150px">
|
||||
<table class="data-col1" width="150">
|
||||
<tr><td style="padding: 24 0 4 0;"><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE']))?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
|
@ -72,7 +72,7 @@
|
|||
</td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<?php
|
||||
if ($data[$key]['KEY'] == 'RECORD') {
|
||||
echo '<input type="hidden" name="delete_url" ';
|
||||
|
@ -97,7 +97,7 @@
|
|||
}
|
||||
?>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo $data[$key]['RESULT'] ?></b> ?</p>
|
||||
<p class="counter-value"><?php print _('ARE_YOU_FUCKING_SURE',_('delete'),$data[$key]['RESULT']);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -110,7 +110,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Object:
|
||||
<?php print _('Object');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $object ?>
|
||||
|
@ -122,7 +122,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Owner:
|
||||
<?php print _('Owner');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['USER'] ?>
|
||||
|
@ -134,10 +134,10 @@
|
|||
<table >
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Status:
|
||||
<?php print _('Status');?>:
|
||||
</td>
|
||||
<td class="counter-value" style="padding: 0 0 0 8px;">
|
||||
<?php echo $status ?>
|
||||
<?php echo _($status); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -159,9 +159,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1){
|
||||
echo "1 object ";
|
||||
echo _('one object');
|
||||
} else {
|
||||
echo "$i objects ";
|
||||
echo _('%s objects',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get" >
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -49,12 +49,12 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td colspan=2 class="counter-name" style="padding: 2px 0px 6px 2px;">
|
||||
[<?php echo $data[$key]['PACKAGE']?>] package
|
||||
[<?php echo $data[$key]['PACKAGE']?>] <?php print _('package');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 2px;">
|
||||
Bandwidth: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<?php print _('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -62,7 +62,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 2px;">
|
||||
Disk: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<?php print _('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -73,12 +73,12 @@
|
|||
<table class="chart2">
|
||||
<tr>
|
||||
<td>
|
||||
Web: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?><br>
|
||||
Mail: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?><br>
|
||||
<?php print _('Hosting');?>: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?><br>
|
||||
<?php print _('Mail');?>: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?><br>
|
||||
</td>
|
||||
<td style="padding: 0px 10px 0px 8px">
|
||||
Databases: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?><br>
|
||||
User Dirs: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?><br>
|
||||
<?php print _('Databases');?>: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?><br>
|
||||
<?php print _('User Directories');?>: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<table width="280">
|
||||
<tr>
|
||||
<td class="counter-name" width="37%">
|
||||
Web Domains:
|
||||
<?php print _('Web Domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_WEB_DOMAINS'] ?>
|
||||
|
@ -98,7 +98,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Web SSL:
|
||||
<?php print _('Web SSL Domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_WEB_SSL'] ?>
|
||||
|
@ -106,7 +106,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Web Aliases:
|
||||
<?php print _('Web Aliases');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_WEB_ALIASES'] ?>
|
||||
|
@ -114,7 +114,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Dns Domains:
|
||||
<?php print _('DNS domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_DNS_DOMAINS'] ?>
|
||||
|
@ -122,7 +122,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Dns Records:
|
||||
<?php print _('DNS records');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_DNS_RECORDS'] ?>
|
||||
|
@ -134,7 +134,7 @@
|
|||
<table class="data-col4" width="250">
|
||||
<tr>
|
||||
<td class="counter-name" width="43%">
|
||||
Mail Domains:
|
||||
<?php print _('Mail domains');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_MAIL_DOMAINS'] ?>
|
||||
|
@ -142,7 +142,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Mail Accounts:
|
||||
<?php print _('Mail Accounts');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_MAIL_ACCOUNTS'] ?>
|
||||
|
@ -150,7 +150,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Databases:
|
||||
<?php print _('Databases');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_DATABASES'] ?>
|
||||
|
@ -158,7 +158,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Cron Jobs:
|
||||
<?php print _('Cron Jobs');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['U_CRON_JOBS'] ?>
|
||||
|
@ -166,7 +166,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">
|
||||
Dedicated IP:
|
||||
<?php print _('IP Adresses');?>:
|
||||
</td>
|
||||
<td class="counter-value">
|
||||
<?php echo $data[$key]['IP_OWNED'] ?>
|
||||
|
@ -191,9 +191,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 month ";
|
||||
echo _('one month');
|
||||
} else {
|
||||
echo "$i months ";
|
||||
echo _('%s months',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -5,26 +5,26 @@
|
|||
<div style="float:left">
|
||||
<?php
|
||||
if ($user == 'admin') {
|
||||
echo "<button style=\"width:120px; padding: 2px 0px;\" onclick=\"location.href='/add/user/'\"> Add User </button>";
|
||||
echo "<button style=\"width:120px; padding: 2px 0px;\" onclick=\"location.href='/add/user/'\"> <?php print _('Add User');?> </button>";
|
||||
} else {
|
||||
echo "<button style=\"width:120px; padding: 2px 0px;\" onclick=\"location.href='/add/web/'\"> Add Domain </button>";
|
||||
echo "<button style=\"width:120px; padding: 2px 0px;\" onclick=\"location.href='/add/web/'\"> <?php print _('Add Domain');?> </button>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/user/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>update counters</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('update counters');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px; height: 24px;">
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; height: 24px;font-size: 12px;">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -52,7 +52,7 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="user[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE']))?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
|
@ -71,16 +71,16 @@
|
|||
<td style="vertical-align:top;" width="240">
|
||||
<table>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 2px 0 0 2px;"><?php echo $data[$key]['CONTACT']?></td></tr>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 0 0 18px 2px;">[<?php echo $data[$key]['PACKAGE']?>] package</td></tr>
|
||||
<tr><td colspan=2 class="counter-name" style="padding: 0 0 18px 2px;">[<?php echo $data[$key]['PACKAGE']?>] <?php print _('package');?></td></tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;">Bandwidth: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;"><?php print _('Bandwidth');?>: <?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>% (<?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>)
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$data[$key]['BANDWIDTH']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;">Disk: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<td class="chart1" colspan=2 style="padding: 0 0 0 3px;"><?php print _('Disk');?>: <?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>% (<?php echo humanize_usage($data[$key]['U_DISK']) ?>)
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$data[$key]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -91,12 +91,12 @@
|
|||
<table class="chart2">
|
||||
<tr>
|
||||
<td>
|
||||
Web: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?><br>
|
||||
Mail: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?><br>
|
||||
<?php print _('Hosting');?>: <?php echo humanize_usage($data[$key]['U_DISK_WEB'])?><br>
|
||||
<?php print _('Mail');?>: <?php echo humanize_usage($data[$key]['U_DISK_MAIL'])?><br>
|
||||
</td>
|
||||
<td style="padding: 0px 10px 0px 8px">
|
||||
Databases: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?><br>
|
||||
User Dirs: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?><br>
|
||||
<?php print _('Databases');?>: <?php echo humanize_usage($data[$key]['U_DISK_DB'])?><br>
|
||||
<?php print _('User Directories');?>: <?php echo humanize_usage($data[$key]['U_DISK_DIRS'])?><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -107,31 +107,31 @@
|
|||
<td style="vertical-align:top;" width="320">
|
||||
<table width="300">
|
||||
<tr>
|
||||
<td class="counter-name" width="36%">Template:</td>
|
||||
<td class="counter-name" width="36%"><?php print _('Template');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['TEMPLATE'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Web Domains:</td>
|
||||
<td class="counter-name"><?php print _('Web Domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_WEB_DOMAINS'] ?> / <?php echo $data[$key]['WEB_DOMAINS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Web SSL:</td>
|
||||
<td class="counter-name"><?php print _('Web SSL Domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_WEB_SSL'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Web Aliases:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['WEB_ALIASES'] ?> per domain</td>
|
||||
<td class="counter-name"><?php print _('Web Aliases');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['WEB_ALIASES'] ?> <?php print _('per domain');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Dns Domains:</td>
|
||||
<td class="counter-name"><?php print _('DNS domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_DNS_DOMAINS'] ?> / <?php echo $data[$key]['DNS_DOMAINS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Dns Records:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['DNS_RECORDS'] ?> per domain</td>
|
||||
<td class="counter-name"><?php print _('DNS records count');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['DNS_RECORDS'] ?> <?php print _('per domain');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Name Servers:<br></td>
|
||||
<td class="counter-name"><?php print _('Name Servers');?>:<br></td>
|
||||
<td class="counter-value"><?php echo str_replace(',', ', ',$data[$key]['NS']) ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -139,31 +139,31 @@
|
|||
<td style="vertical-align:top;">
|
||||
<table class="data-col4">
|
||||
<tr>
|
||||
<td class="counter-name">Mail Domains:</td>
|
||||
<td class="counter-name"><?php print _('Mail Domains');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_MAIL_DOMAINS'] ?> / <?php echo $data[$key]['MAIL_DOMAINS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Mail Accounts:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['MAIL_ACCOUNTS'] ?> per domain</td>
|
||||
<td class="counter-name"><?php print _('Mail Accounts');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['MAIL_ACCOUNTS'] ?> <?php print _('per domain');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Databases:</td>
|
||||
<td class="counter-name"><?php print _('Databases');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_DATABASES'] ?> / <?php echo $data[$key]['DATABASES'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Cron Jobs:</td>
|
||||
<td class="counter-name"><?php print _('Cron Jobs');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_CRON_JOBS'] ?> / <?php echo $data[$key]['CRON_JOBS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Shell:</td>
|
||||
<td class="counter-name"><?php print _('SSH Access');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['SHELL'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Dedicated IP:</td>
|
||||
<td class="counter-name"><?php print _('IP Addresses');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['IP_OWNED'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Backups:</td>
|
||||
<td class="counter-name"><?php print _('Backups');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['U_BACKUPS'] ?> / <?php echo $data[$key]['BACKUPS'] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -184,9 +184,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 user account ";
|
||||
echo _('one account');
|
||||
} else {
|
||||
echo "$i user accounts ";
|
||||
echo _('%s accounts',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<div style="float:left">
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/web/'"> Add Domain </button>
|
||||
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/web/'"> <?php print _('Add Domain for hosting');?> </button>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" name="q" style="margin: 2px 2px 0px 0px; width: 250px; padding: 3px;" size="30">
|
||||
<input type="submit" value="Search" class="button" style="font-size: 12px; height: 24px;">
|
||||
<input type="submit" value="<?php print _('Search');?>" class="button" style="font-size: 12px; height: 24px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<form action="/bulk/web/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>delete</option>
|
||||
<option><?php print _('apply to selected');?></option>
|
||||
<option><?php print _('delete');?></option>
|
||||
</select>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px;font-size: 12px; height: 24px;">
|
||||
</div>
|
||||
|
@ -65,7 +65,7 @@
|
|||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="data-dotted" width="830px" style="vertical-align:top;">
|
||||
|
@ -76,16 +76,16 @@
|
|||
if (!empty($data[$key]['STATS'])) {
|
||||
echo ' <td class="data-controls" width="114px">';
|
||||
echo "<a href='http://".$key."/vstats/' target='_blank'>";
|
||||
echo '<img src="/images/new_window.png" width="8px" height="8px"> open webstats </a></td>';
|
||||
echo '<img src="/images/new_window.png" width="8px" height="8px"> '._('open webstats').' </a></td>';
|
||||
}
|
||||
?>
|
||||
<td class="data-controls" width="50px"><a href="/edit/web/?domain=<?php echo "$key" ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
|
||||
<td class="data-controls" width="50px"><a href="/edit/web/?domain=<?php echo "$key" ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
|
||||
<td class="data-controls do_delete" width="70px">
|
||||
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
|
||||
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
|
||||
<input type="hidden" name="delete_url" value="/delete/web/?domain=<?php echo $key ?>" />
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
|
||||
<p class="counter-value">Are you sure you want to delete <b><?php echo "$key" ?></b> domain?</p>
|
||||
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
|
||||
<p class="counter-value"><?php print _('DOMAIN_ACTION_CONFIRMATION',_('delete'),$key);?></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -106,19 +106,19 @@
|
|||
</td>
|
||||
<tr>
|
||||
<td class="counter-name" style="padding: 0 0 8px 2px">
|
||||
[<?php echo $data[$key]['TPL'] ?>] template
|
||||
[<?php echo $data[$key]['TPL'] ?>] <?php print _('template');?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 0 0 0 2px">
|
||||
Bandwidth: <?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>
|
||||
<?php print _('Bandwidth');?>: <?php echo humanize_usage($data[$key]['U_BANDWIDTH']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_BANDWIDTH'],$panel[$user]['BANDWIDTH']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="chart1" style="padding: 0 0 0 2px">Disk: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<td class="chart1" style="padding: 0 0 0 2px"><?php print _('Disk');?>: <?php echo humanize_usage($data[$key]['U_DISK']) ?>
|
||||
<div style="width:160px; height:6px; font-size:0;background-color:#c7d5b3;">
|
||||
<div style="width:<?php echo get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']) ?>%; height:6px; background-color:#9bbb62; border-right:1px #9bbb62 solid;"></div>
|
||||
</div>
|
||||
|
@ -129,19 +129,19 @@
|
|||
<td style="vertical-align:top;" width="250">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="counter-name">CGI Support:</td>
|
||||
<td class="counter-name"><?php print _('CGI Support');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['CGI'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Error Log:</td>
|
||||
<td class="counter-name"><?php print _('Error Log');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['ELOG'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Web Statistics:</td>
|
||||
<td class="counter-name"><?php print _('Statistics');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['STATS'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Statistics Auth:</td>
|
||||
<td class="counter-name"><?php print _('Statistics Auth');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['STATS_AUTH'] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -149,19 +149,19 @@
|
|||
<td rowspan=4 style="vertical-align:top;" width="300">
|
||||
<table width="300">
|
||||
<tr>
|
||||
<td class="counter-name" width="40%">SSL Support:</td>
|
||||
<td class="counter-name" width="40%"><?php print _('SSL Support');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['SSL'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">SSL Home:</td>
|
||||
<td class="counter-name"><?php print _('SSL Home Directory');?>:</td>
|
||||
<td class="counter-value"><?php echo $ssl_home ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Nginx Template:</td>
|
||||
<td class="counter-name"><?php print _('Nginx Template');?>:</td>
|
||||
<td class="counter-value"><?php echo $data[$key]['NGINX'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="counter-name">Nginx Extentions:</td>
|
||||
<td class="counter-name"><?php print _('Nginx Extentions');?>:</td>
|
||||
<td class="counter-value" <?php if (!empty($nginx_ext_title)) echo "title='".$nginx_ext_title."'" ?>><?php echo $nginx_ext ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -182,9 +182,9 @@
|
|||
<td>
|
||||
<?php
|
||||
if ( $i == 1) {
|
||||
echo "1 web domain ";
|
||||
echo _('one domain');
|
||||
} else {
|
||||
echo "$i web domains ";
|
||||
echo _('%s domains',$i);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue