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


PHP plxUtils::printArea方法代码示例

本文整理汇总了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;
?>
&nbsp;:</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>
开发者ID:vovd,项目名称:PluXml,代码行数:30,代码来源:parametres_affichage.php

示例2: article

echo '<a href="' . $plxAdmin->racine . '">' . $plxAdmin->racine . '</a>';
?>
</li>
	<li>Article attach&eacute; : <?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&eacute;cent au plus ancien) :</h2>
	<div id="comments">
	<?php 
    while ($plxAdmin->plxRecord_coms->loop()) {
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:commentaire_new.php

示例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&nbsp;:</label>&nbsp;<strong><?php 
echo plxUtils::strCheck($profil['login']);
?>
</strong></p>
		<p class="field"><label>Nom d'utilisateur&nbsp;:</label></p>
		<?php 
plxUtils::printInput('name', plxUtils::strCheck($profil['name']), 'text', '20-255');
?>
		<p class="field"><label>Informations&nbsp;:</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&nbsp;:</label></p>
		<?php 
plxUtils::printInput('password1', '', 'password', '20-255');
?>
		<p class="field"><label>Confirmation du mot de passe&nbsp;:</label></p>
		<?php 
plxUtils::printInput('password2', '', 'password', '20-255');
?>
		
	</fieldset>
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:profil.php

示例4: array

echo L_EDITCAT_DISPLAY_HOMEPAGE;
?>
&nbsp;:</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;
?>
&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">
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:categorie.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'));
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
开发者ID:mathieu269,项目名称:PluXml,代码行数:31,代码来源:parametres_edittpl.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
开发者ID:mathieu269,项目名称:PluXml,代码行数:31,代码来源:comment.php

示例7: dirname

&nbsp;:</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;
?>
&nbsp;:</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';
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:user.php

示例8:

echo $view;
?>
&amp;o=<?php 
echo $origine;
?>
" method="post" id="change-art-content">
	<fieldset>
		<?php 
$label = $view == 'chapo' ? 'Chap&ocirc; (facultatif)' : 'Contenu';
?>
		<p class="field"><label><?php 
echo $label;
?>
&nbsp;:</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&ccedil;u" />
			<?php 
}
?>
			<input type="submit" name="update" value="Mettre &agrave; jour" onclick="updater()" />
			<input type="submit" name="close" value="Fermer" onclick="window.close()" />
		</p>
	</fieldset>
</form>
<?php 
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:fullscreen.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&ocirc; (facultatif)&nbsp;:</label></p>
			<?php 
plxUtils::printArea('chapo', plxUtils::strCheck($chapo), 95, 8);
?>
			<p class="field"><label>Contenu&nbsp;:</label></p>
			<?php 
plxUtils::printArea('content', plxUtils::strCheck($content), 95, 20);
?>
		</fieldset>
	</div>
	<div style="float:right;width:270px">
		<p class="head">&Eacute;tat&nbsp;:&nbsp;<strong> 
		<?php 
if (is_array($catId) and sizeof($catId) > 0) {
    echo in_array('draft', $catId) ? 'Brouillon' : 'Publi&eacute;';
} else {
    echo "Brouillon";
}
?>
</strong>
		</p>	
		<fieldset>
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:article.php

示例10: dirname

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

示例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;
?>
&nbsp;:</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);
开发者ID:ppmt,项目名称:plxMyShop,代码行数:31,代码来源:product.php

示例13:

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>
	<?php 
eval($plxAdmin->plxPlugins->callHook('AdminProfil'));
?>
	<?php 
echo plxToken::getTokenPostMethod();
?>

</form>

<h3><?php 
echo L_PROFIL_CHANGE_PASSWORD;
开发者ID:wafflefactor,项目名称:PluXml,代码行数:31,代码来源:profil.php

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

示例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&nbsp;:</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>&nbsp;</td>
			<td class="tc6">Nouvel utilisateur</td>
			<td>
开发者ID:Bivi,项目名称:pluxml_bvi,代码行数:31,代码来源:parametres_users.php


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