本文整理汇总了PHP中camp_html_display_msgs函数的典型用法代码示例。如果您正苦于以下问题:PHP camp_html_display_msgs函数的具体用法?PHP camp_html_display_msgs怎么用?PHP camp_html_display_msgs使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了camp_html_display_msgs函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: camp_html_display_msgs
<script type="text/javascript">
$(document).ready(function(){
$('.filter-button').click(function() {
$('.container').toggle('fast');
$(this).toggleClass("close");
return false;
}).next().hide();
$(function(){
$(".search-box input").attr("placeholder", "Search authors").addClass("context-search search");
});
});
</script>
<?php
camp_html_display_msgs('1em', '0');
?>
<div class="wrapper">
<div class="info-bar"> <span class="info-text"></span> </div>
<!--left column-->
<div class="column-one">
<div class="author-list ui-widget-content big-block block-shadow padded-strong">
<fieldset class="plain">
<div class="search-box">
<input type="text" id="form_search" onchange="doSearch()" onkeyup="doSearch()" class="input-transparent" size="45" style="width:220px;" />
<a href="#" class="filter-button"><?php
echo $translator->trans('Filters', array(), 'users');
?>
</a>
</div>
<div class="container">
示例2: array
$allLanguages = Language::GetLanguages(null, null, null, array(), array(), true);
$newIssueId = Issue::GetUnusedIssueId($Pub);
$lastCreatedIssue = Issue::GetLastCreatedIssue($Pub);
include_once($GLOBALS['g_campsiteDir']."/$ADMIN_DIR/javascript_common.php");
camp_html_content_top(getGS('Copy previous issue'), array('Pub' => $publicationObj), true, true, array(getGS("Issues") => "/$ADMIN/issues/?Pub=$Pub"));
if (is_null($lastCreatedIssue)) { ?>
<BLOCKQUOTE>
<LI><?php putGS('No previous issue.'); ?></LI>
</BLOCKQUOTE>
<?php
} else {
camp_html_display_msgs();
?>
<P>
<FORM name="issue_add" METHOD="POST" ACTION="do_add_prev.php" onsubmit="return <?php camp_html_fvalidate(); ?>;">
<?php echo SecurityToken::FormParameter(); ?>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" CLASS="box_table">
<TR>
<TD COLSPAN="2">
<B><?php putGS("Copy previous issue"); ?></B>
<HR NOSHADE SIZE="1" COLOR="BLACK">
</TD>
</TR>
<TR>
<TD COLSPAN="2"><?php putGS('Copy structure from issue number $1','<B>'. $lastCreatedIssue->getIssueNumber().'</B>'); ?></TD>
</TR>
示例3: p
<TD style="padding-left: 10px;">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
<TR>
<TD><A HREF="/<?php echo $ADMIN; ?>/templates/new_template.php?Path=<?php p(urlencode($path)); ?>" ><IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/add.png" BORDER="0"></A></TD>
<TD><A HREF="/<?php echo $ADMIN; ?>/templates/new_template.php?Path=<?php p(urlencode($path)); ?>" ><B><?php putGS("Create new template"); ?></B></A></TD>
</TR>
</TABLE>
</TD>
<TD style="padding-left: 10px;">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
<TR>
<TD><A HREF="/<?php echo $ADMIN; ?>/templates/upload_templ.php?Path=<?php p(urlencode($path)); ?>" ><IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/tol.gif" BORDER="0"></A></TD>
<TD><A HREF="/<?php echo $ADMIN; ?>/templates/upload_templ.php?Path=<?php p(urlencode($path)); ?>" ><B><?php putGS("Upload template"); ?></B></A></TD>
</TR>
</TABLE>
</TD>
<?PHP
}
?>
</TR>
</TABLE>
<P>
<?php
camp_html_display_msgs("0.5em", 0);
$listbasedir = $path;
require_once($Campsite['HTML_DIR'] . "/$ADMIN_DIR/templates/list_dir.php");
?>
<P>
<?php camp_html_copyright_notice(); ?>
示例4: putGS
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Expires" content="now" />
<link rel="stylesheet" type="text/css" href="<?php echo $Campsite['ADMIN_STYLE_URL']; ?>/admin_stylesheet.css" />
<title><?php putGS("Ban user from comments"); ?></title>
</head>
<body>
<?php
if (isset($connectedToOnlineServer)
&& $connectedToOnlineServer == false) {
?>
<center>
<table border="0" cellspacing="0" cellpadding="0" class="box_table">
<tr>
<td>
<?php
camp_html_display_msgs("0.25em", "0.25em");
?>
</td>
</tr>
<tr>
<td style="padding-left: 15px;">
<input type="button" name="close" value="<?php putGS('Close'); ?>" class="button" onclick="window.close();" />
</td>
</tr>
</table>
</center>
</body>
</html>
<?php
}
?>
示例5: Article
camp_html_display_error(getGS('Invalid input: $1', Input::GetErrorString()), $_SERVER['REQUEST_URI'], true);
exit;
}
$articleObj = new Article($f_language_selected, $f_article_number);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Expires" content="now" />
<link rel="stylesheet" type="text/css" href="<?php echo $Campsite['ADMIN_STYLE_URL']; ?>/admin_stylesheet_new.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $Campsite['ADMIN_STYLE_URL']; ?>/admin_stylesheet.css" />
<title><?php putGS("Attach Image To Article"); ?></title>
</head>
<body>
<?php camp_html_display_msgs(); ?>
<table style="margin-top: 10px; margin-left: 5px;" cellpadding="0" cellspacing="0">
<tr>
<?php if ($g_user->hasPermission('AddImage')) { ?>
<td style="padding: 3px; background-color: #EEE; border-top: 1px solid #8baed1; border-left: 1px solid #8baed1; <?php if ($f_image_attach_mode != "new") { ?>border-bottom: 1px solid #8baed1;<?php } ?>"><a href="<?php echo camp_html_article_url($articleObj, $f_language_id, "images/popup.php", "", "&f_image_attach_mode=new"); ?>"><img src="<?php p($Campsite['ADMIN_IMAGE_BASE_URL']); ?>/add.png" border="0"><b><?php putGS("Attach New Image"); ?></b></a></td>
<?php } ?>
<td style="padding: 3px; background-color: #EEE; border-top: 1px solid #8baed1; border-right: 1px solid #8baed1; border-left: 1px solid #8baed1; <?php if ($f_image_attach_mode != "existing") { ?>border-bottom: 1px solid #8baed1;<?php } ?>"><a href="<?php echo camp_html_article_url($articleObj, $f_language_id, "images/popup.php", "", "&f_image_attach_mode=existing"); ?>"><img src="<?php p($Campsite['ADMIN_IMAGE_BASE_URL']); ?>/add.png" border="0"><b><?php putGS("Attach Existing Image"); ?></b></a></td>
</tr>
<tr>
<td colspan="2" style="background-color: #EEE; padding-top: 5px; border-bottom: 1px solid #8baed1; border-right: 1px solid #8baed1; border-left: 1px solid #8baed1;">
<?php
if ($f_image_attach_mode == "existing") {
include("search.php");
} else {
include("add.php");
示例6: camp_html_article_url
<td><a href="<?php echo camp_html_article_url($articleObj, $f_language_id, "edit.php"); ?>"><b><?php putGS('Back to Edit Article'); ?></b></a></td>
</tr>
</table>
<p>
<table cellspacing="0" cellpadding="0" border="0" class="box_table">
<tr>
<td colspan="2" style="padding-top: 5px; padding-bottom: 5px; border-bottom: 1px solid black;"">
<b><?php putGS('Comment'); ?></b>
</td>
<tr>
<?php
if (isset($connectedToOnlineServer)
&& $connectedToOnlineServer == false) {
?>
<tr>
<td><?php camp_html_display_msgs('0.25em', '0.25em'); ?></td>
</tr>
</table>
<?php
} else {
?>
<tr>
<td align="right" valign="top" nowrap><?php putGS('From'); ?>:</td>
<td><?php p(htmlspecialchars($comment->getAuthor())); ?> <<?php p(htmlspecialchars($comment->getEmail())); ?>> (<?php p($comment->getIpAddress()); ?>)</td>
</tr>
<tr>
<td align="right" valign="top" nowrap><?php putGS('Date'); ?>:</td>
<td><?php p(date('Y-m-d H:i:s', $comment->getCreationDate())); ?></td>
</tr>
<tr>
<td align="right" valign="top" nowrap><?php putGS('Subject'); ?>:</td>
示例7: translationForm
//.........这里部分代码省略.........
$mapPrefixToDisplay["media_archive"] = getGS("Media Archive");
$mapPrefixToDisplay["geolocation"] = getGS("Geo-location");
$mapPrefixToDisplay["comments"] = getGS("Comments");
$mapPrefixToDisplay["system_pref"] = getGS("System Preferences");
$mapPrefixToDisplay["templates"] = getGS("Templates");
$mapPrefixToDisplay["article_types"] = getGS("Article Types");
$mapPrefixToDisplay["article_type_fields"] = getGS("Article Type Fields");
$mapPrefixToDisplay["topics"] = getGS("Topics");
$mapPrefixToDisplay["languages"] = getGS("Languages");
$mapPrefixToDisplay["country"] = getGS("Countries");
$mapPrefixToDisplay["localizer"] = getGS("Localizer");
$mapPrefixToDisplay["logs"] = getGS("Logs");
$mapPrefixToDisplay["users"] = getGS("Users");
$mapPrefixToDisplay["user_subscriptions"] = getGS("User Subscriptions");
$mapPrefixToDisplay["user_subscription_sections"] = getGS("User Subscriptions Sections");
$mapPrefixToDisplay["user_types"] = getGS("Staff User Types");
$mapPrefixToDisplay["bug_reporting"] = getGS("Bug Reporting");
$mapPrefixToDisplay["feedback"] = getGS("Feedback");
$mapPrefixToDisplay["preview"] = getGS("Preview Window");
$mapPrefixToDisplay["tiny_media_plugin"] = getGS("Editor Media Plugin");
$mapPrefixToDisplay["plugins"] = getGS("Plugins");
$mapPrefixToDisplay["extensions"] = getGS("Extensions");
$mapPrefixToDisplay["authors"] = getGS("Authors");
foreach (CampPlugin::GetPluginsInfo(true) as $info) {
if (array_key_exists('localizer', $info) && is_array($info['localizer'])) {
$mapPrefixToDisplay[$info['localizer']['id']] = getGS($info['localizer']['screen_name']);
}
}
// Whether to show translated strings or not.
$hideTranslated = camp_session_get('hide_translated', 'off');
camp_html_display_msgs();
?>
<table>
<tr>
<td valign="top"> <!-- Begin top control panel -->
<form action="index.php" method="post">
<?php echo SecurityToken::FormParameter(); ?>
<input type="hidden" name="localizer_lang_id" value="<?php echo $targetLang->getLanguageId(); ?>">
<input type="hidden" name="search_string" value="<?php echo htmlspecialchars($searchString); ?>">
<table border="0" cellpadding="0" cellspacing="0" class="box_table">
<tr>
<td>
<table>
<tr>
<td>
<?php putGS('Area to localize'); ?>:
</td>
</tr>
<tr>
<td>
<SELECT name="prefix" class="input_select" onchange="this.form.submit();">
<?PHP
foreach ($mapPrefixToDisplay as $prefix => $displayStr) {
if (!empty($prefix)) {
$transl_status[$prefix] = Localizer::GetTranslationStatus($prefix, $localizerTargetLanguage);
}
camp_html_select_option($prefix, $screenDropDownSelection, $displayStr, $transl_status[$prefix]['untranslated'] ? array('style' => 'color:red') : array());
}
?>
</SELECT>
</td>
</tr>
示例8: p
/delete.png" BORDER="0"></A></TD>
<TD><A HREF="/<?php
echo $ADMIN;
?>
/issues/delete.php?<?php
p($url_args3);
?>
"><B><?php
putGS("Delete");
?>
</B></A></TD>
</TR>
</TABLE>
<?php
camp_html_display_msgs("1em", 0);
?>
<P>
<table>
<tr>
<td valign="top">
<FORM name="issue_edit" METHOD="POST" ACTION="/<?php
echo $ADMIN;
?>
/issues/do_edit.php" onsubmit="return <?php
camp_html_fvalidate();
?>
;">
<?php
echo SecurityToken::FormParameter();
示例9: putGS
<p>
<table id="comment-reply-to" cellspacing="0" cellpadding="0" border="0" class="box_table" style="display:none;">
<tr>
<td colspan="2" style="padding-top: 5px; padding-bottom: 5px; border-bottom: 1px solid black;"">
<b><?php
putGS('Comment');
?>
</b>
</td>
<tr>
<?php
if (isset($connectedToOnlineServer) && $connectedToOnlineServer == false) {
?>
<tr>
<td><?php
camp_html_display_msgs('0.25em', '0.25em');
?>
</td>
</tr>
</table>
<?php
} else {
?>
<tr>
<td align="right" valign="top" nowrap><?php
putGS('From');
?>
:</td>
<td>${name} <${email}> (${ip})</td>
</tr>
<tr>