changed tranlsate function name from _() to __()

This commit is contained in:
Serghey Rodin 2013-04-25 21:33:43 +03:00
commit 25c2b5c4cb
104 changed files with 1277 additions and 1277 deletions

View file

@ -10,7 +10,7 @@
<table class="submenu">
<tr>
<td style="padding: 0 2px 0 0;" ><a class="name"><b><?php print _('Adding Domain');?></b></a>
<td style="padding: 0 2px 0 0;" ><a class="name"><b><?php print __('Adding Domain');?></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: 20px 0 0 2px;">
<?php print _('Domain');?>
<?php print __('Domain');?>
</td>
</tr>
<tr>
@ -95,7 +95,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('IP address');?>
<?php print __('IP address');?>
</td>
</tr>
<tr>
@ -117,7 +117,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('DNS Support');?>
<?php print __('DNS Support');?>
</td>
</tr>
<tr>
@ -127,7 +127,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Mail Support');?>
<?php print __('Mail Support');?>
</td>
</tr>
<tr>
@ -137,14 +137,14 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print _('Advanced options');?></a>
<a href="javascript:elementHideShow('advtable');" class="vst-advanced"><?php print __('Advanced options');?></a>
</td>
</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;">
<?php print _('Aliases');?>
<?php print __('Aliases');?>
</td>
</tr>
<tr>
@ -154,7 +154,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Apache template');?>
<?php print __('Apache template');?>
</td>
</tr>
<tr>
@ -177,7 +177,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Nginx Support');?>
<?php print __('Nginx Support');?>
</td>
</tr>
<tr>
@ -190,7 +190,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;">
<?php print _('Nginx Extentions');?>
<?php print __('Nginx Extentions');?>
</td>
</tr>
<tr>
@ -203,7 +203,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('SSL Support');?>
<?php print __('SSL Support');?>
</td>
</tr>
<tr>
@ -216,7 +216,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;">
<?php print _('SSL Home Directory');?>
<?php print __('SSL Home Directory');?>
</td>
</tr>
<tr>
@ -233,7 +233,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 0;">
<?php print _('SSL Certificate');?>
<?php print __('SSL Certificate');?>
</td>
</tr>
<tr>
@ -243,7 +243,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 0;">
<?php print _('SSL Key');?>
<?php print __('SSL Key');?>
</td>
</tr>
<tr>
@ -253,7 +253,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 0;">
<?php print _('SSL Certificate Authority / Intermediate');?> <span style="padding:0 0 0 6px; font-size: 10pt; color:#555;">(<?php print _('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>
@ -266,7 +266,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Web Statistics');?>
<?php print __('Web Statistics');?>
</td>
</tr>
<tr>
@ -280,7 +280,7 @@
if (( $value == $v_stats ) || ($svalue == $v_stats )){
echo ' selected' ;
}
echo ">" . _($value) . "</option>\n";
echo ">" . __($value) . "</option>\n";
}
?>
</select>
@ -288,7 +288,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Statistics Authorization');?>
<?php print __('Statistics Authorization');?>
</td>
</tr>
<tr>
@ -301,7 +301,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;">
<?php print _('Username');?>
<?php print __('Username');?>
</td>
</tr>
<tr>
@ -311,7 +311,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 0;">
<?php print _('Password');?> <a href="javascript:WEBrandom();" class="genpass"><?php print _('generate');?></a>
<?php print __('Password');?> <a href="javascript:WEBrandom();" class="genpass"><?php print __('generate');?></a>
</td>
</tr>
<tr>
@ -324,7 +324,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Additional FTP Account');?>
<?php print __('Additional FTP Account');?>
</td>
</tr>
<tr>
@ -337,8 +337,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;">
<?php print _('Username');?><br>
<span style="font-size: 10pt; color:#777;"><?php print _('Prefix will be automaticaly added to username',$user."_");?></span>
<?php print __('Username');?><br>
<span style="font-size: 10pt; color:#777;"><?php print __('Prefix will be automaticaly added to username',$user."_");?></span>
</td>
</tr>
<tr>
@ -348,7 +348,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 0;">
<?php print _('Password');?> <a href="javascript:FTPrandom();" class="genpass" ><?php print _('generate');?></a>
<?php print __('Password');?> <a href="javascript:FTPrandom();" class="genpass" ><?php print __('generate');?></a>
</td>
</tr>
<tr>
@ -358,7 +358,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 0;">
<?php print _('Send FTP credentials to email');?>
<?php print __('Send FTP credentials to email');?>
</td>
</tr>
<tr>
@ -373,10 +373,10 @@
<table class="data-col2">
<tr>
<td style="padding: 33px 0 0 0;" width="116px">
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
<input type="submit" name="ok" value="<?php print __('Add');?>" class="button">
</td>
<td style="padding: 33px 0 0 0;">
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
<input type="button" class="button" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
</td>
</tr>
</table>