本文整理汇总了PHP中plxUtils::printSelect方法的典型用法代码示例。如果您正苦于以下问题:PHP plxUtils::printSelect方法的具体用法?PHP plxUtils::printSelect怎么用?PHP plxUtils::printSelect使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类plxUtils
的用法示例。
在下文中一共展示了plxUtils::printSelect方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<form action="parametres_plugin.php?p=pickyPasteInPluxml" method="post">
<fieldset class="withlabel">
<legend><strong>Paramètrage de la partie pickyPasteInPluxml :</strong></legend>
<p class="field"><label for="id_mnuName">Titre du menu :</label></p>
<?php
plxUtils::printInput('mnuName', $mnuName, 'text', '20-20');
?>
<p class="field"><label for="id_mnuPos">Position du menu :</label></p>
<?php
plxUtils::printInput('mnuPos', $mnuPos, 'text', '2-5');
?>
<p class="field"><label for="id_sidebar">Le thème a-t-il une sidebar ? :</label></p>
<?php
plxUtils::printSelect('sidebar', array(0 => L_NO, 1 => L_YES), $sidebar);
if ($isCryptMyPluxmlActivated) {
?>
<p class="field"><label for="id_cryptMyPluxml">Voulez-vous utiliser cryptMyPluxml pour l'affichage des messages ? :</label></p>
<?php
plxUtils::printSelect('cryptMyPluxml', array(0 => L_NO, 1 => L_YES), $cryptMyPluxml);
}
?>
<p>
<?php
echo plxToken::getTokenPostMethod();
?>
<input type="submit" name="submit" value="Sauvegarder" />
</p>
</form>
示例2: array
<?php
echo '<input type="hidden" name="catNum[]" value="' . $new_catid . '" />';
plxUtils::printInput($new_catid . '_template', 'categorie.php', 'hidden');
plxUtils::printInput($new_catid . '_name', '', 'text', '10-50');
echo '</td><td>';
plxUtils::printInput($new_catid . '_url', '', 'text', '10-50');
echo '</td><td>';
plxUtils::printSelect($new_catid . '_active', array('1' => L_YES, '0' => L_NO), '1');
echo '</td><td>';
plxUtils::printSelect($new_catid . '_tri', $aTri, $plxAdmin->aConf['tri']);
echo '</td><td>';
plxUtils::printInput($new_catid . '_bypage', $plxAdmin->aConf['bypage'], 'text', '1-3');
echo '</td><td>';
plxUtils::printInput($new_catid . '_ordre', ++$num, 'text', '1-3');
echo '</td><td>';
plxUtils::printSelect($new_catid . '_menu', array('oui' => L_DISPLAY, 'non' => L_HIDE), '1');
echo '</td><td> ';
?>
</td>
</tr>
</tbody>
</table>
</div>
</form>
<?php
# Hook Plugins
eval($plxAdmin->plxPlugins->callHook('AdminCategoriesFoot'));
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
示例3:
echo L_PROFIL_MAIL;
?>
:</label>
<?php
plxUtils::printInput('email', plxUtils::strCheck($_profil['email']), 'text', '30-255');
?>
</div>
</div>
<div class="grid">
<div class="col sml-12">
<label for="id_lang"><?php
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>
示例4: array
<div class="col sml-12 med-7">
<?php
plxUtils::printSelect('capcha', array('1' => L_YES, '0' => L_NO), $plxAdmin->aConf['capcha']);
?>
</div>
</div>
<div class="grid">
<div class="col sml-12 med-5 label-centered">
<label for="id_userfolders"><?php
echo L_CONFIG_ADVANCED_USERFOLDERS;
?>
:</label>
</div>
<div class="col sml-12 med-7">
<?php
plxUtils::printSelect('userfolders', array('1' => L_YES, '0' => L_NO), $plxAdmin->aConf['userfolders']);
?>
</div>
</div>
<div class="grid">
<div class="col sml-12 med-5 label-centered">
<label for="id_clef"><?php
echo L_CONFIG_ADVANCED_ADMIN_KEY;
?>
:</label>
</div>
<div class="col sml-12 med-7">
<?php
plxUtils::printInput('clef', $plxAdmin->aConf['clef'], 'text', '30-30');
?>
<a class="hint"><span><?php
示例5: array
<div class="col sml-12 med-7">
<?php
plxUtils::printInput('bypage_feed', $plxAdmin->aConf['bypage_feed'], 'text', '2-2', false, 'fieldnum');
?>
</div>
</div>
<div class="grid">
<div class="col sml-12 med-5 label-centered">
<label for="id_feed_chapo"><?php
echo L_CONFIG_VIEW_FEEDS_HEADLINE;
?>
:</label>
</div>
<div class="col sml-12 med-7">
<?php
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);
示例6: implode
<div class="inline-form action-bar">
<h2><?php
echo L_PLUGINS_TITLE;
?>
</h2>
<ul class="menu">
<?php
echo implode($breadcrumbs);
?>
</ul>
<?php
echo plxToken::getTokenPostMethod();
?>
<?php
plxUtils::printSelect('selection', $aSelList, '', false, '', 'id_selection');
?>
<input type="submit" name="submit" value="<?php
echo L_OK;
?>
" onclick="return confirmAction(this.form, 'id_selection', 'delete', 'chkAction[]', '<?php
echo L_CONFIRM_DELETE;
?>
')" />
<?php
if ($sel == 1) {
?>
<input type="submit" name="update" value="<?php
echo L_PLUGINS_APPLY_BUTTON;
?>
示例7:
?>
</h2>
<p class="field"><label for="id_affPanier"><?php
$plxPlugin->lang('L_CONFIG_BASKET_DISPLAY');
?>
:</label></p>
<p><?php
plxUtils::printSelect("affPanier", $tabAffPanier, $var["affPanier"]);
?>
</p>
<p class="field"><label for="id_template"><?php
$plxPlugin->lang('L_CONFIG_PAGE_TEMPLATE');
?>
:</label></p>
<p><?php
plxUtils::printSelect('template', $aTemplates, $var['template']);
?>
</p>
<p></p>
</div>
<fieldset align="center"></p>
<p></p>
<p>
<?php
echo plxToken::getTokenPostMethod();
?>
<input type="submit" name="submit" value="<?php
$plxPlugin->lang('L_CONFIG_SUBMIT');
?>
示例8: array
?>
<p class="field"><label>Fuseau horaire :</label></p>
<?php
plxUtils::printSelect('delta', $delta, $plxAdmin->aConf['delta']);
?>
<p class="field"><label>Site privé :</label></p>
<?php
plxUtils::printSelect('private_site', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['private_site']);
?>
<p class="field"><label>Autoriser les commentaires :</label></p>
<?php
plxUtils::printSelect('allow_com', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['allow_com']);
?>
<p class="field"><label>Modérer les commentaires à la création :</label></p>
<?php
plxUtils::printSelect('mod_com', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['mod_com']);
?>
<p class="field">
<label>Éditeur de texte :</label>
</p>
<?php
plxUtils::printSelect('editor', $editors, $plxAdmin->aConf['editor']);
?>
</fieldset>
<p class="center"><input type="submit" value="Modifier la configuration de base" /></p>
</form>
<?php
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
示例9: array
?>
" method="post">
<div class="h2">
<div style="float:left; padding-top:5px"><?php
echo $nbfiles;
?>
fichier<?php
echo $nbfiles > 1 ? 's' : '';
?>
dans <?php
echo './' . $dir;
?>
</div>
<div style="float:right">
Tri : <?php
echo plxUtils::printSelect('tri', array('alpha' => 'alphabétique', 'date' => 'date décroissante'), $_SESSION['images_order']);
?>
<input type="submit" name="order" value="Ok" />
</div>
</div>
</form>
<div style="clear:both"></div>
<form action="medias.php?dir=<?php
echo urlencode($dir);
echo $view != '' ? '&v=' . $view : '';
?>
" method="post">
<?php
# Affichage des fichiers
?>
示例10: selector
function selector($comSel, $id)
{
ob_start();
if ($comSel == 'online') {
plxUtils::printSelect('selection[]', array('' => L_FOR_SELECTION, 'offline' => L_COMMENT_SET_OFFLINE, '-' => '-----', 'delete' => L_COMMENT_DELETE), '', false, 'no-margin', $id);
} elseif ($comSel == 'offline') {
plxUtils::printSelect('selection[]', array('' => L_FOR_SELECTION, 'online' => L_COMMENT_SET_ONLINE, '-' => '-----', 'delete' => L_COMMENT_DELETE), '', false, 'no-margin', $id);
} elseif ($comSel == 'all') {
plxUtils::printSelect('selection[]', array('' => L_FOR_SELECTION, 'online' => L_COMMENT_SET_ONLINE, 'offline' => L_COMMENT_SET_OFFLINE, '-' => '-----', 'delete' => L_COMMENT_DELETE), '', false, 'no-margin', $id);
}
return ob_get_clean();
}
示例11: array
<span class="alert">Attention cette page est inactive</span>
<?php
}
?>
</div>
<div class="encart">
<p class="field"><label>Télécharger d'autres thèmes sur <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.</label></p>
</div>
</fieldset>
<fieldset class="withlabel">
<legend>Flux Rss/Atom :</legend>
<p class="field"><label>Nombre d'articles/commentaires affichés sur les fils Rss/Atom :</label></p>
<?php
plxUtils::printInput('bypage_feed', $plxAdmin->aConf['bypage_feed'], 'text', '10-10');
?>
<p class="field"><label>Afficher que le chapô dans les flux Rss/Atom des articles <a class="help" title="Si le chapô est vide, le contenu est affiché"> </a> :</label></p>
<?php
plxUtils::printSelect('feed_chapo', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['feed_chapo']);
?>
<p class="field"><label>Texte à ajouter comme signature au bas de chaque flux Rss/Atom des articles :</label></p>
<?php
plxUtils::printArea('feed_footer', plxUtils::strCheck($plxAdmin->aConf['feed_footer']), 140, 5);
?>
</fieldset>
<p class="center"><input type="submit" value="Modifier les options d'affichage" /></p>
</form>
<?php
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
示例12: intval
echo '<tr class="line-' . $plxAdmin->plxRecord_coms->i % 2 . '">';
echo '<td><input type="checkbox" name="idCom[]" value="' . $id . '" /></td>';
echo '<td> ' . $day . '/' . $month . '/' . $year . ' ' . $time . '</td>';
echo '<td> ' . plxUtils::strCut($plxAdmin->plxRecord_coms->f('author'), 15) . '</td>';
echo '<td> <a href="' . PLX_ROOT . '?article' . intval($artId) . '/#c' . $plxAdmin->plxRecord_coms->f('numero') . '" title="Visualiser le commentaire sur le site">' . $content . '</a></td>';
echo '<td style="text-align:center"> ';
echo '<a href="commentaire.php?c=' . $id . (!empty($_GET['a']) ? '&a=' . $_GET['a'] : '') . '" title="Éditer ce commentaire">Éditer</a> - ';
echo '<a href="commentaire_new.php?c=' . $id . (!empty($_GET['a']) ? '&a=' . $_GET['a'] : '') . '" title="Répondre à ce commentaire">Répondre</a> - ';
echo '<a href="article.php?a=' . $artId . '" title="Article attaché à ce commentaire">Article</a>';
echo '</td></tr>';
}
?>
<tr>
<td colspan="5">
<?php
plxUtils::printSelect('selection', array('' => 'Pour la sélection...', 'delete' => 'Supprimer', 'offline' => 'Mettre hors ligne'), '');
?>
<input class="button" type="submit" name="submit" value="Ok" />
</td>
</tr>
<?php
} else {
# Pas de commentaires
echo '<tr><td colspan="5" class="center">Aucun commentaire</td></tr>';
}
?>
</tbody>
</table>
</form>
<div id="pagination">
示例13: isset
?>
<p class="center">
<?php
echo plxToken::getTokenPostMethod();
?>
<input class="button update" type="submit" name="update" value="<?php
$plxPlugin->lang('L_ADMIN_MODIFY');
?>
<?php
echo isset($_GET['mod']) && $_GET['mod'] == 'cat' ? $plxPlugin->getlang('L_CATEGORIES') : $plxPlugin->getlang('L_PRODUCTS');
?>
" />
</p>
<p>
<?php
plxUtils::printSelect('selection', array('' => L_FOR_SELECTION, 'delete' => L_DELETE), '', false, '', 'id_selection');
?>
<input class="button submit" type="submit" name="submit" value="<?php
echo L_OK;
?>
" onclick="return confirmAction(this.form, 'id_selection', 'delete', 'idProduct[]', '<?php
echo L_CONFIRM_DELETE;
?>
')" />
</p>
<?php
}
?>
</form>
<?php
示例14: array_keys
</div>
</fieldset>
<fieldset>
<p><strong><?php
echo L_UPDATE_WARNING1 . ' ' . $plxUpdater->oldVersion;
?>
</strong></p>
<?php
if (empty($plxUpdater->oldVersion)) {
?>
<p><?php
echo L_UPDATE_SELECT_VERSION;
?>
</p>
<p><?php
plxUtils::printSelect('version', array_keys($versions), '');
?>
</p>
<p><?php
echo L_UPDATE_WARNING2;
?>
</p>
<?php
}
?>
<p><?php
echo L_UPDATE_WARNING3;
?>
</p>
<p><input type="submit" name="submit" value="<?php
echo L_UPDATE_START;
示例15:
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">
<div class="col sml-12">
<label for="id_title_htmltag"><?php
echo L_EDITCAT_TITLE_HTMLTAG;
?>
:</label>
<?php
plxUtils::printInput('title_htmltag', plxUtils::strCheck($plxAdmin->aCats[$id]['title_htmltag']), 'text', '50-255');
?>
</div>
</div>
<div class="grid">