• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP etranslate函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中etranslate函数的典型用法代码示例。如果您正苦于以下问题:PHP etranslate函数的具体用法?PHP etranslate怎么用?PHP etranslate使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了etranslate函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: etranslate

 </td></tr>
 <tr><td colspan="2">
  <input type="submit" value="<?php 
etranslate("Save");
?>
" />
<?php 
if (!$adding_report) {
    ?>
  &nbsp;&nbsp;<input type="submit" name="action" 
  value="<?php 
    etranslate("Delete");
    ?>
"
  onclick="return confirm('<?php 
    etranslate("Are you sure you want to delete this report?");
    ?>
');" />
<?php 
}
?>
 </td></tr>
</table>
</form>

<?php 
print_trailer();
?>
</body>
</html>
开发者ID:rohcehlam,项目名称:rflow,代码行数:30,代码来源:edit_report.php


示例2: user_load_variables

    }
    echo "</UL><P>\n";
    if ($count == 0) {
        user_load_variables($user, "temp_");
        echo translate("No unapproved events for") . " " . $temp_fullname . ".";
    } else {
        echo $eventinfo;
    }
}
?>

<H2><FONT COLOR="<?php 
echo $H2COLOR;
?>
"><?php 
etranslate("Unapproved Events");
?>
</FONT></H2>

<?php 
// List unapproved events for this user.
list_unapproved($login);
// Admin users can also approve Public Access events
if ($is_admin && $public_access == "Y") {
    echo "<P><H3>" . translate("Public Access") . "</H3>\n";
    list_unapproved("__public__");
}
?>

<?php 
include "includes/trailer.php";
开发者ID:neuroidss,项目名称:virtuoso-opensource,代码行数:31,代码来源:list_unapproved.php


示例3: print_header

if (!empty($error)) {
    print_header('', '', '', true);
    ?>

<h2><?php 
    etranslate("Error");
    ?>
</h2>

<blockquote>
<?php 
    echo $error;
    //if ( $sql != "" )
    //  echo "<br /><br /><b>SQL:</b> $sql";
    //
    ?>
</blockquote>
</body>
</html>
<?php 
} else {
    if (empty($error)) {
        ?>
<html><head></head><body onload="alert('<?php 
        etranslate("Changes successfully saved");
        ?>
'); window.parent.location.href='users.php';">
</body></html>
<?php 
    }
}
开发者ID:neymanna,项目名称:fusionforge,代码行数:31,代码来源:edit_nonusers_handler.php


示例4: transmit_header

}
if ($format == "ical") {
    transmit_header('text/ical', "webcalendar-{$id}.ics");
    export_ical($id);
} elseif ($format == "vcal") {
    transmit_header('text/vcal', "webcalendar-{$id}.vcs");
    export_vcal($id);
} elseif ($format == "pilot-csv") {
    transmit_header('text/csv', "webcalendar-{$id}.csv");
    export_pilot_csv($id);
} elseif ($format == "pilot-text") {
    transmit_header('text/plain', "webcalendar-{$id}.txt");
    export_install_datebook($id);
} else {
    //exit;
    print_header();
    echo "<h2>";
    etranslate("Export");
    echo " ";
    etranslate("Error");
    echo "</h2>\n";
    echo "<span style=\"font-weight:bold;\">";
    etranslate("Error");
    echo ":</span> ";
    echo translate("export format not defined or incorrect") . ".";
    echo "<br />\n";
    print_trailer();
    echo " </body>\n";
    echo "</html>";
}
//end if ($format == "ical")
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:31,代码来源:export_handler.php


示例5: etranslate

    ?>
		</td></tr>
	</table>
<?php 
}
?>

<?php 
if ($allow_color_customization == 'Y') {
    ?>
	<h3><?php 
    etranslate("Colors");
    ?>
</h3>
	<?php 
    etranslate("colors-help");
    ?>
	<br /><br />


<?php 
}
// if $allow_color_customization
?>

<?php 
include_once "includes/help_trailer.php";
?>

</body>
</html>
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:31,代码来源:help_pref.php


示例6: etranslate

?>
</li>
		<li><?php 
etranslate("Lotus Organizer 6");
?>
</li>
		<li><?php 
etranslate("Microsoft Outlook 2002");
?>
</li>
	</ul>

<h3><?php 
etranslate("iCalendar");
?>
</h3>
	<p><?php 
etranslate("This form will import iCalendar (.ics) events");
?>
.
	<?php 
etranslate("Enabling <b>Overwrite Prior Import</b> will cause events imported previously that used the same UID as an event from the new import file to be marked as deleted.  This should allow an updated iCalendar file to be imported without creating duplicates.");
?>
</p>

<?php 
include_once "includes/help_trailer.php";
?>
</body>
</html>
开发者ID:neymanna,项目名称:fusionforge,代码行数:30,代码来源:help_import.php


示例7: display_unapproved_events

if (!empty($eventinfo)) {
    echo $eventinfo;
}
display_unapproved_events($is_assistant || $is_nonuser_admin ? $user : $login);
?>
<br />
<a title="<?php 
etranslate("Generate printer-friendly version");
?>
" class="printer" href="day.php?<?php 
echo $u_url;
if ($thisyear) {
    echo "year={$thisyear}&amp;month={$thismonth}&amp;day={$thisday}&amp;";
}
if (!empty($cat_id)) {
    echo "cat_id={$cat_id}&amp;";
}
?>
friendly=1" target="cal_printer_friendly" onmouseover="window.status = '<?php 
etranslate("Generate printer-friendly version");
?>
'">[<?php 
etranslate("Printer Friendly");
?>
]</a>

<?php 
print_trailer();
?>
</body>
</html>
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:day.php


示例8: etranslate

    ?>
<tr><td>
	<br /><a title="<?php 
    etranslate("Delete layer");
    ?>
" href="del_layer.php?id=<?php 
    echo $id;
    if ($updating_public) {
        echo "&amp;public=1";
    }
    ?>
" onclick="return confirm('<?php 
    etranslate("Are you sure you want to delete this layer?");
    ?>
');"><?php 
    etranslate("Delete layer");
    ?>
</a><br />
</td></tr>
<?php 
}
// end 'Delete Layer' link
?>
</table>

<?php 
if (!empty($layers[$id]['cal_layeruser'])) {
    echo "<input type=\"hidden\" name=\"id\" value=\"{$id}\" />\n";
}
?>
</form>
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:edit_layer.php


示例9: translate

}
if ($login != '__public__') {
    /*
      $goto_link[] = "<a title=\"" . 
    translate("Help") . "\" href=\"#\" onclick=\"window.open " .
    "( 'help_index.php', 'cal_help', 'dependent,menubar,scrollbars, " .
    "height=400,width=400,innerHeight=420,outerWidth=420' );\"  " .
    "onmouseover=\"window.status='" . 
    translate("Help") . "'\">" . 
    translate("Help") . "</a>";
    */
}
if (count($goto_link) > 0) {
    ?>
<span class="prefix"><?php 
    etranslate("Go to");
    ?>
:</span> <?php 
    for ($i = 0; $i < count($goto_link); $i++) {
        if ($i > 0) {
            echo " | ";
        }
        echo $goto_link[$i];
    }
}
?>

<!-- VIEWS -->
<?php 
if (($is_admin || $allow_view_other != "N") && count($views) > 0) {
    for ($i = 0; $i < count($views); $i++) {
开发者ID:neymanna,项目名称:fusionforge,代码行数:31,代码来源:trailer.php


示例10: etranslate

  <?php 
    }
    ?>
  <br /><br />
  <input type="submit" name="action" value="<?php 
    echo $button;
    ?>
" />
  <?php 
    if (!empty($id)) {
        ?>
	<input type="submit" name="action" value="<?php 
        etranslate("Delete");
        ?>
" onclick="return confirm('<?php 
        etranslate("Are you sure you want to delete this entry?");
        ?>
')" />
  <?php 
    }
    ?>
  </form>
  <?php 
} else {
    if (empty($error)) {
        // Displaying Categories
        $global_found = false;
        if (!empty($categories)) {
            echo "<ul>";
            foreach ($categories as $K => $V) {
                echo "<li>";
开发者ID:neymanna,项目名称:fusionforge,代码行数:31,代码来源:category.php


示例11: etranslate

                    etranslate("Event approved");
                } else {
                    if ($row[2] == $LOG_REJECT) {
                        etranslate("Event rejected");
                    } else {
                        if ($row[2] == $LOG_UPDATE) {
                            etranslate("Event updated");
                        } else {
                            if ($row[2] == $LOG_DELETE) {
                                etranslate("Event deleted");
                            } else {
                                if ($row[2] == $LOG_NOTIFICATION) {
                                    etranslate("Notification sent");
                                } else {
                                    if ($row[2] == $LOG_REMINDER) {
                                        etranslate("Reminder sent");
                                    } else {
                                        echo "???";
                                    }
                                }
                            }
                        }
                    }
                }
            }
            echo "\n</td></tr>\n";
        }
    }
    dbi_free_result($res);
} else {
    echo translate("Database error") . ": " . dbi_error();
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:31,代码来源:activity_log.php


示例12: etranslate

                ?>
;">
		<?php 
                echo $layer['cal_color'];
                ?>
	</td></tr>
	<tr><td style="font-weight:bold;">
		<?php 
                etranslate("Duplicates");
                ?>
:</td><td>
		<?php 
                if ($layer['cal_dups'] == 'N') {
                    etranslate("No");
                } else {
                    etranslate("Yes");
                }
                ?>
	</td></tr>
</table>
<?php 
                $layer_count++;
            }
        }
    }
}
?>

<?php 
print_trailer();
?>
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:layers.php


示例13: do_redirect

    if (empty($ovrd)) {
        do_redirect("admin.php");
    } else {
        do_redirect("admin.php?ovrd={$ovrd}");
    }
}
print_header();
?>

<h2><?php 
etranslate("Error");
?>
</h2>

<?php 
etranslate("The following error occurred");
?>
:
<blockquote>
<?php 
echo $error;
?>
</blockquote>

<?php 
print_trailer();
?>

</body>
</html>
开发者ID:rohcehlam,项目名称:rflow,代码行数:30,代码来源:admin_handler.php


示例14: user_get_users

    $userlist = user_get_users();
    for ($i = 0; $i < count($userlist); $i++) {
        if ($userlist[$i]['cal_login'] != '__public__') {
            echo "<li><a title=\"" . $userlist[$i]['cal_fullname'] . "\" href=\"edit_user.php?user=" . $userlist[$i]["cal_login"] . "\" target=\"useriframe\" onclick=\"javascript:show('useriframe');\">";
            echo $userlist[$i]['cal_fullname'];
            echo "</a>";
            if ($userlist[$i]["cal_is_admin"] == 'Y') {
                echo "&nbsp;<abbr title=\"" . translate("denotes administrative user") . "\">*</abbr>";
            }
            echo "</li>\n";
        }
    }
    ?>
		</ul>
	*&nbsp;<?php 
    etranslate("denotes administrative user");
    ?>
<br />

		<?php 
    echo "<iframe " . " name=\"useriframe\" id=\"useriframe\" style=\"width:90%;border-width:0px; height:280px;\"></iframe>";
} else {
    ?>
<iframe src="edit_user.php" name="accountiframe" id="accountiframe" style="width:90%;border-width:0px; height:210px;\"></iframe>
<?php 
}
?>
</div>

<?php 
if ($groups_enabled == "Y" && $is_admin) {
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:users.php


示例15: alert

    alert ( "<?php 
etranslate('Error', true);
?>
:\n\n" + "<?php 
etranslate('Calendar ID cannot be blank.', true);
?>
" );
    document.editnonuser.nid.focus ();
    return false;
  }
  if ( ! fname && ! lname ) {
    alert ( "<?php 
etranslate('Error', true);
?>
:\n\n" + "<?php 
etranslate('First and last names cannot both be blank.', true);
?>
" );
    document.editnonuser.nfirstname.focus ();
    return false;
  }

  check_name ();

  return validform;

}

function check_name () {
  var url = 'ajax.php';
  var params = 'page=edit_nonuser&name=' + $F('calid');
开发者ID:rhertzog,项目名称:lcs,代码行数:31,代码来源:edit_nonuser.php


示例16: etranslate

	<tr><td colspan="2">
		<?php 
    if ($demo_mode == "Y") {
        ?>
			<input type="button" value="<?php 
        etranslate("Set Password");
        ?>
" onclick="alert('<?php 
        etranslate("Disabled for demo");
        ?>
')" />
		<?php 
    } else {
        ?>
			<input type="submit" value="<?php 
        etranslate("Set Password");
        ?>
" />
		<?php 
    }
    ?>
	</td></tr>
</table>
</form>
<?php 
}
?>
</td></tr></table>

<?php 
print_trailer(false, true, true);
开发者ID:neymanna,项目名称:fusionforge,代码行数:31,代码来源:edit_user.php


示例17: display_month

    echo display_month(date('m'), date('Y'), true);
    ?>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>
<!-- END EXAMPLE MONTH -->
</td></tr></table>
</div>
<!-- END COLORS -->
<?php 
}
// if $ALLOW_COLOR_CUSTOMIZATION
?>
</div>

<!-- END TABS -->
<br /><br />
<div>
<input type="submit" value="<?php 
etranslate('Save Preferences');
?>
" name="" />
<br /><br />
</div>
</form>

<?php 
echo print_trailer();
?>

开发者ID:GetInTheGo,项目名称:JohnsonFinancialService,代码行数:29,代码来源:pref.php


示例18: Copyright

#
#  This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
#  project.
#
#  Copyright (C) 1998-2013 OpenLink Software
#
#  This project is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by the
#  Free Software Foundation; only version 2 of the License, dated June 1991.
#
#  This program is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#  General Public License for more details.
#
#  You should have received a copy of the GNU General Public License along
#  with this program; if not, write to the Free Software Foundation, Inc.,
#  51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
?>
<HR>
<B><?php 
etranslate("Go to");
?>
:</B> <A HREF="help_index.php"><?php 
etranslate("Help Index");
?>
</A>
开发者ID:neuroidss,项目名称:virtuoso-opensource,代码行数:29,代码来源:help_trailer.php


示例19: etranslate

    ?>
;">
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
 <input type="button" onclick="selectColor('admin_POPUP_FG')" value="<?php 
    etranslate("Select");
    ?>
..." name="" />
</td></tr>
</table>
</div>
</div>

<br /><br />
<div style="border-width:0px;">
 <input type="submit" value="<?php 
    etranslate("Save");
    ?>
" name="" />
</div>
</form>

<?php 
}
// if $error
?>

<?php 
print_trailer();
?>
</body>
</html>
开发者ID:neymanna,项目名称:fusionforge,代码行数:31,代码来源:admin.php


示例20: etranslate

?>
</TITLE>
<?php 
include "includes/styles.php";
?>
</HEAD>
<BODY BGCOLOR="<?php 
echo $BGCOLOR;
?>
" CLASS="defaulttext">

<H2><FONT COLOR="<?php 
echo $H2COLOR;
?>
"><?php 
etranslate("Groups");
?>
</FONT></H2>

<UL>
<?php 
$res = dbi_query("SELECT cal_group_id, cal_name FROM webcal_group " . "ORDER BY cal_name");
if ($res) {
    while ($row = dbi_fetch_row($res)) {
        echo "<LI><A HREF=\"group_edit.php?id=" . $row[0] . "\">" . $row[1] . "</A> ";
    }
    dbi_free_result($res);
}
?>
</UL>
<P>
开发者ID:neuroidss,项目名称:virtuoso-opensource,代码行数:31,代码来源:groups.php



注:本文中的etranslate函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP ev_gettext函数代码示例发布时间:2022-05-15
下一篇:
PHP etheme_option函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap