Beispiel #1
0
}
?>

<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();
Beispiel #2
0
						<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>
Beispiel #3
0
</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'));
Beispiel #4
0
					<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 
?>
" />
	</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'));
Beispiel #6
0
				<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';
		<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 
Beispiel #8
0
	<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>
Beispiel #9
0
<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;
?>
    ?>
			&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
Beispiel #11
0
		<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>
Beispiel #12
0
</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>
Beispiel #13
0
?>

<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>
Beispiel #14
0
</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') {
Beispiel #15
0
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;
?>
" />
Beispiel #16
0
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printInput('meta_description', plxUtils::strCheck($plxAdmin->aConf['meta_description']));
?>
			</div>
		</div>
		<div class="grid">
			<div class="col sml-12 med-5 label-centered">
				<label for="id_meta_keywords"><?php 
echo L_CONFIG_META_KEYWORDS;
?>
&nbsp;:</label>
			</div>
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printInput('meta_keywords', plxUtils::strCheck($plxAdmin->aConf['meta_keywords']));
?>
			</div>
		</div>
		<div class="grid">
			<div class="col sml-12 med-5 label-centered">
				<label for="id_default_lang"><?php 
echo L_CONFIG_BASE_DEFAULT_LANG;
?>
&nbsp;:</label>
			</div>
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printSelect('default_lang', plxUtils::getLangs(), $plxAdmin->aConf['default_lang']);
?>
			</div>
$sidebar = $plxPlugin->getParam('sidebar') == '' ? 1 : $plxPlugin->getParam('sidebar');
$cryptMyPluxml = $plxPlugin->getParam('cryptMyPluxml') == '' ? 1 : $plxPlugin->getParam('cryptMyPluxml');
?>

<h2>PickyPaste</h2>

<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();
Beispiel #18
0
?>
			<p class="field"><label>Mots cl&eacute;s <a class="help" title="S&eacute;parer les mots cl&eacute;s par une virgule">&nbsp;</a>&nbsp;:</label></p>
			<p>
				<?php 
plxUtils::printInput('tags', $tags, 'text', '25-255');
?>
			</p>			
			<p class="field"><label>Autoriser les commentaires&nbsp;:</label></p>
			<p>
				<?php 
plxUtils::printSelect('allow_com', array('1' => 'Oui', '0' => 'Non'), $allow_com);
?>
			</p>			
			<p class="field"><label>Url <a class="help" title="l'URL se remplit automatiquement &agrave; la cr&eacute;ation">&nbsp;</a>&nbsp;:</label></p>
			<p><?php 
plxUtils::printInput('url', $url, 'text', '27-255');
?>
</p>
			<p class="field"><label>Template&nbsp;:</label></p>
			<?php 
plxUtils::printSelect('template', $aTemplates, $template);
?>
			<?php 
if ($artId != '0000') {
    ?>
			<p>&nbsp;</p>
			<ul class="opts">
				<li>&nbsp;<a href="commentaires_online.php?a=<?php 
    echo $artId;
    ?>
&amp;page=1" title="G&eacute;rer les commentaires de cet article">G&eacute;rer les commentaires</a></li>
Beispiel #19
0
<body id="auth">
<form action="auth.php<?php 
echo !empty($_GET['p']) ? '?p=' . urldecode($_GET['p']) : '';
?>
" method="post">
	<fieldset>
		<legend>Connexion &agrave; la zone d'administration :</legend>
		<?php 
!empty($msg) ? plxUtils::showMsg($msg, $error) : '';
?>
		<label>Login de connexion&nbsp;:</label>
		<?php 
plxUtils::printInput('login', !empty($_POST['login']) ? plxUtils::strCheck($_POST['login']) : '', 'text', '18-255');
?>
<br />
		<label>Mot de passe&nbsp;:</label>
		<?php 
plxUtils::printInput('password', '', 'password', '18-255');
?>
<br />
		<input type="submit" value="Valider" />
	</fieldset>
</form>

<p class="auth_return"><a href="<?php 
echo PLX_ROOT;
?>
">Retour au site</a> | G&eacute;n&eacute;r&eacute; par <a href="http://pluxml.org">PluXml</a></p>

</body>
</html>
Beispiel #20
0
				<label for="id_mail"><?php 
echo L_COMMENT_EMAIL_FIELD;
?>
 : 
				<?php 
if ($plxAdmin->plxRecord_coms->f('mail') != '') {
    ?>
				<?php 
    echo '<a href="mailto:' . $plxAdmin->plxRecord_coms->f('mail') . '">' . $plxAdmin->plxRecord_coms->f('mail') . '</a>';
    ?>
				<?php 
}
?>
				</label>
				<?php 
plxUtils::printInput('mail', plxUtils::strCheck($plxAdmin->plxRecord_coms->f('mail')), 'text', '40-255');
?>
			</div>
		</div>

		<div class="grid">
			<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');
Beispiel #21
0
echo L_AUTH_LOGIN_FIELD;
?>
&nbsp;:</label>
								<?php 
plxUtils::printInput('login', !empty($_POST['login']) ? plxUtils::strCheck($_POST['login']) : '', 'text', '10-255', false, 'full-width');
?>
							</div>
						</div>
						<div class="grid">
							<div class="col sml-12">
								<label for="id_password"><?php 
echo L_AUTH_PASSWORD_FIELD;
?>
&nbsp;:</label>
								<?php 
plxUtils::printInput('password', '', 'password', '10-255', false, 'full-width');
?>
							</div>
						</div>
						<?php 
eval($plxAdmin->plxPlugins->callHook('AdminAuth'));
?>
						<div class="grid">
							<div class="col sml-12 text-center">
								<input class="blue" type="submit" value="<?php 
echo L_SUBMIT_BUTTON;
?>
" />
							</div>
						</div>
					</fieldset>
Beispiel #22
0
		<p class="field">
			<label>Emplacement des pages statiques (dossier)&nbsp;:</label>
			<a class="help" title="Ne pas oublier le slash &agrave; la fin">&nbsp;</a>
		</p>
		<?php 
plxUtils::printInput('racine_statiques', $plxAdmin->aConf['racine_statiques']);
?>
		<p class="field"><label>Emplacement du fichier des cat&eacute;gories (fichier xml)&nbsp;:</label></p>
		<?php 
plxUtils::printInput('categories', $plxAdmin->aConf['categories']);
?>
		<p class="field"><label>Emplacement du fichier des pages statiques (fichier xml)&nbsp;:</label></p>
		<?php 
plxUtils::printInput('statiques', $plxAdmin->aConf['statiques']);
?>
		<p class="field"><label>Emplacement du fichier des mots de passe (fichier xml)&nbsp;:</label></p>
		<?php 
plxUtils::printInput('users', $plxAdmin->aConf['users']);
?>
		<p class="field"><label>Emplacement du fichier des tags (fichier xml)&nbsp;:</label></p>
		<?php 
plxUtils::printInput('tags', $plxAdmin->aConf['tags']);
?>
		
	</fieldset>
	<p class="center"><input type="submit" value="Modifier la configuration avanc&eacute;e" /></p>
</form>

<?php 
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
Beispiel #23
0
plxUtils::printInput('newsubject', $var['newsubject'], 'text', '100-120');
?>
</p>
		<p></p>
		<br/>
		
        <h2><?php 
$plxPlugin->lang('L_CONFIG_MENU_TITLE');
?>
</h2>
        <p class="field"><label for="id_menu_position"><?php 
$plxPlugin->lang('L_CONFIG_MENU_POSITION');
?>
&nbsp;:</label></p>
			<p><?php 
plxUtils::printInput('menu_position', $var['menu_position'], 'number', '100-120');
?>
</p>
		<p></p>
		<br/>
		
        <h2><?php 
$plxPlugin->lang('L_CONFIG_PAGE');
?>
</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"]);
Beispiel #24
0
echo L_ARTICLE_META_DESCRIPTION;
?>
&nbsp;:</label>
						<?php 
plxUtils::printInput('meta_description', plxUtils::strCheck($meta_description), 'text', '27-255');
?>
					</div>
				</div>
				<div class="grid">
					<div class="col sml-12">
						<label for="id_meta_keywords"><?php 
echo L_ARTICLE_META_KEYWORDS;
?>
&nbsp;:</label>
						<?php 
plxUtils::printInput('meta_keywords', plxUtils::strCheck($meta_keywords), 'text', '27-255');
?>
					</div>
				</div>

				<?php 
eval($plxAdmin->plxPlugins->callHook('AdminArticleSidebar'));
?>

				<?php 
if ($artId != '0000') {
    ?>
				<ul class="unstyled-list">
					<li><a href="comments.php?a=<?php 
    echo $artId;
    ?>
?>
				<a class="hint"><span><?php 
echo L_HELP_SLASH_END;
?>
</span></a>
			</div>
		</div>
		<div class="grid">
			<div class="col sml-12 med-5 label-centered">
				<label for="id_custom_admincss_file"><?php 
echo L_CONFIG_CUSTOM_CSSADMIN_PATH;
?>
&nbsp;:</label>
			</div>
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printInput('custom_admincss_file', $plxAdmin->aConf['custom_admincss_file']);
?>
			</div>
		</div>
	</fieldset>
	<?php 
eval($plxAdmin->plxPlugins->callHook('AdminSettingsAdvanced'));
?>
</form>

<?php 
# Hook Plugins
eval($plxAdmin->plxPlugins->callHook('AdminSettingsAdvancedFoot'));
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
Beispiel #26
0
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printSelect('lang', plxUtils::getLangs(), $plxAdmin->aUsers[$id]['lang']);
?>
			</div>
		</div>
		<div class="grid">
			<div class="col sml-12 med-5 label-centered">
				<label for="id_email"><?php 
echo L_USER_MAIL;
?>
&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>
Beispiel #27
0
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printSelect('thumbs', array('1' => L_YES, '0' => L_NO), $plxAdmin->aConf['thumbs']);
?>
			</div>
		</div>
		<div class="grid">
			<div class="col sml-12 med-5 label-centered">
				<label for="id_bypage_feed"><?php 
echo L_CONFIG_VIEW_BYPAGE_FEEDS;
?>
&nbsp;:</label>
			</div>
			<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 
Beispiel #28
0
?>
</td>
				<td><?php 
plxUtils::printInput('share-article', $plxPlugin->getParam('share-article'), 'text', '35-100');
?>
</td>
			</tr>
			<?php 
echo "\t<tr  class=\"line-" . ++$row % 2 . "\" >";
?>
				<td><?php 
$plxPlugin->lang('L_LABEL_SHARE_STATIC');
?>
</td>
				<td><?php 
plxUtils::printInput('share-page', $plxPlugin->getParam('share-page'), 'text', '35-100');
?>
</td>
			</tr>
		</tbody>
	</table>
	</div>
		
<p class="in-action-bar"><?php 
echo plxToken::getTokenPostMethod();
?>
<input type="submit" name="submit" value="<?php 
$plxPlugin->lang('L_SAVE_CONFIG');
?>
" /></p>
Beispiel #29
0
$aAllCat['Emplacements sp&eacute;cifiques'][''] = 'Tous les articles';
# On inclut le header
include dirname(__FILE__) . '/top.php';
?>

<h2>Liste des articles</h2>

<form action="index.php?page=1" method="get" id="frm_sel">
	<fieldset class="withlabel">
		<?php 
plxUtils::printInput('page', 1, 'hidden');
?>
 
		<legend>Filtre de recherche :</legend>
		<p class="center">Titre de l'article&nbsp;: <?php 
plxUtils::printInput('artTitle', plxUtils::strCheck($_GET['artTitle']), 'text', '30-50');
?>
 
		Emplacement&nbsp;: <?php 
plxUtils::printSelect('catId', $aAllCat, $_GET['catId']);
?>
		<input class="button" type="submit" value="Filtrer" /></p>
	</fieldset>
</form>

<form action="index.php" method="post" id="frm_arts">
<table class="table">
<thead>
	<tr>
		<th style="width:5px"><input type="checkbox" onclick="checkAll(this.form, 'idArt[]')" /></th>	
		<th class="tc1">Date</th>
Beispiel #30
0
<form action="parametres_plugin.php?p=maintenance" method="post">
	<fieldset class="withlabel">
		<h2><?php 
echo $plxPlugin->getLang('L_CONFIG_TITLE');
?>
</h2>
		<?php 
plxUtils::printInput('title', $plxPlugin->getParam('title'), 'text', '25-150');
?>
		
		<h2><?php 
echo $plxPlugin->getLang('L_CONFIG_FAVICON');
?>
</h2>
		<?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