From 2cb1563f63386b35a69e460051aa9b4a2851d104 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 30 May 2012 07:30:44 -0400
Subject: [PATCH] - Added (clickable) placeholders to client messaging function. - Added check so that the client password isn't inserted into the message (for security reasons).

---
 interface/web/vm/lib/lang/fi_openvz_template.lng |  153 +++++++++++++++++++++++++++++++--------------------
 1 files changed, 93 insertions(+), 60 deletions(-)

diff --git a/interface/web/vm/lib/lang/fi_openvz_template.lng b/interface/web/vm/lib/lang/fi_openvz_template.lng
index a2619f1..d285512 100644
--- a/interface/web/vm/lib/lang/fi_openvz_template.lng
+++ b/interface/web/vm/lib/lang/fi_openvz_template.lng
@@ -1,60 +1,93 @@
-<?php
-$wb["numproc_txt"] = 'Numproc';
-$wb["numtcpsock_txt"] = 'Numtcpsock';
-$wb["numothersock_txt"] = 'Numothersock';
-$wb["vmguarpages_txt"] = 'Vmguarpages';
-$wb["kmemsize_txt"] = 'Kmemsize';
-$wb["tcpsndbuf_txt"] = 'Tcpsndbuf';
-$wb["tcprcvbuf_txt"] = 'Tcprcvbuf';
-$wb["othersockbuf_txt"] = 'Othersockbuf';
-$wb["dgramrcvbuf_txt"] = 'Dgramrcvbuf';
-$wb["oomguarpages_txt"] = 'Oomguarpages';
-$wb["privvmpages_txt"] = 'Privvmpages';
-$wb["lockedpages_txt"] = 'Lockedpages';
-$wb["shmpages_txt"] = 'Shmpages';
-$wb["physpages_txt"] = 'Physpages';
-$wb["numfile_txt"] = 'Numfile';
-$wb["avnumproc_txt"] = 'Avnumproc';
-$wb["numflock_txt"] = 'Numflock';
-$wb["numpty_txt"] = 'Numpty';
-$wb["numsiginfo_txt"] = 'Numsiginfo';
-$wb["dcachesize_txt"] = 'Dcachesize';
-$wb["numiptent_txt"] = 'Numiptent';
-$wb["swappages_txt"] = 'Swappages';
-$wb["hostname_txt"] = 'Hostname';
-$wb["nameserver_txt"] = 'Nameserver(s)';
-$wb["nameserver_desc_txt"] = '(separated by whitespace)';
-$wb["capability_txt"] = 'Capability';
-$wb["template_name_txt"] = 'Template name';
-$wb["diskspace_txt"] = 'Diskspace';
-$wb["ram_txt"] = 'RAM (guaranteed)';
-$wb["ram_burst_txt"] = 'RAM (burst)';
-$wb["cpu_units_txt"] = 'CPU units';
-$wb["cpu_num_txt"] = 'CPU cores';
-$wb["cpu_limit_txt"] = 'CPU limit %';
-$wb["io_priority_txt"] = 'I/O priority';
-$wb["active_txt"] = 'Active';
-$wb["description_txt"] = 'Description';
-$wb["numproc_desc_txt"] = 'Number of processes and threads.';
-$wb["numtcpsock_desc_txt"] = 'Number of TCP sockets.';
-$wb["numothersock_desc_txt"] = 'Number of sockets other than TCP.';
-$wb["vmguarpages_desc_txt"] = 'Memory allocation guarantee, in pages.';
-$wb["kmemsize_desc_txt"] = 'Size of unswappable kernel memory, allocated for processes in this container.';
-$wb["tcpsndbuf_desc_txt"] = 'Total size of TCP send buffers.';
-$wb["tcprcvbuf_desc_txt"] = 'Total size of TCP receive buffers.';
-$wb["othersockbuf_desc_txt"] = 'Total size of UNIX-domain socket buffers, UDP and other datagram protocol send buffers.';
-$wb["dgramrcvbuf_desc_txt"] = 'Receive buffers of UDP and other datagram protocols.';
-$wb["oomguarpages_desc_txt"] = 'The guaranteed amount of memory for the case the memory is "over-booked" (out-of-memory kill guarantee), in pages.';
-$wb["privvmpages_desc_txt"] = 'Memory allocation limit, in pages.';
-$wb["lockedpages_desc_txt"] = 'Process pages not allowed to be swapped out (pages locked by mlock(2)).';
-$wb["shmpages_desc_txt"] = 'Total size of shared memory (IPC, shared anonymous mappings and tmpfs objects), in pages.';
-$wb["physpages_desc_txt"] = 'Total number of RAM pages used by processes.';
-$wb["numfile_desc_txt"] = 'Number of open files.';
-$wb["numflock_desc_txt"] = 'Number of file locks.';
-$wb["numpty_desc_txt"] = 'Number of pseudo-terminals.';
-$wb["numsiginfo_desc_txt"] = 'Number of siginfo structures.';
-$wb["dcachesize_desc_txt"] = 'Total size of dentry and inode structures locked in memory.';
-$wb["numiptent_desc_txt"] = 'Number of NETFILTER (IP packet filtering) entries.';
-$wb["swappages_desc_txt"] = 'Amount of swap space to show in container.';
-$wb["create_dns_txt"] = 'Create DNS for hostname';
-?>
\ No newline at end of file
+<?php
+$wb['numproc_txt'] = 'Numproc';
+$wb['numtcpsock_txt'] = 'Numtcpsock';
+$wb['numothersock_txt'] = 'Numothersock';
+$wb['vmguarpages_txt'] = 'Vmguarpages';
+$wb['kmemsize_txt'] = 'Kmemsize';
+$wb['tcpsndbuf_txt'] = 'Tcpsndbuf';
+$wb['tcprcvbuf_txt'] = 'Tcprcvbuf';
+$wb['othersockbuf_txt'] = 'Othersockbuf';
+$wb['dgramrcvbuf_txt'] = 'Dgramrcvbuf';
+$wb['oomguarpages_txt'] = 'Oomguarpages';
+$wb['privvmpages_txt'] = 'Privvmpages';
+$wb['lockedpages_txt'] = 'Lockedpages';
+$wb['shmpages_txt'] = 'Shmpages';
+$wb['physpages_txt'] = 'Physpages';
+$wb['numfile_txt'] = 'Numfile';
+$wb['avnumproc_txt'] = 'Avnumproc';
+$wb['numflock_txt'] = 'Numflock';
+$wb['numpty_txt'] = 'Numpty';
+$wb['numsiginfo_txt'] = 'Numsiginfo';
+$wb['dcachesize_txt'] = 'Dcachesize';
+$wb['numiptent_txt'] = 'Numiptent';
+$wb['swappages_txt'] = 'Swappages';
+$wb['hostname_txt'] = 'Hostname';
+$wb['nameserver_txt'] = 'Nameserver(s)';
+$wb['nameserver_desc_txt'] = '(separated by whitespace)';
+$wb['capability_txt'] = 'Capability';
+$wb['template_name_txt'] = 'Template name';
+$wb['diskspace_txt'] = 'Diskspace';
+$wb['ram_txt'] = 'RAM (guaranteed)';
+$wb['ram_burst_txt'] = 'RAM (burst)';
+$wb['cpu_units_txt'] = 'CPU units';
+$wb['cpu_num_txt'] = 'CPU cores';
+$wb['cpu_limit_txt'] = 'CPU limit %';
+$wb['io_priority_txt'] = 'I/O priority';
+$wb['active_txt'] = 'Active';
+$wb['description_txt'] = 'Description';
+$wb['numproc_desc_txt'] = 'Number of processes and threads.';
+$wb['numtcpsock_desc_txt'] = 'Number of TCP sockets.';
+$wb['numothersock_desc_txt'] = 'Number of sockets other than TCP.';
+$wb['vmguarpages_desc_txt'] = 'Memory allocation guarantee, in pages.';
+$wb['kmemsize_desc_txt'] = 'Size of unswappable kernel memory, allocated for processes in this container.';
+$wb['tcpsndbuf_desc_txt'] = 'Total size of TCP send buffers.';
+$wb['tcprcvbuf_desc_txt'] = 'Total size of TCP receive buffers.';
+$wb['othersockbuf_desc_txt'] = 'Total size of UNIX-domain socket buffers, UDP and other datagram protocol send buffers.';
+$wb['dgramrcvbuf_desc_txt'] = 'Receive buffers of UDP and other datagram protocols.';
+$wb['oomguarpages_desc_txt'] = 'The guaranteed amount of memory for the case the memory is over-booked (out-of-memory kill guarantee), in pages.';
+$wb['privvmpages_desc_txt'] = 'Memory allocation limit, in pages.';
+$wb['lockedpages_desc_txt'] = 'Process pages not allowed to be swapped out (pages locked by mlock(2)).';
+$wb['shmpages_desc_txt'] = 'Total size of shared memory (IPC, shared anonymous mappings and tmpfs objects), in pages.';
+$wb['physpages_desc_txt'] = 'Total number of RAM pages used by processes.';
+$wb['numfile_desc_txt'] = 'Number of open files.';
+$wb['numflock_desc_txt'] = 'Number of file locks.';
+$wb['numpty_desc_txt'] = 'Number of pseudo-terminals.';
+$wb['numsiginfo_desc_txt'] = 'Number of siginfo structures.';
+$wb['dcachesize_desc_txt'] = 'Total size of dentry and inode structures locked in memory.';
+$wb['numiptent_desc_txt'] = 'Number of NETFILTER (IP packet filtering) entries.';
+$wb['swappages_desc_txt'] = 'Amount of swap space to show in container.';
+$wb['create_dns_txt'] = 'Create DNS for hostname';
+$wb['template_name_error_empty'] = 'Template name is empty.';
+$wb['diskspace_error_empty'] = 'Diskspace is empty.';
+$wb['ram_error_empty'] = 'RAM (guaranteed) is empty.';
+$wb['ram_burst_error_empty'] = 'RAM (burst) is empty.';
+$wb['cpu_units_error_empty'] = 'CPU units is empty.';
+$wb['cpu_num_error_empty'] = 'CPU cores is empty.';
+$wb['cpu_limit_error_empty'] = 'CPU limit % is empty.';
+$wb['io_priority_error_empty'] = 'I/O priority is empty.';
+$wb['template_nameserver_error_empty'] = 'Nameserver(s) is empty.';
+$wb['numproc_error_empty'] = 'Numproc is empty.';
+$wb['numtcpsock_error_empty'] = 'Numtcpsock is empty.';
+$wb['numothersock_error_empty'] = 'Numothersock is empty.';
+$wb['vmguarpages_error_empty'] = 'Vmguarpages is empty.';
+$wb['kmemsize_error_empty'] = 'Kmemsize is empty.';
+$wb['tcpsndbuf_error_empty'] = 'Tcpsndbuf is empty.';
+$wb['tcprcvbuf_error_empty'] = 'Tcprcvbuf is empty.';
+$wb['othersockbuf_error_empty'] = 'Othersockbuf is empty.';
+$wb['dgramrcvbuf_error_empty'] = 'Dgramrcvbuf is empty.';
+$wb['oomguarpages_error_empty'] = 'Oomguarpages is empty.';
+$wb['privvmpages_error_empty'] = 'Privvmpages is empty.';
+$wb['lockedpages_error_empty'] = 'Lockedpages is empty.';
+$wb['shmpages_error_empty'] = 'Shmpages is empty.';
+$wb['physpages_error_empty'] = 'Physpages is empty.';
+$wb['numfile_error_empty'] = 'Numfile is empty.';
+$wb['avnumproc_error_empty'] = 'Avnumproc is empty.';
+$wb['numflock_error_empty'] = 'Numflock is empty.';
+$wb['numpty_error_empty'] = 'Numpty is empty.';
+$wb['numsiginfo_error_empty'] = 'Numsiginfo is empty.';
+$wb['dcachesize_error_empty'] = 'Dcachesize is empty.';
+$wb['numiptent_error_empty'] = 'Numiptent is empty.';
+$wb['swappages_error_empty'] = 'Swappages is empty.';
+$wb['Template'] = 'Template';
+$wb['Advanced'] = 'Advanced';
+?>

--
Gitblit v1.9.1