当前位置: 首页>>代码示例>>PHP>>正文


PHP HTML_TEMPLATE_IT::setvariable方法代码示例

本文整理汇总了PHP中HTML_TEMPLATE_IT::setvariable方法的典型用法代码示例。如果您正苦于以下问题:PHP HTML_TEMPLATE_IT::setvariable方法的具体用法?PHP HTML_TEMPLATE_IT::setvariable怎么用?PHP HTML_TEMPLATE_IT::setvariable使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在HTML_TEMPLATE_IT的用法示例。


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

示例1: gettext

$content->setVariable("LABEL_PROFILE_PRIVACY", gettext("Profile Privacy"));
$content->setVariable("LINK_BUDDY_ICON", PATH_URL . "profile_icon.php");
$content->setVariable("LINK_MAIL_PREFS", PATH_URL . "messages_prefs.php");
$content->setVariable("LINK_PROFILE_PRIVACY", PATH_URL . "profile_privacy.php");
$content->setVariable("LABEL_FIRST_NAME", gettext("First name"));
$content->setVariable("LABEL_LAST_NAME", gettext("Last name"));
$content->setVariable("LABEL_TITLE", gettext("Academic title"));
$content->setVariable("LABEL_DEGREE", gettext("Academic degree"));
$content->setVariable("LABEL_IF_AVAILABLE", gettext("only if available"));
$content->setVariable("LABEL_STATUS", gettext("Status"));
$content->setVariable("LABEL_GENDER", gettext("Gender"));
$content->setVariable("LABEL_FEMALE", gettext("female"));
$content->setVariable("LABEL_MALE", gettext("male"));
$content->setVariable("LABEL_NOT_SAY", gettext("rather not say"));
$content->setVariable("LABEL_FACULTY", gettext("Origin"));
$content->setvariable("LABEL_MAIN_FOCUS", gettext("Main focus"));
$content->setVariable("LABEL_HOMETOWN", gettext("Hometown"));
$content->setVariable("LABEL_WANTS", gettext("Wants"));
$content->setVariable("LABEL_HAVES", gettext("Haves"));
$content->setVariable("LABEL_OTHER_INTERESTS", gettext("Other interests"));
$content->setVariable("LABEL_ORGANIZATIONS", gettext("Organizations"));
$content->setVariable("LABEL_DESCRIBE_YOURSELF", gettext("Describe yourself"));
$content->setVariable("LABEL_CONTACT_DATA", gettext("Contact Data"));
$content->setVariable("LABEL_EMAIL", gettext("E-mail"));
$content->setVariable("LABEL_EMAIL_PREFERENCES", gettext("Looking for your e-mail preferences?"));
$content->setVariable("LINK_EMAIL_PREFERENCES", PATH_URL . "messages_prefs.php");
$content->setVariable("LABEL_TELEPHONE", gettext("Phone"));
$content->setVariable("LABEL_MOBILE", gettext("Phone, mobile"));
$content->setVariable("LABEL_ADDRESS", gettext("Address"));
$content->setVariable("LABEL_PHONE_MOBILE", gettext("Phone, mobile"));
$content->setVariable("LABEL_WEBSITE", gettext("Website"));
开发者ID:rolwi,项目名称:koala,代码行数:31,代码来源:profile_edit.php


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