本文整理汇总了PHP中EchoTranslation函数的典型用法代码示例。如果您正苦于以下问题:PHP EchoTranslation函数的具体用法?PHP EchoTranslation怎么用?PHP EchoTranslation使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了EchoTranslation函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: PrintCheckboxRow
<table border="0" width="100%" cellpadding="5">
<tr>
<th width="30%"></th>
<th width="70%"></th>
</tr>
<?php
PrintCheckboxRow("SpamAssassinEnabled", "Use SpamAssassin", $SpamAssassinEnabled);
PrintPropertyEditRow("SpamAssassinHost", "Host name", $SpamAssassinHost);
PrintPropertyEditRow("SpamAssassinPort", "TCP/IP port", $SpamAssassinPort, 10, "number");
PrintCheckboxRow("SpamAssassinMergeScore", "Use score from SpamAssassin", $SpamAssassinMergeScore);
PrintPropertyEditRow("SpamAssassinScore", "Score", $SpamAssassinScore, 4, "number");
?>
<tr>
<td colspan="2">
<input type="button" value="<?php
EchoTranslation("Test");
?>
" onclick="TestSpamAssassinConnection();">
<br/>
<br/>
<div id="SpamAssassinTestResult"></div>
</td>
</tr>
</table>
</div>
</div>
<?php
PrintSaveButton();
?>
示例2: PrintHidden
PrintHidden("page", "background_domain_name_save");
PrintHidden("action", $action);
PrintHidden("domainid", $domainid);
?>
<div class="tabber">
<div class="tabbertab">
<h2><?php
EchoTranslation("General");
?>
</h2>
<table border="0" width="100%" cellpadding="5">
<tr>
<td width="30%"><?php
EchoTranslation("Name");
?>
</td>
<td width="70%"><input type="text" name="aliasname" checkallownull="false"></td>
</tr>
</table>
</div>
</div>
<?php
PrintSaveButton();
?>
</form>
示例3: EchoTranslation
EchoTranslation("Advanced");
?>
</h2>
<table border="0" width="100%" cellpadding="5">
<tr>
<th width="30%"></th>
<th width="70%"></th>
</tr>
<tr>
<td><?php
EchoTranslation("First name");
?>
</td>
<td><?php
EchoTranslation("Last name");
?>
</td>
</tr>
<tr>
<td>
<input type="text" name="PersonFirstName" value="<?php
echo PreprocessOutput($PersonFirstName);
?>
" size="40">
</td>
<td>
<input type="text" name="PersonLastName" value="<?php
echo PreprocessOutput($PersonLastName);
?>
示例4: PrintCheckboxRow
<tr>
<th width="30%"></th>
<th width="70%"></th>
</tr>
<?php
PrintCheckboxRow("RequireSMTPAuthLocalToLocal", "Local to local e-mail addresses", $RequireSMTPAuthLocalToLocal);
PrintCheckboxRow("RequireSMTPAuthLocalToExternal", "Local to external e-mail addresses", $RequireSMTPAuthLocalToExternal);
PrintCheckboxRow("RequireSMTPAuthExternalToLocal", "External to local e-mail addresses", $RequireSMTPAuthExternalToLocal);
PrintCheckboxRow("RequireSMTPAuthExternalToExternal", "External to external e-mail addresses", $RequireSMTPAuthExternalToExternal);
?>
</table>
</div>
<div class="tabbertab">
<h2><?php
EchoTranslation("Other");
?>
</h2>
<table border="0" width="100%" cellpadding="5">
<tr>
<th width="30%"></th>
<th width="70%"></th>
</tr>
<?php
PrintCheckboxRow("enablespamprotection", "Anti-spam", $enablespamprotection);
PrintCheckboxRow("EnableAntiVirus", "Anti-virus", $EnableAntiVirus);
?>
</table>
</div>
</div>
示例5: EchoTranslation
EchoTranslation("SSL certificate");
?>
</h1>
<form action="index.php" method="post" onSubmit="return formCheck(this);">
<?php
PrintHidden("page", "background_sslcertificate_save");
PrintHidden("action", "{$action}");
PrintHidden("id", "{$id}");
?>
<div class="tabber">
<div class="tabbertab">
<h2><?php
EchoTranslation("General");
?>
</h2>
<table border="0" width="100%" cellpadding="5">
<tr>
<th width="30%"></th>
<th width="70%"></th>
</tr>
<?php
PrintPropertyEditRow("Name", "Name", $Name);
PrintPropertyEditRow("CertificateFile", "Certificate file", $CertificateFile, 50);
PrintPropertyEditRow("PrivateKeyFile", "Private key file", $PrivateKeyFile, 50);
?>
</table>
示例6: EchoTranslation
?>
</i></td>
<td><i><?php
EchoTranslation("From");
?>
</i></td>
<td><i><?php
EchoTranslation("To");
?>
</i></td>
<td><i><?php
EchoTranslation("Next try");
?>
</i></td>
<td><i><?php
EchoTranslation("Number of retries");
?>
</i></td>
</tr>
<?php
$undeliveredMessages = $obStatus->UndeliveredMessages;
$count = 0;
if (strlen($undeliveredMessages) > 0) {
$list = explode("\r\n", $undeliveredMessages);
$count = count($list);
$as_soon_as_possible = $obLanguage->String("As soon as possible");
foreach ($list as $line) {
$columns = explode("\t", $line);
if (count($columns) > 4) {
if ($columns[4] == "1901-01-01 00:00:00") {
$columns[4] = $as_soon_as_possible;
示例7: EchoTranslation
<tr>
<td><?php
EchoTranslation("Upper IP");
?>
</td>
<td>
<input type="text" name="UpperIPAddress" value="<?php
echo PreprocessOutput($UpperIPAddress);
?>
" size="20">
</td>
</tr>
<tr>
<td><?php
EchoTranslation("E-mail address");
?>
</td>
<td>
<input type="text" name="EmailAddress" value="<?php
echo PreprocessOutput($EmailAddress);
?>
" size="50">
</td>
</tr>
</table>
</div>
</div>
<?php
示例8: hmailHackingAttemp
<?php
if (!defined('IN_WEBADMIN')) {
exit;
}
if (hmailGetAdminLevel() != ADMIN_SERVER) {
hmailHackingAttemp();
}
// Users are not allowed to show this page.
?>
<h1><?php
EchoTranslation("Server messages");
?>
</h1>
<table border="0" width="100%" cellpadding="5">
<?php
$bgcolor = "#EEEEEE";
$obSettings = $obBaseApp->Settings();
$obServerMessages = $obSettings->ServerMessages();
$Count = $obServerMessages->Count();
for ($i = 0; $i < $Count; $i++) {
$obServerMessage = $obServerMessages->Item($i);
$messagename = $obServerMessage->Name;
$messageid = $obServerMessage->ID;
$messagename = PreprocessOutput($messagename);
echo "<tr bgcolor=\"{$bgcolor}\">";
echo "<td width=\"80%\"><a href=\"?page=servermessage&messageid={$messageid}&\">{$messagename}</a></td>";
echo "</tr>";
if ($bgcolor == "#EEEEEE") {
$bgcolor = "#DDDDDD";
} else {
示例9: EchoTranslation
<div class="tabbertab">
<h2><?php
EchoTranslation("General");
?>
</h2>
<table border="0" width="100%" cellpadding="5">
<tr>
<td width="30%"><?php
EchoTranslation("Address");
?>
</td>
<td width="70%">
<input type="text" name="routeaddress" value="<?php
echo PreprocessOutput($routeaddress);
?>
" size="35" checkallownull="false" checktype="email" checkmessage="<?php
EchoTranslation("Address");
?>
">
</td>
</tr>
</table>
</div>
</div>
<?php
PrintSaveButton();
?>
</form>
示例10: EchoTranslation
EchoTranslation("Incorrect username or password.");
echo "<br/><br/>";
}
?>
<?php
EchoTranslation("User name");
?>
:<br/>
<input type="text" name="username" size="25" maxlength="256" /><br/>
<br/>
<?php
EchoTranslation("Password");
?>
:<br/>
<input type="password" name="password" size="25" maxlength="256" /><br/>
<br/>
<input type="submit" value="<?php
EchoTranslation("OK");
?>
" />
</td>
</tr>
</table>
</form>
<script type="text/javascript">
document.mainform.username.focus();
</script>
示例11: EchoTranslation
</tr>
<tr>
<td><?php
EchoTranslation("Address");
?>
</td>
<td>
<input type="text" name="RequireSenderAddress" value="<?php
echo PreprocessOutput($RequireSenderAddress);
?>
" size="30">
</td>
</tr>
<tr>
<td><?php
EchoTranslation("Require SMTP Authentication");
?>
</td>
<td><input type="checkbox" name="listrequiresmtpauth" value="1" <?php
echo $listrequiresmtpauthchecked;
?>
></td>
</tr>
</table>
</div>
</div>
<?php
PrintSaveButton();
?>
示例12: GetMatchTypeString
$eMTWildcardSelected = $MatchType == eMTWildcard ? "selected" : "";
echo "<option value= " . eMTEquals . " {$eMTEqualsSelected}>" . GetMatchTypeString(eMTEquals) . "</option>";
echo "<option value= " . eMTContains . " {$eMTContainsSelected}>" . GetMatchTypeString(eMTContains) . "</option>";
echo "<option value= " . eMTLessThan . " {$eMTLessThanSelected}>" . GetMatchTypeString(eMTLessThan) . "</option>";
echo "<option value= " . eMTGreaterThan . " {$eMTGreaterThanSelected}>" . GetMatchTypeString(eMTGreaterThan) . "</option>";
echo "<option value= " . eMTRegExMatch . " {$eMTRegExMatchSelected}>" . GetMatchTypeString(eMTRegExMatch) . "</option>";
echo "<option value= " . eMTNotContains . " {$eMTNotContainsSelected}>" . GetMatchTypeString(eMTNotContains) . "</option>";
echo "<option value= " . eMTNotEquals . " {$eMTNotEqualsSelected}>" . GetMatchTypeString(eMTNotEquals) . "</option>";
echo "<option value= " . eMTWildcard . " {$eMTWildcardSelected}>" . GetMatchTypeString(eMTWildcard) . "</option>";
?>
</select>
</td>
<td>
<?php
EchoTranslation("Value");
?>
<br/>
<input type="text" name="MatchValue" value="<?php
echo PreprocessOutput($MatchValue);
?>
">
</td>
</tr>
</table>
</div>
</div>
<?php
PrintSaveButton();
?>
示例13: EchoTranslation
<tr>
<td><input type="radio" name="DaysToKeepMessages" value="" <?php
if ($DaysToKeepMessages > 0) {
echo "checked";
}
?>
></td>
<td><?php
EchoTranslation("Delete messages after");
?>
</td>
<td><input type="text" name="DaysToKeepMessagesValue" value="<?php
echo PreprocessOutput($DaysToKeepMessagesValue);
?>
"> <?php
EchoTranslation("days");
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
<?php
PrintSaveButton();
?>
</form>
示例14: EchoTranslation
?>
" checkallownull="false" checktype="number" checkmessage="<?php
EchoTranslation("Days before removing unused records");
?>
"></td>
</tr>
<tr>
<td><?php
EchoTranslation("Days before removing used records");
?>
</td>
<td><input type="text" name="greylistingfinaldelete" value="<?php
echo PreprocessOutput($greylistingfinaldelete);
?>
" checkallownull="false" checktype="number" checkmessage="<?php
EchoTranslation("Days before removing used records");
?>
"></td>
</tr>
<?php
PrintCheckboxRow("BypassGreylistingOnSPFSuccess", "Bypass Greylisting on SPF Pass", $BypassGreylistingOnSPFSuccess);
PrintCheckboxRow("BypassGreylistingOnMailFromMX", "Bypass Greylisting when message arrives from A or MX record.", $BypassGreylistingOnMailFromMX);
?>
</table>
</div>
</div>
<?php
PrintSaveButton();
?>
</form>
示例15: PreprocessOutput
?>
<br/>
<input type="text" name="Value" value="<?php
echo PreprocessOutput($Value);
?>
"><br/>
<br/>
</div>
<div id="panel-<?php
echo eRASendUsingRoute;
?>
" style="display: none">
<?php
EchoTranslation("Route");
?>
<br/>
<select name="RouteID">
<?php
if (hmailGetAdminLevel() == ADMIN_SERVER) {
$obSettings = $obBaseApp->Settings;
$obRoutes = $obSettings->Routes();
$Count = $obRoutes->Count();
for ($i = 0; $i < $Count; $i++) {
$obRoute = $obRoutes->Item($i);
$routename = $obRoute->DomainName;
$routeid = $obRoute->ID;
$routename = PreprocessOutput($routename);
echo "<option value=\"{$routeid}\">{$routename}</option>";