本文整理汇总了PHP中plxUtils::printInput方法的典型用法代码示例。如果您正苦于以下问题:PHP plxUtils::printInput方法的具体用法?PHP plxUtils::printInput怎么用?PHP plxUtils::printInput使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类plxUtils
的用法示例。
在下文中一共展示了plxUtils::printInput方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
}
?>
<h2><?php
$plxPlugin->lang('L_CONFIG_DESCRIPTION');
?>
</h2>
<form action="parametres_plugin.php?p=inMyPluxml" method="post">
<fieldset class="withlabel">
<p><?php
echo $plxPlugin->getLang('L_CAT_NAME');
?>
</p>
<?php
plxUtils::printInput('catName', plxUtils::strCheck($plxPlugin->getParam('catName')), 'text');
?>
</fieldset>
<br />
<?php
echo plxToken::getTokenPostMethod();
?>
<input type="submit" name="submit" value="<?php
echo $plxPlugin->getLang('L_CONFIG_SAVE');
?>
" />
</form>
<p>Glissez le bookmarklet suivant dans votre barre de favoris :</p>
<p>Le bookmarklet -> <a href="javascript:javascript:(function(){var%20url%20=%20location.href;var%20title%20=%20document.title%20||%20url;window.open('<?php
echo plxUtils::getRacine();
示例2:
<div class="col sml-12 med-7">
<?php
plxUtils::printInput('pwd', '', 'password', '20-255');
?>
</div>
</div>
<div class="grid">
<div class="col sml-12 med-5 label-centered">
<label for="id_pwd2"><?php
echo L_PASSWORD_CONFIRMATION;
?>
:</label>
</div>
<div class="col sml-12 med-7">
<?php
plxUtils::printInput('pwd2', '', 'password', '20-255');
?>
</div>
</div>
<div class="grid">
<div class="col sml-12 med-5 label-centered">
<label for="id_timezone"><?php
echo L_TIMEZONE;
?>
:</label>
</div>
<div class="col sml-12 med-7">
<?php
plxUtils::printSelect('timezone', plxTimezones::timezones(), $timezone);
?>
</div>
示例3: array
</td>
<td>
<?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'));
示例4: date
<label><?php
echo L_DATE_UPDATE;
?>
:</label>
<div class="inline-form">
<?php
plxUtils::printInput('date_update_day', $date_update['day'], 'text', '2-2', false, 'day');
?>
<?php
plxUtils::printInput('date_update_month', $date_update['month'], 'text', '2-2', false, 'month');
?>
<?php
plxUtils::printInput('date_update_year', $date_update['year'], 'text', '2-4', false, 'year');
?>
<?php
plxUtils::printInput('date_update_time', $date_update['time'], 'text', '2-5', false, 'time');
?>
<a class="ico_cal" href="javascript:void(0)" onclick="dateNow('date_update', <?php
echo date('Z');
?>
); return false;" title="<?php
L_NOW;
?>
">
<img src="theme/images/date.png" alt="calendar" />
</a>
</div>
</div>
</div>
</fieldset>
<?php
示例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'));
示例6: dirname
<label for="id_meta_description"><?php
echo L_EDITCAT_META_DESCRIPTION;
?>
:</label>
<?php
plxUtils::printInput('meta_description', plxUtils::strCheck($plxAdmin->aCats[$id]['meta_description']), 'text', '50-255');
?>
</div>
</div>
<div class="grid">
<div class="col sml-12">
<label for="id_meta_keywords"><?php
echo L_EDITCAT_META_KEYWORDS;
?>
:</label>
<?php
plxUtils::printInput('meta_keywords', plxUtils::strCheck($plxAdmin->aCats[$id]['meta_keywords']), 'text', '50-255');
?>
</div>
</div>
</fieldset>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminCategory'));
?>
</form>
<?php
# Hook Plugins
eval($plxAdmin->plxPlugins->callHook('AdminCategoryFoot'));
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
示例7: array
<tr class="new">
<td> </td>
<td><?php
echo L_CONFIG_USERS_NEW;
?>
</td>
<td>
<?php
echo '<input type="hidden" name="userNum[]" value="' . $new_userid . '" />';
plxUtils::printInput($new_userid . '_newuser', 'true', 'hidden');
plxUtils::printInput($new_userid . '_name', '', 'text', '10-255');
plxUtils::printInput($new_userid . '_infos', '', 'hidden');
echo '</td><td>';
plxUtils::printInput($new_userid . '_login', '', 'text', '10-255');
echo '</td><td>';
plxUtils::printInput($new_userid . '_password', '', 'password', '10-255');
echo '</td><td>';
plxUtils::printSelect($new_userid . '_profil', $aProfils, PROFIL_WRITER);
echo '</td><td>';
plxUtils::printSelect($new_userid . '_active', array('1' => L_YES, '0' => L_NO), '1');
echo '</td>';
?>
<td> </td>
</tr>
</tbody>
</table>
</div>
</form>
<?php
示例8: site
<fieldset class="withlabel">
<legend>Configuration de base :</legend>
<p class="field"><label>Titre du site :</label></p>
<?php
plxUtils::printInput('title', plxUtils::strCheck($plxAdmin->aConf['title']));
?>
<p class="field"><label>Sous-titre/description du site :</label></p>
<?php
plxUtils::printInput('description', plxUtils::strCheck($plxAdmin->aConf['description']));
?>
<p class="field">
<label>Racine du site (ex : http://pluxml.org/pluxml/) :</label>
<a class="help" title="Ne pas oublier le slash à la fin"> </a>
</p>
<?php
plxUtils::printInput('racine', $plxAdmin->racine);
?>
<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>
示例9:
<p><?php
$plxPlugin->lang('L_CONFIG_DESCRIPTION');
?>
</p>
<p> </p>
<form action="plugin.php?p=maintenance" method="post">
<p><?php
echo $plxPlugin->getLang('L_CONFIG_IP');
?>
</p>
<p><?php
echo $plxPlugin->getLang('L_CONFIG_YOUR_IP') . ' " <strong>' . $_SERVER["REMOTE_ADDR"] . '</strong> "';
?>
</p>
<?php
plxUtils::printInput('ip', $plxPlugin->getParam('ip'), 'text', '25-150');
?>
<p>
<p> </p>
<label><?php
echo $plxPlugin->getLang('L_PUT_IN_MAINTENANCE');
?>
</label>
<br/>
<?php
echo plxUtils::printSelect('maintenance', $aMaintenance, $plxPlugin->getParam('maintenance'));
echo plxToken::getTokenPostMethod();
?>
<input class="button submit" type="submit" name="submit" value="<?php
echo L_OK;
?>
示例10: 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
示例11: array
<tr style="background-color:#e0e0e0">
<td> </td>
<td class="tc6">Nouvelle page</td>
<td>
<?php
echo '<input type="hidden" name="staticNum[]" value="' . $new_staticid . '" />';
plxUtils::printInput($new_staticid . '_group', '', 'hidden', '13-50');
echo '</td><td>';
plxUtils::printInput($new_staticid . '_name', '', 'text', '13-50');
plxUtils::printInput($new_staticid . '_template', 'static.php', 'hidden');
echo '</td><td>';
plxUtils::printInput($new_staticid . '_url', '', 'text', '12-50');
echo '</td><td>';
plxUtils::printSelect($new_staticid . '_active', array('1' => 'Oui', '0' => 'Non'), '0');
echo '</td><td>';
plxUtils::printInput($new_staticid . '_ordre', ++$num, 'text', '2-3');
echo '</td><td>';
plxUtils::printSelect($new_staticid . '_menu', array('oui' => 'Afficher', 'non' => 'Masquer'), '1');
?>
</td>
<td> </td>
</tr>
<tr>
<td colspan="9">
<?php
plxUtils::printSelect('selection', array('' => 'Pour la sélection...', 'delete' => 'Supprimer'), '');
?>
<input class="button" type="submit" name="submit" value="Ok" />
</td>
</tr>
<tr>
示例12:
</li>
<li><?php
echo L_COMMENT_LINKED_ARTICLE_FIELD;
?>
: <?php
echo $article;
?>
</li>
</ul>
<fieldset>
<div class="grid">
<div class="col sml-12">
<div id="id_answer"></div>
<?php
plxUtils::printInput('parent', $parent, 'hidden');
?>
<?php
echo plxToken::getTokenPostMethod();
?>
<label for="id_content"><?php
echo L_COMMENT_ARTICLE_FIELD;
?>
:</label>
<?php
plxUtils::printArea('content', plxUtils::strCheck($content), 60, 7, false, 'full-width');
?>
<?php
eval($plxAdmin->plxPlugins->callHook('AdminCommentNew'));
?>
</div>
示例13:
?>
<h2><?php
$plxPlugin->lang('L_TITLE');
?>
</h2>
<p><?php
$plxPlugin->lang('L_CONFIG_DESCRIPTION');
?>
</p>
<form action="parametres_plugin.php?p=honeypot" method="post">
<fieldset class="withlabel">
<p><?php
echo $plxPlugin->getLang('L_CONFIG_API_KEY');
?>
</p>
<?php
plxUtils::printInput('httpbl_api_key', plxUtils::strCheck($plxPlugin->getParam('httpbl_api_key')), 'text');
?>
</fieldset>
<br />
<?php
echo plxToken::getTokenPostMethod();
?>
<input type="submit" name="submit" value="<?php
echo $plxPlugin->getLang('L_CONFIG_SAVE');
?>
" />
</form>
示例14: array
</td>
<?php
echo '<input type="hidden" name="productNum[]" value="' . $new_productid . '" />';
?>
<td><input title="<?php
$plxPlugin->lang('L_CAT');
echo '" type="hidden" name="' . $new_productid . '_pcat" value="' . (isset($_GET['mod']) && $_GET['mod'] == 'cat' ? '1' : '0') . '" ' . (isset($_GET['mod']) && $_GET['mod'] == 'cat' ? 'checked' : '') . ' onclick="checkBox(this);" ></td>';
echo '<td>';
plxUtils::printInput($new_productid . '_name', '', 'text', '13-255');
plxUtils::printInput($new_productid . '_template', $plxPlugin->getParam('template'), 'hidden');
echo '</td><td>';
plxUtils::printInput($new_productid . '_url', '', 'text', '12-255');
echo '</td><td>';
plxUtils::printSelect($new_productid . '_active', array('1' => L_YES, '0' => L_NO), '0');
echo '</td><td>';
plxUtils::printInput($new_productid . '_ordre', ++$num, 'text', '2-3');
echo '</td>';
if (isset($_GET['mod']) && $_GET['mod'] == 'cat') {
echo '<td>';
plxUtils::printSelect($new_productid . '_menu', array('oui' => L_DISPLAY, 'non' => L_HIDE), '0');
echo '<td>';
}
?>
<td> </td>
</tr>
<?php
} else {
$dh = opendir($dir);
$filescommande = array();
while (false !== ($filename = readdir($dh))) {
if (is_file($dir . $filename) && $filename != '.' && $filename != '..' && $filename != 'index.html') {
示例15: array
echo L_ALL_AWAITING_MODERATION;
?>
</a><?php
echo ' (' . $plxAdmin->nbArticles('all', $userId, '_') . ')';
?>
</li>
</ul>
<?php
echo plxToken::getTokenPostMethod();
if ($_SESSION['profil'] <= PROFIL_MODERATOR) {
plxUtils::printSelect('selection', array('' => L_FOR_SELECTION, 'delete' => L_DELETE), '', false, false, 'id_selection');
echo '<input name="sel" type="submit" value="' . L_OK . '" onclick="return confirmAction(this.form, \'id_selection\', \'delete\', \'idArt[]\', \'' . L_CONFIRM_DELETE . '\')" /> ';
}
?>
<?php
plxUtils::printInput('page', 1, 'hidden');
?>
</div>
<div class="grid">
<div class="col sml-6">
<?php
plxUtils::printSelect('sel_cat', $aFilterCat, $_SESSION['sel_cat']);
?>
<input class="<?php
echo $_SESSION['sel_cat'] != 'all' ? ' select' : '';
?>
" type="submit" name="submit" value="<?php
echo L_ARTICLES_FILTER_BUTTON;
?>
" />