本文整理汇总了PHP中plxUtils::printArea方法的典型用法代码示例。如果您正苦于以下问题:PHP plxUtils::printArea方法的具体用法?PHP plxUtils::printArea怎么用?PHP plxUtils::printArea使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类plxUtils
的用法示例。
在下文中一共展示了plxUtils::printArea方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
plxUtils::printSelect('feed_chapo', array('1' => L_YES, '0' => L_NO), $plxAdmin->aConf['feed_chapo']);
?>
<a class="hint"><span><?php
echo L_CONFIG_VIEW_FEEDS_HEADLINE_HELP;
?>
</span></a>
</div>
</div>
<div class="grid">
<div class="col sml-12">
<label for="id_content"><?php
echo L_CONFIG_VIEW_FEEDS_FOOTER;
?>
:</label>
<?php
plxUtils::printArea('content', plxUtils::strCheck($plxAdmin->aConf['feed_footer']), 140, 5);
?>
</div>
</div>
</fieldset>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminSettingsDisplay'));
?>
<?php
echo plxToken::getTokenPostMethod();
?>
</form>
示例2: article
echo '<a href="' . $plxAdmin->racine . '">' . $plxAdmin->racine . '</a>';
?>
</li>
<li>Article attaché : <?php
echo $article;
?>
</li>
</ul>
<form action="commentaire_new.php?<?php
echo $get;
?>
" method="post" id="change-com-content">
<fieldset>
<?php
plxUtils::printArea('content', plxUtils::strCheck($content), 60, 7);
?>
<p class="center">
<input type="submit" name="create" value="Enregistrer"/>
</p>
</fieldset>
</form>
<?php
if ($plxAdmin->plxGlob_coms->count and !empty($plxAdmin->plxRecord_coms->size)) {
# On a des commentaires
?>
<h2>Commentaires de cet article (du plus récent au plus ancien) :</h2>
<div id="comments">
<?php
while ($plxAdmin->plxRecord_coms->loop()) {
示例3:
<h2>Edition de votre profil</h2>
<form action="profil.php" method="post" id="change-profil-file">
<fieldset class="withlabel">
<legend>Profil :</legend>
<p class="field"><label>Login de connexion :</label> <strong><?php
echo plxUtils::strCheck($profil['login']);
?>
</strong></p>
<p class="field"><label>Nom d'utilisateur :</label></p>
<?php
plxUtils::printInput('name', plxUtils::strCheck($profil['name']), 'text', '20-255');
?>
<p class="field"><label>Informations :</label></p>
<?php
plxUtils::printArea('infos', plxUtils::strCheck($profil['infos']), 140, 5);
?>
</fieldset>
<p class="center"><input type="submit" name="profil" value="Modifier votre profil" /></p>
<fieldset class="withlabel">
<legend>Changement du mot de passe :</legend>
<p class="field"><label>Mot de passe :</label></p>
<?php
plxUtils::printInput('password1', '', 'password', '20-255');
?>
<p class="field"><label>Confirmation du mot de passe :</label></p>
<?php
plxUtils::printInput('password2', '', 'password', '20-255');
?>
</fieldset>
示例4: array
echo L_EDITCAT_DISPLAY_HOMEPAGE;
?>
:</label>
<?php
plxUtils::printSelect('homepage', array('1' => L_YES, '0' => L_NO), $plxAdmin->aCats[$id]['homepage']);
?>
</div>
</div>
<div class="grid">
<div class="col sml-12">
<label for="id_content"><?php
echo L_EDITCAT_DESCRIPTION;
?>
:</label>
<?php
plxUtils::printArea('content', plxUtils::strCheck($plxAdmin->aCats[$id]['description']), 95, 8, false, 'full-width');
?>
</div>
</div>
<div class="grid">
<div class="col sml-12">
<label for="id_template"><?php
echo L_EDITCAT_TEMPLATE;
?>
:</label>
<?php
plxUtils::printSelect('template', $aTemplates, $plxAdmin->aCats[$id]['template']);
?>
</div>
</div>
<div class="grid">
示例5: eval
</div>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminSettingsEdittplTop'));
?>
<div class="grid">
<div class="col sml-12">
<label for="id_content"><?php
echo L_CONTENT_FIELD;
?>
:</label>
<?php
plxUtils::printInput('tpl', plxUtils::strCheck($tpl), 'hidden');
?>
<?php
plxUtils::printArea('content', plxUtils::strCheck($content), 60, 20, false, 'full-width');
?>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminSettingsEdittpl'));
?>
</div>
</div>
</form>
<?php
# Hook Plugins
eval($plxAdmin->plxPlugins->callHook('AdminSettingsEdittplFoot'));
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
示例6:
<div class="col sml-12">
<label for="id_content"><?php
echo L_COMMENT_ARTICLE_FIELD;
?>
:</label>
<?php
if ($plxAdmin->plxRecord_coms->f('type') == 'admin') {
?>
<?php
plxUtils::printArea('content', plxUtils::strCheck($plxAdmin->plxRecord_coms->f('content')), 60, 7, false, 'full-width');
?>
<?php
} else {
?>
<?php
plxUtils::printArea('content', $plxAdmin->plxRecord_coms->f('content'), 60, 7, false, 'full-width');
?>
<?php
}
?>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminComment'));
?>
</div>
</div>
</fieldset>
</form>
<?php
# Hook Plugins
示例7: dirname
:</label>
</div>
<div class="col sml-12 med-7">
<?php
plxUtils::printInput('email', plxUtils::strCheck($plxAdmin->aUsers[$id]['email']), 'text', '30-255');
?>
</div>
</div>
<div class="grid">
<div class="col sml-12">
<label for="id_content"><?php
echo L_USER_INFOS;
?>
:</label>
<?php
plxUtils::printArea('content', plxUtils::strCheck($plxAdmin->aUsers[$id]['infos']), 95, 8);
?>
</div>
</div>
</fieldset>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminUser'));
?>
</form>
<?php
# Hook Plugins
eval($plxAdmin->plxPlugins->callHook('AdminUserFoot'));
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
示例8:
echo $view;
?>
&o=<?php
echo $origine;
?>
" method="post" id="change-art-content">
<fieldset>
<?php
$label = $view == 'chapo' ? 'Chapô (facultatif)' : 'Contenu';
?>
<p class="field"><label><?php
echo $label;
?>
:</label></p>
<?php
plxUtils::printArea($view, plxUtils::strCheck($content), 60, 30);
?>
<p style="clear:both;text-align:center">
<?php
if ($origine == 'article') {
?>
<input type="submit" name="preview" value="Aperçu" />
<?php
}
?>
<input type="submit" name="update" value="Mettre à jour" onclick="updater()" />
<input type="submit" name="close" value="Fermer" onclick="window.close()" />
</p>
</fieldset>
</form>
<?php
示例9:
<?php
if ($_SESSION['profil'] < PROFIL_WRITER) {
plxUtils::printSelect('author', $users, $author);
} else {
echo '<input type="hidden" name="author" value="' . $author . '" />';
echo '<strong>' . plxUtils::strCheck($plxAdmin->aUsers[$author]['name']) . '</strong>';
}
?>
</p>
<p class="field"><label>Chapô (facultatif) :</label></p>
<?php
plxUtils::printArea('chapo', plxUtils::strCheck($chapo), 95, 8);
?>
<p class="field"><label>Contenu :</label></p>
<?php
plxUtils::printArea('content', plxUtils::strCheck($content), 95, 20);
?>
</fieldset>
</div>
<div style="float:right;width:270px">
<p class="head">État : <strong>
<?php
if (is_array($catId) and sizeof($catId) > 0) {
echo in_array('draft', $catId) ? 'Brouillon' : 'Publié';
} else {
echo "Brouillon";
}
?>
</strong>
</p>
<fieldset>
示例10: dirname
<label for="id_frontend"><?php
echo L_CONTENT_FIELD_FRONTEND;
?>
:</label>
<?php
plxUtils::printArea('frontend', plxUtils::strCheck($frontend), 60, 20, false, 'full-width');
?>
</div>
</div>
<div class="grid">
<div class="col sml-12">
<label for="id_backend"><?php
echo L_CONTENT_FIELD_BACKEND;
?>
:</label>
<?php
plxUtils::printArea('backend', plxUtils::strCheck($backend), 60, 20, false, 'full-width');
?>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminPluginCss'));
?>
<?php
echo plxToken::getTokenPostMethod();
?>
</div>
</div>
</fieldset>
</form>
<?php
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
示例11: header
<?php
if (!defined('PLX_ROOT')) {
exit;
}
# Control du token du formulaire
plxToken::validateFormToken($_POST);
if (!empty($_POST)) {
$plxPlugin->setParam('buttons', $_POST['buttons'], 'cdata');
$plxPlugin->saveParams();
header('Location: parametres_plugin.php?p=plxToolbarEditor');
exit;
}
?>
<div id="form" class="plxToolbarEditor" >
<form class="inline-form" action="parametres_plugin.php?p=plxToolbarEditor" method="post" id="form_test">
<?php
plxUtils::printArea('buttons', $plxPlugin->getParam('buttons'), '50', '50');
?>
<p class="in-action-bar"><?php
echo plxToken::getTokenPostMethod();
?>
<input type="submit" name="submit" value="Enregistrer" /></p>
</div>
示例12: intval
block_select_image.style.display="none";
}
</script>
<p>
<?php
echo $image != "" ? '<img class="product_image" src="' . PLX_ROOT . $plxPlugin->cheminImages . $image . '">' : '';
?>
</p>
<p id="p_content"><label for="id_content"><?php
echo L_CONTENT_FIELD;
?>
:</label></p>
<?php
plxUtils::printArea('content', plxUtils::strCheck($content), 140, 30);
?>
<?php
if ($active) {
$link = $plxAdmin->urlRewrite('index.php?product' . intval($id) . '/' . $url);
$codeTexte = $modProduit ? 'L_PRODUCT_VIEW_PAGE_ON_SITE' : 'L_CAT_VIEW_PAGE_ON_SITE';
$texte = sprintf($plxPlugin->getLang($codeTexte), $title);
?>
<p>
<a href="<?php
echo $link;
?>
">
<?php
echo plxUtils::strCheck($texte);
示例13:
echo L_PROFIL_ADMIN_LANG;
?>
:</label>
<?php
plxUtils::printSelect('lang', plxUtils::getLangs(), $_profil['lang']);
?>
</div>
</div>
<div class="grid">
<div class="col sml-12">
<label for="id_content"><?php
echo L_PROFIL_INFOS;
?>
:</label>
<?php
plxUtils::printArea('content', plxUtils::strCheck($_profil['infos']), 140, 5, false, 'full-width');
?>
</div>
</div>
</fieldset>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminProfil'));
?>
<?php
echo plxToken::getTokenPostMethod();
?>
</form>
<h3><?php
echo L_PROFIL_CHANGE_PASSWORD;
示例14:
<?php
plxUtils::printInput('favicon', $plxPlugin->getParam('favicon'), 'text', '25-250');
?>
<h2><?php
echo $plxPlugin->getLang('L_CONFIG_CSS');
?>
</h2>
<?php
plxUtils::printArea('css', $plxPlugin->getParam('css'), 20, 75);
?>
<h2><?php
echo $plxPlugin->getLang('L_CONFIG_HTML');
?>
</h2>
<?php
plxUtils::printArea('html', $plxPlugin->getParam('html'), 20, 75);
?>
</fieldset>
<br />
<?php
echo plxToken::getTokenPostMethod();
?>
<input type="submit" name="submit" value="<?php
echo $plxPlugin->getLang('L_CONFIG_SAVE');
?>
" />
</form>
示例15: array
echo '</td><td>';
plxUtils::printInput($userid . '_password', '', 'password', '11-255');
echo '</td><td>';
if ($userid == '001') {
plxUtils::printSelect($userid . '_profil', $aProfils, $user['profil'], true, 'readonly');
echo '</td><td>';
plxUtils::printSelect($userid . '_active', array('0' => 'Non', '1' => 'Oui'), $user['active'], true, 'readonly');
} else {
plxUtils::printSelect($userid . '_profil', $aProfils, $user['profil']);
echo '</td><td>';
plxUtils::printSelect($userid . '_active', array('0' => 'Non', '1' => 'Oui'), $user['active']);
}
echo '</td><td class="tc7"><a id="link_' . $userid . '" href="#" onclick="toggleTR(\'link_' . $userid . '\', \'tr_' . $userid . '\')">Options</a></td></tr>';
echo '<tr style="display:none" id="tr_' . $userid . '"><td style="width:100%" colspan="8">';
echo '<p>Informations :</p>';
plxUtils::printArea($userid . '_infos', plxUtils::strCheck($user['infos']), 60, 5);
echo '</td></tr>';
}
}
# On r�cup�re le dernier identifiant
$a = array_keys($plxAdmin->aUsers);
rsort($a);
} else {
$a['0'] = 0;
}
$new_userid = str_pad($a['0'] + 1, 3, "0", STR_PAD_LEFT);
?>
<tr style="background-color:#e0e0e0">
<td> </td>
<td class="tc6">Nouvel utilisateur</td>
<td>