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

@ -9,7 +9,7 @@
<table class="submenu">
<tr>
<td style="padding: 0 2px 0 0;" ><a class="name"><b><?php print _('Editing Domain');?></b></a>
<td style="padding: 0 2px 0 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>";
@ -69,7 +69,7 @@
<a class="data-date" ?><?php echo $v_time?></a>
</td>
</tr>
<tr><td style="padding: 0 0 0 18px;" class="data-<?php echo $v_status ?>"><b><?php echo _($v_status) ?></b></td></tr>
<tr><td style="padding: 0 0 0 18px;" 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;">
@ -81,7 +81,7 @@
<table class="data-col2" width="830px">
<tr>
<td class="vst-text" style="padding: 20px 0 0 2px;">
<?php print _('Domain');?>
<?php print __('Domain');?>
</td>
</tr>
<tr>
@ -91,7 +91,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('IP Address');?>
<?php print __('IP Address');?>
</td>
</tr>
<tr>
@ -114,7 +114,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10 0 0 2px;">
<?php print _('Aliases');?>
<?php print __('Aliases');?>
</td>
</tr>
<tr>
@ -124,7 +124,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Nginx Support');?>
<?php print __('Nginx Support');?>
</td>
</tr>
<tr>
@ -137,7 +137,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;">
<?php print _('Nginx Extensions');?>
<?php print __('Nginx Extensions');?>
</td>
</tr>
<tr>
@ -150,7 +150,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('SSL Support');?>
<?php print __('SSL Support');?>
</td>
</tr>
<tr>
@ -163,7 +163,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;">
<?php print _('SSL Home Directory');?>
<?php print __('SSL Home Directory');?>
</td>
</tr>
<tr>
@ -180,7 +180,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('SSL Certificate');?>
<?php print __('SSL Certificate');?>
</td>
</tr>
<tr>
@ -190,7 +190,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('SSL Key');?>
<?php print __('SSL Key');?>
</td>
</tr>
<tr>
@ -200,7 +200,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?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>
@ -213,7 +213,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Web Statistics');?>
<?php print __('Web Statistics');?>
</td>
</tr>
<tr>
@ -227,7 +227,7 @@
if (( $value == $v_stats ) || ($svalue == $v_stats )){
echo ' selected' ;
}
echo ">". _($value) ."</option>\n";
echo ">". __($value) ."</option>\n";
}
?>
</select>
@ -235,7 +235,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Statistics Authorization');?>
<?php print __('Statistics Authorization');?>
</td>
</tr>
<tr>
@ -248,7 +248,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;">
<?php print _('Username');?>
<?php print __('Username');?>
</td>
</tr>
<tr>
@ -258,7 +258,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?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>
@ -271,7 +271,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>
@ -284,8 +284,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');?>
<?php if (empty($v_ftp_user)) echo '<br><span style="font-size: 10pt; color:#777;">' . _('Prefix will be automaticaly added to username',$user."_") . '</span>' ?>
<?php print __('Username');?>
<?php if (empty($v_ftp_user)) echo '<br><span style="font-size: 10pt; color:#777;">' . __('Prefix will be automaticaly added to username',$user."_") . '</span>' ?>
</td>
</tr>
<tr>
@ -295,7 +295,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>
@ -309,7 +309,7 @@
?>
<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>
@ -327,10 +327,10 @@
<table class="data-col2">
<tr>
<td style="padding: 24px 0 0 0;" width="116px">
<input type="submit" class="button" name="save" value="<?php print _('Save');?>">
<input type="submit" class="button" name="save" value="<?php print __('Save');?>">
</td>
<td style="padding: 24px 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>