本文整理汇总了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"));