<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>
Beispiel #2
0
					<?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';
Beispiel #3
0
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>
			<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 
Beispiel #5
0
			<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);
	<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;
    ?>
Beispiel #7
0
?>
</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');
?>
Beispiel #8
0
?>
		<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';
Beispiel #9
0
    ?>
" 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
    ?>
Beispiel #10
0
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();
}
			&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';
Beispiel #12
0
        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">
Beispiel #13
0
        ?>
    <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 
Beispiel #14
0
						</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;
Beispiel #15
0
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">
Beispiel #16
0
<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;
?>
" />
	</p>

</form>
?>
</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 
# Hook Plugins
eval($plxAdmin->plxPlugins->callHook('AdminUsersFoot'));
# On inclut le footer
include dirname(__FILE__) . '/foot.php';
Beispiel #18
0
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printSelect('mod_com', array('1' => L_YES, '0' => L_NO), $plxAdmin->aConf['mod_com']);
?>
			</div>
		</div>
		<div class="grid">
			<div class="col sml-12 med-5 label-centered">
				<label for="id_mod_art"><?php 
echo L_CONFIG_BASE_MODERATE_ARTICLES;
?>
&nbsp;:</label>
			</div>
			<div class="col sml-12 med-7">
				<?php 
plxUtils::printSelect('mod_art', array('1' => L_YES, '0' => L_NO), $plxAdmin->aConf['mod_art']);
?>
			</div>
		</div>
	</fieldset>
	<?php 
eval($plxAdmin->plxPlugins->callHook('AdminSettingsBase'));
?>
	<?php 
echo plxToken::getTokenPostMethod();
?>

</form>

<?php 
# Hook Plugins
Beispiel #19
0
		<p>
			<?php 
echo L_MEDIAS_DIRECTORY . ' : <a href="javascript:void(0)" onclick="document.forms[0].folder.value=\'.\';document.forms[0].submit();return true;" title="' . L_PLXMEDIAS_ROOT . '">(' . L_PLXMEDIAS_ROOT . ')</a> / ';
if ($curFolders) {
    $path = '';
    foreach ($curFolders as $id => $folder) {
        if (!empty($folder) and $id > 1) {
            $path .= $folder . '/';
            echo '<a href="javascript:void(0)" onclick="document.forms[0].folder.value=\'' . $path . '\';document.forms[0].submit();return true;" title="' . $folder . '">' . $folder . '</a> / ';
        }
    }
}
?>
		</p>
		<?php 
plxUtils::printSelect('selection', $selectionList, '', false, 'no-margin', 'id_selection');
?>
		<input type="submit" name="btn_ok" value="<?php 
echo L_OK;
?>
" onclick="return confirmAction(this.form, 'id_selection', 'delete', 'idFile[]', '<?php 
echo L_CONFIRM_DELETE;
?>
')" />
		&nbsp;&nbsp;&nbsp;
		<input type="submit" onclick="toggle_divs();return false" value="<?php 
echo L_MEDIAS_ADD_FILE;
?>
" />
		<?php 
if (!empty($_SESSION['folder'])) {
Beispiel #20
0
    ?>
			&nbsp;<span class="alert">Attention un fichier .htaccess est d&eacute;jà pr&eacute;sent &agrave; la racine de votre PluXml. En activant la r&eacute;&eacute;criture d'url ce fichier sera &eacute;cras&eacute;</span>
		<?php 
}
?>
		<p class="field">
			<label>Activer la compression GZIP&nbsp;:</label>
			<a class="help" title="Permet de compresser les pages pour &eacute;conomiser de la bande passante, cependant cela peut augmenter la charge processeur">&nbsp;</a>
		</p>
		<?php 
plxUtils::printSelect('gzip', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['gzip']);
?>
		
		<p class="field"><label>Activer le capcha anti-spam&nbsp;:</label></p>
		<?php 
plxUtils::printSelect('capcha', array('1' => 'Oui', '0' => 'Non'), $plxAdmin->aConf['capcha']);
?>
		<p class="field">
			<label>Clef d'administration (URLs priv&eacute;s)&nbsp;:</label>
			<a class="help" title="Vider ce champs pour reg&eacute;n&eacute;rer la clef">&nbsp;</a>
		</p>
		<?php 
plxUtils::printInput('clef', $plxAdmin->aConf['clef'], 'text', '30-30');
?>
	</fieldset>
	<fieldset class="withlabel">
		<legend>Emplacements des dossiers et des fichiers&nbsp;:</legend>		
		<p class="field">
			<label>Emplacement des images (dossier)&nbsp;:</label>
			<a class="help" title="Ne pas oublier le slash &agrave; la fin">&nbsp;</a>
		</p>
		<h2><?php 
echo L_CONFIG_EDITTPL_TITLE;
?>
 &laquo;<?php 
echo plxUtils::strCheck($style);
?>
&raquo;</h2>
		<p><?php 
echo L_CONFIG_VIEW_PLUXML_RESSOURCES;
?>
</p>	
		<?php 
echo plxToken::getTokenPostMethod();
?>
		<?php 
plxUtils::printSelect('template', $aTemplates, $tpl);
?>
 
		<input name="load" type="submit" value="<?php 
echo L_CONFIG_EDITTPL_LOAD;
?>
" />
		&nbsp;&nbsp;&nbsp;		
		<input name="submit" type="submit" value="<?php 
echo L_SAVE_FILE;
?>
" />
	</div>

	<?php 
eval($plxAdmin->plxPlugins->callHook('AdminSettingsEdittplTop'));
Beispiel #22
0
?>

	<fieldset>
		<div class="grid">
			<div class="col sml-12 med-5 label-centered">
				<?php 
plxUtils::printInput('id', $id, 'hidden');
?>
				<label for="id_lang"><?php 
echo L_USER_LANG;
?>
&nbsp;:</label>
			</div>
			<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>
Beispiel #23
0
						<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>
					</div>

					<input class="blue" type="submit" name="install" value="<?php 
echo L_INPUT_INSTALL;
?>
" />
					<?php 
echo plxToken::getTokenPostMethod();
?>
					
					<ul class="unstyled-list">
						<li><strong><?php 
echo L_PLUXML_VERSION;
Beispiel #24
0
$plxPlugin->lang('L_CLASS_HELP');
?>
">&nbsp;</a></th>
			</tr>
		</thead>	
		<tbody>	
			<?php 
$row = 1;
echo "\t<tr  class=\"line-" . ++$row % 2 . "\" >";
?>
				<td><?php 
plxUtils::printInput('mail-param1', $plxPlugin->getParam('mail-param1'), 'text', '20-50');
?>
</td>
				<td><?php 
plxUtils::printSelect('mail-param2', array('0' => 'Masquer', '1' => 'Afficher'), $plxPlugin->getParam('mail-param2'));
?>
</td>
				<td><?php 
plxUtils::printInput('mail-param3', 'mailto:' . $plxPlugin->getParam('mail-param8') . '?subject=' . $plxPlugin->getParam('mail-param9') . '&amp;body=' . $plxPlugin->getParam('mail-param0'), 'text', '50-255', true);
?>
</td>
				<td><?php 
plxUtils::printInput('mail-param4', $plxPlugin->getParam('mail-param4'), 'text', '35-100');
?>
</td>
				<td><?php 
plxUtils::printInput('mail-param5', $plxPlugin->getParam('mail-param5'), 'text', '10-20');
?>
</td>
			</tr>
Beispiel #25
0
" title="Revenir au site">Retour</a></p>
		<?php 
    } else {
        ?>
			<form action="index.php" method="post">
			<fieldset>
				<p><strong>Vous allez mettre &agrave; jour votre ancienne version de PluXml <?php 
        echo $plxUpdater->oldVersion;
        ?>
</strong></p>
				<?php 
        if (empty($plxUpdater->oldVersion)) {
            ?>
					<p>Veuillez s&eacute;lectionner dans la liste ci-dessous votre ancienne version de PluXml &agrave; mettre &agrave; jour.</p>
					<p><?php 
            plxUtils::printSelect('version', $versions, '');
            ?>
</p>
					<p>
						Si votre ancienne version n'est pas list&eacute;e ici, c'est qu'il n'existe pas de proc&eacute;dure automatis&eacute;e de mise &agrave; jour car votre version est trop vieille.<br />
						Nous vous sugg&eacute;rons de t&eacute;l&eacute;charger la derni&egrave;re version de <a href="http://pluxml.org">PluXml</a> et de faire une nouvelle installation.
					</p>
				<?php 
        }
        ?>
				<br />
				<p class="msg">Attention, avant de d&eacute;marrer la mise &agrave; jour, n'oubliez pas de faire une sauvegarde de vos donn&eacute;es en faisant une copie du dossier "data"</p>
				<p style="text-align:center"><input type="submit" name="submit" value="D&eacute;marrer la mise &agrave; jour" /></p>
			</fieldset>
			</form>
		<?php 
Beispiel #26
0
	<?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;
?>
" />
	</div>
	<div class="col sml-6 text-right">
		<input type="text" name="artTitle" value="<?php 
echo plxUtils::strCheck($_GET['artTitle']);
?>
" />
		<input class="<?php 
Beispiel #27
0
        echo '<td class="tc1" style="text-align:center">&nbsp;<a title="Commentaires en attente de validation" href="commentaires_offline.php?a=' . $plxAdmin->plxRecord_arts->f('numero') . '&amp;page=1">' . $nbComsToValidate . '</a> / <a title="Commentaires publi&eacute;s" href="commentaires_online.php?a=' . $plxAdmin->plxRecord_arts->f('numero') . '&amp;page=1">' . $nbComsValidated . '</a></td>';
        echo '<td class="tc4">&nbsp;' . plxUtils::strCheck($author) . '</td>';
        echo '<td class="tc4" style="text-align:center">&nbsp;';
        if ($publi and $draft == '') {
            # Si l'article est publié
            echo '<a href="' . PLX_ROOT . '?article' . intval($plxAdmin->plxRecord_arts->f('numero')) . '/' . $plxAdmin->plxRecord_arts->f('url') . '" title="Visualiser cet article sur le site">Visualiser</a> - ';
        }
        echo '<a href="article.php?a=' . $plxAdmin->plxRecord_arts->f('numero') . '" title="Editer cet article">&Eacute;diter</a>';
        echo "</td>";
        echo "</tr>";
    }
    ?>
	<tr>
		<td colspan="7">
			<?php 
    plxUtils::printSelect('selection', array('' => 'Pour la s&eacute;lection...', 'delete' => 'Supprimer'), '');
    ?>
			<input class="button" type="submit" name="submit" value="Ok" />
		</td>
	</tr>
	<?php 
} else {
    # Pas d'article
    echo '<tr><td colspan="7" class="center">Aucun article ne correspond &agrave; votre recherche</td></tr>';
}
?>

</tbody>
</table>
</form>
Beispiel #28
0
?>
</textarea>
	</p>
	
	<p>
	      	<label for="info">Texte du lien plus d'info:</label>
	        <input id="info" name="info"  maxlength="255" value="<?php 
echo $plxPlugin->getParam('info');
?>
">
	</p>
	
	<p>
		<label for="id_info_lien">Page à afficher pour plus d'info:</label>
		<?php 
plxUtils::printSelect('info_lien', $aCibles, $plxPlugin->getParam('info_lien'));
?>
	</p>

	<p>
		<h3>Styliser l'affichage</h3>
	</p>

	<p>
		<label for="full">Afficher le message sur la page entière?</label>
		<select name="full" id="full">
		   <option value="true" <?php 
if ($page == 'true') {
    echo 'selected';
}
?>