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


PHP plxUtils::printSelect方法代码示例

本文整理汇总了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&egrave;trage de la partie pickyPasteInPluxml :</strong></legend>
		<p class="field"><label for="id_mnuName">Titre du menu&nbsp;:</label></p>
		<?php 
plxUtils::printInput('mnuName', $mnuName, 'text', '20-20');
?>
		<p class="field"><label for="id_mnuPos">Position du menu&nbsp;:</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 ?&nbsp;:</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 ?&nbsp;:</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>
开发者ID:inscriptionweb,项目名称:pickyPasteInPluxml,代码行数:29,代码来源:config.php

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

</form>

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

示例3:

echo L_PROFIL_MAIL;
?>
&nbsp;:</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;
?>
&nbsp;:</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;
?>
&nbsp;:</label>
				<?php 
plxUtils::printArea('content', plxUtils::strCheck($_profil['infos']), 140, 5, false, 'full-width');
?>
			</div>
		</div>
	</fieldset>
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:profil.php

示例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;
?>
&nbsp;:</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;
?>
&nbsp;:</label>
			</div>
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printInput('clef', $plxAdmin->aConf['clef'], 'text', '30-30');
?>
				<a class="hint"><span><?php 
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:parametres_avances.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;
?>
&nbsp;:</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;
?>
&nbsp;:</label>
				<?php 
plxUtils::printArea('content', plxUtils::strCheck($plxAdmin->aConf['feed_footer']), 140, 5);
开发者ID:vovd,项目名称:PluXml,代码行数:31,代码来源:parametres_affichage.php

示例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;
?>
')" />
		&nbsp;&nbsp;&nbsp;
		<?php 
if ($sel == 1) {
    ?>
		<input type="submit" name="update" value="<?php 
    echo L_PLUGINS_APPLY_BUTTON;
    ?>
开发者ID:mathieu269,项目名称:PluXml,代码行数:30,代码来源:parametres_plugins.php

示例7:

?>
</h2>
        <p class="field"><label for="id_affPanier"><?php 
$plxPlugin->lang('L_CONFIG_BASKET_DISPLAY');
?>
&nbsp;:</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');
?>
&nbsp;:</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');
?>
开发者ID:ppmt,项目名称:plxMyShop,代码行数:31,代码来源:config.php

示例8: array

?>
		<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>
		<?php 
plxUtils::printSelect('mod_com', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['mod_com']);
?>
		<p class="field">
			<label>&Eacute;diteur de texte&nbsp;:</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';
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:parametres_base.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&eacute;tique', 'date' => 'date d&eacute;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 != '' ? '&amp;v=' . $view : '';
    ?>
" method="post">
		<?php 
    # Affichage des fichiers
    ?>
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:medias.php

示例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();
}
开发者ID:wafflefactor,项目名称:PluXml,代码行数:12,代码来源:comments.php

示例11: 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
include dirname(__FILE__) . '/foot.php';
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:parametres_affichage.php

示例12: intval

        echo '<tr class="line-' . $plxAdmin->plxRecord_coms->i % 2 . '">';
        echo '<td><input type="checkbox" name="idCom[]" value="' . $id . '" /></td>';
        echo '<td>&nbsp;' . $day . '/' . $month . '/' . $year . ' ' . $time . '</td>';
        echo '<td>&nbsp;' . plxUtils::strCut($plxAdmin->plxRecord_coms->f('author'), 15) . '</td>';
        echo '<td>&nbsp;<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']) ? '&amp;a=' . $_GET['a'] : '') . '" title="&Eacute;diter ce commentaire">&Eacute;diter</a> - ';
        echo '<a href="commentaire_new.php?c=' . $id . (!empty($_GET['a']) ? '&amp;a=' . $_GET['a'] : '') . '" title="R&eacute;pondre &agrave; ce commentaire">R&eacute;pondre</a> - ';
        echo '<a href="article.php?a=' . $artId . '" title="Article attach&eacute; &agrave; ce commentaire">Article</a>';
        echo '</td></tr>';
    }
    ?>
	<tr>
		<td colspan="5">
			<?php 
    plxUtils::printSelect('selection', array('' => 'Pour la s&eacute;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">
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:commentaires_online.php

示例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 
开发者ID:ppmt,项目名称:plxMyShop,代码行数:31,代码来源:admin.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;
开发者ID:mathieu269,项目名称:PluXml,代码行数:31,代码来源:index.php

示例15:

echo L_EDITCAT_DESCRIPTION;
?>
&nbsp;:</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;
?>
&nbsp;:</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;
?>
&nbsp;:</label>
				<?php 
plxUtils::printInput('title_htmltag', plxUtils::strCheck($plxAdmin->aCats[$id]['title_htmltag']), 'text', '50-255');
?>
			</div>
		</div>
		<div class="grid">
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:categorie.php


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