当前位置: 首页>>代码示例>>PHP>>正文


PHP plxUtils::printInput方法代码示例

本文整理汇总了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();
开发者ID:inscriptionweb,项目名称:inMyPluxml,代码行数:31,代码来源:config.php

示例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;
?>
&nbsp;:</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;
?>
&nbsp;:</label>
						</div>
						<div class="col sml-12 med-7">
							<?php 
plxUtils::printSelect('timezone', plxTimezones::timezones(), $timezone);
?>
						</div>
开发者ID:vovd,项目名称:PluXml,代码行数:31,代码来源:install.php

示例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>&nbsp;';
?>
					</td>
				</tr>
			</tbody>
		</table>
	</div>

</form>

<?php 
# Hook Plugins
eval($plxAdmin->plxPlugins->callHook('AdminCategoriesFoot'));
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:categories.php

示例4: date

					<label><?php 
echo L_DATE_UPDATE;
?>
&nbsp;:</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 
开发者ID:mathieu269,项目名称:PluXml,代码行数:31,代码来源:statique.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;
?>
&nbsp;:</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'));
开发者ID:mathieu269,项目名称:PluXml,代码行数:31,代码来源:parametres_edittpl.php

示例6: dirname

				<label for="id_meta_description"><?php 
echo L_EDITCAT_META_DESCRIPTION;
?>
&nbsp;:</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;
?>
&nbsp;:</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';
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:categorie.php

示例7: array

		<tr class="new">
		<td>&nbsp;</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>&nbsp;</td>
		</tr>
	</tbody>
	</table>
	</div>

</form>

<?php 
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:parametres_users.php

示例8: site

	<fieldset class="withlabel">
		<legend>Configuration de base :</legend>	
		<p class="field"><label>Titre du site&nbsp;:</label></p>
		<?php 
plxUtils::printInput('title', plxUtils::strCheck($plxAdmin->aConf['title']));
?>
		<p class="field"><label>Sous-titre/description du site&nbsp;:</label></p>
		<?php 
plxUtils::printInput('description', plxUtils::strCheck($plxAdmin->aConf['description']));
?>
		<p class="field">
			<label>Racine du site (ex : http://pluxml.org/pluxml/)&nbsp;:</label>
			<a class="help" title="Ne pas oublier le slash &agrave; la fin">&nbsp;</a>
		</p>
		<?php 
plxUtils::printInput('racine', $plxAdmin->racine);
?>
		<p class="field"><label>Fuseau horaire&nbsp;:</label></p>
		<?php 
plxUtils::printSelect('delta', $delta, $plxAdmin->aConf['delta']);
?>
		
		<p class="field"><label>Site priv&eacute;&nbsp;:</label></p>
		<?php 
plxUtils::printSelect('private_site', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['private_site']);
?>
		<p class="field"><label>Autoriser les commentaires&nbsp;:</label></p>
		<?php 
plxUtils::printSelect('allow_com', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['allow_com']);
?>
		<p class="field"><label>Mod&eacute;rer les commentaires &agrave; la cr&eacute;ation&nbsp;:</label></p>
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:parametres_base.php

示例9:

<p><?php 
$plxPlugin->lang('L_CONFIG_DESCRIPTION');
?>
</p>
<p>&nbsp;</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') . '&nbsp;"&nbsp;<strong>' . $_SERVER["REMOTE_ADDR"] . '</strong>&nbsp;"';
?>
</p>
		<?php 
plxUtils::printInput('ip', $plxPlugin->getParam('ip'), 'text', '25-150');
?>
	<p>
	<p>&nbsp;</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;
?>
开发者ID:inscriptionweb,项目名称:maintenance,代码行数:31,代码来源:admin.php

示例10: array

    ?>
			&nbsp;<span class="alert">Attention cette page est inactive</span>
			<?php 
}
?>
			
		</div>
		<div class="encart">
			<p class="field"><label>T&eacute;l&eacute;charger d'autres th&egrave;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&eacute;s sur les fils Rss/Atom&nbsp;:</label></p>
		<?php 
plxUtils::printInput('bypage_feed', $plxAdmin->aConf['bypage_feed'], 'text', '10-10');
?>
		<p class="field"><label>Afficher que le chap&ocirc;&nbsp; dans les flux Rss/Atom des articles <a class="help" title="Si le chap&ocirc; est vide, le contenu est affich&eacute;">&nbsp;</a>&nbsp;:</label></p>
		<?php 
plxUtils::printSelect('feed_chapo', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['feed_chapo']);
?>
		<p class="field"><label>Texte &agrave; ajouter comme signature au bas de chaque flux Rss/Atom des articles&nbsp;:</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
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:parametres_affichage.php

示例11: array

		<tr style="background-color:#e0e0e0">
			<td>&nbsp;</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>&nbsp;</td>
		</tr>
		<tr>
			<td colspan="9">
				<?php 
plxUtils::printSelect('selection', array('' => 'Pour la s&eacute;lection...', 'delete' => 'Supprimer'), '');
?>
				<input class="button" type="submit" name="submit" value="Ok" />
			</td>
		</tr>
		<tr>
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:statiques.php

示例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;
?>
&nbsp;:</label>
				<?php 
plxUtils::printArea('content', plxUtils::strCheck($content), 60, 7, false, 'full-width');
?>
				<?php 
eval($plxAdmin->plxPlugins->callHook('AdminCommentNew'));
?>
			</div>
开发者ID:mathieu269,项目名称:PluXml,代码行数:31,代码来源:comment_new.php

示例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>
开发者ID:inscriptionweb,项目名称:honeypot,代码行数:31,代码来源:config.php

示例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>&nbsp;</td>
        </tr>
    <?php 
    } else {
        $dh = opendir($dir);
        $filescommande = array();
        while (false !== ($filename = readdir($dh))) {
            if (is_file($dir . $filename) && $filename != '.' && $filename != '..' && $filename != 'index.html') {
开发者ID:ppmt,项目名称:plxMyShop,代码行数:31,代码来源:admin.php

示例15: array

echo L_ALL_AWAITING_MODERATION;
?>
</a><?php 
echo '&nbsp;(' . $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 . '\')" />&nbsp;&nbsp;&nbsp;';
}
?>
	<?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;
?>
" />
开发者ID:mathieu269,项目名称:PluXml,代码行数:31,代码来源:index.php


注:本文中的plxUtils::printInput方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。