update to new version
|
@ -113,6 +113,9 @@ if(!empty($_POST)) { # Création, mise à jour, suppression ou aperçu
|
||||||
$plxAdmin->editArticle($_POST,$_POST['artId']);
|
$plxAdmin->editArticle($_POST,$_POST['artId']);
|
||||||
header('Location: article.php?a='.$_POST['artId']);
|
header('Location: article.php?a='.$_POST['artId']);
|
||||||
exit;
|
exit;
|
||||||
|
# Si url ou date invalide, on ne sauvegarde pas mais on repasse en mode brouillon
|
||||||
|
}else{
|
||||||
|
array_unshift($_POST['catId'], 'draft');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -212,20 +215,107 @@ foreach($plxAdmin->aUsers as $_userid => $_user) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# On récupère les templates des articles
|
# On récupère les templates des articles
|
||||||
|
$aTemplates = array();
|
||||||
$files = plxGlob::getInstance(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style']);
|
$files = plxGlob::getInstance(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style']);
|
||||||
if ($array = $files->query('/^article(-[a-z0-9-_]+)?.php$/')) {
|
if ($array = $files->query('/^article(-[a-z0-9-_]+)?.php$/')) {
|
||||||
foreach($array as $k=>$v)
|
foreach($array as $k=>$v)
|
||||||
$aTemplates[$v] = $v;
|
$aTemplates[$v] = $v;
|
||||||
}
|
}
|
||||||
|
if(empty($aTemplates)) $aTemplates[''] = L_NONE1;
|
||||||
$cat_id='000';
|
$cat_id='000';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<form action="article.php" method="post" id="form_article">
|
<form action="article.php" method="post" id="form_article">
|
||||||
|
|
||||||
<div id="extra-container">
|
<div class="inline-form action-bar">
|
||||||
|
|
||||||
<div id="extra-sidebar">
|
<h2><?php echo (empty($_GET['a']))?L_MENU_NEW_ARTICLES:L_ARTICLE_EDITING; ?></h2>
|
||||||
<p class="field_head"><?php echo L_ARTICLE_STATUS ?> :
|
|
||||||
|
<p><a class="back" href="index.php"><?php echo L_BACK_TO_ARTICLES ?></a></p>
|
||||||
|
|
||||||
|
<input type="submit" name="preview" onclick="this.form.target='_blank';return true;" value="<?php echo L_ARTICLE_PREVIEW_BUTTON ?>"/>
|
||||||
|
<?php
|
||||||
|
if($_SESSION['profil']>PROFIL_MODERATOR AND $plxAdmin->aConf['mod_art']) {
|
||||||
|
if(in_array('draft', $catId)) { # brouillon
|
||||||
|
if($artId!='0000') # nouvel article
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="'.L_ARTICLE_DRAFT_BUTTON.'"/> ';
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="moderate" value="'.L_ARTICLE_MODERATE_BUTTON.'"/> ';
|
||||||
|
echo ' <input class="red" type="submit" name="delete" value="'.L_DELETE.'" onclick="Check=confirm(\''.L_ARTICLE_DELETE_CONFIRM.'\');if(Check==false) {return false;} else {this.form.target=\'_self\';return true;}" /> ';
|
||||||
|
} else {
|
||||||
|
if(isset($_GET['a']) AND preg_match('/^_[0-9]{4}$/',$_GET['a'])) { # en attente
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="update" value="' . L_ARTICLE_UPDATE_BUTTON . '"/> ';
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="'.L_ARTICLE_DRAFT_BUTTON.'"/> ';
|
||||||
|
echo ' <input class="red" type="submit" name="delete" value="'.L_DELETE.'" onclick="Check=confirm(\''.L_ARTICLE_DELETE_CONFIRM.'\');if(Check==false) {return false;} else {this.form.target=\'_self\';return true;}" /> ';
|
||||||
|
} else {
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="'.L_ARTICLE_DRAFT_BUTTON.'"/> ';
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="moderate" value="'.L_ARTICLE_MODERATE_BUTTON.'"/> ';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if(in_array('draft', $catId)) {
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="' . L_ARTICLE_DRAFT_BUTTON . '"/> ';
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="publish" value="' . L_ARTICLE_PUBLISHING_BUTTON . '"/> ';
|
||||||
|
} else {
|
||||||
|
if(!isset($_GET['a']) OR preg_match('/^_[0-9]{4}$/',$_GET['a']))
|
||||||
|
echo '<inpu onclick="this.form.target=\'_self\';return true;" type="submit" name="publish" value="' . L_ARTICLE_PUBLISHING_BUTTON . '"/> ';
|
||||||
|
else
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="update" value="' . L_ARTICLE_UPDATE_BUTTON . '"/> ';
|
||||||
|
echo '<input onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="' . L_ARTICLE_OFFLINE_BUTTON . '"/> ';
|
||||||
|
}
|
||||||
|
if($artId!='0000')
|
||||||
|
echo ' <input class="red" type="submit" name="delete" value="'.L_DELETE.'" onclick="Check=confirm(\''.L_ARTICLE_DELETE_CONFIRM.'\');if(Check==false) {return false;} else {this.form.target=\'_self\';return true;}" /> ';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminArticleTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
|
||||||
|
<div class="col sml-12 med-7 lrg-8">
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<?php plxUtils::printInput('artId',$artId,'hidden'); ?>
|
||||||
|
<label for="id_title"><?php echo L_ARTICLE_TITLE ?> :</label>
|
||||||
|
<?php plxUtils::printInput('title',plxUtils::strCheck($title),'text','42-255',false,'full-width'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_chapo"><?php echo L_HEADLINE_FIELD ?> : <a id="toggler_chapo" href="javascript:void(0)" onclick="toggleDiv('toggle_chapo', 'toggler_chapo', '<?php echo L_ARTICLE_CHAPO_DISPLAY ?>','<?php echo L_ARTICLE_CHAPO_HIDE ?>')"><?php echo $chapo==''?L_ARTICLE_CHAPO_DISPLAY:L_ARTICLE_CHAPO_HIDE ?></a></label>
|
||||||
|
<div id="toggle_chapo"<?php echo $chapo!=''?'':' style="display:none"' ?>>
|
||||||
|
<?php plxUtils::printArea('chapo',plxUtils::strCheck($chapo),35,8,false,'full-width'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_content"><?php echo L_CONTENT_FIELD ?> :</label>
|
||||||
|
<?php plxUtils::printArea('content',plxUtils::strCheck($content),35,30,false,'full-width'); ?>
|
||||||
|
<?php if($artId!='' AND $artId!='0000') : ?>
|
||||||
|
<?php $link = $plxAdmin->urlRewrite('index.php?article'.intval($artId).'/'.$url) ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_link"><?php echo L_LINK_FIELD ?> : <?php echo '<a onclick="this.target=\'_blank\';return true;" href="'.$link.'" title="'.L_LINK_ACCESS.'">'.L_LINK_VIEW.'</a>'; ?></label>
|
||||||
|
|
||||||
|
<?php echo '<input id="id_link" onclick="this.select()" class="readonly" readonly="readonly" type="text" value="'.$link.'" />' ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminArticleContent')) ?>
|
||||||
|
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="sidebar col sml-12 med-5 lrg-4">
|
||||||
|
|
||||||
|
<p><?php echo L_ARTICLE_STATUS ?> :
|
||||||
<strong>
|
<strong>
|
||||||
<?php
|
<?php
|
||||||
if(isset($_GET['a']) AND preg_match('/^_[0-9]{4}$/',$_GET['a']))
|
if(isset($_GET['a']) AND preg_match('/^_[0-9]{4}$/',$_GET['a']))
|
||||||
|
@ -240,7 +330,9 @@ $cat_id='000';
|
||||||
</strong>
|
</strong>
|
||||||
</p>
|
</p>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<p><label for="id_author"><?php echo L_ARTICLE_LIST_AUTHORS ?> : </label></p>
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_author"><?php echo L_ARTICLE_LIST_AUTHORS ?> : </label>
|
||||||
<?php
|
<?php
|
||||||
if($_SESSION['profil'] < PROFIL_WRITER)
|
if($_SESSION['profil'] < PROFIL_WRITER)
|
||||||
plxUtils::printSelect('author', $_users, $author);
|
plxUtils::printSelect('author', $_users, $author);
|
||||||
|
@ -249,39 +341,65 @@ $cat_id='000';
|
||||||
echo '<strong>'.plxUtils::strCheck($plxAdmin->aUsers[$author]['name']).'</strong>';
|
echo '<strong>'.plxUtils::strCheck($plxAdmin->aUsers[$author]['name']).'</strong>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<p><label><?php echo L_ARTICLE_DATE ?> :</label></p>
|
</div>
|
||||||
<?php plxUtils::printInput('day',$date['day'],'text','2-2',false,'fld1'); ?>
|
</div>
|
||||||
<?php plxUtils::printInput('month',$date['month'],'text','2-2',false,'fld1'); ?>
|
<div class="grid">
|
||||||
<?php plxUtils::printInput('year',$date['year'],'text','2-4',false,'fld2'); ?>
|
<div class="col sml-12">
|
||||||
<?php plxUtils::printInput('time',$date['time'],'text','2-5',false,'fld2'); ?>
|
<label><?php echo L_ARTICLE_DATE ?> :</label>
|
||||||
<a id="id_cal" href="javascript:void(0)" onclick="dateNow(<?php echo date('Z') ?>); return false;" title="<?php L_NOW; ?>"><img src="theme/images/date.png" alt="" /></a>
|
<div class="inline-form">
|
||||||
|
<?php plxUtils::printInput('day',$date['day'],'text','2-2',false,false); ?>
|
||||||
<p><label><?php echo L_ARTICLE_CATEGORIES ?> :</label></p>
|
<?php plxUtils::printInput('month',$date['month'],'text','2-2',false,false); ?>
|
||||||
|
<?php plxUtils::printInput('year',$date['year'],'text','2-4',false,false); ?>
|
||||||
|
<?php plxUtils::printInput('time',$date['time'],'text','2-5',false,false); ?>
|
||||||
|
<a id="id_cal" href="javascript:void(0)" onclick="dateNow(<?php echo date('Z') ?>); return false;" title="<?php L_NOW; ?>">
|
||||||
|
<img src="theme/images/date.png" alt="calendar" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label><?php echo L_ARTICLE_CATEGORIES ?> :</label>
|
||||||
<?php
|
<?php
|
||||||
$selected = (is_array($catId) AND in_array('000', $catId)) ? ' checked="checked"' : '';
|
$selected = (is_array($catId) AND in_array('000', $catId)) ? ' checked="checked"' : '';
|
||||||
echo '<input readonly="readonly" disabled="disabled" type="checkbox" id="cat_unclassified" name="catId[]"'.$selected.' value="000" /><label for="cat_unclassified"> '. L_UNCLASSIFIED .'</label><br />';
|
echo '<label for="cat_unclassified"><input class="no-margin" disabled="disabled" type="checkbox" id="cat_unclassified" name="catId[]"'.$selected.' value="000" /> '. L_UNCLASSIFIED .'</label>';
|
||||||
$selected = (is_array($catId) AND in_array('home', $catId)) ? ' checked="checked"' : '';
|
$selected = (is_array($catId) AND in_array('home', $catId)) ? ' checked="checked"' : '';
|
||||||
echo '<input type="checkbox" id="cat_home" name="catId[]"'.$selected.' value="home" /><label for="cat_home"> '. L_CATEGORY_HOME_PAGE .'</label><br />';
|
echo '<label for="cat_home"><input type="checkbox" class="no-margin" id="cat_home" name="catId[]"'.$selected.' value="home" /> '. L_CATEGORY_HOME_PAGE .'</label>';
|
||||||
foreach($plxAdmin->aCats as $cat_id => $cat_name) {
|
foreach($plxAdmin->aCats as $cat_id => $cat_name) {
|
||||||
$selected = (is_array($catId) AND in_array($cat_id, $catId)) ? ' checked="checked"' : '';
|
$selected = (is_array($catId) AND in_array($cat_id, $catId)) ? ' checked="checked"' : '';
|
||||||
echo '<input type="checkbox" id="cat_'.$cat_id.'" name="catId[]"'.$selected.' value="'.$cat_id.'" />';
|
|
||||||
if($plxAdmin->aCats[$cat_id]['active'])
|
if($plxAdmin->aCats[$cat_id]['active'])
|
||||||
echo '<label for="cat_'.$cat_id.'"> '.plxUtils::strCheck($cat_name['name']).'</label><br />';
|
echo '<label for="cat_'.$cat_id.'">'.'<input type="checkbox" class="no-margin" id="cat_'.$cat_id.'" name="catId[]"'.$selected.' value="'.$cat_id.'" /> '.plxUtils::strCheck($cat_name['name']).'</label>';
|
||||||
else
|
else
|
||||||
echo '<label for="cat_'.$cat_id.'"> <em>'.plxUtils::strCheck($cat_name['name']).'</em></label><br />';
|
echo '<label for="cat_'.$cat_id.'">'.'<input type="checkbox" class="no-margin" id="cat_'.$cat_id.'" name="catId[]"'.$selected.' value="'.$cat_id.'" /> '.plxUtils::strCheck($cat_name['name']).'</label>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php if($_SESSION['profil'] < PROFIL_WRITER) : ?>
|
<?php if($_SESSION['profil'] < PROFIL_WRITER) : ?>
|
||||||
<p><label for="id_new_catname"><?php echo L_NEW_CATEGORY ?> :</label></p>
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_new_catname"><?php echo L_NEW_CATEGORY ?> :</label>
|
||||||
|
<div class="inline-form">
|
||||||
<?php plxUtils::printInput('new_catname','','text','17-50') ?>
|
<?php plxUtils::printInput('new_catname','','text','17-50') ?>
|
||||||
<input class="button new" type="submit" name="new_category" value="<?php echo L_CATEGORY_ADD_BUTTON ?>" />
|
<input type="submit" name="new_category" value="<?php echo L_CATEGORY_ADD_BUTTON ?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<p><label for="id_tags"><?php echo L_ARTICLE_TAGS_FIELD ?> :</label> <a class="help" title="<?php echo L_ARTICLE_TAGS_FIELD_TITLE ?>"> </a></p>
|
<div class="grid">
|
||||||
<?php plxUtils::printInput('tags',$tags,'text','25-255'); ?>
|
<div class="col sml-12">
|
||||||
<a title="<?php echo L_ARTICLE_TOGGLER_TITLE ?>" id="toggler" href="javascript:void(0)" onclick="toggleDiv('tags','toggler','+','-')" style="outline:none">+</a>
|
<label for="id_tags">
|
||||||
<div id="tags" style="display:none;margin-top:5px">
|
<?php echo L_ARTICLE_TAGS_FIELD ?> : <a class="hint"><span><?php echo L_ARTICLE_TAGS_FIELD_TITLE ?></span></a>
|
||||||
|
</label>
|
||||||
|
<div class="inline-form">
|
||||||
|
<?php plxUtils::printInput('tags',$tags,'text','25-255',false,false); ?>
|
||||||
|
<a title="<?php echo L_ARTICLE_TOGGLER_TITLE ?>" id="toggler" href="javascript:void(0)" onclick="toggleDiv('tags','toggler','+','-')" style="outline:none; text-decoration: none">+</a>
|
||||||
|
</div>
|
||||||
|
<div id="tags" style="display:none; margin-top: 1rem">
|
||||||
<?php
|
<?php
|
||||||
if($plxAdmin->aTags) {
|
if($plxAdmin->aTags) {
|
||||||
$array=array();
|
$array=array();
|
||||||
|
@ -300,123 +418,72 @@ $cat_id='000';
|
||||||
}
|
}
|
||||||
array_multisort($array);
|
array_multisort($array);
|
||||||
foreach($array as $tagname => $tag) {
|
foreach($array as $tagname => $tag) {
|
||||||
echo '<a href="javascript:void(0)" onclick="insTag(\'tags\',\''.$tagname.'\')" title="'.plxUtils::strCheck($tagname).' ('.$tag['count'].')">'.plxUtils::strCheck($tagname).'</a> ('.$tag['count'].') ';
|
echo '<a href="javascript:void(0)" onclick="insTag(\'tags\',\''.$tagname.'\')" title="'.plxUtils::strCheck($tagname).' ('.$tag['count'].')">'.plxUtils::strCheck($tagname).'</a> ('.$tag['count'].') ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else echo L_NO_TAG;
|
else echo L_NO_TAG;
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
<?php if($plxAdmin->aConf['allow_com']=='1') : ?>
|
<?php if($plxAdmin->aConf['allow_com']=='1') : ?>
|
||||||
<p><label for="id_allow_com"><?php echo L_ALLOW_COMMENTS ?> :</label></p>
|
<label for="id_allow_com"><?php echo L_ALLOW_COMMENTS ?> :</label>
|
||||||
<?php plxUtils::printSelect('allow_com',array('1'=>L_YES,'0'=>L_NO),$allow_com); ?>
|
<?php plxUtils::printSelect('allow_com',array('1'=>L_YES,'0'=>L_NO),$allow_com); ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php plxUtils::printInput('allow_com','0','hidden'); ?>
|
<?php plxUtils::printInput('allow_com','0','hidden'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
<p><label for="id_url"><?php echo L_ARTICLE_URL_FIELD ?> :</label> <a class="help" title="<?php echo L_ARTICLE_URL_FIELD_TITLE ?>"> </a></p>
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_url">
|
||||||
|
<?php echo L_ARTICLE_URL_FIELD ?> : <a class="hint"><span><?php echo L_ARTICLE_URL_FIELD_TITLE ?></span></a>
|
||||||
|
</label>
|
||||||
<?php plxUtils::printInput('url',$url,'text','27-255'); ?>
|
<?php plxUtils::printInput('url',$url,'text','27-255'); ?>
|
||||||
|
</div>
|
||||||
<p><label for="id_template"><?php echo L_ARTICLE_TEMPLATE_FIELD ?> :</label></p>
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_template"><?php echo L_ARTICLE_TEMPLATE_FIELD ?> :</label>
|
||||||
<?php plxUtils::printSelect('template', $aTemplates, $template); ?>
|
<?php plxUtils::printSelect('template', $aTemplates, $template); ?>
|
||||||
|
</div>
|
||||||
<p><label for="id_title_htmltag"><?php echo L_ARTICLE_TITLE_HTMLTAG ?> :</label></p>
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_title_htmltag"><?php echo L_ARTICLE_TITLE_HTMLTAG ?> :</label>
|
||||||
<?php plxUtils::printInput('title_htmltag',plxUtils::strCheck($title_htmltag),'text','27-255'); ?>
|
<?php plxUtils::printInput('title_htmltag',plxUtils::strCheck($title_htmltag),'text','27-255'); ?>
|
||||||
|
</div>
|
||||||
<p><label for="id_meta_description"><?php echo L_ARTICLE_META_DESCRIPTION ?> :</label></p>
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_meta_description"><?php echo L_ARTICLE_META_DESCRIPTION ?> :</label>
|
||||||
<?php plxUtils::printInput('meta_description',plxUtils::strCheck($meta_description),'text','27-255'); ?>
|
<?php plxUtils::printInput('meta_description',plxUtils::strCheck($meta_description),'text','27-255'); ?>
|
||||||
|
</div>
|
||||||
<p><label for="id_meta_keywords"><?php echo L_ARTICLE_META_KEYWORDS ?> :</label></p>
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_meta_keywords"><?php echo L_ARTICLE_META_KEYWORDS ?> :</label>
|
||||||
<?php plxUtils::printInput('meta_keywords',plxUtils::strCheck($meta_keywords),'text','27-255'); ?>
|
<?php plxUtils::printInput('meta_keywords',plxUtils::strCheck($meta_keywords),'text','27-255'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminArticleSidebar')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminArticleSidebar')) # Hook Plugins ?>
|
||||||
|
|
||||||
<?php if($artId != '0000') : ?>
|
<?php if($artId != '0000') : ?>
|
||||||
<ul class="opts">
|
<ul class="unstyled-list">
|
||||||
<li> <a href="comments.php?a=<?php echo $artId ?>&page=1" title="<?php echo L_ARTICLE_MANAGE_COMMENTS_TITLE ?>"><?php echo L_ARTICLE_MANAGE_COMMENTS ?></a></li>
|
<li><a href="comments.php?a=<?php echo $artId ?>&page=1" title="<?php echo L_ARTICLE_MANAGE_COMMENTS_TITLE ?>"><?php echo L_ARTICLE_MANAGE_COMMENTS ?></a></li>
|
||||||
<li> <a href="comment_new.php?a=<?php echo $artId ?>" title="<?php echo L_ARTICLE_NEW_COMMENT_TITLE ?>"><?php echo L_ARTICLE_NEW_COMMENT ?></a></li>
|
<li><a href="comment_new.php?a=<?php echo $artId ?>" title="<?php echo L_ARTICLE_NEW_COMMENT_TITLE ?>"><?php echo L_ARTICLE_NEW_COMMENT ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
</div><!-- extra sidebar -->
|
|
||||||
|
|
||||||
<div id="extra-content">
|
|
||||||
|
|
||||||
<p class="back"><a href="index.php"><?php echo L_BACK_TO_ARTICLES ?></a></p>
|
|
||||||
|
|
||||||
<h2><?php echo (empty($_GET['a']))?L_MENU_NEW_ARTICLES:L_ARTICLE_EDITING; ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminArticleTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<div class="form_content">
|
|
||||||
<fieldset>
|
|
||||||
<?php plxUtils::printInput('artId',$artId,'hidden'); ?>
|
|
||||||
<p><label for="id_title"><?php echo L_ARTICLE_TITLE ?> :</label></p>
|
|
||||||
<?php plxUtils::printInput('title',plxUtils::strCheck($title),'text','42-255'); ?>
|
|
||||||
<p id="p_chapo">
|
|
||||||
<label for="id_chapo"><?php echo L_HEADLINE_FIELD ?> :</label>
|
|
||||||
|
|
||||||
<a id="toggler_chapo" href="javascript:void(0)" onclick="toggleDiv('toggle_chapo', 'toggler_chapo', '<?php echo L_ARTICLE_CHAPO_DISPLAY ?>','<?php echo L_ARTICLE_CHAPO_HIDE ?>')"><?php echo $chapo==''?L_ARTICLE_CHAPO_DISPLAY:L_ARTICLE_CHAPO_HIDE ?></a>
|
|
||||||
</p>
|
|
||||||
<div id="toggle_chapo"<?php echo $chapo!=''?'':' style="display:none"' ?>><?php plxUtils::printArea('chapo',plxUtils::strCheck($chapo),35,8); ?></div>
|
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_CONTENT_FIELD ?> :</label></p>
|
|
||||||
<?php plxUtils::printArea('content',plxUtils::strCheck($content),35,28); ?>
|
|
||||||
<?php if($artId!='' AND $artId!='0000') : ?>
|
|
||||||
<?php $link = $plxAdmin->urlRewrite('index.php?article'.intval($artId).'/'.$url) ?>
|
|
||||||
<p id="p_link"><label for="id_link"><?php echo L_LINK_FIELD ?> : </label>
|
|
||||||
<?php echo '<a onclick="this.target=\'_blank\';return true;" href="'.$link.'" title="'.L_LINK_ACCESS.'">'.L_LINK_VIEW.'</a>'; ?>
|
|
||||||
</p>
|
|
||||||
<?php echo '<input id="id_link" onclick="this.select()" class="readonly" readonly="readonly" type="text" value="'.$link.'" />' ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
</fieldset>
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminArticleContent')) ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form_bottom">
|
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
<input class="button preview" type="submit" name="preview" onclick="this.form.target='_blank';return true;" value="<?php echo L_ARTICLE_PREVIEW_BUTTON ?>"/>
|
|
||||||
<?php
|
|
||||||
if($_SESSION['profil']>PROFIL_MODERATOR AND $plxAdmin->aConf['mod_art']) {
|
|
||||||
if(in_array('draft', $catId)) { # brouillon
|
|
||||||
if($artId!='0000') # nouvel article
|
|
||||||
echo '<input class="button delete" type="submit" name="delete" value="'.L_DELETE.'" onclick="Check=confirm(\''.L_ARTICLE_DELETE_CONFIRM.'\');if(Check==false) {return false;} else {this.form.target=\'_self\';return true;}" />';
|
|
||||||
echo '<input class="button" onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="'.L_ARTICLE_DRAFT_BUTTON.'"/>';
|
|
||||||
echo '<input class="button submit" onclick="this.form.target=\'_self\';return true;" type="submit" name="moderate" value="'.L_ARTICLE_MODERATE_BUTTON.'"/>';
|
|
||||||
} else {
|
|
||||||
if(isset($_GET['a']) AND preg_match('/^_[0-9]{4}$/',$_GET['a'])) { # en attente
|
|
||||||
echo '<input class="button delete" type="submit" name="delete" value="'.L_DELETE.'" onclick="Check=confirm(\''.L_ARTICLE_DELETE_CONFIRM.'\');if(Check==false) {return false;} else {this.form.target=\'_self\';return true;}" />';
|
|
||||||
echo '<input class="button" onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="'.L_ARTICLE_DRAFT_BUTTON.'"/>';
|
|
||||||
echo '<input class="button update" onclick="this.form.target=\'_self\';return true;" type="submit" name="update" value="' . L_ARTICLE_UPDATE_BUTTON . '"/>';
|
|
||||||
} else {
|
|
||||||
echo '<input class="button" onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="'.L_ARTICLE_DRAFT_BUTTON.'"/>';
|
|
||||||
echo '<input class="button submit" onclick="this.form.target=\'_self\';return true;" type="submit" name="moderate" value="'.L_ARTICLE_MODERATE_BUTTON.'"/>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if($artId!='0000')
|
|
||||||
echo '<input class="button delete" type="submit" name="delete" value="'.L_DELETE.'" onclick="Check=confirm(\''.L_ARTICLE_DELETE_CONFIRM.'\');if(Check==false) {return false;} else {this.form.target=\'_self\';return true;}" />';
|
|
||||||
if(in_array('draft', $catId)) {
|
|
||||||
echo '<input class="button" onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="' . L_ARTICLE_DRAFT_BUTTON . '"/>';
|
|
||||||
echo '<input class="button submit" onclick="this.form.target=\'_self\';return true;" type="submit" name="publish" value="' . L_ARTICLE_PUBLISHING_BUTTON . '"/>';
|
|
||||||
} else {
|
|
||||||
if(!isset($_GET['a']) OR preg_match('/^_[0-9]{4}$/',$_GET['a']))
|
|
||||||
echo '<input class="button submit" onclick="this.form.target=\'_self\';return true;" type="submit" name="publish" value="' . L_ARTICLE_PUBLISHING_BUTTON . '"/>';
|
|
||||||
else
|
|
||||||
echo '<input class="button" onclick="this.form.target=\'_self\';return true;" type="submit" name="draft" value="' . L_ARTICLE_OFFLINE_BUTTON . '"/>';
|
|
||||||
echo '<input class="button update" onclick="this.form.target=\'_self\';return true;" type="submit" name="update" value="' . L_ARTICLE_UPDATE_BUTTON . '"/>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div><!-- extra-content -->
|
|
||||||
|
|
||||||
</div><!-- extra container -->
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
# Hook Plugins
|
# Hook Plugins
|
||||||
|
|
|
@ -62,13 +62,14 @@ if(!empty($_GET['d']) AND $_GET['d']==1) {
|
||||||
if(!empty($_POST['login']) AND !empty($_POST['password'])) {
|
if(!empty($_POST['login']) AND !empty($_POST['password'])) {
|
||||||
$connected = false;
|
$connected = false;
|
||||||
foreach($plxAdmin->aUsers as $userid => $user) {
|
foreach($plxAdmin->aUsers as $userid => $user) {
|
||||||
if ($_POST['login']==$user['login'] AND sha1($user['salt'].md5($_POST['password']))==$user['password'] AND $user['active'] AND !$user['delete']) {
|
if ($_POST['login']==$user['login'] AND sha1($user['salt'].md5($_POST['password']))===$user['password'] AND $user['active'] AND !$user['delete']) {
|
||||||
$_SESSION['user'] = $userid;
|
$_SESSION['user'] = $userid;
|
||||||
$_SESSION['profil'] = $user['profil'];
|
$_SESSION['profil'] = $user['profil'];
|
||||||
$_SESSION['hash'] = plxUtils::charAleatoire(10);
|
$_SESSION['hash'] = plxUtils::charAleatoire(10);
|
||||||
$_SESSION['domain'] = $session_domain;
|
$_SESSION['domain'] = $session_domain;
|
||||||
$_SESSION['lang'] = $user['lang'];
|
$_SESSION['lang'] = $user['lang'];
|
||||||
$connected = true;
|
$connected = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($connected) {
|
if($connected) {
|
||||||
|
@ -81,36 +82,58 @@ if(!empty($_POST['login']) AND !empty($_POST['password'])) {
|
||||||
}
|
}
|
||||||
plxUtils::cleanHeaders();
|
plxUtils::cleanHeaders();
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $plxAdmin->aConf['default_lang'] ?>" lang="<?php echo $plxAdmin->aConf['default_lang'] ?>">
|
|
||||||
|
<html lang="<?php echo $plxAdmin->aConf['default_lang'] ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta name="robots" content="noindex, nofollow" />
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
<title>PluXml - <?php echo L_AUTH_PAGE_TITLE ?></title>
|
<title>PluXml - <?php echo L_AUTH_PAGE_TITLE ?></title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(PLX_CHARSET); ?>" />
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(PLX_CHARSET); ?>" />
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/auth.css" media="screen" />
|
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/plucss.css" media="screen" />
|
||||||
<link rel="icon" href="<?php echo PLX_CORE ?>admin/theme/images/pluxml.gif" />
|
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/theme.css" media="screen" />
|
||||||
|
<link rel="icon" href="<?php echo PLX_CORE ?>admin/theme/images/favicon.png" />
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminAuthEndHead')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminAuthEndHead')) ?>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="auth">
|
<body>
|
||||||
<div id="login">
|
|
||||||
|
<main class="container">
|
||||||
|
<section class="grid">
|
||||||
|
<div class="auth col sml-12 sml-centered med-5 lrg-3">
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminAuthTop')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminAuthTop')) ?>
|
||||||
<form action="auth.php<?php echo !empty($redirect)?'?p='.plxUtils::strCheck(urlencode($redirect)):'' ?>" method="post" id="form_auth">
|
<form action="auth.php<?php echo !empty($redirect)?'?p='.plxUtils::strCheck(urlencode($redirect)):'' ?>" method="post" id="form_auth">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<div class="title"><?php echo L_LOGIN_PAGE ?></div>
|
<h1 class="h5 text-center"><strong><?php echo L_LOGIN_PAGE ?></strong></h1>
|
||||||
<?php (!empty($msg))?plxUtils::showMsg($msg, $error):''; ?>
|
<?php (!empty($msg))?plxUtils::showMsg($msg, $error):''; ?>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
<label for="id_login"><?php echo L_AUTH_LOGIN_FIELD ?> :</label>
|
<label for="id_login"><?php echo L_AUTH_LOGIN_FIELD ?> :</label>
|
||||||
<?php plxUtils::printInput('login', (!empty($_POST['login']))?plxUtils::strCheck($_POST['login']):'', 'text', '18-255');?>
|
<?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 ?> :</label>
|
<label for="id_password"><?php echo L_AUTH_PASSWORD_FIELD ?> :</label>
|
||||||
<?php plxUtils::printInput('password', '', 'password','18-255');?>
|
<?php plxUtils::printInput('password', '', 'password','10-255',false,'full-width');?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminAuth')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminAuth')) ?>
|
||||||
<p><input class="button submit" type="submit" value="<?php echo L_SUBMIT_BUTTON ?>" /></p>
|
<div class="grid">
|
||||||
|
<div class="col sml-12 text-center">
|
||||||
|
<input class="blue" type="submit" value="<?php echo L_SUBMIT_BUTTON ?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
<p><a href="<?php echo PLX_ROOT; ?>"><?php echo L_BACK_TO_SITE ?></a> | <?php echo L_POWERED_BY ?></p>
|
<p class="text-center">
|
||||||
</div>
|
<a class="back" href="<?php echo PLX_ROOT; ?>"><?php echo L_BACK_TO_SITE ?></a> - <?php echo L_POWERED_BY ?>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminAuthEndBody')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminAuthEndBody')) ?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -36,44 +36,70 @@ elseif(!empty($_GET['p'])) { # On vérifie l'existence de la catégorie
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
# On récupère les templates des categories
|
# On récupère les templates des catégories
|
||||||
|
$aTemplates = array();
|
||||||
$files = plxGlob::getInstance(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style']);
|
$files = plxGlob::getInstance(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style']);
|
||||||
if ($array = $files->query('/^categorie(-[a-z0-9-_]+)?.php$/')) {
|
if ($array = $files->query('/^categorie(-[a-z0-9-_]+)?.php$/')) {
|
||||||
foreach($array as $k=>$v)
|
foreach($array as $k=>$v)
|
||||||
$aTemplates[$v] = $v;
|
$aTemplates[$v] = $v;
|
||||||
}
|
}
|
||||||
|
if(empty($aTemplates)) $aTemplates[''] = L_NONE1;
|
||||||
|
|
||||||
# On inclut le header
|
# On inclut le header
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p class="back"><a href="categorie.php"><?php echo L_EDITCAT_BACK_TO_PAGE ?></a></p>
|
|
||||||
|
|
||||||
<h2><?php echo L_EDITCAT_PAGE_TITLE ?> "<?php echo plxUtils::strCheck($plxAdmin->aCats[$id]['name']); ?>"</h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminCategoryTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="categorie.php" method="post" id="form_category">
|
<form action="categorie.php" method="post" id="form_category">
|
||||||
|
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_EDITCAT_PAGE_TITLE ?> "<?php echo plxUtils::strCheck($plxAdmin->aCats[$id]['name']); ?>"</h2>
|
||||||
|
<p><a class="back" href="categorie.php"><?php echo L_EDITCAT_BACK_TO_PAGE ?></a></p>
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
<input type="submit" value="<?php echo L_EDITCAT_UPDATE ?>"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminCategoryTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
<?php plxUtils::printInput('id', $id, 'hidden');?>
|
<?php plxUtils::printInput('id', $id, 'hidden');?>
|
||||||
<p><label for="id_homepage"><?php echo L_EDITCAT_DISPLAY_HOMEPAGE ?> :</label></p>
|
<label for="id_homepage"><?php echo L_EDITCAT_DISPLAY_HOMEPAGE ?> :</label>
|
||||||
<?php plxUtils::printSelect('homepage',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aCats[$id]['homepage']);?>
|
<?php plxUtils::printSelect('homepage',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aCats[$id]['homepage']);?>
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_EDITCAT_DESCRIPTION ?> :</label></p>
|
</div>
|
||||||
<?php plxUtils::printArea('content',plxUtils::strCheck($plxAdmin->aCats[$id]['description']),95,8) ?>
|
</div>
|
||||||
<p><label for="id_template"><?php echo L_EDITCAT_TEMPLATE ?> :</label></p>
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_content"><?php echo L_EDITCAT_DESCRIPTION ?> :</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 ?> :</label>
|
||||||
<?php plxUtils::printSelect('template', $aTemplates, $plxAdmin->aCats[$id]['template']) ?>
|
<?php plxUtils::printSelect('template', $aTemplates, $plxAdmin->aCats[$id]['template']) ?>
|
||||||
<p><label for="id_title_htmltag"><?php echo L_EDITCAT_TITLE_HTMLTAG ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_title_htmltag"><?php echo L_EDITCAT_TITLE_HTMLTAG ?> :</label>
|
||||||
<?php plxUtils::printInput('title_htmltag',plxUtils::strCheck($plxAdmin->aCats[$id]['title_htmltag']),'text','50-255'); ?>
|
<?php plxUtils::printInput('title_htmltag',plxUtils::strCheck($plxAdmin->aCats[$id]['title_htmltag']),'text','50-255'); ?>
|
||||||
<p><label for="id_meta_description"><?php echo L_EDITCAT_META_DESCRIPTION ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_meta_description"><?php echo L_EDITCAT_META_DESCRIPTION ?> :</label>
|
||||||
<?php plxUtils::printInput('meta_description',plxUtils::strCheck($plxAdmin->aCats[$id]['meta_description']),'text','50-255') ?>
|
<?php plxUtils::printInput('meta_description',plxUtils::strCheck($plxAdmin->aCats[$id]['meta_description']),'text','50-255') ?>
|
||||||
<p><label for="id_meta_keywords"><?php echo L_EDITCAT_META_KEYWORDS ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_meta_keywords"><?php echo L_EDITCAT_META_KEYWORDS ?> :</label>
|
||||||
<?php plxUtils::printInput('meta_keywords',plxUtils::strCheck($plxAdmin->aCats[$id]['meta_keywords']),'text','50-255') ?>
|
<?php plxUtils::printInput('meta_keywords',plxUtils::strCheck($plxAdmin->aCats[$id]['meta_keywords']),'text','50-255') ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminCategory')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminCategory')) # Hook Plugins ?>
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
<input class="button update" type="submit" value="<?php echo L_EDITCAT_UPDATE ?>"/>
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -32,16 +32,26 @@ $aTri = array('desc'=>L_SORT_DESCENDING_DATE, 'asc'=>L_SORT_ASCENDING_DATE, 'alp
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_CAT_TITLE ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminCategoriesTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="categories.php" method="post" id="form_categories">
|
<form action="categories.php" method="post" id="form_categories">
|
||||||
<table class="table">
|
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_CAT_TITLE ?></h2>
|
||||||
|
<p><a class="back" href="index.php"><?php echo L_BACK_TO_ARTICLES ?></a></p>
|
||||||
|
<?php plxUtils::printSelect('selection', array( '' => L_FOR_SELECTION, 'delete' => L_DELETE), '', false, 'no-margin', 'id_selection') ?>
|
||||||
|
<input type="submit" name="submit" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection', 'delete', 'idCategory[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
|
||||||
|
<input type="submit" name="update" value="<?php echo L_CAT_APPLY_BUTTON ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminCategoriesTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<div class="scrollable-table">
|
||||||
|
<table id="categories-table" class="full-width">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idCategory[]')" /></th>
|
<th><input type="checkbox" onclick="checkAll(this.form, 'idCategory[]')" /></th>
|
||||||
<th class="title"><?php echo L_CAT_LIST_ID ?></th>
|
<th><?php echo L_CAT_LIST_ID.' '.L_CATEGORY ?></th>
|
||||||
<th><?php echo L_CAT_LIST_NAME ?></th>
|
<th><?php echo L_CAT_LIST_NAME ?></th>
|
||||||
<th><?php echo L_CAT_LIST_URL ?></th>
|
<th><?php echo L_CAT_LIST_URL ?></th>
|
||||||
<th><?php echo L_CAT_LIST_ACTIVE ?></th>
|
<th><?php echo L_CAT_LIST_ACTIVE ?></th>
|
||||||
|
@ -62,18 +72,18 @@ include(dirname(__FILE__).'/top.php');
|
||||||
$ordre = ++$num;
|
$ordre = ++$num;
|
||||||
echo '<tr class="line-'.($num%2).'">';
|
echo '<tr class="line-'.($num%2).'">';
|
||||||
echo '<td><input type="checkbox" name="idCategory[]" value="'.$k.'" /><input type="hidden" name="catNum[]" value="'.$k.'" /></td>';
|
echo '<td><input type="checkbox" name="idCategory[]" value="'.$k.'" /><input type="hidden" name="catNum[]" value="'.$k.'" /></td>';
|
||||||
echo '<td>'.L_CATEGORY.' '.$k.'</td><td>';
|
echo '<td>'.$k.'</td><td>';
|
||||||
plxUtils::printInput($k.'_name', plxUtils::strCheck($v['name']), 'text', '15-50');
|
plxUtils::printInput($k.'_name', plxUtils::strCheck($v['name']), 'text', '10-50');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($k.'_url', $v['url'], 'text', '15-50');
|
plxUtils::printInput($k.'_url', $v['url'], 'text', '10-50');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($k.'_active', array('1'=>L_YES,'0'=>L_NO), $v['active']);
|
plxUtils::printSelect($k.'_active', array('1'=>L_YES,'0'=>L_NO), $v['active']);
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($k.'_tri', $aTri, $v['tri']);
|
plxUtils::printSelect($k.'_tri', $aTri, $v['tri']);
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($k.'_bypage', $v['bypage'], 'text', '4-3');
|
plxUtils::printInput($k.'_bypage', $v['bypage'], 'text', '1-3');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($k.'_ordre', $ordre, 'text', '3-3');
|
plxUtils::printInput($k.'_ordre', $ordre, 'text', '1-3');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($k.'_menu', array('oui'=>L_DISPLAY,'non'=>L_HIDE), $v['menu']);
|
plxUtils::printSelect($k.'_menu', array('oui'=>L_DISPLAY,'non'=>L_HIDE), $v['menu']);
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
|
@ -95,17 +105,17 @@ include(dirname(__FILE__).'/top.php');
|
||||||
<?php
|
<?php
|
||||||
echo '<input type="hidden" name="catNum[]" value="'.$new_catid.'" />';
|
echo '<input type="hidden" name="catNum[]" value="'.$new_catid.'" />';
|
||||||
plxUtils::printInput($new_catid.'_template', 'categorie.php', 'hidden');
|
plxUtils::printInput($new_catid.'_template', 'categorie.php', 'hidden');
|
||||||
plxUtils::printInput($new_catid.'_name', '', 'text', '15-50');
|
plxUtils::printInput($new_catid.'_name', '', 'text', '10-50');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($new_catid.'_url', '', 'text', '15-50');
|
plxUtils::printInput($new_catid.'_url', '', 'text', '10-50');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($new_catid.'_active', array('1'=>L_YES,'0'=>L_NO), '1');
|
plxUtils::printSelect($new_catid.'_active', array('1'=>L_YES,'0'=>L_NO), '1');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($new_catid.'_tri', $aTri, $plxAdmin->aConf['tri']);
|
plxUtils::printSelect($new_catid.'_tri', $aTri, $plxAdmin->aConf['tri']);
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($new_catid.'_bypage', $plxAdmin->aConf['bypage'], 'text', '4-3');
|
plxUtils::printInput($new_catid.'_bypage', $plxAdmin->aConf['bypage'], 'text', '1-3');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($new_catid.'_ordre', ++$num, 'text', '3-3');
|
plxUtils::printInput($new_catid.'_ordre', ++$num, 'text', '1-3');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($new_catid.'_menu', array('oui'=>L_DISPLAY,'non'=>L_HIDE), '1');
|
plxUtils::printSelect($new_catid.'_menu', array('oui'=>L_DISPLAY,'non'=>L_HIDE), '1');
|
||||||
echo '</td><td> ';
|
echo '</td><td> ';
|
||||||
|
@ -114,14 +124,8 @@ include(dirname(__FILE__).'/top.php');
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="center">
|
</div>
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
<input class="button update " type="submit" name="update" value="<?php echo L_CAT_APPLY_BUTTON ?>" />
|
|
||||||
</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', 'idCategory[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -113,65 +113,93 @@ include(dirname(__FILE__).'/top.php');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if(!empty($_GET['a'])) : ?>
|
<form action="comment.php<?php echo (!empty($_GET['a'])?'?a='.plxUtils::strCheck($_GET['a']):'') ?>" method="post" id="form_comment">
|
||||||
<p class="back"><a href="comments.php?a=<?php echo $_GET['a'] ?>"><?php echo L_BACK_TO_ARTICLE_COMMENTS ?></a></p>
|
|
||||||
<?php else : ?>
|
|
||||||
<p class="back"><a href="comments.php"><?php echo L_BACK_TO_COMMENTS ?></a></p>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<h2><?php echo L_COMMENT_EDITING ?></h2>
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_COMMENT_EDITING ?></h2>
|
||||||
|
<?php if(!empty($_GET['a'])) : ?>
|
||||||
|
<p><a class="back" href="comments.php?a=<?php echo $_GET['a'] ?>"><?php echo L_BACK_TO_ARTICLE_COMMENTS ?></a></p>
|
||||||
|
<?php else : ?>
|
||||||
|
<p><a class="back" href="comments.php"><?php echo L_BACK_TO_COMMENTS ?></a></p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if($com['comStatus']=='') : ?>
|
||||||
|
<input type="submit" name="offline" value="<?php echo L_COMMENT_OFFLINE_BUTTON ?>" />
|
||||||
|
<input type="submit" name="answer" value="<?php echo L_COMMENT_ANSWER_BUTTON ?>" />
|
||||||
|
<?php else : ?>
|
||||||
|
<input type="submit" name="online" value="<?php echo L_COMMENT_PUBLISH_BUTTON ?>" />
|
||||||
|
<?php endif; ?>
|
||||||
|
<input type="submit" name="update" value="<?php echo L_COMMENT_UPDATE_BUTTON ?>" />
|
||||||
|
<input class="red" type="submit" name="delete" value="<?php echo L_DELETE ?>" onclick="Check=confirm('<?php echo L_COMMENT_DELETE_CONFIRM ?>');if(Check==false) return false;"/>
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentTop')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
<ul>
|
<ul class="unstyled-list">
|
||||||
<li><?php echo L_COMMENT_IP_FIELD ?> : <?php echo $plxAdmin->plxRecord_coms->f('ip'); ?></li>
|
<li><?php echo L_COMMENT_IP_FIELD ?> : <?php echo $plxAdmin->plxRecord_coms->f('ip'); ?></li>
|
||||||
<li><?php echo L_COMMENT_STATUS_FIELD ?> : <?php echo $statut; ?></li>
|
<li><?php echo L_COMMENT_STATUS_FIELD ?> : <?php echo $statut; ?></li>
|
||||||
<li><?php echo L_COMMENT_TYPE_FIELD ?> : <strong><?php echo $plxAdmin->plxRecord_coms->f('type'); ?></strong></li>
|
<li><?php echo L_COMMENT_TYPE_FIELD ?> : <strong><?php echo $plxAdmin->plxRecord_coms->f('type'); ?></strong></li>
|
||||||
<li><?php echo L_COMMENT_LINKED_ARTICLE_FIELD ?> : <?php echo $article; ?></li>
|
<li><?php echo L_COMMENT_LINKED_ARTICLE_FIELD ?> : <?php echo $article; ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
<form action="comment.php<?php echo (!empty($_GET['a'])?'?a='.plxUtils::strCheck($_GET['a']):'') ?>" method="post" id="form_comment">
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<?php plxUtils::printInput('comId',$_GET['c'],'hidden'); ?>
|
<?php plxUtils::printInput('comId',$_GET['c'],'hidden'); ?>
|
||||||
|
|
||||||
<p><label><?php echo L_COMMENT_DATE_FIELD ?> :</label></p>
|
<div class="grid inline-form">
|
||||||
<?php plxUtils::printInput('day',$date['day'],'text','2-2',false,'fld1'); ?>
|
<div class="col sml-12">
|
||||||
<?php plxUtils::printInput('month',$date['month'],'text','2-2',false,'fld1'); ?>
|
<label><?php echo L_COMMENT_DATE_FIELD ?> :</label>
|
||||||
<?php plxUtils::printInput('year',$date['year'],'text','2-4',false,'fld2'); ?>
|
<?php plxUtils::printInput('day',$date['day'],'text','2-2',false,'no-margin'); ?>
|
||||||
<?php plxUtils::printInput('time',$date['time'],'text','2-5',false,'fld2'); ?>
|
<?php plxUtils::printInput('month',$date['month'],'text','2-2',false,'no-margin'); ?>
|
||||||
|
<?php plxUtils::printInput('year',$date['year'],'text','2-4',false,'no-margin'); ?>
|
||||||
|
<?php plxUtils::printInput('time',$date['time'],'text','2-5',false,'no-margin'); ?>
|
||||||
<a href="javascript:void(0)" onclick="dateNow(<?php echo date('Z') ?>); return false;" title="<?php L_NOW; ?>"><img src="theme/images/date.png" alt="" /></a>
|
<a href="javascript:void(0)" onclick="dateNow(<?php echo date('Z') ?>); return false;" title="<?php L_NOW; ?>"><img src="theme/images/date.png" alt="" /></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p><label for="id_author"><?php echo L_COMMENT_AUTHOR_FIELD ?> :</label></p>
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_author"><?php echo L_COMMENT_AUTHOR_FIELD ?> :</label>
|
||||||
<?php plxUtils::printInput('author',plxUtils::strCheck($plxAdmin->plxRecord_coms->f('author')),'text','40-255') ?>
|
<?php plxUtils::printInput('author',plxUtils::strCheck($plxAdmin->plxRecord_coms->f('author')),'text','40-255') ?>
|
||||||
<p><label for="id_site"><?php echo L_COMMENT_SITE_FIELD ?></label></p>
|
</div>
|
||||||
<?php
|
</div>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_site">
|
||||||
|
<?php echo L_COMMENT_SITE_FIELD.' : ';
|
||||||
$site = plxUtils::strCheck($plxAdmin->plxRecord_coms->f('site'));
|
$site = plxUtils::strCheck($plxAdmin->plxRecord_coms->f('site'));
|
||||||
plxUtils::printInput('site',$site,'text','40-255');
|
|
||||||
if($site != '') echo '<a href="'.$site.'">'.$site.'</a>';
|
if($site != '') echo '<a href="'.$site.'">'.$site.'</a>';
|
||||||
?>
|
?>
|
||||||
<p><label for="id_mail"><?php echo L_COMMENT_EMAIL_FIELD ?> :</label></p>
|
</label>
|
||||||
<?php plxUtils::printInput('mail',plxUtils::strCheck($plxAdmin->plxRecord_coms->f('mail')),'text','40-255') ?>
|
<?php
|
||||||
|
plxUtils::printInput('site',$site,'text','40-255');
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_mail"><?php echo L_COMMENT_EMAIL_FIELD ?> :
|
||||||
<?php if($plxAdmin->plxRecord_coms->f('mail') != '') : ?>
|
<?php if($plxAdmin->plxRecord_coms->f('mail') != '') : ?>
|
||||||
<?php echo '<a href="mailto:'.$plxAdmin->plxRecord_coms->f('mail').'">'.$plxAdmin->plxRecord_coms->f('mail').'</a>' ?>
|
<?php echo '<a href="mailto:'.$plxAdmin->plxRecord_coms->f('mail').'">'.$plxAdmin->plxRecord_coms->f('mail').'</a>' ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_COMMENT_ARTICLE_FIELD ?> :</label></p>
|
</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 if($plxAdmin->plxRecord_coms->f('type') == 'admin') : ?>
|
||||||
<?php plxUtils::printArea('content',plxUtils::strCheck($plxAdmin->plxRecord_coms->f('content')), 60, 7); ?>
|
<?php plxUtils::printArea('content',plxUtils::strCheck($plxAdmin->plxRecord_coms->f('content')), 60, 7,false,'full-width'); ?>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<?php plxUtils::printArea('content',$plxAdmin->plxRecord_coms->f('content'), 60, 7); ?>
|
<?php plxUtils::printArea('content',$plxAdmin->plxRecord_coms->f('content'), 60, 7,false,'full-width'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminComment')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminComment')) # Hook Plugins ?>
|
||||||
<p class="center">
|
</div>
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
</div>
|
||||||
<input class="button delete" type="submit" name="delete" value="<?php echo L_DELETE ?>" onclick="Check=confirm('<?php echo L_COMMENT_DELETE_CONFIRM ?>');if(Check==false) return false;"/>
|
|
||||||
|
|
||||||
<?php if($com['comStatus']=='') : ?>
|
|
||||||
<input class="button submit" type="submit" name="offline" value="<?php echo L_COMMENT_OFFLINE_BUTTON ?>" />
|
|
||||||
<input class="button submit" type="submit" name="answer" value="<?php echo L_COMMENT_ANSWER_BUTTON ?>" />
|
|
||||||
<?php else : ?>
|
|
||||||
<input class="button submit" type="submit" name="online" value="<?php echo L_COMMENT_PUBLISH_BUTTON ?>" />
|
|
||||||
<?php endif; ?>
|
|
||||||
<input class="button update" type="submit" name="update" value="<?php echo L_COMMENT_UPDATE_BUTTON ?>" />
|
|
||||||
</p>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -104,55 +104,55 @@ if(!empty($_POST) AND !empty($_POST['content'])) {
|
||||||
# On inclut le header
|
# On inclut le header
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
<form action="comment_new.php?<?php echo plxUtils::strCheck($get) ?>" method="post" id="form_comment">
|
||||||
|
|
||||||
<?php if(!empty($_GET['a'])) : ?>
|
<div class="inline-form action-bar">
|
||||||
<p class="back"><a href="comments.php?a=<?php echo $_GET['a']; ?>"><?php echo L_BACK_TO_ARTICLE_COMMENTS ?></a></p>
|
<h2><?php echo L_CREATE_NEW_COMMENT ?></h2>
|
||||||
<?php else : ?>
|
<?php if(!empty($_GET['a'])) : ?>
|
||||||
<p class="back"><a href="comments.php"><?php echo L_BACK_TO_COMMENTS ?></a></p>
|
<p><a class="back" href="comments.php?a=<?php echo $_GET['a']; ?>"><?php echo L_BACK_TO_ARTICLE_COMMENTS ?></a></p>
|
||||||
<?php endif; ?>
|
<?php else : ?>
|
||||||
|
<p><a class="back" href="comments.php"><?php echo L_BACK_TO_COMMENTS ?></a></p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<input type="submit" name="create" value="<?php echo L_COMMENT_SAVE_BUTTON ?>"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h2><?php echo L_CREATE_NEW_COMMENT ?></h2>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentNewTop')) # Hook Plugins ?>
|
||||||
<h3><?php echo L_COMMENTS_ARTICLE_SCOPE ?> «<?php echo plxUtils::strCheck($aArt['title']); ?>»</h3>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentNewTop')) # Hook Plugins ?>
|
<h3 class="no-margin"><?php echo L_COMMENTS_ARTICLE_SCOPE ?> «<?php echo plxUtils::strCheck($aArt['title']); ?>»</h3>
|
||||||
|
|
||||||
<ul class="comment_infos">
|
<ul class="unstyled-list">
|
||||||
<li><?php echo L_COMMENT_AUTHOR_FIELD ?> : <strong><?php echo plxUtils::strCheck($plxAdmin->aUsers[$_SESSION['user']]['name']); ?></strong></li>
|
<li><?php echo L_COMMENT_AUTHOR_FIELD ?> : <strong><?php echo plxUtils::strCheck($plxAdmin->aUsers[$_SESSION['user']]['name']); ?></strong></li>
|
||||||
<li><?php echo L_COMMENT_TYPE_FIELD ?> : <strong>admin</strong></li>
|
<li><?php echo L_COMMENT_TYPE_FIELD ?> : <strong>admin</strong></li>
|
||||||
<li><?php echo L_COMMENT_SITE_FIELD ?> : <?php echo '<a href="'.$plxAdmin->racine.'">'.$plxAdmin->racine.'</a>'; ?></li>
|
<li><?php echo L_COMMENT_SITE_FIELD ?> : <?php echo '<a href="'.$plxAdmin->racine.'">'.$plxAdmin->racine.'</a>'; ?></li>
|
||||||
<li><?php echo L_COMMENT_LINKED_ARTICLE_FIELD ?> : <?php echo $article; ?></li>
|
<li><?php echo L_COMMENT_LINKED_ARTICLE_FIELD ?> : <?php echo $article; ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<form action="comment_new.php?<?php echo plxUtils::strCheck($get) ?>" method="post" id="form_comment">
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_USER_INFOS ?> :</label></p>
|
<label for="id_content"><?php echo L_USER_INFOS ?> :</label>
|
||||||
<?php plxUtils::printArea('content',plxUtils::strCheck($content), 60, 7); ?>
|
<?php plxUtils::printArea('content',plxUtils::strCheck($content), 60, 7, false,'full-width'); ?>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentNew')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentNew')) # Hook Plugins ?>
|
||||||
<p class="center">
|
</div>
|
||||||
<input class="button new" type="submit" name="create" value="<?php echo L_COMMENT_SAVE_BUTTON ?>"/>
|
</div>
|
||||||
</p>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php if(isset($plxAdmin->plxRecord_coms)) : # On a des commentaires ?>
|
<?php if(isset($plxAdmin->plxRecord_coms)) : # On a des commentaires ?>
|
||||||
<h2><?php echo L_ARTICLE_COMMENTS_LIST ?></h2>
|
<h3 class="no-margin"><?php echo L_ARTICLE_COMMENTS_LIST ?></h3>
|
||||||
<div id="comments">
|
|
||||||
<?php while($plxAdmin->plxRecord_coms->loop()) : # On boucle ?>
|
<?php while($plxAdmin->plxRecord_coms->loop()) : # On boucle ?>
|
||||||
<?php $comId = $plxAdmin->plxRecord_coms->f('article').'.'.$plxAdmin->plxRecord_coms->f('numero'); ?>
|
<?php $comId = $plxAdmin->plxRecord_coms->f('article').'.'.$plxAdmin->plxRecord_coms->f('numero'); ?>
|
||||||
<div class="comment<?php echo ((isset($_GET['c']) AND $_GET['c']==$comId?' current':'')) ?>" id="c<?php echo $plxAdmin->plxRecord_coms->f('numero'); ?>">
|
<div class="comment<?php echo ((isset($_GET['c']) AND $_GET['c']==$comId)?' current':'') ?>" id="c<?php echo $plxAdmin->plxRecord_coms->f('numero'); ?>">
|
||||||
<div class="info_comment">
|
|
||||||
<p><?php echo L_COMMENT_WRITTEN_BY ?> <strong><?php echo $plxAdmin->plxRecord_coms->f('author'); ?></strong>
|
<p><?php echo L_COMMENT_WRITTEN_BY ?> <strong><?php echo $plxAdmin->plxRecord_coms->f('author'); ?></strong>
|
||||||
@ <?php echo plxDate::formatDate($plxAdmin->plxRecord_coms->f('date'), '#day #num_day #month #num_year(4) à #hour:#minute'); ?>
|
@ <?php echo plxDate::formatDate($plxAdmin->plxRecord_coms->f('date'), '#day #num_day #month #num_year(4) à #hour:#minute'); ?>
|
||||||
- <a href="comment.php<?php echo (!empty($_GET['a']))?'?c='.$comId.'&a='.$_GET['a']:'?c='.$comId; ?>" title="<?php echo L_COMMENT_EDIT_TITLE ?>"><?php echo L_COMMENT_EDIT ?></a>
|
- <a href="comment.php<?php echo (!empty($_GET['a']))?'?c='.$comId.'&a='.$_GET['a']:'?c='.$comId; ?>" title="<?php echo L_COMMENT_EDIT_TITLE ?>"><?php echo L_COMMENT_EDIT ?></a>
|
||||||
- <a href="javascript:answerCom('content','<?php echo $plxAdmin->plxRecord_coms->f('numero'); ?>','<?php echo plxUtils::strCheck($plxAdmin->plxRecord_coms->f('author')) ?>');" title="<?php echo L_COMMENT_ANSWER_TITLE ?>"><?php echo L_COMMENT_ANSWER ?></a>
|
- <a href="javascript:answerCom('content','<?php echo $plxAdmin->plxRecord_coms->f('numero'); ?>','<?php echo plxUtils::strCheck($plxAdmin->plxRecord_coms->f('author')) ?>');" title="<?php echo L_COMMENT_ANSWER_TITLE ?>"><?php echo L_COMMENT_ANSWER ?></a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
|
||||||
<blockquote class="type-<?php echo $plxAdmin->plxRecord_coms->f('type') ?>"><p><?php echo nl2br($plxAdmin->plxRecord_coms->f('content')); ?></p></blockquote>
|
<blockquote class="type-<?php echo $plxAdmin->plxRecord_coms->f('type') ?>"><p><?php echo nl2br($plxAdmin->plxRecord_coms->f('content')); ?></p></blockquote>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentNewList')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentNewList')) # Hook Plugins ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -18,12 +18,6 @@ eval($plxAdmin->plxPlugins->callHook('AdminCommentsPrepend'));
|
||||||
# Control de l'accès à la page en fonction du profil de l'utilisateur connecté
|
# Control de l'accès à la page en fonction du profil de l'utilisateur connecté
|
||||||
$plxAdmin->checkProfil(PROFIL_ADMIN, PROFIL_MANAGER, PROFIL_MODERATOR);
|
$plxAdmin->checkProfil(PROFIL_ADMIN, PROFIL_MANAGER, PROFIL_MODERATOR);
|
||||||
|
|
||||||
# Interdire de l'accès à la page si les commentaires sont désactivés
|
|
||||||
if(!$plxAdmin->aConf['allow_com']) {
|
|
||||||
header('Location: index.php');
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
# validation de l'id de l'article si passé en parametre
|
# validation de l'id de l'article si passé en parametre
|
||||||
if(isset($_GET['a']) AND !preg_match('/^_?[0-9]{4}$/',$_GET['a'])) {
|
if(isset($_GET['a']) AND !preg_match('/^_?[0-9]{4}$/',$_GET['a'])) {
|
||||||
plxMsg::Error(L_ERR_UNKNOWN_ARTICLE); # Article inexistant
|
plxMsg::Error(L_ERR_UNKNOWN_ARTICLE); # Article inexistant
|
||||||
|
@ -32,19 +26,19 @@ if(isset($_GET['a']) AND !preg_match('/^_?[0-9]{4}$/',$_GET['a'])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Suppression des commentaires selectionnes
|
# Suppression des commentaires selectionnes
|
||||||
if(isset($_POST['selection']) AND ((!empty($_POST['btn_ok1']) AND $_POST['selection'][0]=='delete') OR (!empty($_POST['btn_ok2']) AND $_POST['selection'][1]=='delete')) AND isset($_POST['idCom'])) {
|
if(isset($_POST['selection']) AND (!empty($_POST['btn_ok1']) AND $_POST['selection'][0]=='delete') AND isset($_POST['idCom'])) {
|
||||||
foreach ($_POST['idCom'] as $k => $v) $plxAdmin->delCommentaire($v);
|
foreach ($_POST['idCom'] as $k => $v) $plxAdmin->delCommentaire($v);
|
||||||
header('Location: comments.php'.(!empty($_GET['a'])?'?a='.$_GET['a']:''));
|
header('Location: comments.php'.(!empty($_GET['a'])?'?a='.$_GET['a']:''));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
# Validation des commentaires selectionnes
|
# Validation des commentaires selectionnes
|
||||||
elseif(isset($_POST['selection']) AND (!empty($_POST['btn_ok1']) AND ($_POST['selection'][0]=='online') OR (!empty($_POST['btn_ok2']) AND $_POST['selection'][1]=='online')) AND isset($_POST['idCom'])) {
|
elseif(isset($_POST['selection']) AND (!empty($_POST['btn_ok1']) AND $_POST['selection'][0]=='online') AND isset($_POST['idCom'])) {
|
||||||
foreach ($_POST['idCom'] as $k => $v) $plxAdmin->modCommentaire($v, 'online');
|
foreach ($_POST['idCom'] as $k => $v) $plxAdmin->modCommentaire($v, 'online');
|
||||||
header('Location: comments.php'.(!empty($_GET['a'])?'?a='.$_GET['a']:''));
|
header('Location: comments.php'.(!empty($_GET['a'])?'?a='.$_GET['a']:''));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
# Mise hors-ligne des commentaires selectionnes
|
# Mise hors-ligne des commentaires selectionnes
|
||||||
elseif (isset($_POST['selection']) AND ((!empty($_POST['btn_ok1']) AND $_POST['selection'][0]=='offline') OR (!empty($_POST['btn_ok2']) AND $_POST['selection'][1]=='offline')) AND isset($_POST['idCom'])) {
|
elseif (isset($_POST['selection']) AND (!empty($_POST['btn_ok1']) AND $_POST['selection'][0]=='offline') AND isset($_POST['idCom'])) {
|
||||||
foreach ($_POST['idCom'] as $k => $v) $plxAdmin->modCommentaire($v, 'offline');
|
foreach ($_POST['idCom'] as $k => $v) $plxAdmin->modCommentaire($v, 'offline');
|
||||||
header('Location: comments.php'.(!empty($_GET['a'])?'?a='.$_GET['a']:''));
|
header('Location: comments.php'.(!empty($_GET['a'])?'?a='.$_GET['a']:''));
|
||||||
exit;
|
exit;
|
||||||
|
@ -79,35 +73,35 @@ if(!empty($_GET['a'])) {
|
||||||
$comSelMotif = '/^[[:punct:]]?'.str_replace('_','',$_GET['a']).'.(.*).xml$/';
|
$comSelMotif = '/^[[:punct:]]?'.str_replace('_','',$_GET['a']).'.(.*).xml$/';
|
||||||
$_SESSION['selCom'] = 'all';
|
$_SESSION['selCom'] = 'all';
|
||||||
$nbComPagination=$plxAdmin->nbComments($comSelMotif);
|
$nbComPagination=$plxAdmin->nbComments($comSelMotif);
|
||||||
echo '<h2>'.L_COMMENTS_ALL_LIST.'</h2>';
|
$h2 = '<h2>'.L_COMMENTS_ALL_LIST.'</h2>';
|
||||||
}
|
}
|
||||||
elseif($comSel=='online') {
|
elseif($comSel=='online') {
|
||||||
$comSelMotif = '/^[0-9]{4}.(.*).xml$/';
|
$comSelMotif = '/^[0-9]{4}.(.*).xml$/';
|
||||||
$_SESSION['selCom'] = 'online';
|
$_SESSION['selCom'] = 'online';
|
||||||
$nbComPagination=$plxAdmin->nbComments('online');
|
$nbComPagination=$plxAdmin->nbComments('online');
|
||||||
echo '<h2>'.L_COMMENTS_ONLINE_LIST.'</h2>';
|
$h2 = '<h2>'.L_COMMENTS_ONLINE_LIST.'</h2>';
|
||||||
}
|
}
|
||||||
elseif($comSel=='offline') {
|
elseif($comSel=='offline') {
|
||||||
$comSelMotif = '/^_[0-9]{4}.(.*).xml$/';
|
$comSelMotif = '/^_[0-9]{4}.(.*).xml$/';
|
||||||
$_SESSION['selCom'] = 'offline';
|
$_SESSION['selCom'] = 'offline';
|
||||||
$nbComPagination=$plxAdmin->nbComments('offline');
|
$nbComPagination=$plxAdmin->nbComments('offline');
|
||||||
echo '<h2>'.L_COMMENTS_OFFLINE_LIST.'</h2>';
|
$h2 = '<h2>'.L_COMMENTS_OFFLINE_LIST.'</h2>';
|
||||||
}
|
}
|
||||||
elseif($comSel=='all') { // all
|
elseif($comSel=='all') { // all
|
||||||
$comSelMotif = '/^[[:punct:]]?[0-9]{4}.(.*).xml$/';
|
$comSelMotif = '/^[[:punct:]]?[0-9]{4}.(.*).xml$/';
|
||||||
$_SESSION['selCom'] = 'all';
|
$_SESSION['selCom'] = 'all';
|
||||||
$nbComPagination=$plxAdmin->nbComments('all');
|
$nbComPagination=$plxAdmin->nbComments('all');
|
||||||
echo '<h2>'.L_COMMENTS_ALL_LIST.'</h2>';
|
$h2 = '<h2>'.L_COMMENTS_ALL_LIST.'</h2>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($portee!='') {
|
if($portee!='') {
|
||||||
echo '<h3>'.$portee.'</h3>';
|
$h3 = '<h3>'.$portee.'</h3>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$breadcrumbs = array();
|
$breadcrumbs = array();
|
||||||
$breadcrumbs[] = '<a '.($_SESSION['selCom']=='all'?'class="selected" ':'').'href="comments.php?sel=all&page=1">'.L_ALL.'</a> ('.$plxAdmin->nbComments('all').')';
|
$breadcrumbs[] = '<li><a '.($_SESSION['selCom']=='all'?'class="selected" ':'').'href="comments.php?sel=all&page=1">'.L_ALL.'</a> ('.$plxAdmin->nbComments('all').')</li>';
|
||||||
$breadcrumbs[] = '<a '.($_SESSION['selCom']=='online'?'class="selected" ':'').'href="comments.php?sel=online&page=1">'.L_COMMENT_ONLINE.'</a> ('.$plxAdmin->nbComments('online').')';
|
$breadcrumbs[] = '<li><a '.($_SESSION['selCom']=='online'?'class="selected" ':'').'href="comments.php?sel=online&page=1">'.L_COMMENT_ONLINE.'</a> ('.$plxAdmin->nbComments('online').')</li>';
|
||||||
$breadcrumbs[] = '<a '.($_SESSION['selCom']=='offline'?'class="selected" ':'').'href="comments.php?sel=offline&page=1">'.L_COMMENT_OFFLINE.'</a> ('.$plxAdmin->nbComments('offline').')';
|
$breadcrumbs[] = '<li><a '.($_SESSION['selCom']=='offline'?'class="selected" ':'').'href="comments.php?sel=offline&page=1">'.L_COMMENT_OFFLINE.'</a> ('.$plxAdmin->nbComments('offline').')</li>';
|
||||||
if(!empty($_GET['a'])) {
|
if(!empty($_GET['a'])) {
|
||||||
$breadcrumbs[] = '<a href="comment_new.php?a='.$_GET['a'].'" title="'.L_COMMENT_NEW_COMMENT_TITLE.'">'.L_COMMENT_NEW_COMMENT.'</a>';
|
$breadcrumbs[] = '<a href="comment_new.php?a='.$_GET['a'].'" title="'.L_COMMENT_NEW_COMMENT_TITLE.'">'.L_COMMENT_NEW_COMMENT.'</a>';
|
||||||
}
|
}
|
||||||
|
@ -115,30 +109,37 @@ if(!empty($_GET['a'])) {
|
||||||
function selector($comSel, $id) {
|
function selector($comSel, $id) {
|
||||||
ob_start();
|
ob_start();
|
||||||
if($comSel=='online')
|
if($comSel=='online')
|
||||||
plxUtils::printSelect('selection[]', array(''=> L_FOR_SELECTION, 'offline' => L_COMMENT_SET_OFFLINE, '-'=>'-----', 'delete' => L_COMMENT_DELETE), '', false,'',$id);
|
plxUtils::printSelect('selection[]', array(''=> L_FOR_SELECTION, 'offline' => L_COMMENT_SET_OFFLINE, '-'=>'-----', 'delete' => L_COMMENT_DELETE), '', false,'no-margin',$id);
|
||||||
elseif($comSel=='offline')
|
elseif($comSel=='offline')
|
||||||
plxUtils::printSelect('selection[]', array(''=> L_FOR_SELECTION, 'online' => L_COMMENT_SET_ONLINE, '-'=>'-----', 'delete' => L_COMMENT_DELETE), '', false,'',$id);
|
plxUtils::printSelect('selection[]', array(''=> L_FOR_SELECTION, 'online' => L_COMMENT_SET_ONLINE, '-'=>'-----', 'delete' => L_COMMENT_DELETE), '', false,'no-margin',$id);
|
||||||
elseif($comSel=='all')
|
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,'',$id);
|
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();
|
return ob_get_clean();
|
||||||
}
|
}
|
||||||
|
|
||||||
$selector1=selector($comSel, 'id_selection1');
|
$selector1=selector($comSel, 'id_selection1');
|
||||||
$selector2=selector($comSel, 'id_selection2');
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentsTop')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminCommentsTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
<form action="comments.php<?php echo !empty($_GET['a'])?'?a='.$_GET['a']:'' ?>" method="post" id="form_comments">
|
<form action="comments.php<?php echo !empty($_GET['a'])?'?a='.$_GET['a']:'' ?>" method="post" id="form_comments">
|
||||||
|
|
||||||
<p class="breadcrumbs">
|
<div class="inline-form action-bar">
|
||||||
<?php echo implode(' | ', $breadcrumbs); ?>
|
<?php echo $h2 ?>
|
||||||
</p>
|
<ul class="menu">
|
||||||
<p>
|
<?php echo implode($breadcrumbs); ?>
|
||||||
<?php echo $selector1 ?><input class="button submit" type="submit" name="btn_ok1" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection1', 'delete', 'idCom[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
</ul>
|
||||||
</p>
|
<?php echo $selector1 ?>
|
||||||
<table class="table">
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<thead>
|
<input type="submit" name="btn_ok1" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection1', 'delete', 'idCom[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php if(isset($h3)) echo $h3 ?>
|
||||||
|
|
||||||
|
<div class="scrollable-table">
|
||||||
|
<table id="comments-table" class="full-width">
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idCom[]')" /></th>
|
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idCom[]')" /></th>
|
||||||
<th class="datetime"><?php echo L_COMMENTS_LIST_DATE ?></th>
|
<th class="datetime"><?php echo L_COMMENTS_LIST_DATE ?></th>
|
||||||
|
@ -146,15 +147,15 @@ $selector2=selector($comSel, 'id_selection2');
|
||||||
<th class="author"><?php echo L_COMMENTS_LIST_AUTHOR ?></th>
|
<th class="author"><?php echo L_COMMENTS_LIST_AUTHOR ?></th>
|
||||||
<th class="action"><?php echo L_COMMENTS_LIST_ACTION ?></th>
|
<th class="action"><?php echo L_COMMENTS_LIST_ACTION ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
# On va récupérer les commentaires
|
# On va récupérer les commentaires
|
||||||
$plxAdmin->getPage();
|
$plxAdmin->getPage();
|
||||||
$start = $plxAdmin->aConf['bypage_admin_coms']*($plxAdmin->page-1);
|
$start = $plxAdmin->aConf['bypage_admin_coms']*($plxAdmin->page-1);
|
||||||
$coms = $plxAdmin->getCommentaires($comSelMotif,'rsort',$start,$plxAdmin->aConf['bypage_admin_coms'],'all');
|
$coms = $plxAdmin->getCommentaires($comSelMotif,'rsort',$start,$plxAdmin->aConf['bypage_admin_coms'],'all');
|
||||||
if($coms) {
|
if($coms) {
|
||||||
$num=0;
|
$num=0;
|
||||||
while($plxAdmin->plxRecord_coms->loop()) { # On boucle
|
while($plxAdmin->plxRecord_coms->loop()) { # On boucle
|
||||||
$artId = $plxAdmin->plxRecord_coms->f('article');
|
$artId = $plxAdmin->plxRecord_coms->f('article');
|
||||||
|
@ -162,7 +163,7 @@ if($coms) {
|
||||||
$id = $status.$artId.'.'.$plxAdmin->plxRecord_coms->f('numero');
|
$id = $status.$artId.'.'.$plxAdmin->plxRecord_coms->f('numero');
|
||||||
$content = nl2br($plxAdmin->plxRecord_coms->f('content'));
|
$content = nl2br($plxAdmin->plxRecord_coms->f('content'));
|
||||||
if($_SESSION['selCom']=='all') {
|
if($_SESSION['selCom']=='all') {
|
||||||
$content = $content.' - <strong>'.($status==''?L_COMMENT_ONLINE:L_COMMENT_OFFLINE).'</strong><br />';
|
$content = '<strong>'.($status==''?L_COMMENT_ONLINE:L_COMMENT_OFFLINE).'</strong> - '.$content;
|
||||||
}
|
}
|
||||||
# On génère notre ligne
|
# On génère notre ligne
|
||||||
echo '<tr class="line-'.(++$num%2).' top type-'.$plxAdmin->plxRecord_coms->f('type').'">';
|
echo '<tr class="line-'.(++$num%2).' top type-'.$plxAdmin->plxRecord_coms->f('type').'">';
|
||||||
|
@ -171,24 +172,21 @@ if($coms) {
|
||||||
echo '<td>'.$content.' </td>';
|
echo '<td>'.$content.' </td>';
|
||||||
echo '<td>'.plxUtils::strCut($plxAdmin->plxRecord_coms->f('author'),30).' </td>';
|
echo '<td>'.plxUtils::strCut($plxAdmin->plxRecord_coms->f('author'),30).' </td>';
|
||||||
echo '<td class="action">';
|
echo '<td class="action">';
|
||||||
echo '<a href="comment_new.php?c='.$id.(!empty($_GET['a'])?'&a='.$_GET['a']:'').'" title="'.L_COMMENT_ANSWER.'">'.L_COMMENT_ANSWER.'</a> | ';
|
echo '<a href="comment_new.php?c='.$id.(!empty($_GET['a'])?'&a='.$_GET['a']:'').'" title="'.L_COMMENT_ANSWER.'">'.L_COMMENT_ANSWER.'</a> ';
|
||||||
echo '<a href="comment.php?c='.$id.(!empty($_GET['a'])?'&a='.$_GET['a']:'').'" title="'.L_COMMENT_EDIT_TITLE.'">'.L_COMMENT_EDIT.'</a> | ';
|
echo '<a href="comment.php?c='.$id.(!empty($_GET['a'])?'&a='.$_GET['a']:'').'" title="'.L_COMMENT_EDIT_TITLE.'">'.L_COMMENT_EDIT.'</a> ';
|
||||||
echo '<a href="article.php?a='.$artId.'" title="'.L_COMMENT_ARTICLE_LINKED_TITLE.'">'.L_COMMENT_ARTICLE_LINKED.'</a>';
|
echo '<a href="article.php?a='.$artId.'" title="'.L_COMMENT_ARTICLE_LINKED_TITLE.'">'.L_COMMENT_ARTICLE_LINKED.'</a>';
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
}
|
}
|
||||||
} else { # Pas de commentaires
|
} else { # Pas de commentaires
|
||||||
echo '<tr><td colspan="5" class="center">'.L_NO_COMMENT.'</td></tr>';
|
echo '<tr><td colspan="5" class="center">'.L_NO_COMMENT.'</td></tr>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>
|
</div>
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
<?php echo $selector2 ?><input class="button submit" type="submit" name="btn_ok2" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection2', 'delete', 'idCom[]', '<?php echo L_CONFIRM_DELETE ?>')"/>
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<div id="pagination">
|
</form>
|
||||||
|
<p>
|
||||||
<?php
|
<?php
|
||||||
# Hook Plugins
|
# Hook Plugins
|
||||||
eval($plxAdmin->plxPlugins->callHook('AdminCommentsPagination'));
|
eval($plxAdmin->plxPlugins->callHook('AdminCommentsPagination'));
|
||||||
|
@ -217,18 +215,18 @@ if($coms) { # Si on a des commentaires (hors page)
|
||||||
echo '<span class="p_last"><a href="'.$l_url.'" title="'.L_PAGINATION_LAST_TITLE.'">'.L_PAGINATION_LAST.'</a></span>';
|
echo '<span class="p_last"><a href="'.$l_url.'" title="'.L_PAGINATION_LAST_TITLE.'">'.L_PAGINATION_LAST.'</a></span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</p>
|
||||||
|
|
||||||
<?php if(!empty($plxAdmin->aConf['clef'])) : ?>
|
<?php if(!empty($plxAdmin->aConf['clef'])) : ?>
|
||||||
<div class="panel">
|
|
||||||
<p><?php echo L_COMMENTS_PRIVATE_FEEDS ?> :</p>
|
<ul class="unstyled-list">
|
||||||
<ul class="feed">
|
<li><?php echo L_COMMENTS_PRIVATE_FEEDS ?> :</li>
|
||||||
<?php $urlp_hl = $plxAdmin->racine.'feed.php?admin'.$plxAdmin->aConf['clef'].'/commentaires/hors-ligne'; ?>
|
<?php $urlp_hl = $plxAdmin->racine.'feed.php?admin'.$plxAdmin->aConf['clef'].'/commentaires/hors-ligne'; ?>
|
||||||
<li><a href="<?php echo $urlp_hl ?>" title="<?php echo L_COMMENT_OFFLINE_FEEDS_TITLE ?>"><?php echo L_COMMENT_OFFLINE_FEEDS ?></a></li>
|
<li><a href="<?php echo $urlp_hl ?>" title="<?php echo L_COMMENT_OFFLINE_FEEDS_TITLE ?>"><?php echo L_COMMENT_OFFLINE_FEEDS ?></a></li>
|
||||||
<?php $urlp_el = $plxAdmin->racine.'feed.php?admin'.$plxAdmin->aConf['clef'].'/commentaires/en-ligne'; ?>
|
<?php $urlp_el = $plxAdmin->racine.'feed.php?admin'.$plxAdmin->aConf['clef'].'/commentaires/en-ligne'; ?>
|
||||||
<li><a href="<?php echo $urlp_el ?>" title="<?php echo L_COMMENT_ONLINE_FEEDS_TITLE ?>"><?php echo L_COMMENT_ONLINE_FEEDS ?></a></li>
|
<li><a href="<?php echo $urlp_el ?>" title="<?php echo L_COMMENT_ONLINE_FEEDS_TITLE ?>"><?php echo L_COMMENT_ONLINE_FEEDS ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<?php if(!defined('PLX_ROOT')) exit; ?> <div class="clearer"></div>
|
<?php if(!defined('PLX_ROOT')) exit; ?>
|
||||||
|
|
||||||
</div><!-- content -->
|
</section>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminFootEndBody')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminFootEndBody')) ?>
|
||||||
|
|
||||||
|
@ -9,4 +11,5 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -116,54 +116,51 @@ include(dirname(__FILE__).'/top.php');
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminIndexTop')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminIndexTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
<h2><?php echo L_ARTICLES_LIST ?></h2>
|
|
||||||
|
|
||||||
<div class="quicksearch">
|
|
||||||
<form action="index.php?page=1" method="get" id="form_filter">
|
|
||||||
<p>
|
|
||||||
<?php plxUtils::printInput('page',1,'hidden'); ?>
|
|
||||||
<input type="text" name="artTitle" value="<?php echo plxUtils::strCheck($_GET['artTitle']) ?>" />
|
|
||||||
<input class="button submit<?php echo (!empty($_GET['artTitle'])?' select':'') ?>" type="submit" value="<?php echo L_ARTICLES_SEARCH_BUTTON ?>" />
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form action="index.php" method="post" id="form_articles">
|
<form action="index.php" method="post" id="form_articles">
|
||||||
|
|
||||||
<p class="breadcrumbs">
|
<div class="inline-form action-bar">
|
||||||
<a <?php echo ($_SESSION['sel_get']=='all')?'class="selected" ':'' ?>href="index.php?sel=all&page=1"><?php echo L_ALL ?></a> (<?php echo $plxAdmin->nbArticles('all', $userId) ?>) |
|
<h2><?php echo L_ARTICLES_LIST ?></h2>
|
||||||
<a <?php echo ($_SESSION['sel_get']=='published')?'class="selected" ':'' ?>href="index.php?sel=published&page=1"><?php echo L_ALL_PUBLISHED ?></a> (<?php echo $plxAdmin->nbArticles('published', $userId, '') ?>) |
|
<ul class="menu">
|
||||||
<a <?php echo ($_SESSION['sel_get']=='draft')?'class="selected" ':'' ?>href="index.php?sel=draft&page=1"><?php echo L_ALL_DRAFTS ?></a> (<?php echo $plxAdmin->nbArticles('draft', $userId) ?>) |
|
<li><a <?php echo ($_SESSION['sel_get']=='all')?'class="selected" ':'' ?>href="index.php?sel=all&page=1"><?php echo L_ALL ?></a><?php echo ' ('.$plxAdmin->nbArticles('all', $userId).')' ?></li>
|
||||||
<a <?php echo ($_SESSION['sel_get']=='mod')?'class="selected" ':'' ?>href="index.php?sel=mod&page=1"><?php echo L_ALL_AWAITING_MODERATION ?></a> (<?php echo $plxAdmin->nbArticles('all', $userId, '_') ?>)
|
<li><a <?php echo ($_SESSION['sel_get']=='published')?'class="selected" ':'' ?>href="index.php?sel=published&page=1"><?php echo L_ALL_PUBLISHED ?></a><?php echo ' ('.$plxAdmin->nbArticles('published', $userId, '').')' ?></li>
|
||||||
</p>
|
<li><a <?php echo ($_SESSION['sel_get']=='draft')?'class="selected" ':'' ?>href="index.php?sel=draft&page=1"><?php echo L_ALL_DRAFTS ?></a><?php echo ' ('.$plxAdmin->nbArticles('draft', $userId).')' ?></li>
|
||||||
<?php
|
<li><a <?php echo ($_SESSION['sel_get']=='mod')?'class="selected" ':'' ?>href="index.php?sel=mod&page=1"><?php echo L_ALL_AWAITING_MODERATION ?></a><?php echo ' ('.$plxAdmin->nbArticles('all', $userId, '_').')' ?></li>
|
||||||
if($_SESSION['profil']<=PROFIL_MODERATOR) {
|
</ul>
|
||||||
echo '<p>';
|
<?php
|
||||||
plxUtils::printSelect('selection[]', array( '' => L_FOR_SELECTION, 'delete' => L_DELETE), '', false, '', 'id_selection1');
|
echo plxToken::getTokenPostMethod();
|
||||||
echo '<input name="sel1" class="button submit" type="submit" name="submit" value="'.L_OK.'" onclick="return confirmAction(this.form, \'id_selection1\', \'delete\', \'idArt[]\', \''.L_CONFIRM_DELETE.'\')" />';
|
if($_SESSION['profil']<=PROFIL_MODERATOR) {
|
||||||
echo '</p>';
|
plxUtils::printSelect('selection[]', array( '' => L_FOR_SELECTION, 'delete' => L_DELETE), '', false, false, 'id_selection1');
|
||||||
}
|
echo '<input name="sel1" type="submit" value="'.L_OK.'" onclick="return confirmAction(this.form, \'id_selection1\', \'delete\', \'idArt[]\', \''.L_CONFIRM_DELETE.'\')" /> ';
|
||||||
?>
|
}
|
||||||
|
?>
|
||||||
|
<?php plxUtils::printInput('page',1,'hidden'); ?>
|
||||||
|
<input type="text" name="artTitle" value="<?php echo plxUtils::strCheck($_GET['artTitle']) ?>" />
|
||||||
|
<input class="<?php echo (!empty($_GET['artTitle'])?' select':'') ?>" type="submit" value="<?php echo L_ARTICLES_SEARCH_BUTTON ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class="table">
|
<div class="scrollable-table">
|
||||||
<thead>
|
<table id="articles-table" class="full-width">
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idArt[]')" /></th>
|
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idArt[]')" /></th>
|
||||||
<th class="date"><?php echo L_ARTICLE_LIST_DATE ?></th>
|
<th><?php echo L_ARTICLE_ID.' '.L_ARTICLE ?></th>
|
||||||
<th class="title"><?php echo L_ARTICLE_LIST_TITLE ?></th>
|
<th><?php echo L_ARTICLE_LIST_DATE ?></th>
|
||||||
<th class="category">
|
<th><?php echo L_ARTICLE_LIST_TITLE ?></th>
|
||||||
|
<th>
|
||||||
|
<div style="white-space:nowrap">
|
||||||
<?php plxUtils::printSelect('sel_cat', $aFilterCat, $_SESSION['sel_cat']) ?>
|
<?php plxUtils::printSelect('sel_cat', $aFilterCat, $_SESSION['sel_cat']) ?>
|
||||||
<input class="button submit<?php echo $_SESSION['sel_cat']!='all'?' select':'' ?>" type="submit" name="submit" value="<?php echo L_ARTICLES_FILTER_BUTTON ?>" />
|
<input class="<?php echo $_SESSION['sel_cat']!='all'?' select':'' ?>" type="submit" name="submit" value="<?php echo L_ARTICLES_FILTER_BUTTON ?>" />
|
||||||
|
</div>
|
||||||
</th>
|
</th>
|
||||||
<th class="nbcoms"><?php echo L_ARTICLE_LIST_NBCOMS ?></th>
|
<th><?php echo L_ARTICLE_LIST_NBCOMS ?></th>
|
||||||
<th class="author"><?php echo L_ARTICLE_LIST_AUTHOR ?></th>
|
<th><?php echo L_ARTICLE_LIST_AUTHOR ?></th>
|
||||||
<th class="action"><?php echo L_ARTICLE_LIST_ACTION ?></th>
|
<th class="action"><?php echo L_ARTICLE_LIST_ACTION ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
# On va lister les articles
|
# On va lister les articles
|
||||||
if($arts) { # On a des articles
|
if($arts) { # On a des articles
|
||||||
# Initialisation de l'ordre
|
# Initialisation de l'ordre
|
||||||
$num=0;
|
$num=0;
|
||||||
$datetime = date('YmdHi');
|
$datetime = date('YmdHi');
|
||||||
|
@ -185,7 +182,7 @@ if($arts) { # On a des articles
|
||||||
if(sizeof($catsName)>0) {
|
if(sizeof($catsName)>0) {
|
||||||
$libCats = $catsName[0];
|
$libCats = $catsName[0];
|
||||||
unset($catsName[0]);
|
unset($catsName[0]);
|
||||||
if(sizeof($catsName)>0) $libCats .= ', ... <a class="help" title="'.implode(',', $catsName).'"> </a>';
|
if(sizeof($catsName)>0) $libCats .= ' <a class="folder"><span>'.implode(',', $catsName).'</span></a>';
|
||||||
}
|
}
|
||||||
else $libCats = L_UNCLASSIFIED;
|
else $libCats = L_UNCLASSIFIED;
|
||||||
}
|
}
|
||||||
|
@ -198,43 +195,35 @@ if($arts) { # On a des articles
|
||||||
# On affiche la ligne
|
# On affiche la ligne
|
||||||
echo '<tr class="line-'.(++$num%2).'">';
|
echo '<tr class="line-'.(++$num%2).'">';
|
||||||
echo '<td><input type="checkbox" name="idArt[]" value="'.$idArt.'" /></td>';
|
echo '<td><input type="checkbox" name="idArt[]" value="'.$idArt.'" /></td>';
|
||||||
|
echo '<td>'.$idArt.'</td>';
|
||||||
echo '<td>'.plxDate::formatDate($plxAdmin->plxRecord_arts->f('date')).' </td>';
|
echo '<td>'.plxDate::formatDate($plxAdmin->plxRecord_arts->f('date')).' </td>';
|
||||||
echo '<td><a href="article.php?a='.$idArt.'" title="'.L_ARTICLE_EDIT_TITLE.'">'.plxUtils::strCheck(plxUtils::strCut($plxAdmin->plxRecord_arts->f('title'),60)).'</a>'.$draft.$awaiting.' </td>';
|
echo '<td><a href="article.php?a='.$idArt.'" title="'.L_ARTICLE_EDIT_TITLE.'">'.plxUtils::strCheck(plxUtils::strCut($plxAdmin->plxRecord_arts->f('title'),60)).'</a>'.$draft.$awaiting.' </td>';
|
||||||
echo '<td>'.$libCats.' </td>';
|
echo '<td>'.$libCats.' </td>';
|
||||||
echo '<td><a title="'.L_NEW_COMMENTS_TITLE.'" href="comments.php?sel=offline&a='.$plxAdmin->plxRecord_arts->f('numero').'&page=1">'.$nbComsToValidate.'</a> / <a title="'.L_VALIDATED_COMMENTS_TITLE.'" href="comments.php?sel=online&a='.$plxAdmin->plxRecord_arts->f('numero').'&page=1">'.$nbComsValidated.'</a> </td>';
|
echo '<td><a title="'.L_NEW_COMMENTS_TITLE.'" href="comments.php?sel=offline&a='.$plxAdmin->plxRecord_arts->f('numero').'&page=1">'.$nbComsToValidate.'</a> / <a title="'.L_VALIDATED_COMMENTS_TITLE.'" href="comments.php?sel=online&a='.$plxAdmin->plxRecord_arts->f('numero').'&page=1">'.$nbComsValidated.'</a> </td>';
|
||||||
echo '<td class="author">'.plxUtils::strCheck($author).' </td>';
|
echo '<td>'.plxUtils::strCheck($author).' </td>';
|
||||||
echo '<td class="action">';
|
echo '<td>';
|
||||||
echo '<a href="article.php?a='.$idArt.'" title="'.L_ARTICLE_EDIT_TITLE.'">'.L_ARTICLE_EDIT.'</a>';
|
echo '<a href="article.php?a='.$idArt.'" title="'.L_ARTICLE_EDIT_TITLE.'">'.L_ARTICLE_EDIT.'</a>';
|
||||||
if($publi AND $draft=='') # Si l'article est publié
|
if($publi AND $draft=='') # Si l'article est publié
|
||||||
echo ' | <a href="'.PLX_ROOT.'?article'.intval($idArt).'/'.$plxAdmin->plxRecord_arts->f('url').'" title="'.L_ARTICLE_VIEW_TITLE.'">'.L_ARTICLE_VIEW.'</a>';
|
echo ' | <a href="'.PLX_ROOT.'?article'.intval($idArt).'/'.$plxAdmin->plxRecord_arts->f('url').'" title="'.L_ARTICLE_VIEW_TITLE.'">'.L_ARTICLE_VIEW.'</a>';
|
||||||
echo " </td>";
|
echo " </td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
}
|
}
|
||||||
} else { # Pas d'article
|
} else { # Pas d'article
|
||||||
echo '<tr><td colspan="7" class="center">'.L_NO_ARTICLE.'</td></tr>';
|
echo '<tr><td colspan="8" class="center">'.L_NO_ARTICLE.'</td></tr>';
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
echo '<p>';
|
|
||||||
echo plxToken::getTokenPostMethod();
|
|
||||||
if($_SESSION['profil']<=PROFIL_MODERATOR) {
|
|
||||||
plxUtils::printSelect('selection[]', array( '' => L_FOR_SELECTION, 'delete' => L_DELETE), '', false, '', 'id_selection2');
|
|
||||||
echo '<input name="sel2" class="button submit" type="submit" name="submit" value="'.L_OK.'" onclick="return confirmAction(this.form, \'id_selection2\', \'delete\', \'idArt[]\', \''.L_CONFIRM_DELETE.'\')" />';
|
|
||||||
}
|
}
|
||||||
echo '</p>';
|
?>
|
||||||
?>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="pagination">
|
<p>
|
||||||
<?php
|
<?php
|
||||||
# Hook Plugins
|
# Hook Plugins
|
||||||
eval($plxAdmin->plxPlugins->callHook('AdminIndexPagination'));
|
eval($plxAdmin->plxPlugins->callHook('AdminIndexPagination'));
|
||||||
# Affichage de la pagination
|
# Affichage de la pagination
|
||||||
if($arts) { # Si on a des articles (hors page)
|
if($arts) { # Si on a des articles (hors page)
|
||||||
# Calcul des pages
|
# Calcul des pages
|
||||||
$last_page = ceil($nbArtPagination/$plxAdmin->bypage);
|
$last_page = ceil($nbArtPagination/$plxAdmin->bypage);
|
||||||
if($plxAdmin->page > $last_page) $plxAdmin->page = $last_page;
|
if($plxAdmin->page > $last_page) $plxAdmin->page = $last_page;
|
||||||
|
@ -257,9 +246,9 @@ if($arts) { # Si on a des articles (hors page)
|
||||||
echo '<span class="p_next"><a href="'.$n_url.'" title="'.L_PAGINATION_NEXT_TITLE.'">'.L_PAGINATION_NEXT.'</a></span>';
|
echo '<span class="p_next"><a href="'.$n_url.'" title="'.L_PAGINATION_NEXT_TITLE.'">'.L_PAGINATION_NEXT.'</a></span>';
|
||||||
if(($plxAdmin->page + 1) < $last_page) # Si la page active++ < derniere page on affiche un lien derniere page
|
if(($plxAdmin->page + 1) < $last_page) # Si la page active++ < derniere page on affiche un lien derniere page
|
||||||
echo '<span class="p_last"><a href="'.$l_url.'" title="'.L_PAGINATION_LAST_TITLE.'">'.L_PAGINATION_LAST.'</a></span>';
|
echo '<span class="p_last"><a href="'.$l_url.'" title="'.L_PAGINATION_LAST_TITLE.'">'.L_PAGINATION_LAST.'</a></span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</p>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
# Hook Plugins
|
# Hook Plugins
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gestion des images et documents
|
* Gestion des médias
|
||||||
*
|
*
|
||||||
* @package PLX
|
* @package PLX
|
||||||
* @author Stephane F
|
* @author Stephane F
|
||||||
|
@ -21,12 +21,8 @@ if(isset($_POST['folder']) AND $_POST['folder']!='.' AND !plxUtils::checkSource(
|
||||||
eval($plxAdmin->plxPlugins->callHook('AdminMediasPrepend'));
|
eval($plxAdmin->plxPlugins->callHook('AdminMediasPrepend'));
|
||||||
|
|
||||||
# Recherche du type de medias à afficher via la session
|
# Recherche du type de medias à afficher via la session
|
||||||
if(empty($_SESSION['medias']) OR !empty($_POST['btn_images'])) {
|
if(empty($_SESSION['medias'])) {
|
||||||
$_SESSION['medias'] = $plxAdmin->aConf['images'];
|
$_SESSION['medias'] = $plxAdmin->aConf['medias'];
|
||||||
$_SESSION['folder'] = '';
|
|
||||||
}
|
|
||||||
elseif(!empty($_POST['btn_documents'])) {
|
|
||||||
$_SESSION['medias'] = $plxAdmin->aConf['documents'];
|
|
||||||
$_SESSION['folder'] = '';
|
$_SESSION['folder'] = '';
|
||||||
}
|
}
|
||||||
elseif(!empty($_POST['folder'])) {
|
elseif(!empty($_POST['folder'])) {
|
||||||
|
@ -49,7 +45,7 @@ if(!empty($_POST['btn_newfolder']) AND !empty($_POST['newfolder'])) {
|
||||||
header('Location: medias.php');
|
header('Location: medias.php');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
elseif(!empty($_POST['btn_delete']) AND !empty($_POST['folder']) AND $_POST['folder']!='.') {
|
elseif(!empty($_POST['folder']) AND $_POST['folder']!='.' AND !empty($_POST['btn_delete'])) {
|
||||||
if($plxMedias->deleteDir($_POST['folder'])) {
|
if($plxMedias->deleteDir($_POST['folder'])) {
|
||||||
$_SESSION['folder'] = '';
|
$_SESSION['folder'] = '';
|
||||||
}
|
}
|
||||||
|
@ -61,17 +57,17 @@ elseif(!empty($_POST['btn_upload'])) {
|
||||||
header('Location: medias.php');
|
header('Location: medias.php');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
elseif(isset($_POST['selection']) AND ((!empty($_POST['btn_ok1']) AND $_POST['selection'][0]=='delete') OR (!empty($_POST['btn_ok2']) AND$_POST['selection'][1]=='delete')) AND isset($_POST['idFile'])) {
|
elseif(isset($_POST['selection']) AND ((!empty($_POST['btn_ok']) AND $_POST['selection']=='delete')) AND isset($_POST['idFile'])) {
|
||||||
$plxMedias->deleteFiles($_POST['idFile']);
|
$plxMedias->deleteFiles($_POST['idFile']);
|
||||||
header('Location: medias.php');
|
header('Location: medias.php');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
elseif(isset($_POST['selection']) AND ((!empty($_POST['btn_ok1']) AND $_POST['selection'][0]=='move') OR (!empty($_POST['btn_ok2']) AND$_POST['selection'][1]=='move')) AND isset($_POST['idFile'])) {
|
elseif(isset($_POST['selection']) AND ((!empty($_POST['btn_ok']) AND $_POST['selection']=='move')) AND isset($_POST['idFile'])) {
|
||||||
$plxMedias->moveFiles($_POST['idFile'], $_SESSION['currentfolder'], $_POST['folder']);
|
$plxMedias->moveFiles($_POST['idFile'], $_SESSION['currentfolder'], $_POST['folder']);
|
||||||
header('Location: medias.php');
|
header('Location: medias.php');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
elseif(isset($_POST['selection']) AND ((!empty($_POST['btn_ok1']) AND $_POST['selection'][0]=='thumbs') OR (!empty($_POST['btn_ok2']) AND $_POST['selection'][1]=='thumbs')) AND isset($_POST['idFile'])) {
|
elseif(isset($_POST['selection']) AND ((!empty($_POST['btn_ok']) AND $_POST['selection']=='thumbs')) AND isset($_POST['idFile'])) {
|
||||||
$plxMedias->makeThumbs($_POST['idFile'], $plxAdmin->aConf['miniatures_l'], $plxAdmin->aConf['miniatures_h']);
|
$plxMedias->makeThumbs($_POST['idFile'], $plxAdmin->aConf['miniatures_l'], $plxAdmin->aConf['miniatures_h']);
|
||||||
header('Location: medias.php');
|
header('Location: medias.php');
|
||||||
exit;
|
exit;
|
||||||
|
@ -107,48 +103,143 @@ switch ($sort) {
|
||||||
$_SESSION['sort_medias']=$sort;
|
$_SESSION['sort_medias']=$sort;
|
||||||
|
|
||||||
# Contenu des 2 listes déroulantes
|
# Contenu des 2 listes déroulantes
|
||||||
$selectionList = array('' =>L_FOR_SELECTION, 'move'=>L_PLXMEDIAS_MOVE_FOLDER, 'thumbs'=>L_MEDIAS_RECREATE_THUMB, '-'=>'-----', 'delete' =>L_DELETE);
|
$selectionList = array(''=>L_FOR_SELECTION,'move'=>L_PLXMEDIAS_MOVE_FOLDER,'thumbs'=>L_MEDIAS_RECREATE_THUMB,'-'=>'-----','delete' =>L_DELETE_FILE);
|
||||||
|
|
||||||
# On inclut le header
|
# On inclut le header
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
|
|
||||||
|
$curFolder = '/'.plxUtils::strCheck(basename($_SESSION['medias']).'/'.$_SESSION['folder']);
|
||||||
|
$curFolders = explode('/', $curFolder);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" src="<?php echo PLX_CORE ?>lib/multifiles.js"></script>
|
<script type="text/javascript" src="<?php echo PLX_CORE ?>lib/multifiles.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function toggle_divs(){
|
function toggle_divs(){
|
||||||
var medias_back = document.getElementById('medias_back');
|
|
||||||
var uploader = document.getElementById('files_uploader');
|
var uploader = document.getElementById('files_uploader');
|
||||||
var manager = document.getElementById('files_manager');
|
var manager = document.getElementById('files_manager');
|
||||||
if(uploader.style.display == 'none') {
|
if(uploader.style.display == 'none') {
|
||||||
medias_back.style.display = 'block';
|
|
||||||
uploader.style.display = 'block';
|
uploader.style.display = 'block';
|
||||||
manager.style.display = 'none';
|
manager.style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
medias_back.style.display = 'none';
|
|
||||||
uploader.style.display = 'none';
|
uploader.style.display = 'none';
|
||||||
manager.style.display = 'block';
|
manager.style.display = 'block';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<p id="medias_back" style="display:none"><a href="javascript:void(0)" onclick="toggle_divs();return false"><?php echo L_MEDIAS_BACK ?></a></p>
|
|
||||||
|
|
||||||
<h2><?php echo L_MEDIAS_TITLE ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminMediasTop')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminMediasTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
<p class="path"><?php echo L_MEDIAS_DIRECTORY.' : /'.plxUtils::strCheck(basename($_SESSION['medias']).'/'.$_SESSION['folder']) ?></p>
|
<form action="medias.php" method="post" id="form_medias">
|
||||||
|
|
||||||
<div id="files_uploader" style="display:none">
|
<div class="inline-form action-bar">
|
||||||
<p style="margin-bottom:15px"><?php echo L_MEDIAS_MAX_UPOLAD_FILE ?> : <?php echo $plxMedias->maxUpload['display'] ?></p>
|
<h2><?php echo L_MEDIAS_TITLE ?></h2>
|
||||||
<form action="medias.php" method="post" id="form_uploader" class="form_uploader" enctype="multipart/form-data">
|
<p>
|
||||||
<div class="manager">
|
<?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 ?>')" />
|
||||||
|
|
||||||
|
<input type="submit" onclick="toggle_divs();return false" value="<?php echo L_MEDIAS_ADD_FILE ?>" />
|
||||||
|
<?php if(!empty($_SESSION['folder'])) { ?>
|
||||||
|
<input type="submit" name="btn_delete" class="red" value="<?php echo L_DELETE_FOLDER ?>" onclick="return confirm('<?php printf(L_MEDIAS_DELETE_FOLDER_CONFIRM, $curFolder) ?>')" />
|
||||||
|
<?php } ?>
|
||||||
|
<input type="hidden" name="sort" value="" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="inline-form" id="files_manager">
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
<div style="float:left">
|
||||||
|
<?php echo L_MEDIAS_FOLDER ?> :
|
||||||
|
<?php echo $plxMedias->contentFolder() ?>
|
||||||
|
<input type="submit" name="btn_ok" value="<?php echo L_OK ?>" />
|
||||||
|
</div>
|
||||||
|
<div style="float:right">
|
||||||
|
<?php echo L_MEDIAS_NEW_FOLDER ?> :
|
||||||
|
<input id="id_newfolder" type="text" name="newfolder" value="" maxlength="50" size="10" />
|
||||||
|
<input type="submit" name="btn_newfolder" value="<?php echo L_MEDIAS_CREATE_FOLDER ?>" />
|
||||||
|
</div>
|
||||||
|
<div style="clear:both" class="scrollable-table">
|
||||||
|
<table id="medias-table" class="full-width">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th><input type="checkbox" onclick="checkAll(this.form, 'idFile[]')" /></th>
|
||||||
|
<th> </th>
|
||||||
|
<th><a href="javascript:void(0)" class="hcolumn" onclick="document.forms[0].sort.value='<?php echo $sort_title ?>';document.forms[0].submit();return true;"><?php echo L_MEDIAS_FILENAME ?></a></th>
|
||||||
|
<th><?php echo L_MEDIAS_EXTENSION ?></th>
|
||||||
|
<th><?php echo L_MEDIAS_FILESIZE ?></th>
|
||||||
|
<th><?php echo L_MEDIAS_DIMENSIONS ?></th>
|
||||||
|
<th><a href="javascript:void(0)" class="hcolumn" onclick="document.forms[0].sort.value='<?php echo $sort_date ?>';document.forms[0].submit();return true;"><?php echo L_MEDIAS_DATE ?></a></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
# Initialisation de l'ordre
|
||||||
|
$num = 0;
|
||||||
|
# Si on a des fichiers
|
||||||
|
if($plxMedias->aFiles) {
|
||||||
|
foreach($plxMedias->aFiles as $v) { # Pour chaque fichier
|
||||||
|
$isImage = in_array(strtolower($v['extension']), array('.png', '.gif', '.jpg'));
|
||||||
|
$ordre = ++$num;
|
||||||
|
echo '<tr class="line-'.($num%2).'">';
|
||||||
|
echo '<td><input type="checkbox" name="idFile[]" value="'.$v['name'].'" /></td>';
|
||||||
|
echo '<td class="icon">';
|
||||||
|
if(is_file($v['path']) AND $isImage) {
|
||||||
|
echo '<a onclick="this.target=\'_blank\';return true;" title="'.plxUtils::strCheck($v['name']).'" href="'.$v['path'].'"><img alt="" src="'.$v['.thumb'].'" class="thumb" /></a>';
|
||||||
|
}
|
||||||
|
echo '</td>';
|
||||||
|
echo '<td>';
|
||||||
|
echo '<a onclick="this.target=\'_blank\';return true;" title="'.plxUtils::strCheck($v['name']).'" href="'.$v['path'].'">'.plxUtils::strCheck($v['name']).'</a><br />';
|
||||||
|
if($isImage AND is_file(plxUtils::thumbName($v['path']))) {
|
||||||
|
echo '<a onclick="this.target=\'_blank\';return true;" title="'.L_MEDIAS_THUMB.' : '.plxUtils::strCheck($v['name']).'" href="'.plxUtils::thumbName($v['path']).'">'.L_MEDIAS_THUMB.'</a> : '.$v['thumb']['infos'][0].' x '.$v['thumb']['infos'][1]. ' ('.plxUtils::formatFilesize($v['thumb']['filesize']).')';
|
||||||
|
}
|
||||||
|
echo '</td>';
|
||||||
|
echo '<td>'.strtoupper($v['extension']).'</td>';
|
||||||
|
echo '<td>'.plxUtils::formatFilesize($v['filesize']).'</td>';
|
||||||
|
$dimensions = ' ';
|
||||||
|
if($isImage AND (isset($v['infos']) AND isset($v['infos'][0]) AND isset($v['infos'][1]))) {
|
||||||
|
$dimensions = $v['infos'][0].' x '.$v['infos'][1];
|
||||||
|
}
|
||||||
|
echo '<td>'.$dimensions.'</td>';
|
||||||
|
echo '<td>'.plxDate::formatDate(plxDate::timestamp2Date($v['date'])).'</td>';
|
||||||
|
echo '</tr>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else echo '<tr><td colspan="7" class="center">'.L_MEDIAS_NO_FILE.'</td></tr>';
|
||||||
|
?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<form action="medias.php" method="post" id="form_uploader" class="form_uploader" enctype="multipart/form-data">
|
||||||
|
|
||||||
|
<div id="files_uploader" style="display:none">
|
||||||
|
|
||||||
|
<p><a class="back" href="javascript:void(0)" onclick="toggle_divs();return false"><?php echo L_MEDIAS_BACK ?></a></p>
|
||||||
|
|
||||||
|
<p><?php echo L_MEDIAS_MAX_UPOLAD_FILE ?> : <?php echo $plxMedias->maxUpload['display'] ?></p>
|
||||||
|
<div class="inline-form">
|
||||||
<input id="selector" type="file" name="selector" />
|
<input id="selector" type="file" name="selector" />
|
||||||
<div class="files_list" id="files_list"></div>
|
<input type="submit" name="btn_upload" id="btn_upload" value="<?php echo L_MEDIAS_SUBMIT_FILE ?>" />
|
||||||
<?php if($_SESSION['medias']==$plxAdmin->aConf['images']) : ?>
|
</div>
|
||||||
<div class="options1">
|
<div class="files_list" id="files_list" style="margin-top: 1rem;">
|
||||||
<?php echo L_MEDIAS_RESIZE ?> :
|
</div>
|
||||||
<ul>
|
<div class="grid">
|
||||||
|
<div class="col sma-12 med-4">
|
||||||
|
<ul class="unstyled-list">
|
||||||
|
<li><?php echo L_MEDIAS_RESIZE ?> : </li>
|
||||||
<li><input type="radio" name="resize" value="" /> <?php echo L_MEDIAS_RESIZE_NO ?></li>
|
<li><input type="radio" name="resize" value="" /> <?php echo L_MEDIAS_RESIZE_NO ?></li>
|
||||||
<?php
|
<?php
|
||||||
foreach($img_redim as $redim) {
|
foreach($img_redim as $redim) {
|
||||||
|
@ -166,9 +257,9 @@ function toggle_divs(){
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="options2">
|
<div class="col sma-12 med-8">
|
||||||
<?php echo L_MEDIAS_THUMBS ?> :
|
<ul class="unstyled-list">
|
||||||
<ul>
|
<li><?php echo L_MEDIAS_THUMBS ?> : </li>
|
||||||
<li>
|
<li>
|
||||||
<?php $sel = (!$plxAdmin->aConf['thumbs'] ? ' checked="checked"' : '') ?>
|
<?php $sel = (!$plxAdmin->aConf['thumbs'] ? ' checked="checked"' : '') ?>
|
||||||
<input<?php echo $sel ?> type="radio" name="thumb" value="" /> <?php echo L_MEDIAS_THUMBS_NONE ?>
|
<input<?php echo $sel ?> type="radio" name="thumb" value="" /> <?php echo L_MEDIAS_THUMBS_NONE ?>
|
||||||
|
@ -190,99 +281,16 @@ function toggle_divs(){
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminMediasUpload')) # Hook Plugins ?>
|
|
||||||
<input class="button submit" type="submit" name="btn_upload" id="btn_upload" value="<?php echo L_MEDIAS_SUBMIT_FILE ?>" />
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminMediasUpload')) # Hook Plugins ?>
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var multi_selector = new MultiSelector(document.getElementById('files_list'), -1, '<?php echo $plxAdmin->aConf['racine'] ?>');
|
var multi_selector = new MultiSelector(document.getElementById('files_list'), -1, '<?php echo $plxAdmin->aConf['racine'] ?>');
|
||||||
multi_selector.addElement(document.getElementById('selector'));
|
multi_selector.addElement(document.getElementById('selector'));
|
||||||
</script>
|
</script>
|
||||||
<div class="clearer"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="files_manager">
|
|
||||||
<form action="medias.php" method="post" id="form_medias" class="form_medias">
|
|
||||||
<div class="manager">
|
|
||||||
<div class="create">
|
|
||||||
<?php echo L_MEDIAS_NEW_FOLDER ?> :
|
|
||||||
<input class="newfolder" id="id_newfolder" type="text" name="newfolder" value="" maxlength="50" size="10" />
|
|
||||||
<input class="button new" type="submit" name="btn_newfolder" value="<?php echo L_MEDIAS_CREATE_FOLDER ?>" />
|
|
||||||
</div>
|
|
||||||
<input class="button submit<?php echo basename($_SESSION['medias'])=='images'?' select':'' ?>" type="submit" name="btn_images" value="<?php echo L_MEDIAS_IMAGES ?>" />
|
|
||||||
<input class="button submit<?php echo basename($_SESSION['medias'])=='documents'?' select':'' ?>" type="submit" name="btn_documents" value="<?php echo L_MEDIAS_DOCUMENTS ?>" />
|
|
||||||
<input class="button submit" type="submit" onclick="toggle_divs();return false" value="<?php echo L_MEDIAS_ADD_FILE ?>" />
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="browser">
|
</form>
|
||||||
<?php echo L_MEDIAS_FOLDER ?> :
|
|
||||||
<?php echo $plxMedias->contentFolder() ?>
|
|
||||||
<input class="button submit" type="submit" name="btn_ok" value="<?php echo L_OK ?>" />
|
|
||||||
<?php if(!empty($_SESSION['folder'])) : ?>
|
|
||||||
<input class="button delete" type="submit" name="btn_delete" onclick="Check=confirm('<?php echo L_MEDIAS_DELETE_FOLDER_CONFIRM ?>');if(Check==false) return false;" value="<?php echo L_MEDIAS_DELETE_FOLDER ?>" />
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<div class="files">
|
|
||||||
<p style="margin-bottom:15px">
|
|
||||||
<?php plxUtils::printSelect('selection[]', $selectionList, '', false, '', 'id_selection1') ?>
|
|
||||||
<input class="button submit" type="submit" name="btn_ok1" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection1', 'delete', 'idFile[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
|
||||||
</p>
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idFile[]')" /></th>
|
|
||||||
<th class="image"> </th>
|
|
||||||
<th><a href="javascript:void(0)" class="hcolumn" onclick="document.forms[1].sort.value='<?php echo $sort_title ?>';document.forms[1].submit();return true;"><?php echo L_MEDIAS_FILENAME ?></a></th>
|
|
||||||
<th class="infos"><?php echo L_MEDIAS_EXTENSION ?></th>
|
|
||||||
<th class="infos"><?php echo L_MEDIAS_FILESIZE ?></th>
|
|
||||||
<th class="infos"><?php echo L_MEDIAS_DIMENSIONS ?></th>
|
|
||||||
<th class="date"><a href="javascript:void(0)" class="hcolumn" onclick="document.forms[1].sort.value='<?php echo $sort_date ?>';document.forms[1].submit();return true;"><?php echo L_MEDIAS_DATE ?></a></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
# Initialisation de l'ordre
|
|
||||||
$num = 0;
|
|
||||||
# Si on a des fichiers
|
|
||||||
if($plxMedias->aFiles) {
|
|
||||||
foreach($plxMedias->aFiles as $v) { # Pour chaque fichier
|
|
||||||
$ordre = ++$num;
|
|
||||||
echo '<tr class="line-'.($num%2).'">';
|
|
||||||
echo '<td><input type="checkbox" name="idFile[]" value="'.$v['name'].'" /></td>';
|
|
||||||
echo '<td class="icon"><a onclick="this.target=\'_blank\';return true;" title="'.plxUtils::strCheck($v['name']).'" href="'.$v['path'].'"><img alt="" src="'.$v['.thumb'].'" class="thumb" /></a></td>';
|
|
||||||
echo '<td>';
|
|
||||||
echo '<a onclick="this.target=\'_blank\';return true;" title="'.plxUtils::strCheck($v['name']).'" href="'.$v['path'].'">'.plxUtils::strCheck($v['name']).'</a><br />';
|
|
||||||
if($v['thumb']) {
|
|
||||||
echo '<a onclick="this.target=\'_blank\';return true;" title="'.L_MEDIAS_THUMB.' : '.plxUtils::strCheck($v['name']).'" href="'.plxUtils::thumbName($v['path']).'">'.L_MEDIAS_THUMB.'</a> : '.$v['thumb']['infos'][0].' x '.$v['thumb']['infos'][1]. ' ('.plxUtils::formatFilesize($v['thumb']['filesize']).')';
|
|
||||||
}
|
|
||||||
echo '</td>';
|
|
||||||
echo '<td>'.strtoupper($v['extension']).'</td>';
|
|
||||||
echo '<td>'.plxUtils::formatFilesize($v['filesize']).'</td>';
|
|
||||||
$dimensions = ' ';
|
|
||||||
if(isset($v['infos']) AND isset($v['infos'][0]) AND isset($v['infos'][1])) {
|
|
||||||
$dimensions = $v['infos'][0].' x '.$v['infos'][1];
|
|
||||||
}
|
|
||||||
echo '<td>'.$dimensions.'</td>';
|
|
||||||
echo '<td>'.plxDate::formatDate(plxDate::timestamp2Date($v['date'])).'</td>';
|
|
||||||
echo '</tr>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else echo '<tr><td colspan="7" class="center">'.L_MEDIAS_NO_FILE.'</td></tr>';
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<p>
|
|
||||||
<?php plxUtils::printSelect('selection[]', $selectionList , '', false, '', 'id_selection2') ?>
|
|
||||||
<input class="button submit" type="submit" name="btn_ok2" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection2', 'delete', 'idFile[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
|
||||||
<input type="hidden" name="sort" value="" />
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
<div class="clear"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
# Hook Plugins
|
# Hook Plugins
|
||||||
|
|
|
@ -37,11 +37,13 @@ if($styles = $files->query("/[a-z0-9-_\.\(\)]+/i")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# On récupère les templates de la page d'accueil
|
# On récupère les templates de la page d'accueil
|
||||||
|
$aTemplates = array();
|
||||||
$files = plxGlob::getInstance(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style']);
|
$files = plxGlob::getInstance(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style']);
|
||||||
if ($array = $files->query('/^home(-[a-z0-9-_]+)?.php$/')) {
|
if ($array = $files->query('/^home(-[a-z0-9-_]+)?.php$/')) {
|
||||||
foreach($array as $k=>$v)
|
foreach($array as $k=>$v)
|
||||||
$aTemplates[$v] = $v;
|
$aTemplates[$v] = $v;
|
||||||
}
|
}
|
||||||
|
if(empty($aTemplates)) $aTemplates[''] = L_NONE1;
|
||||||
|
|
||||||
# Tableau du tri
|
# Tableau du tri
|
||||||
$aTriArts = array('desc'=>L_SORT_DESCENDING_DATE, 'asc'=>L_SORT_ASCENDING_DATE, 'alpha'=>L_SORT_ALPHABETICAL);
|
$aTriArts = array('desc'=>L_SORT_DESCENDING_DATE, 'asc'=>L_SORT_ASCENDING_DATE, 'alpha'=>L_SORT_ALPHABETICAL);
|
||||||
|
@ -57,58 +59,151 @@ if(!is_numeric($plxAdmin->aConf['miniatures_h'])) $plxAdmin->aConf['miniatures_h
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_CONFIG_VIEW_FIELD ?></h2>
|
|
||||||
|
|
||||||
<div class="content-right">
|
|
||||||
<p><?php echo L_CONFIG_VIEW_PLUXML_RESSOURCES ?></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsDisplayTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="parametres_affichage.php" method="post" id="form_settings">
|
<form action="parametres_affichage.php" method="post" id="form_settings">
|
||||||
<fieldset class="config">
|
|
||||||
<p class="field"><label for="id_style"><?php echo L_CONFIG_VIEW_SKIN_SELECT ?> :</label></p>
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_CONFIG_VIEW_FIELD ?></h2>
|
||||||
|
<p><?php echo L_CONFIG_VIEW_PLUXML_RESSOURCES ?></p>
|
||||||
|
<input type="submit" value="<?php echo L_CONFIG_VIEW_UPDATE ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsDisplayTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_style"><?php echo L_CONFIG_VIEW_SKIN_SELECT ?> : </label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('style', $aStyles, $plxAdmin->aConf['style']); ?>
|
<?php plxUtils::printSelect('style', $aStyles, $plxAdmin->aConf['style']); ?>
|
||||||
<?php if(!empty($plxAdmin->aConf['style']) AND is_dir(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style'])) : ?>
|
<?php if(!empty($plxAdmin->aConf['style']) AND is_dir(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style'])) : ?>
|
||||||
<a href="parametres_edittpl.php" title="<?php echo L_CONFIG_VIEW_FILES_EDIT_TITLE ?>"><?php echo L_CONFIG_VIEW_FILES_EDIT ?> «<?php echo $plxAdmin->aConf['style'] ?>»</a>
|
<a href="parametres_edittpl.php" title="<?php echo L_CONFIG_VIEW_FILES_EDIT_TITLE ?>"><?php echo L_CONFIG_VIEW_FILES_EDIT ?> «<?php echo $plxAdmin->aConf['style'] ?>»</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p class="field"><label for="id_hometemplate"><?php echo L_CONFIG_HOMETEMPLATE ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_hometemplate"><?php echo L_CONFIG_HOMETEMPLATE ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('hometemplate', $aTemplates, $plxAdmin->aConf['hometemplate']) ?>
|
<?php plxUtils::printSelect('hometemplate', $aTemplates, $plxAdmin->aConf['hometemplate']) ?>
|
||||||
<p class="field"><label for="id_tri"><?php echo L_CONFIG_VIEW_SORT ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_tri"><?php echo L_CONFIG_VIEW_SORT ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('tri', $aTriArts, $plxAdmin->aConf['tri']); ?>
|
<?php plxUtils::printSelect('tri', $aTriArts, $plxAdmin->aConf['tri']); ?>
|
||||||
<p class="field"><label for="id_bypage"><?php echo L_CONFIG_VIEW_BYPAGE ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_bypage"><?php echo L_CONFIG_VIEW_BYPAGE ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('bypage', $plxAdmin->aConf['bypage'], 'text', '2-2',false,'fieldnum'); ?>
|
<?php plxUtils::printInput('bypage', $plxAdmin->aConf['bypage'], 'text', '2-2',false,'fieldnum'); ?>
|
||||||
<p class="field"><label for="id_bypage_archives"><?php echo L_CONFIG_VIEW_BYPAGE_ARCHIVES ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_bypage_archives"><?php echo L_CONFIG_VIEW_BYPAGE_ARCHIVES ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('bypage_archives', $plxAdmin->aConf['bypage_archives'], 'text', '2-2',false,'fieldnum'); ?>
|
<?php plxUtils::printInput('bypage_archives', $plxAdmin->aConf['bypage_archives'], 'text', '2-2',false,'fieldnum'); ?>
|
||||||
<p class="field"><label for="id_bypage_admin"><?php echo L_CONFIG_VIEW_BYPAGE_ADMIN ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_bypage_admin"><?php echo L_CONFIG_VIEW_BYPAGE_ADMIN ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('bypage_admin', $plxAdmin->aConf['bypage_admin'], 'text', '2-2',false,'fieldnum'); ?>
|
<?php plxUtils::printInput('bypage_admin', $plxAdmin->aConf['bypage_admin'], 'text', '2-2',false,'fieldnum'); ?>
|
||||||
<p class="field"><label for="id_tri_coms"><?php echo L_CONFIG_VIEW_SORT_COMS ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_tri_coms"><?php echo L_CONFIG_VIEW_SORT_COMS ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('tri_coms', $aTriComs, $plxAdmin->aConf['tri_coms']); ?>
|
<?php plxUtils::printSelect('tri_coms', $aTriComs, $plxAdmin->aConf['tri_coms']); ?>
|
||||||
<p class="field"><label for="id_bypage_admin_coms"><?php echo L_CONFIG_VIEW_BYPAGE_ADMIN_COMS ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_bypage_admin_coms"><?php echo L_CONFIG_VIEW_BYPAGE_ADMIN_COMS ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('bypage_admin_coms', $plxAdmin->aConf['bypage_admin_coms'], 'text', '2-2',false,'fieldnum'); ?>
|
<?php plxUtils::printInput('bypage_admin_coms', $plxAdmin->aConf['bypage_admin_coms'], 'text', '2-2',false,'fieldnum'); ?>
|
||||||
<p class="field"><label for="id_display_empty_cat"><?php echo L_CONFIG_VIEW_DISPLAY_EMPTY_CAT ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_display_empty_cat"><?php echo L_CONFIG_VIEW_DISPLAY_EMPTY_CAT ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('display_empty_cat',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['display_empty_cat']);?>
|
<?php plxUtils::printSelect('display_empty_cat',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['display_empty_cat']);?>
|
||||||
<p class="field"><label><?php echo L_CONFIG_VIEW_IMAGES ?> :</label></p>
|
</div>
|
||||||
<?php plxUtils::printInput('images_l', $plxAdmin->aConf['images_l'], 'text', '4-4',false,'fieldnum'); ?> x
|
</div>
|
||||||
<?php plxUtils::printInput('images_h', $plxAdmin->aConf['images_h'], 'text', '4-4',false,'fieldnum'); ?>
|
<div class="grid">
|
||||||
<p class="field"><label><?php echo L_CONFIG_VIEW_THUMBS ?> :</label></p>
|
<div class="col sml-12 med-5 label-centered">
|
||||||
<?php plxUtils::printInput('miniatures_l', $plxAdmin->aConf['miniatures_l'], 'text', '4-4',false,'fieldnum'); ?> x
|
<label><?php echo L_CONFIG_VIEW_IMAGES ?> :</label>
|
||||||
<?php plxUtils::printInput('miniatures_h', $plxAdmin->aConf['miniatures_h'], 'text', '4-4',false,'fieldnum'); ?>
|
</div>
|
||||||
<p class="field"><label for="id_thumbs"><?php echo L_MEDIAS_THUMBS ?> :</label></p>
|
<div class="col sml-12 med-7">
|
||||||
|
<?php plxUtils::printInput('images_l', $plxAdmin->aConf['images_l'], 'text', '4-4',false,'no-margin'); ?>
|
||||||
|
x
|
||||||
|
<?php plxUtils::printInput('images_h', $plxAdmin->aConf['images_h'], 'text', '4-4',false,'no-margin'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label><?php echo L_CONFIG_VIEW_THUMBS ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
|
<?php plxUtils::printInput('miniatures_l', $plxAdmin->aConf['miniatures_l'], 'text', '4-4',false,'no-margin'); ?>
|
||||||
|
x
|
||||||
|
<?php plxUtils::printInput('miniatures_h', $plxAdmin->aConf['miniatures_h'], 'text', '4-4',false,'no-margin'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_thumbs"><?php echo L_MEDIAS_THUMBS ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('thumbs',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['thumbs']);?>
|
<?php plxUtils::printSelect('thumbs',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['thumbs']);?>
|
||||||
<p class="field"><label for="id_bypage_feed"><?php echo L_CONFIG_VIEW_BYPAGE_FEEDS ?> :</label></p>
|
</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 ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('bypage_feed', $plxAdmin->aConf['bypage_feed'], 'text', '2-2',false,'fieldnum'); ?>
|
<?php plxUtils::printInput('bypage_feed', $plxAdmin->aConf['bypage_feed'], 'text', '2-2',false,'fieldnum'); ?>
|
||||||
<p class="field"><label for="id_feed_chapo"><?php echo L_CONFIG_VIEW_FEEDS_HEADLINE ?> :</label></p>
|
</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 ?> :</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']);?>
|
<?php plxUtils::printSelect('feed_chapo',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['feed_chapo']);?>
|
||||||
<a class="help" title="<?php echo L_CONFIG_VIEW_FEEDS_HEADLINE_HELP ?>"> </a>
|
<a class="hint"><span><?php echo L_CONFIG_VIEW_FEEDS_HEADLINE_HELP ?></span></a>
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_CONFIG_VIEW_FEEDS_FOOTER ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_content"><?php echo L_CONFIG_VIEW_FEEDS_FOOTER ?> :</label>
|
||||||
<?php plxUtils::printArea('content',plxUtils::strCheck($plxAdmin->aConf['feed_footer']),140,5); ?>
|
<?php plxUtils::printArea('content',plxUtils::strCheck($plxAdmin->aConf['feed_footer']),140,5); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsDisplay')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsDisplay')) # Hook Plugins ?>
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<input class="button update" type="submit" value="<?php echo L_CONFIG_VIEW_UPDATE ?>" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -17,7 +17,7 @@ $plxAdmin->checkProfil(PROFIL_ADMIN);
|
||||||
# On édite la configuration
|
# On édite la configuration
|
||||||
if(!empty($_POST)) {
|
if(!empty($_POST)) {
|
||||||
$plxAdmin->editConfiguration($plxAdmin->aConf,$_POST);
|
$plxAdmin->editConfiguration($plxAdmin->aConf,$_POST);
|
||||||
unset($_SESSION['medias']); # réinit de la variable de session medias (pour medias.php) au cas si changmt de chemin images/documents
|
unset($_SESSION['medias']); # réinit de la variable de session medias (pour medias.php) au cas si changmt de chemin medias
|
||||||
header('Location: parametres_avances.php');
|
header('Location: parametres_avances.php');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -26,63 +26,140 @@ if(!empty($_POST)) {
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_CONFIG_ADVANCED_DESC ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsAdvancedTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="parametres_avances.php" method="post" id="form_settings">
|
<form action="parametres_avances.php" method="post" id="form_settings">
|
||||||
<fieldset class="config">
|
|
||||||
<p class="field"><label for="id_urlrewriting"><?php echo L_CONFIG_ADVANCED_URL_REWRITE ?> :</label></p>
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_CONFIG_ADVANCED_DESC ?></h2>
|
||||||
|
<p> </p>
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
<input type="submit" value="<?php echo L_CONFIG_ADVANCED_UPDATE ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsAdvancedTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5">
|
||||||
|
<label for="id_urlrewriting"><?php echo L_CONFIG_ADVANCED_URL_REWRITE ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php if(plxUtils::testModRewrite(false)) : ?>
|
<?php if(plxUtils::testModRewrite(false)) : ?>
|
||||||
<?php plxUtils::printSelect('urlrewriting',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['urlrewriting']);?>
|
<?php plxUtils::printSelect('urlrewriting',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['urlrewriting']);?>
|
||||||
<?php if(is_file(PLX_ROOT.'.htaccess') AND $plxAdmin->aConf['urlrewriting']==0) { ?>
|
<?php if(is_file(PLX_ROOT.'.htaccess') AND $plxAdmin->aConf['urlrewriting']==0) { ?>
|
||||||
<?php echo L_CONFIG_ADVANCED_URL_REWRITE_ALERT ?>
|
<br /><span class="text-red"><?php echo L_CONFIG_ADVANCED_URL_REWRITE_ALERT ?></span>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php echo L_MODREWRITE_NOT_AVAILABLE ?>
|
<?php echo L_MODREWRITE_NOT_AVAILABLE ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p class="field"><label for="id_gzip"><?php echo L_CONFIG_ADVANCED_GZIP ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_gzip"><?php echo L_CONFIG_ADVANCED_GZIP ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('gzip',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['gzip']);?>
|
<?php plxUtils::printSelect('gzip',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['gzip']);?>
|
||||||
<a class="help" title="<?php echo L_CONFIG_ADVANCED_GZIP_HELP ?>"> </a>
|
<a class="hint"><span><?php echo L_CONFIG_ADVANCED_GZIP_HELP ?></span></a>
|
||||||
<p class="field"><label for="id_capcha"><?php echo L_CONFIG_ADVANCED_CAPCHA ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_capcha"><?php echo L_CONFIG_ADVANCED_CAPCHA ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('capcha',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['capcha']);?>
|
<?php plxUtils::printSelect('capcha',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['capcha']);?>
|
||||||
<p class="field"><label for="id_userfolders"><?php echo L_CONFIG_ADVANCED_USERFOLDERS ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_userfolders"><?php echo L_CONFIG_ADVANCED_USERFOLDERS ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('userfolders',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['userfolders']);?>
|
<?php plxUtils::printSelect('userfolders',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['userfolders']);?>
|
||||||
<p class="field"><label for="id_clef"><?php echo L_CONFIG_ADVANCED_ADMIN_KEY ?> :</label></p>
|
</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 ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('clef', $plxAdmin->aConf['clef'], 'text', '30-30'); ?>
|
<?php plxUtils::printInput('clef', $plxAdmin->aConf['clef'], 'text', '30-30'); ?>
|
||||||
<a class="help" title="<?php echo L_CONFIG_ADVANCED_KEY_HELP ?>"> </a>
|
<a class="hint"><span><?php echo L_CONFIG_ADVANCED_KEY_HELP ?></span></a>
|
||||||
</fieldset>
|
</div>
|
||||||
<fieldset class="config">
|
</div>
|
||||||
<p class="field"><label for="id_config_path"><?php echo L_CONFIG_ADVANCED_CONFIG_FOLDER ?> :</label></p>
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_config_path"><?php echo L_CONFIG_ADVANCED_CONFIG_FOLDER ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('config_path', PLX_CONFIG_PATH) ?>
|
<?php plxUtils::printInput('config_path', PLX_CONFIG_PATH) ?>
|
||||||
<a class="help" title="<?php echo L_HELP_SLASH_END ?>"> </a>
|
<a class="hint"><span><?php echo L_HELP_SLASH_END ?></span></a>
|
||||||
<p class="field"><label for="id_racine_articles"><?php echo L_CONFIG_ADVANCED_ARTS_FOLDER ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_racine_articles"><?php echo L_CONFIG_ADVANCED_ARTS_FOLDER ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('racine_articles', $plxAdmin->aConf['racine_articles']); ?>
|
<?php plxUtils::printInput('racine_articles', $plxAdmin->aConf['racine_articles']); ?>
|
||||||
<a class="help" title="<?php echo L_HELP_SLASH_END ?>"> </a>
|
<a class="hint"><span><?php echo L_HELP_SLASH_END ?></span></a>
|
||||||
<p class="field"><label for="id_racine_commentaires"><?php echo L_CONFIG_ADVANCED_COMS_FOLDER ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_racine_commentaires"><?php echo L_CONFIG_ADVANCED_COMS_FOLDER ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('racine_commentaires', $plxAdmin->aConf['racine_commentaires']); ?>
|
<?php plxUtils::printInput('racine_commentaires', $plxAdmin->aConf['racine_commentaires']); ?>
|
||||||
<a class="help" title="<?php echo L_HELP_SLASH_END ?>"> </a>
|
<a class="hint"><span><?php echo L_HELP_SLASH_END ?></span></a>
|
||||||
<p class="field"><label for="id_racine_statiques"><?php echo L_CONFIG_ADVANCED_STATS_FOLDER ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_racine_statiques"><?php echo L_CONFIG_ADVANCED_STATS_FOLDER ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('racine_statiques', $plxAdmin->aConf['racine_statiques']); ?>
|
<?php plxUtils::printInput('racine_statiques', $plxAdmin->aConf['racine_statiques']); ?>
|
||||||
<a class="help" title="<?php echo L_HELP_SLASH_END ?>"> </a>
|
<a class="hint"><span><?php echo L_HELP_SLASH_END ?></span></a>
|
||||||
<p class="field"><label for="id_images"><?php echo L_CONFIG_ADVANCED_PICS_FOLDER ?> :</label></p>
|
</div>
|
||||||
<?php plxUtils::printInput('images', $plxAdmin->aConf['images']); ?>
|
</div>
|
||||||
<a class="help" title="<?php echo L_HELP_SLASH_END ?>"> </a>
|
<div class="grid">
|
||||||
<p class="field"><label for="id_documents"><?php echo L_CONFIG_ADVANCED_DOCS_FOLDER ?> :</label></p>
|
<div class="col sml-12 med-5 label-centered">
|
||||||
<?php plxUtils::printInput('documents', $plxAdmin->aConf['documents']); ?>
|
<label for="id_medias"><?php echo L_CONFIG_ADVANCED_MEDIAS_FOLDER ?> :</label>
|
||||||
<a class="help" title="<?php echo L_HELP_SLASH_END ?>"> </a>
|
</div>
|
||||||
<p class="field"><label for="id_racine_themes"><?php echo L_CONFIG_ADVANCED_THEMES_FOLDER ?> :</label></p>
|
<div class="col sml-12 med-7">
|
||||||
|
<?php plxUtils::printInput('medias', $plxAdmin->aConf['medias']); ?>
|
||||||
|
<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_racine_themes"><?php echo L_CONFIG_ADVANCED_THEMES_FOLDER ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('racine_themes', $plxAdmin->aConf['racine_themes']); ?>
|
<?php plxUtils::printInput('racine_themes', $plxAdmin->aConf['racine_themes']); ?>
|
||||||
<a class="help" title="<?php echo L_HELP_SLASH_END ?>"> </a>
|
<a class="hint"><span><?php echo L_HELP_SLASH_END ?></span></a>
|
||||||
<p class="field"><label for="id_racine_plugins"><?php echo L_CONFIG_ADVANCED_PLUGINS_FOLDER ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_racine_plugins"><?php echo L_CONFIG_ADVANCED_PLUGINS_FOLDER ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('racine_plugins', $plxAdmin->aConf['racine_plugins']); ?>
|
<?php plxUtils::printInput('racine_plugins', $plxAdmin->aConf['racine_plugins']); ?>
|
||||||
<a class="help" title="<?php echo L_HELP_SLASH_END ?>"> </a>
|
<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 ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
|
<?php plxUtils::printInput('custom_admincss_file', $plxAdmin->aConf['custom_admincss_file']); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsAdvanced')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsAdvanced')) ?>
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
<input class="button update" type="submit" value="<?php echo L_CONFIG_ADVANCED_UPDATE ?>" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -27,36 +27,93 @@ if(!empty($_POST)) {
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_CONFIG_BASE_CONFIG_TITLE ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsBaseTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="parametres_base.php" method="post" id="form_settings">
|
<form action="parametres_base.php" method="post" id="form_settings">
|
||||||
|
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_CONFIG_BASE_CONFIG_TITLE ?></h2>
|
||||||
|
<p> </p>
|
||||||
|
<input type="submit" value="<?php echo L_CONFIG_BASE_UPDATE ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsBaseTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
<fieldset class="config">
|
<fieldset class="config">
|
||||||
<p class="field"><label for="id_title"><?php echo L_CONFIG_BASE_SITE_TITLE ?> :</label></p>
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_title"><?php echo L_CONFIG_BASE_SITE_TITLE ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('title', plxUtils::strCheck($plxAdmin->aConf['title'])); ?>
|
<?php plxUtils::printInput('title', plxUtils::strCheck($plxAdmin->aConf['title'])); ?>
|
||||||
<p class="field"><label for="id_description"><?php echo L_CONFIG_BASE_SITE_SLOGAN ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_description"><?php echo L_CONFIG_BASE_SITE_SLOGAN ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('description', plxUtils::strCheck($plxAdmin->aConf['description'])); ?>
|
<?php plxUtils::printInput('description', plxUtils::strCheck($plxAdmin->aConf['description'])); ?>
|
||||||
<p class="field"><label for="id_meta_description"><?php echo L_CONFIG_META_DESCRIPTION ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_meta_description"><?php echo L_CONFIG_META_DESCRIPTION ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('meta_description', plxUtils::strCheck($plxAdmin->aConf['meta_description'])); ?>
|
<?php plxUtils::printInput('meta_description', plxUtils::strCheck($plxAdmin->aConf['meta_description'])); ?>
|
||||||
<p class="field"><label for="id_meta_keywords"><?php echo L_CONFIG_META_KEYWORDS ?> :</label></p>
|
</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 ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('meta_keywords', plxUtils::strCheck($plxAdmin->aConf['meta_keywords'])); ?>
|
<?php plxUtils::printInput('meta_keywords', plxUtils::strCheck($plxAdmin->aConf['meta_keywords'])); ?>
|
||||||
<p class="field"><label for="id_default_lang"><?php echo L_CONFIG_BASE_DEFAULT_LANG ?> :</label></p>
|
</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 ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('default_lang', plxUtils::getLangs(), $plxAdmin->aConf['default_lang']) ?>
|
<?php plxUtils::printSelect('default_lang', plxUtils::getLangs(), $plxAdmin->aConf['default_lang']) ?>
|
||||||
<p class="field"><label for="id_timezone"><?php echo L_CONFIG_BASE_TIMEZONE ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_timezone"><?php echo L_CONFIG_BASE_TIMEZONE ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('timezone', plxTimezones::timezones(), $plxAdmin->aConf['timezone']); ?>
|
<?php plxUtils::printSelect('timezone', plxTimezones::timezones(), $plxAdmin->aConf['timezone']); ?>
|
||||||
<p class="field"><label for="id_allow_com"><?php echo L_CONFIG_BASE_ALLOW_COMMENTS ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_allow_com"><?php echo L_CONFIG_BASE_ALLOW_COMMENTS ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('allow_com',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['allow_com']); ?>
|
<?php plxUtils::printSelect('allow_com',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['allow_com']); ?>
|
||||||
<p class="field"><label for="id_mod_com"><?php echo L_CONFIG_BASE_MODERATE_COMMENTS ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_mod_com"><?php echo L_CONFIG_BASE_MODERATE_COMMENTS ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('mod_com',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['mod_com']); ?>
|
<?php plxUtils::printSelect('mod_com',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['mod_com']); ?>
|
||||||
<p class="field"><label for="id_mod_art"><?php echo L_CONFIG_BASE_MODERATE_ARTICLES ?> :</label></p>
|
</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 ?> :</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']); ?>
|
<?php plxUtils::printSelect('mod_art',array('1'=>L_YES,'0'=>L_NO), $plxAdmin->aConf['mod_art']); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsBase')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsBase')) # Hook Plugins ?>
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<input class="button update" type="submit" value="<?php echo L_CONFIG_BASE_UPDATE ?>" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -73,28 +73,33 @@ if(file_exists($filename) AND filesize($filename) > 0) {
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_CONFIG_EDITTPL_TITLE ?> «<?php echo plxUtils::strCheck($style) ?>»</h2>
|
<div class="action-bar">
|
||||||
|
<h2><?php echo L_CONFIG_EDITTPL_TITLE ?> «<?php echo plxUtils::strCheck($style) ?>»</h2>
|
||||||
|
<p><?php echo L_CONFIG_VIEW_PLUXML_RESSOURCES ?></p>
|
||||||
|
<form class="inline-form" action="parametres_edittpl.php" method="post" id="form_select">
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
<label for="id_template"><?php echo L_CONFIG_EDITTPL_SELECT_FILE ?></label>
|
||||||
|
<?php plxUtils::printSelect('template', $aTemplates, $tpl); ?>
|
||||||
|
<input name="load" type="submit" value="<?php echo L_CONFIG_EDITTPL_LOAD ?>" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsEdittplTop')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsEdittplTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
<form action="parametres_edittpl.php" method="post" id="form_select">
|
|
||||||
<p class="field">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
<label for="id_template"><?php echo L_CONFIG_EDITTPL_SELECT_FILE ?></label>
|
|
||||||
<?php plxUtils::printSelect('template', $aTemplates, $tpl); ?> <input class="button" name="load" type="submit" value="<?php echo L_CONFIG_EDITTPL_LOAD ?>" />
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<form action="parametres_edittpl.php" method="post" id="form_file">
|
<form action="parametres_edittpl.php" method="post" id="form_file">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_CONTENT_FIELD ?> :</label></p>
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_content"><?php echo L_CONTENT_FIELD ?> :</label>
|
||||||
<?php plxUtils::printInput('tpl',plxUtils::strCheck($tpl),'hidden'); ?>
|
<?php plxUtils::printInput('tpl',plxUtils::strCheck($tpl),'hidden'); ?>
|
||||||
<?php plxUtils::printArea('content',plxUtils::strCheck($content),60,20); ?>
|
<?php plxUtils::printArea('content',plxUtils::strCheck($content),60,20,false,'full-width'); ?>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsEdittpl')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsEdittpl')) # Hook Plugins ?>
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<input class="button update" name="submit" type="submit" value="<?php echo L_SAVE_FILE ?>" />
|
</div>
|
||||||
</p>
|
<div class="col sml-12">
|
||||||
|
<input name="submit" type="submit" value="<?php echo L_SAVE_FILE ?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -16,32 +16,36 @@ $plxAdmin->checkProfil(PROFIL_ADMIN);
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_CONFIG_INFOS_TITLE ?></h2>
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_CONFIG_INFOS_TITLE ?></h2>
|
||||||
|
<p><strong><?php echo L_PLUXML_CHECK_VERSION ?></strong></p>
|
||||||
|
<p><span class="text-red"><?php echo $plxAdmin->checkMaj(); ?></span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p><?php echo L_CONFIG_INFOS_DESCRIPTION ?></p>
|
<p><?php echo L_CONFIG_INFOS_DESCRIPTION ?></p>
|
||||||
<div class="panel">
|
|
||||||
<ul>
|
<p><strong><?php echo L_PLUXML_VERSION; ?> <?php echo $plxAdmin->version; ?> (<?php echo L_INFO_CHARSET ?> <?php echo PLX_CHARSET ?>)</strong></p>
|
||||||
<li><strong><?php echo L_PLUXML_VERSION; ?> <?php echo $plxAdmin->version; ?> (<?php echo L_INFO_CHARSET ?> <?php echo PLX_CHARSET ?>)</strong></li>
|
<ul class="unstyled-list">
|
||||||
<li><?php echo L_INFO_PHP_VERSION; ?> : <?php echo phpversion(); ?></li>
|
<li><?php echo L_INFO_PHP_VERSION; ?> : <?php echo phpversion(); ?></li>
|
||||||
|
<?php if (!empty($_SERVER['SERVER_SOFTWARE'])) { ?>
|
||||||
|
<li><?php echo $_SERVER['SERVER_SOFTWARE']; ?></li>
|
||||||
|
<?php } ?>
|
||||||
|
</ul>
|
||||||
|
<ul class="unstyled-list">
|
||||||
<li><?php echo L_INFO_MAGIC_QUOTES; ?> : <?php echo get_magic_quotes_gpc(); ?></li>
|
<li><?php echo L_INFO_MAGIC_QUOTES; ?> : <?php echo get_magic_quotes_gpc(); ?></li>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.PLX_CONFIG_PATH); ?>
|
<?php plxUtils::testWrite(PLX_ROOT.PLX_CONFIG_PATH); ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_articles']); ?>
|
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_articles']); ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_commentaires']); ?>
|
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_commentaires']); ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_statiques']); ?>
|
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_statiques']); ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['images']); ?>
|
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['medias']); ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['documents']); ?>
|
|
||||||
<?php plxUtils::testModReWrite() ?>
|
<?php plxUtils::testModReWrite() ?>
|
||||||
<?php plxUtils::testLibGD() ?>
|
<?php plxUtils::testLibGD() ?>
|
||||||
<?php plxUtils::testMail() ?>
|
<?php plxUtils::testMail() ?>
|
||||||
<li><?php echo L_CONFIG_INFOS_NB_CATS ?> <?php echo sizeof($plxAdmin->aCats); ?></li>
|
</ul>
|
||||||
<li><?php echo L_CONFIG_INFOS_NB_STATICS ?> <?php echo sizeof($plxAdmin->aStats); ?></li>
|
<p><?php echo L_CONFIG_INFOS_NB_CATS ?> <?php echo sizeof($plxAdmin->aCats); ?></p>
|
||||||
<li><?php echo L_CONFIG_INFOS_WRITER ?> <?php echo $plxAdmin->aUsers[$_SESSION['user']]['name'] ?></li>
|
<p><?php echo L_CONFIG_INFOS_NB_STATICS ?> <?php echo sizeof($plxAdmin->aStats); ?></p>
|
||||||
</ul>
|
<p><?php echo L_CONFIG_INFOS_WRITER ?> <?php echo $plxAdmin->aUsers[$_SESSION['user']]['name'] ?></p>
|
||||||
</div>
|
|
||||||
<div class="panel">
|
|
||||||
<strong><?php echo L_PLUXML_CHECK_VERSION ?></strong>
|
|
||||||
<p><?php echo $plxAdmin->checkMaj(); ?></p>
|
|
||||||
</div>
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsInfos')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsInfos')) ?>
|
||||||
<?php
|
<?php
|
||||||
# On inclut le footer
|
# On inclut le footer
|
||||||
|
|
|
@ -26,9 +26,13 @@ if(is_file($filename)) {
|
||||||
|
|
||||||
# Control des autorisation d'accès à l'écran config.php du plugin
|
# Control des autorisation d'accès à l'écran config.php du plugin
|
||||||
$plxAdmin->checkProfil($plxPlugin->getConfigProfil());
|
$plxAdmin->checkProfil($plxPlugin->getConfigProfil());
|
||||||
# chargement de l'écran de parametrage du plugin config.php
|
# chargement de l'écran de paramétrage du plugin config.php
|
||||||
ob_start();
|
ob_start();
|
||||||
echo '<p><a href="parametres_plugins.php">'.L_BACK_TO_PLUGINS.'</a></p>';
|
echo '
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2>'.plxUtils::strCheck($plugin).'</h2>
|
||||||
|
<p><a class="back" href="parametres_plugins.php">'.L_BACK_TO_PLUGINS.'</a></p>
|
||||||
|
</div>';
|
||||||
include($filename);
|
include($filename);
|
||||||
$output=ob_get_clean();
|
$output=ob_get_clean();
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,22 +48,31 @@ $frontend = ($frontend=='' AND is_file($file_frontend_init)) ? trim(file_get_con
|
||||||
# On inclut le header
|
# On inclut le header
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
|
|
||||||
# Affichage des données
|
|
||||||
echo '<p><a href="parametres_plugins.php">'.L_BACK_TO_PLUGINS.'</a></p>';
|
|
||||||
?>
|
?>
|
||||||
<h2><?php echo plxUtils::strCheck($plugin) ?></h2>
|
|
||||||
|
|
||||||
<form action="parametres_plugincss.php?p=<?php echo urlencode($plugin) ?>" method="post" id="form_file">
|
<form action="parametres_plugincss.php?p=<?php echo urlencode($plugin) ?>" method="post" id="form_file">
|
||||||
|
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo plxUtils::strCheck($plugin) ?></h2>
|
||||||
|
<?php echo '<p><a class="back" href="parametres_plugins.php">'.L_BACK_TO_PLUGINS.'</a></p>'; ?>
|
||||||
|
<input name="submit" type="submit" value="<?php echo L_SAVE_FILE ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<p id="p_content"><label for="id_frontend"><?php echo L_CONTENT_FIELD_FRONTEND ?> :</label></p>
|
<div class="grid">
|
||||||
<?php plxUtils::printArea('frontend',plxUtils::strCheck($frontend),60,20); ?>
|
<div class="col sml-12">
|
||||||
<p id="p_content"><label for="id_backend"><?php echo L_CONTENT_FIELD_BACKEND ?> :</label></p>
|
<label for="id_frontend"><?php echo L_CONTENT_FIELD_FRONTEND ?> :</label>
|
||||||
<?php plxUtils::printArea('backend',plxUtils::strCheck($backend),60,20); ?>
|
<?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 ?> :</label>
|
||||||
|
<?php plxUtils::printArea('backend',plxUtils::strCheck($backend),60,20,false,'full-width'); ?>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminPluginCss')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminPluginCss')) # Hook Plugins ?>
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<input class="button update" name="submit" type="submit" value="<?php echo L_SAVE_FILE ?>" />
|
</div>
|
||||||
</p>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -19,7 +19,11 @@ $output='';
|
||||||
$filename = realpath(PLX_PLUGINS.$plugin.'/lang/'.$plxAdmin->aConf['default_lang'].'-help.php');
|
$filename = realpath(PLX_PLUGINS.$plugin.'/lang/'.$plxAdmin->aConf['default_lang'].'-help.php');
|
||||||
if(is_file($filename)) {
|
if(is_file($filename)) {
|
||||||
ob_start();
|
ob_start();
|
||||||
echo '<p><a href="parametres_plugins.php">'.L_BACK_TO_PLUGINS.'</a></p>';
|
echo '
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2>'.plxUtils::strCheck($plugin).'</h2>
|
||||||
|
<p><a class="back" href="parametres_plugins.php">'.L_BACK_TO_PLUGINS.'</a></p>
|
||||||
|
</div>';
|
||||||
include($filename);
|
include($filename);
|
||||||
$output=ob_get_clean();
|
$output=ob_get_clean();
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,8 @@ function pluginsList($plugins, $defaultLang, $type) {
|
||||||
|
|
||||||
# plugin infos
|
# plugin infos
|
||||||
$output .= '<td>';
|
$output .= '<td>';
|
||||||
|
# message d'alerte si plugin non configuré
|
||||||
|
if($type AND file_exists(PLX_PLUGINS.$plugName.'/config.php') AND !file_exists(PLX_ROOT.PLX_CONFIG_PATH.'plugins/'.$plugName.'.xml')) $output .= '<span style="margin-top:5px" class="alert red float-right">'.L_PLUGIN_NO_CONFIG.'</span>';
|
||||||
# title + version
|
# title + version
|
||||||
$output .= '<strong>'.plxUtils::strCheck($plugInstance->getInfo('title')).'</strong> - '.L_PLUGINS_VERSION.' <strong>'.plxUtils::strCheck($plugInstance->getInfo('version')).'</strong>';
|
$output .= '<strong>'.plxUtils::strCheck($plugInstance->getInfo('title')).'</strong> - '.L_PLUGINS_VERSION.' <strong>'.plxUtils::strCheck($plugInstance->getInfo('version')).'</strong>';
|
||||||
# date
|
# date
|
||||||
|
@ -68,8 +70,6 @@ function pluginsList($plugins, $defaultLang, $type) {
|
||||||
$output .= L_PLUGINS_AUTHOR.' : '.plxUtils::strCheck($plugInstance->getInfo('author'));
|
$output .= L_PLUGINS_AUTHOR.' : '.plxUtils::strCheck($plugInstance->getInfo('author'));
|
||||||
# site
|
# site
|
||||||
if($plugInstance->getInfo('site')!='') $output .= ' - <a href="'.plxUtils::strCheck($plugInstance->getInfo('site')).'">'.plxUtils::strCheck($plugInstance->getInfo('site')).'</a>';
|
if($plugInstance->getInfo('site')!='') $output .= ' - <a href="'.plxUtils::strCheck($plugInstance->getInfo('site')).'">'.plxUtils::strCheck($plugInstance->getInfo('site')).'</a>';
|
||||||
# message d'alerte si plugin non configuré
|
|
||||||
if($type AND file_exists(PLX_PLUGINS.$plugName.'/config.php') AND !file_exists(PLX_ROOT.PLX_CONFIG_PATH.'plugins/'.$plugName.'.xml')) $output .= '<br /><span class="alert">'.L_PLUGIN_NO_CONFIG.'</span>';
|
|
||||||
$output .= '</td>';
|
$output .= '</td>';
|
||||||
|
|
||||||
# colonne pour trier les plugins
|
# colonne pour trier les plugins
|
||||||
|
@ -119,48 +119,54 @@ if($sel=='1') {
|
||||||
}
|
}
|
||||||
# fil d'ariane
|
# fil d'ariane
|
||||||
$breadcrumbs = array();
|
$breadcrumbs = array();
|
||||||
$breadcrumbs[] = '<a '.($_SESSION['selPlugins']=='1'?'class="selected" ':'').'href="parametres_plugins.php?sel=1">'.L_PLUGINS_ACTIVE_LIST.'</a> ('.$nbActivePlugins.')';
|
$breadcrumbs[] = '<li><a '.($_SESSION['selPlugins']=='1'?'class="selected" ':'').'href="parametres_plugins.php?sel=1">'.L_PLUGINS_ACTIVE_LIST.'</a> ('.$nbActivePlugins.')</li>';
|
||||||
$breadcrumbs[] = '<a '.($_SESSION['selPlugins']=='0'?'class="selected" ':'').'href="parametres_plugins.php?sel=0">'.L_PLUGINS_INACTIVE_LIST.'</a> ('.$nbInactivePlugins.')';
|
$breadcrumbs[] = '<li><a '.($_SESSION['selPlugins']=='0'?'class="selected" ':'').'href="parametres_plugins.php?sel=0">'.L_PLUGINS_INACTIVE_LIST.'</a> ('.$nbInactivePlugins.')</li>';
|
||||||
|
|
||||||
# On inclut le header
|
# On inclut le header
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_PLUGINS_TITLE ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsPluginsTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<p class="breadcrumbs">
|
|
||||||
<?php echo implode(' | ', $breadcrumbs); ?>
|
|
||||||
</p>
|
|
||||||
<form action="parametres_plugins.php" method="post" id="form_plugins">
|
<form action="parametres_plugins.php" method="post" id="form_plugins">
|
||||||
<table class="table">
|
|
||||||
<thead>
|
<div class="inline-form action-bar">
|
||||||
<tr>
|
<h2><?php echo L_PLUGINS_TITLE ?></h2>
|
||||||
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'chkAction[]')" /></th>
|
<ul class="menu">
|
||||||
<th class="icon"> </th>
|
<?php echo implode($breadcrumbs); ?>
|
||||||
<th class="description"><?php echo L_MENU_CONFIG_PLUGINS ?></th>
|
</ul>
|
||||||
<?php if($_SESSION['selPlugins']=='1') : ?>
|
|
||||||
<th class="col"><?php echo L_PLUGINS_LOADING_SORT ?></th>
|
|
||||||
<?php endif; ?>
|
|
||||||
<th class="action"><?php echo L_PLUGINS_ACTION ?></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php echo $plugins ?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<?php if($_SESSION['selPlugins']=='1') : ?>
|
|
||||||
<p class="center">
|
|
||||||
<input class="button update " type="submit" name="update" value="<?php echo L_PLUGINS_APPLY_BUTTON ?>" />
|
|
||||||
</p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<p>
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<?php plxUtils::printSelect('selection', $aSelList,'', false,'','id_selection'); ?>
|
<?php plxUtils::printSelect('selection', $aSelList,'', false,'','id_selection'); ?>
|
||||||
<input class="button submit" type="submit" name="submit" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection', 'delete', 'chkAction[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
<input type="submit" name="submit" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection', 'delete', 'chkAction[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
||||||
</p>
|
|
||||||
|
<?php if($sel==1) { ?>
|
||||||
|
<input type="submit" name="update" value="<?php echo L_PLUGINS_APPLY_BUTTON ?>" />
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsPluginsTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<div class="scrollable-table">
|
||||||
|
<table id="plugins-table" class="full-width">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th><input type="checkbox" onclick="checkAll(this.form, 'chkAction[]')" /></th>
|
||||||
|
<th> </th>
|
||||||
|
<th><?php echo L_MENU_CONFIG_PLUGINS ?></th>
|
||||||
|
<?php if($_SESSION['selPlugins']=='1') : ?>
|
||||||
|
<th><?php echo L_PLUGINS_LOADING_SORT ?></th>
|
||||||
|
<?php endif; ?>
|
||||||
|
<th><?php echo L_PLUGINS_ACTION ?></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php echo $plugins ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php if($_SESSION['selPlugins']=='1') : ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -34,16 +34,26 @@ $aProfils = array(
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_CONFIG_USERS_TITLE; ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminUsersTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="parametres_users.php" method="post" id="form_users">
|
<form action="parametres_users.php" method="post" id="form_users">
|
||||||
<table class="table">
|
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_CONFIG_USERS_TITLE; ?></h2>
|
||||||
|
<p> </p>
|
||||||
|
<?php plxUtils::printSelect('selection', array( '' => L_FOR_SELECTION, 'delete' => L_DELETE), '', false, 'no-margin', 'id_selection') ?>
|
||||||
|
<input type="submit" name="submit" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection', 'delete', 'idUser[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
|
||||||
|
<input type="submit" name="update" value="<?php echo L_CONFIG_USERS_UPDATE ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminUsersTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<div class="scrollable-table">
|
||||||
|
<table id="users-table" class="full-width">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idUser[]')" /></th>
|
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idUser[]')" /></th>
|
||||||
<th class="title"><?php echo L_CONFIG_USERS_ID ?></th>
|
<th><?php echo L_CONFIG_USERS_ID.' '.L_CONFIG_USER ?></th>
|
||||||
<th><?php echo L_PROFIL_USER ?></th>
|
<th><?php echo L_PROFIL_USER ?></th>
|
||||||
<th><?php echo L_PROFIL_LOGIN ?></th>
|
<th><?php echo L_PROFIL_LOGIN ?></th>
|
||||||
<th><?php echo L_PROFIL_PASSWORD ?></th>
|
<th><?php echo L_PROFIL_PASSWORD ?></th>
|
||||||
|
@ -61,12 +71,12 @@ include(dirname(__FILE__).'/top.php');
|
||||||
if (!$_user['delete']) {
|
if (!$_user['delete']) {
|
||||||
echo '<tr class="line-'.($num%2).'">';
|
echo '<tr class="line-'.($num%2).'">';
|
||||||
echo '<td><input type="checkbox" name="idUser[]" value="'.$_userid.'" /><input type="hidden" name="userNum[]" value="'.$_userid.'" /></td>';
|
echo '<td><input type="checkbox" name="idUser[]" value="'.$_userid.'" /><input type="hidden" name="userNum[]" value="'.$_userid.'" /></td>';
|
||||||
echo '<td>Utilisateur '.$_userid.'</td><td>';
|
echo '<td>'.$_userid.'</td><td>';
|
||||||
plxUtils::printInput($_userid.'_name', plxUtils::strCheck($_user['name']), 'text', '20-255');
|
plxUtils::printInput($_userid.'_name', plxUtils::strCheck($_user['name']), 'text', '10-255');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($_userid.'_login', plxUtils::strCheck($_user['login']), 'text', '11-255');
|
plxUtils::printInput($_userid.'_login', plxUtils::strCheck($_user['login']), 'text', '10-255');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($_userid.'_password', '', 'password', '11-255');
|
plxUtils::printInput($_userid.'_password', '', 'password', '10-255');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
if($_userid=='001') {
|
if($_userid=='001') {
|
||||||
plxUtils::printInput($_userid.'_profil', $_user['profil'], 'hidden');
|
plxUtils::printInput($_userid.'_profil', $_user['profil'], 'hidden');
|
||||||
|
@ -99,12 +109,12 @@ include(dirname(__FILE__).'/top.php');
|
||||||
<?php
|
<?php
|
||||||
echo '<input type="hidden" name="userNum[]" value="'.$new_userid.'" />';
|
echo '<input type="hidden" name="userNum[]" value="'.$new_userid.'" />';
|
||||||
plxUtils::printInput($new_userid.'_newuser', 'true', 'hidden');
|
plxUtils::printInput($new_userid.'_newuser', 'true', 'hidden');
|
||||||
plxUtils::printInput($new_userid.'_name', '', 'text', '20-255');
|
plxUtils::printInput($new_userid.'_name', '', 'text', '10-255');
|
||||||
plxUtils::printInput($new_userid.'_infos', '', 'hidden');
|
plxUtils::printInput($new_userid.'_infos', '', 'hidden');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($new_userid.'_login', '', 'text', '11-255');
|
plxUtils::printInput($new_userid.'_login', '', 'text', '10-255');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($new_userid.'_password', '', 'password', '11-255');
|
plxUtils::printInput($new_userid.'_password', '', 'password', '10-255');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($new_userid.'_profil', $aProfils, PROFIL_WRITER);
|
plxUtils::printSelect($new_userid.'_profil', $aProfils, PROFIL_WRITER);
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
|
@ -115,14 +125,8 @@ include(dirname(__FILE__).'/top.php');
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="center">
|
</div>
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
<input class="button update" type="submit" name="update" value="<?php echo L_CONFIG_USERS_UPDATE ?>" />
|
|
||||||
</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', 'idUser[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -20,6 +20,10 @@ if(isset($plxAdmin->plxPlugins->aPlugins[$plugin]) AND is_file($filename)) {
|
||||||
# Control des autorisation d'accès à l'écran admin.php du plugin
|
# Control des autorisation d'accès à l'écran admin.php du plugin
|
||||||
$plxAdmin->checkProfil($plxPlugin->getAdminProfil());
|
$plxAdmin->checkProfil($plxPlugin->getAdminProfil());
|
||||||
ob_start();
|
ob_start();
|
||||||
|
echo '
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2>'.plxUtils::strCheck($plugin).'</h2>
|
||||||
|
</div>';
|
||||||
include($filename);
|
include($filename);
|
||||||
$output=ob_get_clean();
|
$output=ob_get_clean();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# This file is part of PluXml : http://www.pluxml.org
|
# This file is part of PluXml : http://www.pluxml.org
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010-2013 Stephane Ferrari and contributors
|
# Copyright (c) 2010-2015 Stephane Ferrari and contributors
|
||||||
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
||||||
# Copyright (c) 2006-2008 Anthony GUERIN
|
# Copyright (c) 2006-2008 Anthony GUERIN
|
||||||
# Licensed under the GPL license.
|
# Licensed under the GPL license.
|
||||||
|
|
|
@ -34,41 +34,69 @@ include(dirname(__FILE__).'/top.php');
|
||||||
$_profil = $plxAdmin->aUsers[$_SESSION['user']];
|
$_profil = $plxAdmin->aUsers[$_SESSION['user']];
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php echo L_PROFIL_EDIT_TITLE ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminProfilTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="profil.php" method="post" id="form_profil">
|
<form action="profil.php" method="post" id="form_profil">
|
||||||
<fieldset class="withlabel">
|
|
||||||
<p class="field"><label><?php echo L_PROFIL_LOGIN ?> :</label> <strong><?php echo plxUtils::strCheck($_profil['login']) ?></strong></p>
|
<div class="inline-form action-bar">
|
||||||
<p class="field"><label for="id_name"><?php echo L_PROFIL_USER ?> :</label></p>
|
<h2><?php echo L_PROFIL_EDIT_TITLE ?></h2>
|
||||||
|
<p><label><?php echo L_PROFIL_LOGIN ?> : <strong><?php echo plxUtils::strCheck($_profil['login']) ?></strong></label></p>
|
||||||
|
<input type="submit" name="profil" value="<?php echo L_PROFIL_UPDATE ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminProfilTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_name"><?php echo L_PROFIL_USER ?> :</label>
|
||||||
<?php plxUtils::printInput('name', plxUtils::strCheck($_profil['name']), 'text', '20-255') ?>
|
<?php plxUtils::printInput('name', plxUtils::strCheck($_profil['name']), 'text', '20-255') ?>
|
||||||
<p class="field"><label for="id_email"><?php echo L_PROFIL_MAIL ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_email"><?php echo L_PROFIL_MAIL ?> :</label>
|
||||||
<?php plxUtils::printInput('email', plxUtils::strCheck($_profil['email']), 'text', '30-255') ?>
|
<?php plxUtils::printInput('email', plxUtils::strCheck($_profil['email']), 'text', '30-255') ?>
|
||||||
<p class="field"><label for="id_lang"><?php echo L_PROFIL_ADMIN_LANG ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_lang"><?php echo L_PROFIL_ADMIN_LANG ?> :</label>
|
||||||
<?php plxUtils::printSelect('lang', plxUtils::getLangs(), $_profil['lang']) ?>
|
<?php plxUtils::printSelect('lang', plxUtils::getLangs(), $_profil['lang']) ?>
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_PROFIL_INFOS ?> :</label></p>
|
</div>
|
||||||
<?php plxUtils::printArea('content',plxUtils::strCheck($_profil['infos']),140,5); ?>
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_content"><?php echo L_PROFIL_INFOS ?> :</label>
|
||||||
|
<?php plxUtils::printArea('content',plxUtils::strCheck($_profil['infos']),140,5,false,'full-width'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminProfil')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminProfil')) # Hook Plugins ?>
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<input class="button update" type="submit" name="profil" value="<?php echo L_PROFIL_UPDATE ?>" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<h2><?php echo L_PROFIL_CHANGE_PASSWORD ?></h2>
|
<h3><?php echo L_PROFIL_CHANGE_PASSWORD ?></h3>
|
||||||
<form action="profil.php" method="post" id="form_password">
|
<form action="profil.php" method="post" id="form_password">
|
||||||
<fieldset class="withlabel">
|
<fieldset>
|
||||||
<p class="field"><label for="id_password1"><?php echo L_PROFIL_PASSWORD ?> :</label></p>
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_password1"><?php echo L_PROFIL_PASSWORD ?> :</label>
|
||||||
<?php plxUtils::printInput('password1', '', 'password', '20-255') ?>
|
<?php plxUtils::printInput('password1', '', 'password', '20-255') ?>
|
||||||
<p class="field"><label for="id_password2"><?php echo L_PROFIL_CONFIRM_PASSWORD ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_password2"><?php echo L_PROFIL_CONFIRM_PASSWORD ?> :</label>
|
||||||
<?php plxUtils::printInput('password2', '', 'password', '20-255') ?>
|
<?php plxUtils::printInput('password2', '', 'password', '20-255') ?>
|
||||||
</fieldset>
|
</div>
|
||||||
<p class="center">
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<input class="button update" type="submit" name="password" value="<?php echo L_PROFIL_UPDATE_PASSWORD ?>" />
|
<input type="submit" name="password" value="<?php echo L_PROFIL_UPDATE_PASSWORD ?>" />
|
||||||
</p>
|
</div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -44,44 +44,67 @@ if(!empty($_POST) AND isset($plxAdmin->aStats[$_POST['id']])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# On récupère les templates des pages statiques
|
# On récupère les templates des pages statiques
|
||||||
|
$aTemplates = array();
|
||||||
$files = plxGlob::getInstance(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style']);
|
$files = plxGlob::getInstance(PLX_ROOT.$plxAdmin->aConf['racine_themes'].$plxAdmin->aConf['style']);
|
||||||
if ($array = $files->query('/^static(-[a-z0-9-_]+)?.php$/')) {
|
if ($array = $files->query('/^static(-[a-z0-9-_]+)?.php$/')) {
|
||||||
foreach($array as $k=>$v)
|
foreach($array as $k=>$v)
|
||||||
$aTemplates[$v] = $v;
|
$aTemplates[$v] = $v;
|
||||||
}
|
}
|
||||||
|
if(empty($aTemplates)) $aTemplates[''] = L_NONE1;
|
||||||
|
|
||||||
# On inclut le header
|
# On inclut le header
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p class="back"><a href="statiques.php"><?php echo L_STATIC_BACK_TO_PAGE ?></a></p>
|
|
||||||
|
|
||||||
<h2><?php echo L_STATIC_TITLE ?> "<?php echo plxUtils::strCheck($title); ?>"</h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminStaticTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="statique.php" method="post" id="form_static">
|
<form action="statique.php" method="post" id="form_static">
|
||||||
<fieldset>
|
|
||||||
<?php plxUtils::printInput('id', $id, 'hidden');?>
|
<div class="inline-form action-bar">
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_CONTENT_FIELD ?> :</label></p>
|
<h2><?php echo L_STATIC_TITLE ?> "<?php echo plxUtils::strCheck($title); ?>"</h2>
|
||||||
<?php plxUtils::printArea('content', plxUtils::strCheck($content),140,30) ?>
|
<p><a class="back" href="statiques.php"><?php echo L_STATIC_BACK_TO_PAGE ?></a></p>
|
||||||
<?php if($active) : ?>
|
<input type="submit" value="<?php echo L_STATIC_UPDATE ?>"/>
|
||||||
<a href="<?php echo PLX_ROOT; ?>?static<?php echo intval($id); ?>/<?php echo $url; ?>"><?php echo L_STATIC_VIEW_PAGE ?> <?php echo plxUtils::strCheck($title); ?> <?php echo L_STATIC_ON_SITE ?></a>
|
<a href="<?php echo PLX_ROOT; ?>?static<?php echo intval($id); ?>/<?php echo $url; ?>"><?php echo L_STATIC_VIEW_PAGE ?> <?php echo plxUtils::strCheck($title); ?> <?php echo L_STATIC_ON_SITE ?></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminStaticTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<?php plxUtils::printInput('id', $id, 'hidden');?>
|
||||||
|
<label for="id_content"><?php echo L_CONTENT_FIELD ?> :</label>
|
||||||
|
<?php plxUtils::printArea('content', plxUtils::strCheck($content),140,30,false,'full-width') ?>
|
||||||
|
<?php if($active) : ?>
|
||||||
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p><label for="id_template"><?php echo L_STATICS_TEMPLATE_FIELD ?> :</label></p>
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_template"><?php echo L_STATICS_TEMPLATE_FIELD ?> :</label>
|
||||||
<?php plxUtils::printSelect('template', $aTemplates, $template) ?>
|
<?php plxUtils::printSelect('template', $aTemplates, $template) ?>
|
||||||
<p><label for="id_title_htmltag"><?php echo L_STATIC_TITLE_HTMLTAG ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_title_htmltag"><?php echo L_STATIC_TITLE_HTMLTAG ?> :</label>
|
||||||
<?php plxUtils::printInput('title_htmltag',plxUtils::strCheck($title_htmltag),'text','50-255'); ?>
|
<?php plxUtils::printInput('title_htmltag',plxUtils::strCheck($title_htmltag),'text','50-255'); ?>
|
||||||
<p><label for="id_meta_description"><?php echo L_STATIC_META_DESCRIPTION ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_meta_description"><?php echo L_STATIC_META_DESCRIPTION ?> :</label>
|
||||||
<?php plxUtils::printInput('meta_description',plxUtils::strCheck($meta_description),'text','50-255'); ?>
|
<?php plxUtils::printInput('meta_description',plxUtils::strCheck($meta_description),'text','50-255'); ?>
|
||||||
<p><label for="id_meta_keywords"><?php echo L_STATIC_META_KEYWORDS ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_meta_keywords"><?php echo L_STATIC_META_KEYWORDS ?> :</label>
|
||||||
<?php plxUtils::printInput('meta_keywords',plxUtils::strCheck($meta_keywords),'text','50-255'); ?>
|
<?php plxUtils::printInput('meta_keywords',plxUtils::strCheck($meta_keywords),'text','50-255'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminStatic')) # Hook Plugins ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminStatic')) # Hook Plugins ?>
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<input type="submit" value="<?php echo L_STATIC_UPDATE ?>"/>
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -42,17 +42,28 @@ function checkBox(cb) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<h2><?php echo L_STATICS_PAGE_TITLE ?></h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminStaticsTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="statiques.php" method="post" id="form_statics">
|
<form action="statiques.php" method="post" id="form_statics">
|
||||||
<table class="table">
|
|
||||||
|
<div class="inline-form action-bar">
|
||||||
|
<h2><?php echo L_STATICS_PAGE_TITLE ?></h2>
|
||||||
|
<p><a class="back" href="index.php"><?php echo L_BACK_TO_ARTICLES ?></a></p>
|
||||||
|
<?php plxUtils::printSelect('selection', array( '' =>L_FOR_SELECTION, 'delete' =>L_DELETE), '', false, 'no-margin', 'id_selection') ?>
|
||||||
|
<input type="submit" name="submit" value="<?php echo L_OK ?>" onclick="return confirmAction(this.form, 'id_selection', 'delete', 'idStatic[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
|
||||||
|
<input type="submit" name="update" value="<?php echo L_STATICS_UPDATE ?>" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminStaticsTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<div class="scrollable-table">
|
||||||
|
<table id="statics-table" class="full-width">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="checkbox"><input type="checkbox" onclick="checkAll(this.form, 'idStatic[]')" /></th>
|
<th><input type="checkbox" onclick="checkAll(this.form, 'idStatic[]')" /></th>
|
||||||
<th style="width:80px"><?php echo L_STATICS_ID ?></th>
|
<th><?php echo L_STATICS_ID.' '.L_PAGE ?></th>
|
||||||
<th style="width:60px"><?php echo L_STATICS_HOME_PAGE ?></th>
|
<th><?php echo L_STATICS_HOME_PAGE ?></th>
|
||||||
<th><?php echo L_STATICS_GROUP ?></th>
|
<th><?php echo L_STATICS_GROUP ?></th>
|
||||||
<th><?php echo L_STATICS_TITLE ?></th>
|
<th><?php echo L_STATICS_TITLE ?></th>
|
||||||
<th><?php echo L_STATICS_URL ?></th>
|
<th><?php echo L_STATICS_URL ?></th>
|
||||||
|
@ -72,19 +83,19 @@ function checkBox(cb) {
|
||||||
$ordre = ++$num;
|
$ordre = ++$num;
|
||||||
echo '<tr class="line-'.($num%2).'">';
|
echo '<tr class="line-'.($num%2).'">';
|
||||||
echo '<td><input type="checkbox" name="idStatic[]" value="'.$k.'" /><input type="hidden" name="staticNum[]" value="'.$k.'" /></td>';
|
echo '<td><input type="checkbox" name="idStatic[]" value="'.$k.'" /><input type="hidden" name="staticNum[]" value="'.$k.'" /></td>';
|
||||||
echo '<td>'.L_PAGE.' '.$k.'</td><td>';
|
echo '<td>'.$k.'</td><td>';
|
||||||
$selected = $plxAdmin->aConf['homestatic']==$k ? ' checked="checked"' : '';
|
$selected = $plxAdmin->aConf['homestatic']==$k ? ' checked="checked"' : '';
|
||||||
echo '<input title="'.L_STATICS_PAGE_HOME.'" type="checkbox" name="homeStatic[]" value="'.$k.'"'.$selected.' onclick="checkBox(\''.$num.'\')" />';
|
echo '<input title="'.L_STATICS_PAGE_HOME.'" type="checkbox" name="homeStatic[]" value="'.$k.'"'.$selected.' onclick="checkBox(\''.$num.'\')" />';
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($k.'_group', plxUtils::strCheck($v['group']), 'text', '13-100');
|
plxUtils::printInput($k.'_group', plxUtils::strCheck($v['group']), 'text', '10-100');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($k.'_name', plxUtils::strCheck($v['name']), 'text', '13-255');
|
plxUtils::printInput($k.'_name', plxUtils::strCheck($v['name']), 'text', '10-255');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($k.'_url', $v['url'], 'text', '12-255');
|
plxUtils::printInput($k.'_url', $v['url'], 'text', '10-255');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($k.'_active', array('1'=>L_YES,'0'=>L_NO), $v['active']);
|
plxUtils::printSelect($k.'_active', array('1'=>L_YES,'0'=>L_NO), $v['active']);
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($k.'_ordre', $ordre, 'text', '2-3');
|
plxUtils::printInput($k.'_ordre', $ordre, 'text', '1-3');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($k.'_menu', array('oui'=>L_DISPLAY,'non'=>L_HIDE), $v['menu']);
|
plxUtils::printSelect($k.'_menu', array('oui'=>L_DISPLAY,'non'=>L_HIDE), $v['menu']);
|
||||||
|
|
||||||
|
@ -92,7 +103,7 @@ function checkBox(cb) {
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
echo '<a href="statique.php?p='.$k.'" title="'.L_STATICS_SRC_TITLE.'">'.L_STATICS_SRC.'</a>';
|
echo '<a href="statique.php?p='.$k.'" title="'.L_STATICS_SRC_TITLE.'">'.L_STATICS_SRC.'</a>';
|
||||||
if($v['active']) {
|
if($v['active']) {
|
||||||
echo ' - <a href="'.PLX_ROOT.'?static'.intval($k).'/'.$v['url'].'" title="'.L_STATIC_VIEW_PAGE.' '.plxUtils::strCheck($v['name']).' '.L_STATIC_ON_SITE.'">'.L_VIEW.'</a>';
|
echo ' <a href="'.PLX_ROOT.'?static'.intval($k).'/'.$v['url'].'" title="'.L_STATIC_VIEW_PAGE.' '.plxUtils::strCheck($v['name']).' '.L_STATIC_ON_SITE.'">'.L_VIEW.'</a>';
|
||||||
}
|
}
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
}
|
}
|
||||||
|
@ -109,23 +120,23 @@ function checkBox(cb) {
|
||||||
}
|
}
|
||||||
$new_staticid = str_pad($a['0']+1, 3, "0", STR_PAD_LEFT);
|
$new_staticid = str_pad($a['0']+1, 3, "0", STR_PAD_LEFT);
|
||||||
?>
|
?>
|
||||||
<tr class="new">
|
<tr>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td><?php echo L_STATICS_NEW_PAGE ?></td>
|
<td><?php echo L_STATICS_NEW_PAGE ?></td>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
echo '<input type="hidden" name="staticNum[]" value="'.$new_staticid.'" />';
|
echo '<input type="hidden" name="staticNum[]" value="'.$new_staticid.'" />';
|
||||||
plxUtils::printInput($new_staticid.'_group', '', 'hidden', '13-100');
|
plxUtils::printInput($new_staticid.'_group', '', 'hidden', '10-100');
|
||||||
|
echo '</td><td> ';
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
echo '</td><td>';
|
plxUtils::printInput($new_staticid.'_name', '', 'text', '10-255');
|
||||||
plxUtils::printInput($new_staticid.'_name', '', 'text', '13-255');
|
|
||||||
plxUtils::printInput($new_staticid.'_template', 'static.php', 'hidden');
|
plxUtils::printInput($new_staticid.'_template', 'static.php', 'hidden');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($new_staticid.'_url', '', 'text', '12-255');
|
plxUtils::printInput($new_staticid.'_url', '', 'text', '10-255');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($new_staticid.'_active', array('1'=>L_YES,'0'=>L_NO), '0');
|
plxUtils::printSelect($new_staticid.'_active', array('1'=>L_YES,'0'=>L_NO), '0');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printInput($new_staticid.'_ordre', ++$num, 'text', '2-3');
|
plxUtils::printInput($new_staticid.'_ordre', ++$num, 'text', '1-3');
|
||||||
echo '</td><td>';
|
echo '</td><td>';
|
||||||
plxUtils::printSelect($new_staticid.'_menu', array('oui'=>L_DISPLAY,'non'=>L_HIDE), '1');
|
plxUtils::printSelect($new_staticid.'_menu', array('oui'=>L_DISPLAY,'non'=>L_HIDE), '1');
|
||||||
?>
|
?>
|
||||||
|
@ -134,14 +145,8 @@ function checkBox(cb) {
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="center">
|
</div>
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
<input class="button update" type="submit" name="update" value="<?php echo L_STATICS_UPDATE ?>" />
|
|
||||||
</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', 'idStatic[]', '<?php echo L_CONFIRM_DELETE ?>')" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
body {
|
|
||||||
background: #f9f9f9;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
color: #555;
|
|
||||||
font-family: arial, helvetica, sans-serif;
|
|
||||||
font-size:0.72em;
|
|
||||||
}
|
|
||||||
|
|
||||||
body#auth {
|
|
||||||
background-color:#f2f2f2;
|
|
||||||
margin-top:150px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color:#2175bd;
|
|
||||||
font-size:11px;
|
|
||||||
font-weight:600;
|
|
||||||
text-decoration:none;
|
|
||||||
outline:none;
|
|
||||||
}
|
|
||||||
a:link, a:visited {color:#2175bd;}
|
|
||||||
a:hover { text-decoration:none; color:#db2020; }
|
|
||||||
|
|
||||||
#login { margin:0 auto 0 auto; padding:20px; width:275px; background:#fff; border:1px solid #aaa; }
|
|
||||||
#login fieldset { border:0; }
|
|
||||||
#login .title { text-align:center; margin-bottom: 10px; padding: 0 0 10px 0; font-size:15px; border-bottom:1px solid #dedede; }
|
|
||||||
#login label { float:left; display:block; color:#7a7a7a; font-weight:bold; }
|
|
||||||
#login input[type=text], #login input[type=password] { margin:5px 0 15px 0; width:247px; padding:2px 3px 2px 3px; background-color:#f8f8f8; border:1px solid #aaa }
|
|
||||||
#login input[type=text]:focus, #login input[type=password]:focus { outline:none; color:#222; border:1px solid #77BACE; }
|
|
||||||
#login p { text-align:center; margin:0; padding:10px 0 0 0}
|
|
||||||
#login p.msg, #login p.error { margin:10px 0 10px 0; padding:10px 5px 10px 5px; }
|
|
||||||
#login p.error { background-color: #ffcfcf; border-color: #df8f8f 1px solid; color: #665252; }
|
|
|
@ -1,137 +0,0 @@
|
||||||
/* STRUCTURE */
|
|
||||||
body {
|
|
||||||
margin:0;
|
|
||||||
padding:0 0 0 200px; /* width sidebar */
|
|
||||||
}
|
|
||||||
div#sidebar {
|
|
||||||
position:absolute;
|
|
||||||
top:0;
|
|
||||||
left:0;
|
|
||||||
width: 200px; /* width sidebar */
|
|
||||||
height:100%;
|
|
||||||
}
|
|
||||||
@media screen {
|
|
||||||
body>div#sidebar {
|
|
||||||
position:fixed;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
* html body {
|
|
||||||
overflow:hidden;
|
|
||||||
}
|
|
||||||
* html div#content {
|
|
||||||
height:100%;
|
|
||||||
overflow:auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* BASE */
|
|
||||||
body {
|
|
||||||
background-color:#fff;
|
|
||||||
font-family: arial, helvetica, sans-serif;
|
|
||||||
font-size:0.8em;
|
|
||||||
color:#222;
|
|
||||||
}
|
|
||||||
#content {
|
|
||||||
padding:20px 20px 20px 20px;
|
|
||||||
}
|
|
||||||
#sidebar {
|
|
||||||
background-color:#222;
|
|
||||||
color:#fff;
|
|
||||||
line-height:1.3em;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
outline:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* SIDEBAR */
|
|
||||||
div#sidebar a, div#sidebar a:link, div#sidebar a:visited {
|
|
||||||
color:#fff;
|
|
||||||
font-weight:normal;
|
|
||||||
text-decoration:none;
|
|
||||||
}
|
|
||||||
div#sidebar a:hover {
|
|
||||||
color:#222;
|
|
||||||
}
|
|
||||||
div#sidebar ul {
|
|
||||||
list-style: none;
|
|
||||||
text-align:right;
|
|
||||||
}
|
|
||||||
div#sidebar ul li {
|
|
||||||
padding: 5px 20px 5px 0;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
div#sidebar li a.cpt, div#sidebar li.active a.cpt {
|
|
||||||
color:#fff !important;
|
|
||||||
padding:0 3px 0 3px;
|
|
||||||
background-color:red;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.menu:hover {
|
|
||||||
background-color:#dedede;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.menu a {
|
|
||||||
display:inline;
|
|
||||||
color:#fff;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.menu:hover a {
|
|
||||||
color:#222;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.active, div#sidebar ul li.active:hover, div#sidebar ul li.active a {
|
|
||||||
background-color:#fff;
|
|
||||||
color:#222
|
|
||||||
}
|
|
||||||
div#sidebar ul li.sub {
|
|
||||||
font-style:italic;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.nav, div#sidebar ul li.nav a {
|
|
||||||
color:#fff;
|
|
||||||
font-size: 12px;
|
|
||||||
margin: 5px 0 2px 0;
|
|
||||||
text-decoration:none;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.nav a:hover {
|
|
||||||
text-decoration:underline;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.user {
|
|
||||||
border-top: 1px solid #aaa;
|
|
||||||
background-color:#4a4a4a;
|
|
||||||
font-weight:bold;
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom:0;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.profil {
|
|
||||||
border-bottom: 1px solid #aaa;
|
|
||||||
background-color:#4a4a4a;
|
|
||||||
padding-top:0;
|
|
||||||
color:#f5f5f5;
|
|
||||||
padding-bottom:10px;
|
|
||||||
margin-bottom:20px;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.pluxml {
|
|
||||||
padding-top:5px;
|
|
||||||
border-top: 1px solid #555;
|
|
||||||
}
|
|
||||||
div#sidebar ul li.pluxml a {
|
|
||||||
font-size: 11px;
|
|
||||||
color:#666;
|
|
||||||
text-decoration:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* EXTRA */
|
|
||||||
#extra-container{
|
|
||||||
min-width:600px;
|
|
||||||
padding-bottom:80px;
|
|
||||||
}
|
|
||||||
#extra-container:after {
|
|
||||||
content:" ";
|
|
||||||
display:block;
|
|
||||||
clear:both;
|
|
||||||
}
|
|
||||||
#extra-sidebar {
|
|
||||||
float:right;
|
|
||||||
width:300px;
|
|
||||||
}
|
|
||||||
#extra-content {
|
|
||||||
position:relative;
|
|
||||||
margin-right:320px;
|
|
||||||
}
|
|
BIN
sources/core/admin/theme/images/favicon.png
Normal file
After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 689 B |
Before Width: | Height: | Size: 643 B |
BIN
sources/core/admin/theme/images/folder.png
Normal file
After Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 202 B |
BIN
sources/core/admin/theme/images/help.png
Normal file
After Width: | Height: | Size: 439 B |
Before Width: | Height: | Size: 115 B |
1435
sources/core/admin/theme/plucss.css
Normal file
|
@ -1,19 +0,0 @@
|
||||||
/* RESET */
|
|
||||||
html, body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, a, span, blockquote, label, input, textarea, form, fieldset{
|
|
||||||
border: 0;
|
|
||||||
font: inherit;
|
|
||||||
font-size: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
input{
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
textarea{
|
|
||||||
width: 100%;
|
|
||||||
max-width: 100%!important;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
border: none;
|
|
||||||
}
|
|
|
@ -1,350 +0,0 @@
|
||||||
h2 {
|
|
||||||
margin:10px 0px 10px 0px;
|
|
||||||
padding:0px;
|
|
||||||
font-size:28px;
|
|
||||||
color:#555;
|
|
||||||
}
|
|
||||||
h3 {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
color:#2175bd;
|
|
||||||
text-decoration:none;
|
|
||||||
font-weight:bold;
|
|
||||||
outline:none;
|
|
||||||
}
|
|
||||||
ul {
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
a:link, a:visited {color:#2175bd;}
|
|
||||||
a:hover { text-decoration:none; color:#db2020; }
|
|
||||||
|
|
||||||
p.back, p#medias_back { margin: 10px 0 10px 0; }
|
|
||||||
p.back a:before, p#medias_back a:before {content:"\00AB\00A0"; }
|
|
||||||
p.breadcrumbs { margin: 5px 0 5px 0 }
|
|
||||||
|
|
||||||
a.help {
|
|
||||||
padding:0 0 0 16px;
|
|
||||||
margin:0 0 0 2px;
|
|
||||||
width:16px;
|
|
||||||
cursor:help;
|
|
||||||
background:url('images/help.gif') no-repeat 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.selected {color:#444 !important}
|
|
||||||
|
|
||||||
.center { text-align:center; }
|
|
||||||
.left { text-align:left; }
|
|
||||||
.right { text-align:right; }
|
|
||||||
.top { vertical-align:top }
|
|
||||||
|
|
||||||
a.hcolumn {
|
|
||||||
color:#000;
|
|
||||||
text-decoration:underline;
|
|
||||||
}
|
|
||||||
a.hcolumn:hover {
|
|
||||||
color:#000;
|
|
||||||
text-decoration:none;
|
|
||||||
}
|
|
||||||
#sitename {
|
|
||||||
margin:0;
|
|
||||||
padding:0;
|
|
||||||
font-size: 12px;
|
|
||||||
color: #888;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* index.php */
|
|
||||||
.quicksearch {
|
|
||||||
float:right;
|
|
||||||
padding-top:18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* install.php */
|
|
||||||
.panel ul {
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
.panel ul li {
|
|
||||||
padding:2px 0 2px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Form + fieldset */
|
|
||||||
fieldset {
|
|
||||||
border:0;
|
|
||||||
margin:0 0 10px;
|
|
||||||
padding:0 0 14px 0;
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
fieldset p, #p_content, #p_chapo {
|
|
||||||
clear:both;
|
|
||||||
padding:5px 0 2px 0 !important;
|
|
||||||
}
|
|
||||||
fieldset p.field label {
|
|
||||||
float:left;
|
|
||||||
width:300px;
|
|
||||||
padding-right: 15px;
|
|
||||||
}
|
|
||||||
fieldset.config p {
|
|
||||||
padding:8px 0 2px 0 !important;
|
|
||||||
}
|
|
||||||
fieldset.config label {
|
|
||||||
padding-top:10px;
|
|
||||||
}
|
|
||||||
fieldset.config select {
|
|
||||||
margin-top:7px;
|
|
||||||
}
|
|
||||||
fieldset p.field {
|
|
||||||
clear:both;
|
|
||||||
margin:0;
|
|
||||||
padding:0 0 2px 0;
|
|
||||||
}
|
|
||||||
fieldset.config input[type=text] {
|
|
||||||
margin-top:5px;
|
|
||||||
width: 300px;
|
|
||||||
}
|
|
||||||
fieldset input[type=text].fieldnum {
|
|
||||||
width: 40px;
|
|
||||||
}
|
|
||||||
textarea {
|
|
||||||
width:98%;
|
|
||||||
border:1px solid #bbb;
|
|
||||||
}
|
|
||||||
input {
|
|
||||||
border:1px solid #bbb;
|
|
||||||
cursor:pointer;
|
|
||||||
}
|
|
||||||
input:hover {
|
|
||||||
background:#DDF0F8;
|
|
||||||
}
|
|
||||||
input[type=checkbox], input[type=radio] {
|
|
||||||
border:0;
|
|
||||||
}
|
|
||||||
input[type=text], input[type=password] {
|
|
||||||
padding:3px 5px 3px 5px !important;
|
|
||||||
}
|
|
||||||
input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {
|
|
||||||
outline:none;
|
|
||||||
color:#222;
|
|
||||||
border:1px solid #77BACE;
|
|
||||||
}
|
|
||||||
input[type=submit] {
|
|
||||||
margin: 0 2px 0 2px;
|
|
||||||
background-color:#dedede;
|
|
||||||
border:1px solid #A8A9A8;
|
|
||||||
color:#555;
|
|
||||||
padding:2px 5px 2px 5px !important;
|
|
||||||
}
|
|
||||||
input[type=submit]:hover {
|
|
||||||
color:#000;
|
|
||||||
background-color: #bbb ;
|
|
||||||
}
|
|
||||||
.select {
|
|
||||||
background-color:#333 !important;
|
|
||||||
color:#fff !important;
|
|
||||||
}
|
|
||||||
.readonly, .readonly:hover {
|
|
||||||
background-color:#efefef;
|
|
||||||
}
|
|
||||||
.fld1 {
|
|
||||||
width: 20px;
|
|
||||||
}
|
|
||||||
.fld2 {
|
|
||||||
width: 35px;
|
|
||||||
}
|
|
||||||
#extra-content #id_title, #extra-content #id_link { width: 96% }
|
|
||||||
|
|
||||||
/* Pagination */
|
|
||||||
#pagination {
|
|
||||||
width:100%;
|
|
||||||
text-align:left;
|
|
||||||
margin:10px auto 10px auto;
|
|
||||||
padding:10px 0 10px 0;
|
|
||||||
}
|
|
||||||
#pagination span {
|
|
||||||
border:1px #dedede solid;
|
|
||||||
padding:3px 5px 3px 5px;
|
|
||||||
margin-right:5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Medias */
|
|
||||||
#files_manager{
|
|
||||||
margin-top: 15px;
|
|
||||||
min-width:700px;
|
|
||||||
}
|
|
||||||
#files_manager ul {
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
#files_manager .manager {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
float:left;
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
#files_manager .uploader {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
float:right;
|
|
||||||
}
|
|
||||||
#files_manager .browser {
|
|
||||||
float:left;
|
|
||||||
margin:10px 0 20px 0;
|
|
||||||
}
|
|
||||||
#files_manager .browser .folder {
|
|
||||||
width: 300px;
|
|
||||||
}
|
|
||||||
#files_manager .create {
|
|
||||||
float:right;
|
|
||||||
}
|
|
||||||
#files_manager .files {
|
|
||||||
float:left;
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
#files_manager .files table {
|
|
||||||
margin:0 0 15px 0;
|
|
||||||
}
|
|
||||||
/* --- */
|
|
||||||
#files_uploader {
|
|
||||||
margin-top: 15px;
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
#files_uploader .manager {
|
|
||||||
float:left;
|
|
||||||
}
|
|
||||||
#files_uploader .uploader {
|
|
||||||
float:right;
|
|
||||||
}
|
|
||||||
#files_uploader .files_list{
|
|
||||||
margin: 15px 0 15px 0;
|
|
||||||
}
|
|
||||||
#files_uploader .options1{
|
|
||||||
clear:both;
|
|
||||||
float:left;
|
|
||||||
width: 300px;
|
|
||||||
}
|
|
||||||
#files_uploader .options2{
|
|
||||||
float:left;
|
|
||||||
width: 300px;
|
|
||||||
}
|
|
||||||
#files_uploader ul {
|
|
||||||
list-style:none;
|
|
||||||
}
|
|
||||||
#files_uploader ul li {
|
|
||||||
margin: 3px 0 0 3px !important;
|
|
||||||
}
|
|
||||||
.rowfile {
|
|
||||||
clear:both;
|
|
||||||
float:left;
|
|
||||||
margin:0;
|
|
||||||
padding:0 0 5px;
|
|
||||||
}
|
|
||||||
a.btnDelete{
|
|
||||||
margin:0;
|
|
||||||
padding:0;
|
|
||||||
outline: none;
|
|
||||||
float:left;
|
|
||||||
display:inline;
|
|
||||||
}
|
|
||||||
.divtitle {
|
|
||||||
margin: 2px 0 0 5px;
|
|
||||||
padding:0;
|
|
||||||
float:left;
|
|
||||||
}
|
|
||||||
#btn_upload {
|
|
||||||
clear:both;
|
|
||||||
float:left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Table */
|
|
||||||
.table {
|
|
||||||
width:100%;
|
|
||||||
border: 1px #dedede solid;
|
|
||||||
margin:15px 0 10px 0;
|
|
||||||
border-collapse:collapse;
|
|
||||||
}
|
|
||||||
thead {
|
|
||||||
background-color:#ddd;
|
|
||||||
color:#000;
|
|
||||||
text-align:left;
|
|
||||||
}
|
|
||||||
th {
|
|
||||||
text-align:left; /* IE */
|
|
||||||
}
|
|
||||||
th, tr, td {
|
|
||||||
padding: 8px 4px 8px 4px;
|
|
||||||
}
|
|
||||||
tr.new {
|
|
||||||
background-color:#e0e0e0;
|
|
||||||
}
|
|
||||||
tr.line-0 {
|
|
||||||
background-color:#ffffff;
|
|
||||||
}
|
|
||||||
tr.line-1 {
|
|
||||||
background-color:#f5f5f5;
|
|
||||||
}
|
|
||||||
|
|
||||||
th.checkbox { width: 5px; }
|
|
||||||
th.date { width:65px; }
|
|
||||||
th.title , th.message { white-space: nowrap;}
|
|
||||||
th.category { width:250px; white-space: nowrap; }
|
|
||||||
th.nbcoms { width: 50px; white-space: nowrap;}
|
|
||||||
th.author, td.author { width:150px; white-space: nowrap; }
|
|
||||||
th.action { min-width: 150px; white-space: nowrap; text-align: center;}
|
|
||||||
td.action { min-width: 150px; white-space: nowrap; text-align: center;}
|
|
||||||
|
|
||||||
th.datetime, td.datetime { width:120px; white-space: nowrap; }
|
|
||||||
th.image { width: 60px; }
|
|
||||||
th.infos {width:90px;}
|
|
||||||
th.description { width: 90%; }
|
|
||||||
th.col { width: 10%; }
|
|
||||||
th.icon { width: 50px; }
|
|
||||||
|
|
||||||
td.config { width: 170px; text-align:right; }
|
|
||||||
|
|
||||||
/* Nouvel article */
|
|
||||||
p.field_head {
|
|
||||||
background-color: #dedede;
|
|
||||||
margin: 40px 15px 0 0;
|
|
||||||
padding: 5px 15px 5px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Commentaires */
|
|
||||||
#comments blockquote {
|
|
||||||
border:1px solid #ddd;
|
|
||||||
padding: 5px 10px 5px 10px;
|
|
||||||
}
|
|
||||||
.type-normal {
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
.type-admin {
|
|
||||||
background-color: #fffdea !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Messages */
|
|
||||||
.warning {
|
|
||||||
margin: 10px 320px 10px 0;
|
|
||||||
padding: 10px 5px 10px 20px;
|
|
||||||
border: 1px solid #df8f8f;
|
|
||||||
font-size: 13px;
|
|
||||||
width:96%;
|
|
||||||
background-color: #ffcece;
|
|
||||||
}
|
|
||||||
.notification {
|
|
||||||
position:absolute;
|
|
||||||
top:-1px;
|
|
||||||
z-index:9999;
|
|
||||||
padding: 2px 15px 2px 15px;
|
|
||||||
border: 1px solid;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight:bold;
|
|
||||||
color:#000 !important;
|
|
||||||
}
|
|
||||||
.error {
|
|
||||||
background-color: #ffcfcf;
|
|
||||||
border-color: #df8f8f;
|
|
||||||
}
|
|
||||||
.success {
|
|
||||||
background-color: #fff1a8;
|
|
||||||
border-color: #e6db55;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.alert {
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
|
|
321
sources/core/admin/theme/theme.css
Normal file
|
@ -0,0 +1,321 @@
|
||||||
|
/*
|
||||||
|
# ------------------ BEGIN LICENSE BLOCK ------------------
|
||||||
|
#
|
||||||
|
# This file is part of PluXml : http://www.pluxml.org
|
||||||
|
#
|
||||||
|
# Package: theme.css
|
||||||
|
# Copyright (c) 2014 PluXml
|
||||||
|
# Authors Jos, Stephane F.
|
||||||
|
# Licensed under the GPL license.
|
||||||
|
# See http://www.gnu.org/licenses/gpl.html
|
||||||
|
#
|
||||||
|
# ------------------- END LICENSE BLOCK -------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
.auth {
|
||||||
|
border:1px solid #aaa;
|
||||||
|
margin-top: 10%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.auth input[type="password"],
|
||||||
|
.auth input[type="text"] {
|
||||||
|
color: #444;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
.auth input[type="submit"] {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
.auth .error {
|
||||||
|
background-color: #e43d29;
|
||||||
|
color: #eee;
|
||||||
|
padding: .4rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.main.grid {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
.aside {
|
||||||
|
background-color: #222;
|
||||||
|
bottom: 0;
|
||||||
|
overflow: auto;
|
||||||
|
padding-right: 0;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.aside,
|
||||||
|
.aside a {
|
||||||
|
color: #eee;
|
||||||
|
}
|
||||||
|
.aside .header {
|
||||||
|
line-height: 1.2rem;
|
||||||
|
}
|
||||||
|
.aside .header a {
|
||||||
|
font-size: 0.9rem
|
||||||
|
}
|
||||||
|
.aside .profil {
|
||||||
|
background-color: #555;
|
||||||
|
border-top: 1px solid #888;
|
||||||
|
border-bottom: 1px solid #888;
|
||||||
|
}
|
||||||
|
.aside .header .unstyled-list {
|
||||||
|
margin-bottom: 0;
|
||||||
|
margin-top: 0;
|
||||||
|
padding: 1rem .4rem;
|
||||||
|
}
|
||||||
|
.aside .header .version {
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
.aside .menu.expanded .badge,
|
||||||
|
.aside .menu.expanded .active a .badge {
|
||||||
|
background-color: #e43d29;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.aside .menu.expanded li.active a,
|
||||||
|
.aside .menu.expanded li.active:hover {
|
||||||
|
background-color: #fff;
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
.aside .menu.expanded li:hover {
|
||||||
|
background-color: #444;
|
||||||
|
}
|
||||||
|
.aside .menu-config {
|
||||||
|
background-color: #333;
|
||||||
|
}
|
||||||
|
.section {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
margin-top: 9rem;
|
||||||
|
}
|
||||||
|
.section .action-bar {
|
||||||
|
background-color: #eaeaea;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
left: 16.6666%;
|
||||||
|
margin-left: -1rem;
|
||||||
|
min-height: 6.667em;
|
||||||
|
padding: .5rem 1.2rem .7rem 1.2rem;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
|
.section .action-bar p,
|
||||||
|
.section .action-bar ul {
|
||||||
|
margin: .2rem 0;
|
||||||
|
}
|
||||||
|
.section .action-bar h2 {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
@media (max-width: 1023px) {
|
||||||
|
.section .action-bar {
|
||||||
|
left: 25%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.auth {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.aside .header {
|
||||||
|
background-color: #555;
|
||||||
|
padding-top: 2.3rem;
|
||||||
|
}
|
||||||
|
.aside .header li {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
.aside .header .unstyled-list {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.aside .responsive-menu {
|
||||||
|
max-height: 200px;
|
||||||
|
overflow-y: auto;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
|
.aside .responsive-menu,
|
||||||
|
.aside .responsive-menu label {
|
||||||
|
background-color: #222;
|
||||||
|
}
|
||||||
|
.aside .profil {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
.aside,
|
||||||
|
.section .action-bar {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.section,
|
||||||
|
.section .action-bar {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
.section .action-bar {
|
||||||
|
background-color: inherit;
|
||||||
|
margin: 0 0 1rem 0;
|
||||||
|
padding: 0;
|
||||||
|
z-index: inherit;
|
||||||
|
}
|
||||||
|
.section {
|
||||||
|
margin-top: 1rem;
|
||||||
|
padding: 0 .5rem 0 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.selected {
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
.p_page {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.p_page:first-letter {
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
a.btnDelete,
|
||||||
|
.divtitle {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
tr:nth-child(even) {
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
tr:nth-child(even):hover {
|
||||||
|
background-color: #fff8dc;
|
||||||
|
}
|
||||||
|
#articles-table td:nth-child(4),
|
||||||
|
#comments-table td:nth-child(3),
|
||||||
|
#medias-table td:nth-child(3),
|
||||||
|
#plugins-table td:nth-child(3) {
|
||||||
|
width: 100%;
|
||||||
|
min-width: 200px;
|
||||||
|
}
|
||||||
|
#plugins-table img,
|
||||||
|
#medias-table img {
|
||||||
|
min-width: 48px;
|
||||||
|
}
|
||||||
|
#medias-table {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
#id_day, #id_month {
|
||||||
|
width: 2.1rem;
|
||||||
|
}
|
||||||
|
#id_year, #id_time {
|
||||||
|
width: 3.4rem;
|
||||||
|
}
|
||||||
|
#id_link {
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
.alert {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
.help {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
form .col {
|
||||||
|
position: inherit;
|
||||||
|
}
|
||||||
|
a.hint {
|
||||||
|
background-image: url(images/help.png);
|
||||||
|
width: 16px;
|
||||||
|
}
|
||||||
|
a.folder {
|
||||||
|
background: url(images/folder.png) 8px no-repeat;
|
||||||
|
width: 24px;
|
||||||
|
}
|
||||||
|
a.folder::before {
|
||||||
|
content: "+";
|
||||||
|
color: #808080;
|
||||||
|
}
|
||||||
|
a.hint, a.folder {
|
||||||
|
cursor: help;
|
||||||
|
display: inline-block;
|
||||||
|
height: 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
a.hint span, a.folder span {
|
||||||
|
background-color: #a0a0a0;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
color:#fff;
|
||||||
|
display: none;
|
||||||
|
font-size: .8rem;
|
||||||
|
margin-left: 1.3rem;
|
||||||
|
margin-top: 1.3rem;
|
||||||
|
max-width: 300px;
|
||||||
|
padding: .4rem;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
|
a.hint:hover span,
|
||||||
|
a.hint:focus span,
|
||||||
|
a.folder:hover span,
|
||||||
|
a.folder:focus span {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
blockquote.type-admin {
|
||||||
|
background-color: #F0F8FF;
|
||||||
|
padding: 2px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.in-action-bar {
|
||||||
|
top: 0;
|
||||||
|
margin-top: 4em;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 99999;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#plugin .section,
|
||||||
|
#parametres_plugin .section,
|
||||||
|
#parametres_pluginhelp .section {
|
||||||
|
margin-top: 7rem;
|
||||||
|
}
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.section .action-bar {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.in-action-bar {
|
||||||
|
position: absolute;
|
||||||
|
margin-top: 3.5rem;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
#plugin .section,
|
||||||
|
#parametres_plugin .section,
|
||||||
|
#parametres_plugincss .section,
|
||||||
|
#parametres_pluginhelp .section {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
button,
|
||||||
|
input[type="button"],
|
||||||
|
input[type="reset"],
|
||||||
|
input[type="submit"] {
|
||||||
|
margin-top: 3px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.notification {
|
||||||
|
position:fixed;
|
||||||
|
top:-1px;
|
||||||
|
z-index:999999;
|
||||||
|
text-align: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 2px 15px 2px 15px;
|
||||||
|
border: 1px solid;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight:bold;
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
|
.error {
|
||||||
|
background-color: #ffcfcf;
|
||||||
|
border-color: #df8f8f;
|
||||||
|
}
|
||||||
|
.success {
|
||||||
|
background-color: #fff1a8;
|
||||||
|
border-color: #e6db55;
|
||||||
|
}
|
||||||
|
.warning {
|
||||||
|
margin: 10px 320px 10px 0;
|
||||||
|
padding: 10px 5px 10px 20px;
|
||||||
|
border: 1px solid #df8f8f;
|
||||||
|
font-size: 13px;
|
||||||
|
width:100%;
|
||||||
|
background-color: #ffcfcf;
|
||||||
|
}
|
|
@ -1,15 +1,15 @@
|
||||||
<?php if(!defined('PLX_ROOT')) exit; ?>
|
<?php if(!defined('PLX_ROOT')) exit; ?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
<!DOCTYPE html>
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<html lang="<?php echo $plxAdmin->aConf['default_lang'] ?>">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $plxAdmin->aConf['default_lang'] ?>" lang="<?php echo $plxAdmin->aConf['default_lang'] ?>">
|
|
||||||
<head>
|
<head>
|
||||||
<meta name="robots" content="noindex, nofollow" />
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0">
|
||||||
<title><?php echo plxUtils::strCheck($plxAdmin->aConf['title']) ?> <?php echo L_ADMIN ?></title>
|
<title><?php echo plxUtils::strCheck($plxAdmin->aConf['title']) ?> <?php echo L_ADMIN ?></title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(PLX_CHARSET) ?>" />
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(PLX_CHARSET) ?>" />
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/reset.css" media="screen" />
|
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/plucss.css" media="screen" />
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/base.css" media="screen" />
|
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/theme.css" media="screen" />
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/style.css" media="screen" />
|
<link rel="icon" href="<?php echo PLX_CORE ?>admin/theme/images/favicon.png" />
|
||||||
<link rel="icon" href="<?php echo PLX_CORE ?>admin/theme/images/pluxml.gif" />
|
<?php if(is_file(PLX_ROOT.$plxAdmin->aConf['custom_admincss_file'])) echo '<link rel="stylesheet" type="text/css" href="'.PLX_ROOT.$plxAdmin->aConf['custom_admincss_file'].'" media="screen" />'."\n" ?>
|
||||||
<?php
|
<?php
|
||||||
if(file_exists(PLX_ROOT.$plxAdmin->aConf['racine_plugins'].'admin.css'))
|
if(file_exists(PLX_ROOT.$plxAdmin->aConf['racine_plugins'].'admin.css'))
|
||||||
echo '<link rel="stylesheet" type="text/css" href="'.PLX_ROOT.$plxAdmin->aConf['racine_plugins'].'admin.css" media="screen" />'."\n";
|
echo '<link rel="stylesheet" type="text/css" href="'.PLX_ROOT.$plxAdmin->aConf['racine_plugins'].'admin.css" media="screen" />'."\n";
|
||||||
|
@ -19,80 +19,96 @@
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminTopEndHead')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminTopEndHead')) ?>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body id="<?php echo basename($_SERVER['SCRIPT_NAME'], ".php") ?>">
|
||||||
|
|
||||||
<div id="sidebar">
|
<main class="main grid">
|
||||||
|
|
||||||
<ul>
|
<aside class="aside col sml-12 med-3 lrg-2 sml-text-left med-text-right">
|
||||||
<li class="nav">
|
<header class="header sml-text-center med-text-right">
|
||||||
<a href="<?php echo PLX_ROOT ?>" title="<?php echo L_BACK_TO_SITE_TITLE ?>"><?php echo L_BACK_TO_SITE;?></a>
|
<ul class="unstyled-list">
|
||||||
|
<li>
|
||||||
|
<a class="back-site" href="<?php echo PLX_ROOT ?>" title="<?php echo L_BACK_TO_SITE_TITLE ?>"><?php echo L_BACK_TO_SITE;?></a>
|
||||||
<?php if(isset($plxAdmin->aConf['homestatic']) AND !empty($plxAdmin->aConf['homestatic'])) : ?>
|
<?php if(isset($plxAdmin->aConf['homestatic']) AND !empty($plxAdmin->aConf['homestatic'])) : ?>
|
||||||
| <a href="<?php echo $plxAdmin->urlRewrite('?blog'); ?>" title="<?php echo L_BACK_TO_BLOG_TITLE ?>"><?php echo L_BACK_TO_BLOG;?></a>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="back-blog" href="<?php echo $plxAdmin->urlRewrite('?blog'); ?>" title="<?php echo L_BACK_TO_BLOG_TITLE ?>"><?php echo L_BACK_TO_BLOG;?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<br />
|
|
||||||
<a href="auth.php?d=1" title="<?php echo L_ADMIN_LOGOUT_TITLE ?>" id="logout"><?php echo L_ADMIN_LOGOUT ?></a>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="user">
|
<li>
|
||||||
<?php echo plxUtils::strCheck($plxAdmin->aUsers[$_SESSION['user']]['name']) ?>
|
<a class="logout" href="<?php echo PLX_CORE ?>admin/auth.php?d=1" title="<?php echo L_ADMIN_LOGOUT_TITLE ?>"><?php echo L_ADMIN_LOGOUT ?></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="profil">
|
</ul>
|
||||||
<?php
|
<ul class="unstyled-list profil no-margin">
|
||||||
if($_SESSION['profil']==PROFIL_ADMIN) echo L_PROFIL_ADMIN;
|
<li><h1 class="h4 no-margin site-name"><strong><?php echo plxUtils::strCheck($plxAdmin->aConf['title']) ?></strong></h1></li>
|
||||||
|
<li>
|
||||||
|
<strong><?php echo plxUtils::strCheck($plxAdmin->aUsers[$_SESSION['user']]['name']) ?></strong> :
|
||||||
|
<em>
|
||||||
|
<?php if($_SESSION['profil']==PROFIL_ADMIN) echo L_PROFIL_ADMIN;
|
||||||
elseif($_SESSION['profil']==PROFIL_MANAGER) echo L_PROFIL_MANAGER;
|
elseif($_SESSION['profil']==PROFIL_MANAGER) echo L_PROFIL_MANAGER;
|
||||||
elseif($_SESSION['profil']==PROFIL_MODERATOR) echo L_PROFIL_MODERATOR;
|
elseif($_SESSION['profil']==PROFIL_MODERATOR) echo L_PROFIL_MODERATOR;
|
||||||
elseif($_SESSION['profil']==PROFIL_EDITOR) echo L_PROFIL_EDITOR;
|
elseif($_SESSION['profil']==PROFIL_EDITOR) echo L_PROFIL_EDITOR;
|
||||||
else echo L_PROFIL_WRITER;
|
else echo L_PROFIL_WRITER; ?>
|
||||||
?>
|
</em>
|
||||||
</li>
|
</li>
|
||||||
|
<li><small><a class="version" title="PluXml" href="http://www.pluxml.org">Pluxml <?php echo $plxAdmin->aConf['version'] ?></a></small></li>
|
||||||
|
</ul>
|
||||||
|
</header>
|
||||||
|
<nav class="responsive-menu">
|
||||||
|
<label for="nav"><?php echo L_MENU ?></label>
|
||||||
|
<input type="checkbox" id="nav" />
|
||||||
|
<ul id="responsive-menu" class="menu vertical expanded">
|
||||||
<?php
|
<?php
|
||||||
$menus = array();
|
$menus = array();
|
||||||
$userId = ($_SESSION['profil'] < PROFIL_WRITER ? '[0-9]{3}' : $_SESSION['user']);
|
$userId = ($_SESSION['profil'] < PROFIL_WRITER ? '[0-9]{3}' : $_SESSION['user']);
|
||||||
$nbartsmod = $plxAdmin->nbArticles('all', $userId, '_');
|
$nbartsmod = $plxAdmin->nbArticles('all', $userId, '_');
|
||||||
$arts_mod = $nbartsmod>0 ? ' <a class="cpt" href="index.php?sel=mod&page=1" title="'.L_ALL_AWAITING_MODERATION.'">'.$nbartsmod.'</a>':'';
|
$arts_mod = $nbartsmod>0 ? ' <a class="cpt" href="'.PLX_CORE.'admin/index.php?sel=mod&page=1" title="'.L_ALL_AWAITING_MODERATION.'">'.$nbartsmod.'</a>':'';
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_ARTICLES, 'index.php?page=1', L_MENU_ARTICLES_TITLE, false, false,$arts_mod);
|
$menus[] = plxUtils::formatMenu(L_MENU_ARTICLES, PLX_CORE.'admin/index.php?page=1', L_MENU_ARTICLES_TITLE, false, false,$arts_mod);
|
||||||
|
|
||||||
if(isset($_GET['a'])) # edition article
|
if(isset($_GET['a'])) # edition article
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_NEW_ARTICLES_TITLE, 'article.php', L_MENU_NEW_ARTICLES, false, false, '', false);
|
$menus[] = plxUtils::formatMenu(L_MENU_NEW_ARTICLES_TITLE, PLX_CORE.'admin/article.php', L_MENU_NEW_ARTICLES, false, false, '', false);
|
||||||
else # nouvel article
|
else # nouvel article
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_NEW_ARTICLES_TITLE, 'article.php', L_MENU_NEW_ARTICLES);
|
$menus[] = plxUtils::formatMenu(L_MENU_NEW_ARTICLES_TITLE, PLX_CORE.'admin/article.php', L_MENU_NEW_ARTICLES);
|
||||||
|
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_MEDIAS, 'medias.php', L_MENU_MEDIAS_TITLE);
|
$menus[] = plxUtils::formatMenu(L_MENU_MEDIAS, PLX_CORE.'admin/medias.php', L_MENU_MEDIAS_TITLE);
|
||||||
|
|
||||||
if($_SESSION['profil'] <= PROFIL_MANAGER)
|
if($_SESSION['profil'] <= PROFIL_MANAGER)
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_STATICS, 'statiques.php', L_MENU_STATICS_TITLE);
|
$menus[] = plxUtils::formatMenu(L_MENU_STATICS, PLX_CORE.'admin/statiques.php', L_MENU_STATICS_TITLE);
|
||||||
|
|
||||||
if($_SESSION['profil'] <= PROFIL_MODERATOR) {
|
if($_SESSION['profil'] <= PROFIL_MODERATOR) {
|
||||||
$nbcoms = $plxAdmin->nbComments('offline');
|
$nbcoms = $plxAdmin->nbComments('offline');
|
||||||
$coms_offline = $nbcoms>0 ? ' <a class="cpt" href="comments.php?sel=offline&page=1">'.$plxAdmin->nbComments('offline').'</a>':'';
|
$coms_offline = $nbcoms>0 ? '<span class="badge"<a href="'.PLX_CORE.'admin/comments.php?sel=offline&page=1">'.$plxAdmin->nbComments('offline').'</span>':'';
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_COMMENTS, 'comments.php?page=1', L_MENU_COMMENTS_TITLE, false, false, $coms_offline);
|
$menus[] = plxUtils::formatMenu(L_MENU_COMMENTS, PLX_CORE.'admin/comments.php?page=1', L_MENU_COMMENTS_TITLE, false, false, $coms_offline);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($_SESSION['profil'] <= PROFIL_EDITOR)
|
if($_SESSION['profil'] <= PROFIL_EDITOR)
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_CATEGORIES,'categories.php', L_MENU_CATEGORIES_TITLE);
|
$menus[] = plxUtils::formatMenu(L_MENU_CATEGORIES, PLX_CORE.'admin/categories.php', L_MENU_CATEGORIES_TITLE);
|
||||||
|
|
||||||
|
$menus[] = plxUtils::formatMenu(L_MENU_PROFIL, PLX_CORE.'admin/profil.php', L_MENU_PROFIL_TITLE);
|
||||||
|
|
||||||
if($_SESSION['profil'] == PROFIL_ADMIN) {
|
if($_SESSION['profil'] == PROFIL_ADMIN) {
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG, 'parametres_base.php', L_MENU_CONFIG_TITLE, false, false, '', false);
|
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG, PLX_CORE.'admin/parametres_base.php', L_MENU_CONFIG_TITLE, false, false, '', false);
|
||||||
if (preg_match('/parametres/',basename($_SERVER['SCRIPT_NAME']))) {
|
if (preg_match('/parametres/',basename($_SERVER['SCRIPT_NAME']))) {
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_BASE,'parametres_base.php', L_MENU_CONFIG_BASE_TITLE, 'sub');
|
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_BASE, PLX_CORE.'admin/parametres_base.php', L_MENU_CONFIG_BASE_TITLE, 'menu-config');
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_VIEW,'parametres_affichage.php', L_MENU_CONFIG_VIEW_TITLE, 'sub');
|
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_VIEW, PLX_CORE.'admin/parametres_affichage.php', L_MENU_CONFIG_VIEW_TITLE, 'menu-config');
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_USERS,'parametres_users.php', L_MENU_CONFIG_USERS_TITLE, 'sub');
|
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_USERS, PLX_CORE.'admin/parametres_users.php', L_MENU_CONFIG_USERS_TITLE, 'menu-config');
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_ADVANCED,'parametres_avances.php', L_MENU_CONFIG_ADVANCED_TITLE, 'sub');
|
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_ADVANCED, PLX_CORE.'admin/parametres_avances.php', L_MENU_CONFIG_ADVANCED_TITLE, 'menu-config');
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_PLUGINS,'parametres_plugins.php', L_MENU_CONFIG_PLUGINS_TITLE, 'sub');
|
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_PLUGINS, PLX_CORE.'admin/parametres_plugins.php', L_MENU_CONFIG_PLUGINS_TITLE, 'menu-config');
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_INFOS,'parametres_infos.php', L_MENU_CONFIG_INFOS_TITLE, 'sub');
|
$menus[] = plxUtils::formatMenu(L_MENU_CONFIG_INFOS, PLX_CORE.'admin/parametres_infos.php', L_MENU_CONFIG_INFOS_TITLE, 'menu-config');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$menus[] = plxUtils::formatMenu(L_MENU_PROFIL, 'profil.php', L_MENU_PROFIL_TITLE);
|
|
||||||
|
|
||||||
# récuperation des menus admin pour les plugins
|
# récuperation des menus admin pour les plugins
|
||||||
foreach($plxAdmin->plxPlugins->aPlugins as $plugName => $plugInstance) {
|
foreach($plxAdmin->plxPlugins->aPlugins as $plugName => $plugInstance) {
|
||||||
if($plugInstance AND is_file(PLX_PLUGINS.$plugName.'/admin.php')) {
|
if($plugInstance AND is_file(PLX_PLUGINS.$plugName.'/admin.php')) {
|
||||||
if($plxAdmin->checkProfil($plugInstance->getAdminProfil(),false)) {
|
if($plxAdmin->checkProfil($plugInstance->getAdminProfil(),false)) {
|
||||||
if($plugInstance->adminMenu) {
|
if($plugInstance->adminMenu) {
|
||||||
$menu = plxUtils::formatMenu(plxUtils::strCheck($plugInstance->adminMenu['title']), 'plugin.php?p='.$plugName, plxUtils::strCheck($plugInstance->adminMenu['caption']));
|
$menu = plxUtils::formatMenu(plxUtils::strCheck($plugInstance->adminMenu['title']), PLX_CORE.'admin/plugin.php?p='.$plugName, plxUtils::strCheck($plugInstance->adminMenu['caption']));
|
||||||
|
if($plugInstance->adminMenu['position']!='')
|
||||||
array_splice($menus, ($plugInstance->adminMenu['position']-1), 0, $menu);
|
array_splice($menus, ($plugInstance->adminMenu['position']-1), 0, $menu);
|
||||||
|
else
|
||||||
|
$menus[] = $menu;
|
||||||
} else {
|
} else {
|
||||||
$menus[] = plxUtils::formatMenu(plxUtils::strCheck($plugInstance->getInfo('title')), 'plugin.php?p='.$plugName, plxUtils::strCheck($plugInstance->getInfo('title')));
|
$menus[] = plxUtils::formatMenu(plxUtils::strCheck($plugInstance->getInfo('title')), PLX_CORE.'admin/plugin.php?p='.$plugName, plxUtils::strCheck($plugInstance->getInfo('title')));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -102,19 +118,15 @@
|
||||||
eval($plxAdmin->plxPlugins->callHook('AdminTopMenus'));
|
eval($plxAdmin->plxPlugins->callHook('AdminTopMenus'));
|
||||||
echo implode('', $menus);
|
echo implode('', $menus);
|
||||||
?>
|
?>
|
||||||
<li class="pluxml">
|
|
||||||
<a title="PluXml" href="http://www.pluxml.org">Pluxml <?php echo $plxAdmin->aConf['version'] ?></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</aside>
|
||||||
|
|
||||||
</div><!-- sidebar -->
|
<section class="section col sml-12 med-9 med-offset-3 lrg-10 lrg-offset-2">
|
||||||
|
|
||||||
<div id="content">
|
|
||||||
|
|
||||||
<h1 id="sitename"><?php echo plxUtils::strCheck($plxAdmin->aConf['title']) ?></h1>
|
|
||||||
<?php
|
<?php
|
||||||
if(is_file(PLX_ROOT.'install.php')) echo L_WARNING_INSTALLATION_FILE;
|
if(is_file(PLX_ROOT.'install.php')) echo '<p class="alert red">'.L_WARNING_INSTALLATION_FILE.'</p>';
|
||||||
plxMsg::Display();
|
plxMsg::Display();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminTopBottom')) ?>
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminTopBottom')) ?>
|
||||||
|
|
|
@ -40,27 +40,44 @@ elseif(!empty($_GET['p'])) { # On vérifie l'existence de l'utilisateur
|
||||||
include(dirname(__FILE__).'/top.php');
|
include(dirname(__FILE__).'/top.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p class="back"><a href="parametres_users.php"><?php echo L_USER_BACK_TO_PAGE ?></a></p>
|
|
||||||
|
|
||||||
<h2><?php echo L_USER_PAGE_TITLE ?> "<?php echo plxUtils::strCheck($plxAdmin->aUsers[$id]['name']); ?>"</h2>
|
|
||||||
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminUserTop')) # Hook Plugins ?>
|
|
||||||
|
|
||||||
<form action="user.php" method="post" id="form_user">
|
<form action="user.php" method="post" id="form_user">
|
||||||
<fieldset>
|
|
||||||
<?php plxUtils::printInput('id', $id, 'hidden');?>
|
<div class="inline-form action-bar">
|
||||||
<p class="field"><label for="id_lang"><?php echo L_USER_LANG ?> :</label></p>
|
<h2><?php echo L_USER_PAGE_TITLE ?> "<?php echo plxUtils::strCheck($plxAdmin->aUsers[$id]['name']); ?>"</h2>
|
||||||
<?php plxUtils::printSelect('lang', plxUtils::getLangs(), $plxAdmin->aUsers[$id]['lang']) ?>
|
<p><a class="back" href="parametres_users.php"><?php echo L_USER_BACK_TO_PAGE ?></a></p>
|
||||||
<p class="field"><label for="id_email"><?php echo L_USER_MAIL ?> :</label></p>
|
|
||||||
<?php plxUtils::printInput('email', plxUtils::strCheck($plxAdmin->aUsers[$id]['email']), 'text', '30-255') ?>
|
|
||||||
<p id="p_content"><label for="id_content"><?php echo L_USER_INFOS ?> :</label></p>
|
|
||||||
<?php plxUtils::printArea('content',plxUtils::strCheck($plxAdmin->aUsers[$id]['infos']),95,8) ?>
|
|
||||||
</fieldset>
|
|
||||||
<?php eval($plxAdmin->plxPlugins->callHook('AdminUser')) ?>
|
|
||||||
<p class="center">
|
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
<input type="submit" value="<?php echo L_USER_UPDATE ?>"/>
|
<input type="submit" value="<?php echo L_USER_UPDATE ?>"/>
|
||||||
</p>
|
</div>
|
||||||
|
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminUserTop')) # Hook Plugins ?>
|
||||||
|
|
||||||
|
<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 ?> :</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 ?> :</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 ?> :</label>
|
||||||
|
<?php plxUtils::printArea('content',plxUtils::strCheck($plxAdmin->aUsers[$id]['infos']),95,8) ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminUser')) ?>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menü',
|
||||||
'L_UNKNOWN_ERROR' => 'Unbekannter Fehler',
|
'L_UNKNOWN_ERROR' => 'Unbekannter Fehler',
|
||||||
'L_CONFIRM_DELETE' => 'Bestätigen Sie die Löschung?',
|
'L_CONFIRM_DELETE' => 'Bestätigen Sie die Löschung?',
|
||||||
'L_SAVE_FILE' => 'Speichern Sie die Datei',
|
'L_SAVE_FILE' => 'Speichern Sie die Datei',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'Datei erfolgreich gespeichert',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Datei erfolgreich gespeichert',
|
||||||
'L_SAVE_FILE_ERROR' => 'Fehler beim Speichern der Datei für',
|
'L_SAVE_FILE_ERROR' => 'Fehler beim Speichern der Datei für',
|
||||||
|
'L_DELETE' => 'Slet',
|
||||||
|
'L_DELETE_FILE' => 'Slet fil',
|
||||||
|
'L_DELETE_FOLDER' => 'Slet mappe',
|
||||||
'L_SAVE_SUCCESSFUL' => 'Daten erflogreich gespeichert',
|
'L_SAVE_SUCCESSFUL' => 'Daten erflogreich gespeichert',
|
||||||
'L_SAVE_ERR' => 'Fehler während des Dateispeicherns',
|
'L_SAVE_ERR' => 'Fehler während des Dateispeicherns',
|
||||||
'L_NO_ENTRY' => 'Datenzugriff verboten',
|
'L_NO_ENTRY' => 'Datenzugriff verboten',
|
||||||
|
@ -107,6 +111,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Title-Tag Inhalte (optional)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Title-Tag Inhalte (optional)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'verbergen',
|
'L_ARTICLE_CHAPO_HIDE' => 'verbergen',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'anzeigen',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'anzeigen',
|
||||||
|
'L_ARTICLE' => 'artikel',
|
||||||
|
'L_ARTICLE_ID' => 'ID',
|
||||||
'L_AUTH_PAGE_TITLE' => 'Anmeldung',
|
'L_AUTH_PAGE_TITLE' => 'Anmeldung',
|
||||||
'L_LOGOUT_SUCCESSFUL' => 'Sie wurden erflogreich abgemeldet',
|
'L_LOGOUT_SUCCESSFUL' => 'Sie wurden erflogreich abgemeldet',
|
||||||
'L_LOGIN_PAGE' => 'Administrator Anmeldung',
|
'L_LOGIN_PAGE' => 'Administrator Anmeldung',
|
||||||
|
@ -130,7 +136,6 @@ $LANG = array(
|
||||||
'L_HIDE' => 'Verstecken',
|
'L_HIDE' => 'Verstecken',
|
||||||
'L_OPTIONS' => 'Optionen',
|
'L_OPTIONS' => 'Optionen',
|
||||||
'L_FOR_SELECTION' => 'Aktion auswählen...',
|
'L_FOR_SELECTION' => 'Aktion auswählen...',
|
||||||
'L_DELETE' => 'Löschen',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Änderungen speichern',
|
'L_CAT_APPLY_BUTTON' => 'Änderungen speichern',
|
||||||
'L_CAT_UNKNOWN' => 'Unbekannte Kategorie',
|
'L_CAT_UNKNOWN' => 'Unbekannte Kategorie',
|
||||||
'L_EDITCAT_PAGE_TITLE' => 'Kategorieoptionen ändern',
|
'L_EDITCAT_PAGE_TITLE' => 'Kategorieoptionen ändern',
|
||||||
|
@ -224,7 +229,7 @@ $LANG = array(
|
||||||
'L_ALL_DRAFTS' => 'Entwürfe',
|
'L_ALL_DRAFTS' => 'Entwürfe',
|
||||||
'L_ALL_AWAITING_MODERATION' => 'erwarten Moderation',
|
'L_ALL_AWAITING_MODERATION' => 'erwarten Moderation',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Ordner löschen',
|
'L_MEDIAS_DELETE_FOLDER' => 'Ordner löschen',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Ordner inkl. Inhalt löschen?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Ordner inkl. Inhalt löschen %s?',
|
||||||
'L_MEDIAS_NO_FILE' => 'Keine Datei(en)',
|
'L_MEDIAS_NO_FILE' => 'Keine Datei(en)',
|
||||||
'L_MEDIAS_FILENAME' => 'Dateiname',
|
'L_MEDIAS_FILENAME' => 'Dateiname',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Dateien hochladen',
|
'L_MEDIAS_ADD_FILE' => 'Dateien hochladen',
|
||||||
|
@ -276,7 +281,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Bildgröße (Breite x Höhe)',
|
'L_CONFIG_VIEW_IMAGES' => 'Bildgröße (Breite x Höhe)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Größe der Miniaturansicht (Breite x Höhe)',
|
'L_CONFIG_VIEW_THUMBS' => 'Größe der Miniaturansicht (Breite x Höhe)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Eine statische Seite als Homepage verwenden',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Eine statische Seite als Homepage verwenden',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Achtung! Diese Seite ist inaktiv</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Achtung! Diese Seite ist inaktiv',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Themen von <a href="http://ressources.pluxml.org">ressources.pluxml.org</a> laden.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Themen von <a href="http://ressources.pluxml.org">ressources.pluxml.org</a> laden.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Anzahl der angezeigten Artikel/Kommentare im RSS Feed',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Anzahl der angezeigten Artikel/Kommentare im RSS Feed',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Im RSS Feed nur Vorspann des Artikels zeigen',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Im RSS Feed nur Vorspann des Artikels zeigen',
|
||||||
|
@ -287,16 +292,15 @@ $LANG = array(
|
||||||
'L_CONFIG_HOMETEMPLATE' => 'Vorlage der Homepage',
|
'L_CONFIG_HOMETEMPLATE' => 'Vorlage der Homepage',
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Erweiterte Einstellungen',
|
'L_CONFIG_ADVANCED_DESC' => 'Erweiterte Einstellungen',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Adressweiterleitung aktivieren (URL rewrite)',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Adressweiterleitung aktivieren (URL rewrite)',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Achtung! Es ist bereits eine .htaccess Datei im Grundverzeichnis von PluXml vorhanden. Diese Datei wird beim Aktivieren modifiziert.</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Achtung! Es ist bereits eine .htaccess Datei im Grundverzeichnis von PluXml vorhanden. Diese Datei wird beim Aktivieren modifiziert.',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'GZIP Kompression aktivieren',
|
'L_CONFIG_ADVANCED_GZIP' => 'GZIP Kompression aktivieren',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Komprimierung spart Bandreite, erhöht aber die Prozessorauslastung des Servers.',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Komprimierung spart Bandreite, erhöht aber die Prozessorauslastung des Servers.',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'ANTI-SPAM Kontrolle aktivieren',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'ANTI-SPAM Kontrolle aktivieren',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Adminschlüssel (private URLs)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Adminschlüssel (private URLs)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Feld leeren um neuen Schlüssel zu generieren',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Feld leeren um neuen Schlüssel zu generieren',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Für jeden Benutzer einen eigenen Daten- und Bildordner verwenden',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Verwenden Sie unterschiedliche Medien Ordner für jeden Benutzer',
|
||||||
'L_HELP_SLASH_END' => 'Schrägstrich (Slash) am Ende nicht vergessen!',
|
'L_HELP_SLASH_END' => 'Schrägstrich (Slash) am Ende nicht vergessen!',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Bildordner',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Medien-Speicherort (Ordner)',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Datenordner',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Artikelordner',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Artikelordner',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Kommentarordner',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Kommentarordner',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Ordner für statische Seiten',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Ordner für statische Seiten',
|
||||||
|
@ -304,6 +308,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Plugins Ordner',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Plugins Ordner',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Ort der Konfigurationsdateien (Ordner)',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Ort der Konfigurationsdateien (Ordner)',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Änderungen speichern',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Änderungen speichern',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Standort und den Namen der benutzerdefinierten CSS-Datei des Verwaltungsbereich (optional)',
|
||||||
'L_CONFIG_BASE_CONFIG_TITLE' => 'Grundeinstellungen',
|
'L_CONFIG_BASE_CONFIG_TITLE' => 'Grundeinstellungen',
|
||||||
'L_CONFIG_BASE_SITE_TITLE' => 'Titel der Website',
|
'L_CONFIG_BASE_SITE_TITLE' => 'Titel der Website',
|
||||||
'L_CONFIG_BASE_SITE_SLOGAN' => 'Untertitel/Beschreibung der Website',
|
'L_CONFIG_BASE_SITE_SLOGAN' => 'Untertitel/Beschreibung der Website',
|
||||||
|
@ -437,7 +442,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Konfiguration',
|
'L_MENU_CONFIG' => 'Konfiguration',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Mein Benutzerprofil verwalten',
|
'L_MENU_PROFIL_TITLE' => 'Mein Benutzerprofil verwalten',
|
||||||
'L_MENU_PROFIL' => 'Mein Profil',
|
'L_MENU_PROFIL' => 'Mein Profil',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">Die Datei install.php existiert noch im Grundverzeichnis von PluXml.<br />Sie sollten diese aus Sicherheitsgründen löschen.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'Die Datei install.php existiert noch im Grundverzeichnis von PluXml.<br />Sie sollten diese aus Sicherheitsgründen löschen.',
|
||||||
'L_USER_UNKNOWN' => 'Unbekannter Benutzer',
|
'L_USER_UNKNOWN' => 'Unbekannter Benutzer',
|
||||||
'L_USER_LANG' => 'Spracher des Admins',
|
'L_USER_LANG' => 'Spracher des Admins',
|
||||||
'L_USER_MAIL' => 'E-Mail-Adresse',
|
'L_USER_MAIL' => 'E-Mail-Adresse',
|
||||||
|
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menu',
|
||||||
'L_UNKNOWN_ERROR' => 'Unknown error',
|
'L_UNKNOWN_ERROR' => 'Unknown error',
|
||||||
'L_CONFIRM_DELETE' => 'Confirm the deletion?',
|
'L_CONFIRM_DELETE' => 'Confirm the deletion?',
|
||||||
'L_SAVE_FILE' => 'Save the file',
|
'L_SAVE_FILE' => 'Save the file',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'File saved successfully',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'File saved successfully',
|
||||||
'L_SAVE_FILE_ERROR' => 'Error while saving file',
|
'L_SAVE_FILE_ERROR' => 'Error while saving file',
|
||||||
|
'L_DELETE' => 'Delete',
|
||||||
|
'L_DELETE_FILE' => 'Delete file',
|
||||||
|
'L_DELETE_FOLDER' => 'Delete folder',
|
||||||
'L_SAVE_SUCCESSFUL' => 'Data was succesfully saved',
|
'L_SAVE_SUCCESSFUL' => 'Data was succesfully saved',
|
||||||
'L_SAVE_ERR' => 'Error while saving data',
|
'L_SAVE_ERR' => 'Error while saving data',
|
||||||
'L_NO_ENTRY' => 'No entry',
|
'L_NO_ENTRY' => 'No entry',
|
||||||
|
@ -107,6 +111,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Title tag contents (optional)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Title tag contents (optional)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'hide',
|
'L_ARTICLE_CHAPO_HIDE' => 'hide',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'display',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'display',
|
||||||
|
'L_ARTICLE' => 'article',
|
||||||
|
'L_ARTICLE_ID' => 'Ident',
|
||||||
'L_AUTH_PAGE_TITLE' => 'Authentication page',
|
'L_AUTH_PAGE_TITLE' => 'Authentication page',
|
||||||
'L_LOGOUT_SUCCESSFUL' => 'Logout successful',
|
'L_LOGOUT_SUCCESSFUL' => 'Logout successful',
|
||||||
'L_LOGIN_PAGE' => 'Login to administration',
|
'L_LOGIN_PAGE' => 'Login to administration',
|
||||||
|
@ -137,7 +143,6 @@ $LANG = array(
|
||||||
'L_NONE1' => 'none',
|
'L_NONE1' => 'none',
|
||||||
'L_NONE2' => 'none',
|
'L_NONE2' => 'none',
|
||||||
'L_FOR_SELECTION' => 'Selected items...',
|
'L_FOR_SELECTION' => 'Selected items...',
|
||||||
'L_DELETE' => 'Delete',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Change categories list',
|
'L_CAT_APPLY_BUTTON' => 'Change categories list',
|
||||||
'L_CAT_UNKNOWN' => 'Unknown category',
|
'L_CAT_UNKNOWN' => 'Unknown category',
|
||||||
'L_EDITCAT_PAGE_TITLE' => 'Edit category options',
|
'L_EDITCAT_PAGE_TITLE' => 'Edit category options',
|
||||||
|
@ -231,7 +236,7 @@ $LANG = array(
|
||||||
'L_ALL_DRAFTS' => 'Drafts',
|
'L_ALL_DRAFTS' => 'Drafts',
|
||||||
'L_ALL_AWAITING_MODERATION' => 'Awaiting validation',
|
'L_ALL_AWAITING_MODERATION' => 'Awaiting validation',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Delete folder',
|
'L_MEDIAS_DELETE_FOLDER' => 'Delete folder',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Delete folder and its content ?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Delete folder %s and its content ?',
|
||||||
'L_MEDIAS_NO_FILE' => 'No file',
|
'L_MEDIAS_NO_FILE' => 'No file',
|
||||||
'L_MEDIAS_FILENAME' => 'File name',
|
'L_MEDIAS_FILENAME' => 'File name',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Add file',
|
'L_MEDIAS_ADD_FILE' => 'Add file',
|
||||||
|
@ -275,7 +280,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Image Size (width x height)',
|
'L_CONFIG_VIEW_IMAGES' => 'Image Size (width x height)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Thumbnails size (width x height)',
|
'L_CONFIG_VIEW_THUMBS' => 'Thumbnails size (width x height)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Use a static page as Homepage',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Use a static page as Homepage',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Warning: this page is inactive</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Warning: this page is inactive',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Download themes at <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Download themes at <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'N° of Articles or comments in the Rss feed',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'N° of Articles or comments in the Rss feed',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Only display headlines in the Rss article feed',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Only display headlines in the Rss article feed',
|
||||||
|
@ -286,16 +291,15 @@ $LANG = array(
|
||||||
'L_CONFIG_HOMETEMPLATE' => 'Template of the homepage',
|
'L_CONFIG_HOMETEMPLATE' => 'Template of the homepage',
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Advanced configuration',
|
'L_CONFIG_ADVANCED_DESC' => 'Advanced configuration',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Enable url rewriting',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Enable url rewriting',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Warning: a .htaccess file already exists at your PluXml\'s installation root. Activating url rewriting will overwrite this file</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Warning: a .htaccess file already exists at your PluXml\'s installation root. Activating url rewriting will overwrite this file',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'Enable GZIP compression',
|
'L_CONFIG_ADVANCED_GZIP' => 'Enable GZIP compression',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Makes it possible to compress pages to save bandwidth, but could increase CPU usage',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Makes it possible to compress pages to save bandwidth, but could increase CPU usage',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Enable anti spam-capcha',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Enable anti spam-capcha',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Administration key (private URLs)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Administration key (private URLs)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Leave this field empty to rebuild key',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Leave this field empty to rebuild key',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Use separate Images and Documents folders for every user',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Use separate medias folders for every user',
|
||||||
'L_HELP_SLASH_END' => 'Don\'t forget the slash at the end',
|
'L_HELP_SLASH_END' => 'Don\'t forget the slash at the end',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Images (folder) location',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Medias (folder) location',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Documents (folder) location',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Articles (folder) location',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Articles (folder) location',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Comments (folder) location',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Comments (folder) location',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Static page (folder) location',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Static page (folder) location',
|
||||||
|
@ -303,6 +307,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Plugins (folder) location',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Plugins (folder) location',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Configuration files (folder) location',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Configuration files (folder) location',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Save advanced configuration',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Save advanced configuration',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Location and name of custom css file of the administration area (optional)',
|
||||||
'L_CONFIG_BASE_CONFIG_TITLE' => 'Basic configuration',
|
'L_CONFIG_BASE_CONFIG_TITLE' => 'Basic configuration',
|
||||||
'L_CONFIG_BASE_SITE_TITLE' => 'Site title',
|
'L_CONFIG_BASE_SITE_TITLE' => 'Site title',
|
||||||
'L_CONFIG_BASE_SITE_SLOGAN' => 'Subtitle / Site description',
|
'L_CONFIG_BASE_SITE_SLOGAN' => 'Subtitle / Site description',
|
||||||
|
@ -436,7 +441,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Parameters',
|
'L_MENU_CONFIG' => 'Parameters',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Manage your user profiles',
|
'L_MENU_PROFIL_TITLE' => 'Manage your user profiles',
|
||||||
'L_MENU_PROFIL' => 'Profile',
|
'L_MENU_PROFIL' => 'Profile',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">install.php file can still be found at your PluXml root.<br />For security reasons, it is strongly recommended to delete it.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'install.php file can still be found at your PluXml root.<br />For security reasons, it is strongly recommended to delete it.',
|
||||||
'L_USER_UNKNOWN' => 'Unknown user',
|
'L_USER_UNKNOWN' => 'Unknown user',
|
||||||
'L_USER_LANG' => 'Language used in administration',
|
'L_USER_LANG' => 'Language used in administration',
|
||||||
'L_USER_MAIL' => 'Email adress',
|
'L_USER_MAIL' => 'Email adress',
|
||||||
|
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menú',
|
||||||
'L_UNKNOWN_ERROR' => 'Error desconocido',
|
'L_UNKNOWN_ERROR' => 'Error desconocido',
|
||||||
'L_CONFIRM_DELETE' => '¿Desea confirmar la eliminación?',
|
'L_CONFIRM_DELETE' => '¿Desea confirmar la eliminación?',
|
||||||
'L_SAVE_FILE' => 'Guardar el archivo',
|
'L_SAVE_FILE' => 'Guardar el archivo',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'Archivo guardado correctamente',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Archivo guardado correctamente',
|
||||||
'L_SAVE_FILE_ERROR' => 'Error al guardar el archivo',
|
'L_SAVE_FILE_ERROR' => 'Error al guardar el archivo',
|
||||||
|
'L_DELETE' => 'Eliminar',
|
||||||
|
'L_DELETE_FILE' => 'Eliminar archivo',
|
||||||
|
'L_DELETE_FOLDER' => 'Eliminar carpeta',
|
||||||
|
|
||||||
# class.plx.admin.php
|
# class.plx.admin.php
|
||||||
|
|
||||||
|
@ -116,6 +120,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Contenido de la etiqueta de título («title», opcional)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Contenido de la etiqueta de título («title», opcional)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'ocultar',
|
'L_ARTICLE_CHAPO_HIDE' => 'ocultar',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'mostrar',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'mostrar',
|
||||||
|
'L_ARTICLE' => 'artículo',
|
||||||
|
'L_ARTICLE_ID' => 'Identificador',
|
||||||
|
|
||||||
# auth.php
|
# auth.php
|
||||||
|
|
||||||
|
@ -156,7 +162,6 @@ $LANG = array(
|
||||||
'L_OPTIONS' => 'Opciones',
|
'L_OPTIONS' => 'Opciones',
|
||||||
'L_NEW_CATEGORY' => 'Nueva categoría',
|
'L_NEW_CATEGORY' => 'Nueva categoría',
|
||||||
'L_FOR_SELECTION' => 'Elementos seleccionados...',
|
'L_FOR_SELECTION' => 'Elementos seleccionados...',
|
||||||
'L_DELETE' => 'Eliminar',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Modificar la lista de categorías',
|
'L_CAT_APPLY_BUTTON' => 'Modificar la lista de categorías',
|
||||||
'L_CAT_UNKNOWN' => 'Categoría desconocida',
|
'L_CAT_UNKNOWN' => 'Categoría desconocida',
|
||||||
|
|
||||||
|
@ -282,7 +287,7 @@ $LANG = array(
|
||||||
'L_MEDIAS_DOCUMENTS' => 'Documentos',
|
'L_MEDIAS_DOCUMENTS' => 'Documentos',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Agregar archivo',
|
'L_MEDIAS_ADD_FILE' => 'Agregar archivo',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Eliminar la carpeta',
|
'L_MEDIAS_DELETE_FOLDER' => 'Eliminar la carpeta',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => '¿Desea eliminar la carpeta y su contenido?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => '¿Desea eliminar la carpeta %s y su contenido?',
|
||||||
'L_MEDIAS_FOLDER' => 'Archivo',
|
'L_MEDIAS_FOLDER' => 'Archivo',
|
||||||
'L_MEDIAS_NEW_FOLDER' => 'Nueva carpeta',
|
'L_MEDIAS_NEW_FOLDER' => 'Nueva carpeta',
|
||||||
'L_MEDIAS_CREATE_FOLDER' => 'Crear una carpeta',
|
'L_MEDIAS_CREATE_FOLDER' => 'Crear una carpeta',
|
||||||
|
@ -320,7 +325,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Tamaño de la imagen (largo x ancho)',
|
'L_CONFIG_VIEW_IMAGES' => 'Tamaño de la imagen (largo x ancho)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Tamaño de las miniaturas (largo x ancho)',
|
'L_CONFIG_VIEW_THUMBS' => 'Tamaño de las miniaturas (largo x ancho)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizar una página estática como página de inicio',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizar una página estática como página de inicio',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Advertencia: esta página está desactivada</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Advertencia: esta página está desactivada',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Descargar otros temas en <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Descargar otros temas en <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Cantidad de artículos en la sindicación RSS',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Cantidad de artículos en la sindicación RSS',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Sómo mostrar subtítulos en la sindicación RSS de los artículos',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Sómo mostrar subtítulos en la sindicación RSS de los artículos',
|
||||||
|
@ -334,16 +339,15 @@ $LANG = array(
|
||||||
|
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Configuración avanzada',
|
'L_CONFIG_ADVANCED_DESC' => 'Configuración avanzada',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activar la reescritura de URLs',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activar la reescritura de URLs',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Advertencia: ya existe un archivo «.htaccess» en la raíz de su instalación de PluXml. Si activa la reescritura de URLs, se modificará este archivo</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Advertencia: ya existe un archivo «.htaccess» en la raíz de su instalación de PluXml. Si activa la reescritura de URLs, se modificará este archivo',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'Activar compresión GZIP',
|
'L_CONFIG_ADVANCED_GZIP' => 'Activar compresión GZIP',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permite comprimir las páginas para ahorrar ancho de banda, pero puede aumentar la carga del procesador',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permite comprimir las páginas para ahorrar ancho de banda, pero puede aumentar la carga del procesador',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Activar protección nti-spam («CAPTCHA»)',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Activar protección nti-spam («CAPTCHA»)',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Clave de administración (URLs privadas)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Clave de administración (URLs privadas)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Deje este campo vacío para regenerar la clave',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Deje este campo vacío para regenerar la clave',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utilizar carpetas diferentes para imágenes y documentos en cada usuario',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utilizar carpetas diferentes para medias en cada usuario',
|
||||||
'L_HELP_SLASH_END' => 'No olvide la barra al final',
|
'L_HELP_SLASH_END' => 'No olvide la barra al final',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Ubicación de la carpeta de imágenes',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Ubicación de la carpeta de medios',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Ubicación de la carpeta de documentos',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Ubicación de la carpeta de artículos',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Ubicación de la carpeta de artículos',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Ubicación de la carpeta de comentarios',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Ubicación de la carpeta de comentarios',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Ubicación de la carpeta de páginas éstaticas',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Ubicación de la carpeta de páginas éstaticas',
|
||||||
|
@ -351,6 +355,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Ubicación de la carpeta de complementos',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Ubicación de la carpeta de complementos',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Ubicación de la carpeta de configuración',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Ubicación de la carpeta de configuración',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Guardar configuración avanzada',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Guardar configuración avanzada',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Ubicación y nombre del archivo CSS personalizado del área de administración (opcional)',
|
||||||
|
|
||||||
# parametres_base.php
|
# parametres_base.php
|
||||||
|
|
||||||
|
@ -513,7 +518,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Parámetros',
|
'L_MENU_CONFIG' => 'Parámetros',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Gestionar sus perfiles de usuario',
|
'L_MENU_PROFIL_TITLE' => 'Gestionar sus perfiles de usuario',
|
||||||
'L_MENU_PROFIL' => 'Perfil',
|
'L_MENU_PROFIL' => 'Perfil',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">Todavía existe el archivo «install.php» en la raíz de PluXml.<br />Por razones de seguridad, le sugerimos que lo elimine.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'Todavía existe el archivo «install.php» en la raíz de PluXml.<br />Por razones de seguridad, le sugerimos que lo elimine.',
|
||||||
|
|
||||||
# user.php
|
# user.php
|
||||||
'L_USER_UNKNOWN' => 'Usuario desconocido',
|
'L_USER_UNKNOWN' => 'Usuario desconocido',
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menu',
|
||||||
'L_UNKNOWN_ERROR' => 'Erreur inconnue',
|
'L_UNKNOWN_ERROR' => 'Erreur inconnue',
|
||||||
'L_CONFIRM_DELETE' => 'Confirmer la suppression ?',
|
'L_CONFIRM_DELETE' => 'Confirmer la suppression ?',
|
||||||
'L_SAVE_FILE' => 'Sauvegarder le fichier',
|
'L_SAVE_FILE' => 'Sauvegarder le fichier',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'Fichier enregistré avec succès',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Fichier enregistré avec succès',
|
||||||
'L_SAVE_FILE_ERROR' => 'Erreur pendant l\'enregistrement du fichier',
|
'L_SAVE_FILE_ERROR' => 'Erreur pendant l\'enregistrement du fichier',
|
||||||
|
|
||||||
|
'L_DELETE' => 'Supprimer',
|
||||||
|
'L_DELETE_FILE' => 'Supprimer fichier',
|
||||||
|
'L_DELETE_FOLDER' => 'Supprimer dossier',
|
||||||
|
|
||||||
# class.plx.admin.php
|
# class.plx.admin.php
|
||||||
|
|
||||||
'L_SAVE_SUCCESSFUL' => 'Enregistrement des données effectué avec succès',
|
'L_SAVE_SUCCESSFUL' => 'Enregistrement des données effectué avec succès',
|
||||||
|
@ -116,6 +121,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Contenu balise title (option)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Contenu balise title (option)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'masquer',
|
'L_ARTICLE_CHAPO_HIDE' => 'masquer',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'afficher',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'afficher',
|
||||||
|
'L_ARTICLE' => 'article',
|
||||||
|
'L_ARTICLE_ID' => 'Identifiant',
|
||||||
|
|
||||||
# auth.php
|
# auth.php
|
||||||
|
|
||||||
|
@ -156,13 +163,12 @@ $LANG = array(
|
||||||
'L_OPTIONS' => 'Options',
|
'L_OPTIONS' => 'Options',
|
||||||
'L_NEW_CATEGORY' => 'Nouvelle catégorie',
|
'L_NEW_CATEGORY' => 'Nouvelle catégorie',
|
||||||
'L_FOR_SELECTION' => 'Pour la sélection...',
|
'L_FOR_SELECTION' => 'Pour la sélection...',
|
||||||
'L_DELETE' => 'Supprimer',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Modifier la liste des catégories',
|
'L_CAT_APPLY_BUTTON' => 'Modifier la liste des catégories',
|
||||||
'L_CAT_UNKNOWN' => 'catégorie ionconnue',
|
'L_CAT_UNKNOWN' => 'catégorie inconnue',
|
||||||
|
|
||||||
# categorie.php
|
# categorie.php
|
||||||
|
|
||||||
'L_EDITCAT_PAGE_TITLE' => 'Edition des options de la catégorie',
|
'L_EDITCAT_PAGE_TITLE' => 'Édition des options de la catégorie',
|
||||||
'L_EDITCAT_DESCRIPTION' => 'Description',
|
'L_EDITCAT_DESCRIPTION' => 'Description',
|
||||||
'L_EDITCAT_DISPLAY_HOMEPAGE' => 'Afficher les articles de cette catégorie sur la page d\'accueil',
|
'L_EDITCAT_DISPLAY_HOMEPAGE' => 'Afficher les articles de cette catégorie sur la page d\'accueil',
|
||||||
'L_EDITCAT_TEMPLATE' => 'Template',
|
'L_EDITCAT_TEMPLATE' => 'Template',
|
||||||
|
@ -282,7 +288,7 @@ $LANG = array(
|
||||||
'L_MEDIAS_DOCUMENTS' => 'Documents',
|
'L_MEDIAS_DOCUMENTS' => 'Documents',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Ajouter fichiers',
|
'L_MEDIAS_ADD_FILE' => 'Ajouter fichiers',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Supprimer',
|
'L_MEDIAS_DELETE_FOLDER' => 'Supprimer',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Supprimer ce dossier et son contenu ?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Supprimer le dossier %s et son contenu ?',
|
||||||
'L_MEDIAS_FOLDER' => 'Dossier',
|
'L_MEDIAS_FOLDER' => 'Dossier',
|
||||||
'L_MEDIAS_NEW_FOLDER' => 'Nouveau dossier',
|
'L_MEDIAS_NEW_FOLDER' => 'Nouveau dossier',
|
||||||
'L_MEDIAS_CREATE_FOLDER' => 'Créer',
|
'L_MEDIAS_CREATE_FOLDER' => 'Créer',
|
||||||
|
@ -320,10 +326,10 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Taille des images (largeur x hauteur)',
|
'L_CONFIG_VIEW_IMAGES' => 'Taille des images (largeur x hauteur)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Taille des miniatures (largeur x hauteur)',
|
'L_CONFIG_VIEW_THUMBS' => 'Taille des miniatures (largeur x hauteur)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Utiliser une page statique comme page d\'accueil',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Utiliser une page statique comme page d\'accueil',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Attention cette page est inactive</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Attention cette page est inactive',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Télécharger d\'autres thèmes sur <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Télécharger d\'autres thèmes sur <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Nombre d\'articles/commentaires affichés sur les fils Rss',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Nombre d\'articles/commentaires affichés sur les fils Rss',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Afficher que le chapô dans les flux Rss des articles',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Afficher uniquement le chapô dans les flux Rss des articles',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE_HELP' => 'Si le chapô est vide, le contenu est affiché',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE_HELP' => 'Si le chapô est vide, le contenu est affiché',
|
||||||
'L_CONFIG_VIEW_FEEDS_FOOTER' => 'Texte à ajouter comme signature au bas de chaque flux Rss des articles',
|
'L_CONFIG_VIEW_FEEDS_FOOTER' => 'Texte à ajouter comme signature au bas de chaque flux Rss des articles',
|
||||||
'L_CONFIG_VIEW_UPDATE' => 'Modifier les options d\'affichage',
|
'L_CONFIG_VIEW_UPDATE' => 'Modifier les options d\'affichage',
|
||||||
|
@ -334,16 +340,15 @@ $LANG = array(
|
||||||
|
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Configuration avancée',
|
'L_CONFIG_ADVANCED_DESC' => 'Configuration avancée',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activer la réécriture d\'urls',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activer la réécriture d\'urls',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT'=> '<span class="alert">Attention un fichier .htaccess est déjà présent à la racine de votre PluXml. En activant la réécriture d\'url ce fichier sera modifié</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT'=> 'Attention un fichier .htaccess est déjà présent à la racine de votre PluXml. En activant la réécriture d\'url ce fichier sera modifié',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'Activer la compression GZIP',
|
'L_CONFIG_ADVANCED_GZIP' => 'Activer la compression GZIP',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permet de compresser les pages pour économiser de la bande passante, cependant cela peut augmenter la charge processeur',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permet de compresser les pages pour économiser de la bande passante, cependant cela peut augmenter la charge processeur',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Activer le capcha anti-spam',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Activer le capcha anti-spam',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Clef d\'administration (URLs privés)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Clef d\'administration (URLs privés)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Vider ce champs pour regénérer la clef',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Vider ce champs pour régénérer la clef',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utiliser un dossier images et documents différent pour chaque utilisateur',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utiliser un dossier medias différent pour chaque utilisateur',
|
||||||
'L_HELP_SLASH_END' => 'Ne pas oublier le slash à la fin',
|
'L_HELP_SLASH_END' => 'Ne pas oublier le slash à la fin',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Emplacement des images (dossier)',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Emplacement des médias (dossier)',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Emplacement des documents (dossier)',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Emplacement des articles (dossier)',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Emplacement des articles (dossier)',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Emplacement des commentaires (dossier)',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Emplacement des commentaires (dossier)',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Emplacement des pages statiques (dossier)',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Emplacement des pages statiques (dossier)',
|
||||||
|
@ -351,6 +356,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Emplacement des plugins (dossier)',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Emplacement des plugins (dossier)',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Emplacement des fichiers de configuration (dossier)',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Emplacement des fichiers de configuration (dossier)',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Modifier la configuration avancée',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Modifier la configuration avancée',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Emplacement et nom du fichier css personnel pour la personnalisation de l\'interface d\'administration (option)',
|
||||||
|
|
||||||
# parametres_base.php
|
# parametres_base.php
|
||||||
|
|
||||||
|
@ -362,7 +368,7 @@ $LANG = array(
|
||||||
'L_CONFIG_BASE_TIMEZONE' => 'Fuseau horaire',
|
'L_CONFIG_BASE_TIMEZONE' => 'Fuseau horaire',
|
||||||
'L_CONFIG_BASE_ALLOW_COMMENTS' => 'Autoriser les commentaires',
|
'L_CONFIG_BASE_ALLOW_COMMENTS' => 'Autoriser les commentaires',
|
||||||
'L_CONFIG_BASE_MODERATE_COMMENTS' => 'Modérer les commentaires à la création',
|
'L_CONFIG_BASE_MODERATE_COMMENTS' => 'Modérer les commentaires à la création',
|
||||||
'L_CONFIG_BASE_MODERATE_ARTICLES' => 'Modérer les articles pour les profils Rédacteur et Editeur',
|
'L_CONFIG_BASE_MODERATE_ARTICLES' => 'Modérer les articles pour les profils Rédacteur et Éditeur',
|
||||||
'L_CONFIG_BASE_UPDATE' => 'Modifier la configuration de base',
|
'L_CONFIG_BASE_UPDATE' => 'Modifier la configuration de base',
|
||||||
'L_CONFIG_META_DESCRIPTION' => 'Contenu de la balise meta "description" du site (optionnel)',
|
'L_CONFIG_META_DESCRIPTION' => 'Contenu de la balise meta "description" du site (optionnel)',
|
||||||
'L_CONFIG_META_KEYWORDS' => 'Contenu de la balises meta "keywords" du site (optionnel)',
|
'L_CONFIG_META_KEYWORDS' => 'Contenu de la balises meta "keywords" du site (optionnel)',
|
||||||
|
@ -390,8 +396,8 @@ $LANG = array(
|
||||||
# parametres_users.php
|
# parametres_users.php
|
||||||
|
|
||||||
'L_CONFIG_USERS_TITLE' => 'Gestion des utilisateurs',
|
'L_CONFIG_USERS_TITLE' => 'Gestion des utilisateurs',
|
||||||
'L_CONFIG_USER' => 'Utilisateur',
|
'L_CONFIG_USER' => 'utilisateur',
|
||||||
'L_CONFIG_USERS_ID' => 'Numéro d\'utilisateur',
|
'L_CONFIG_USERS_ID' => 'Identifiant',
|
||||||
'L_CONFIG_USERS_ACTIVE' => 'Actif',
|
'L_CONFIG_USERS_ACTIVE' => 'Actif',
|
||||||
'L_CONFIG_USERS_ACTION' => 'Action',
|
'L_CONFIG_USERS_ACTION' => 'Action',
|
||||||
'L_CONFIG_USERS_NEW' => 'Nouvel utilisateur',
|
'L_CONFIG_USERS_NEW' => 'Nouvel utilisateur',
|
||||||
|
@ -475,7 +481,7 @@ $LANG = array(
|
||||||
'L_STATICS_TEMPLATE_FIELD' => 'Template',
|
'L_STATICS_TEMPLATE_FIELD' => 'Template',
|
||||||
'L_STATICS_PAGE_HOME' => 'Définir en tant que page d\'accueil',
|
'L_STATICS_PAGE_HOME' => 'Définir en tant que page d\'accueil',
|
||||||
'L_STATICS_HOME_PAGE' => 'Page<br />d\'accueil',
|
'L_STATICS_HOME_PAGE' => 'Page<br />d\'accueil',
|
||||||
'L_PAGE' => 'Page',
|
'L_PAGE' => 'page',
|
||||||
'L_VIEW' => 'Voir',
|
'L_VIEW' => 'Voir',
|
||||||
'L_STATICS_SRC_TITLE' => 'Éditer le code source de cette page',
|
'L_STATICS_SRC_TITLE' => 'Éditer le code source de cette page',
|
||||||
'L_STATICS_SRC' => 'Éditer',
|
'L_STATICS_SRC' => 'Éditer',
|
||||||
|
@ -487,7 +493,7 @@ $LANG = array(
|
||||||
'L_PROFIL_ADMIN' => 'Administrateur',
|
'L_PROFIL_ADMIN' => 'Administrateur',
|
||||||
'L_PROFIL_MANAGER' => 'Gestionnaire',
|
'L_PROFIL_MANAGER' => 'Gestionnaire',
|
||||||
'L_PROFIL_MODERATOR' => 'Modérateur',
|
'L_PROFIL_MODERATOR' => 'Modérateur',
|
||||||
'L_PROFIL_EDITOR' => 'Editeur',
|
'L_PROFIL_EDITOR' => 'Éditeur',
|
||||||
'L_PROFIL_WRITER' => 'Rédacteur',
|
'L_PROFIL_WRITER' => 'Rédacteur',
|
||||||
'L_ADMIN' => '- Administration',
|
'L_ADMIN' => '- Administration',
|
||||||
'L_LOGIN' => 'Connecté en tant que',
|
'L_LOGIN' => 'Connecté en tant que',
|
||||||
|
@ -505,7 +511,7 @@ $LANG = array(
|
||||||
'L_MENU_STATICS' => 'Pages statiques',
|
'L_MENU_STATICS' => 'Pages statiques',
|
||||||
'L_MENU_COMMENTS_TITLE' => 'Liste et modification des commentaires',
|
'L_MENU_COMMENTS_TITLE' => 'Liste et modification des commentaires',
|
||||||
'L_MENU_COMMENTS' => 'Commentaires',
|
'L_MENU_COMMENTS' => 'Commentaires',
|
||||||
'L_MENU_MEDIAS_TITLE' => 'Uploader et insérer un média',
|
'L_MENU_MEDIAS_TITLE' => 'Télécharger et insérer un média',
|
||||||
'L_MENU_MEDIAS' => 'Médias',
|
'L_MENU_MEDIAS' => 'Médias',
|
||||||
'L_MENU_CATEGORIES_TITLE' => 'Créer, gérer, éditer les catégories',
|
'L_MENU_CATEGORIES_TITLE' => 'Créer, gérer, éditer les catégories',
|
||||||
'L_MENU_CATEGORIES' => 'Catégories',
|
'L_MENU_CATEGORIES' => 'Catégories',
|
||||||
|
@ -513,7 +519,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Paramètres',
|
'L_MENU_CONFIG' => 'Paramètres',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Gérer votre profil utilisateur',
|
'L_MENU_PROFIL_TITLE' => 'Gérer votre profil utilisateur',
|
||||||
'L_MENU_PROFIL' => 'Profil',
|
'L_MENU_PROFIL' => 'Profil',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">Le fichier install.php est présent à la racine de votre PluXml.<br />Pour des raisons de sécurité, il est fortement conseillé de le supprimer.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'Le fichier install.php est présent à la racine de votre PluXml.<br />Pour des raisons de sécurité, il est fortement conseillé de le supprimer.',
|
||||||
|
|
||||||
# user.php
|
# user.php
|
||||||
'L_USER_UNKNOWN' => 'Utilisateur inconnu',
|
'L_USER_UNKNOWN' => 'Utilisateur inconnu',
|
||||||
|
@ -521,7 +527,7 @@ $LANG = array(
|
||||||
'L_USER_MAIL' => 'Adresse email',
|
'L_USER_MAIL' => 'Adresse email',
|
||||||
'L_USER_INFOS' => 'Informations',
|
'L_USER_INFOS' => 'Informations',
|
||||||
'L_USER_UPDATE' => 'Mettre à jour cet utilisateur',
|
'L_USER_UPDATE' => 'Mettre à jour cet utilisateur',
|
||||||
'L_USER_PAGE_TITLE' => 'Edition des options de l\'utilisateur',
|
'L_USER_PAGE_TITLE' => 'Édition des options de l\'utilisateur',
|
||||||
'L_USER_BACK_TO_PAGE' => 'Retour à la liste des utilisateurs',
|
'L_USER_BACK_TO_PAGE' => 'Retour à la liste des utilisateurs',
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -5,15 +5,15 @@ $LANG = array(
|
||||||
'L_LANGUE' => 'Français',
|
'L_LANGUE' => 'Français',
|
||||||
|
|
||||||
# common
|
# common
|
||||||
'L_PLUXML_VERSION' => 'Pluxml version',
|
'L_PLUXML_VERSION' => 'PluXml version',
|
||||||
'L_HOMEPAGE' => 'Accueil',
|
'L_HOMEPAGE' => 'Accueil',
|
||||||
'L_UNCLASSIFIED' => 'Non classé',
|
'L_UNCLASSIFIED' => 'Non classé',
|
||||||
'L_INFO_PHP_VERSION' => 'Version de php',
|
'L_INFO_PHP_VERSION' => 'Version de php',
|
||||||
'L_INFO_MAGIC_QUOTES' => 'Etat des "magic quotes"',
|
'L_INFO_MAGIC_QUOTES' => 'État des "magic quotes"',
|
||||||
'L_INFO_CHARSET' => 'encodage',
|
'L_INFO_CHARSET' => 'encodage',
|
||||||
|
|
||||||
# index.php
|
# index.php
|
||||||
'L_ERR_THEME_NOTFOUND' => 'Le theme principal de PluXml est introuvable',
|
'L_ERR_THEME_NOTFOUND' => 'Le thème principal de PluXml est introuvable',
|
||||||
'L_ERR_FILE_NOTFOUND' => 'Le fichier cible de PluXml est introuvable',
|
'L_ERR_FILE_NOTFOUND' => 'Le fichier cible de PluXml est introuvable',
|
||||||
'L_ERR_PAGE_NOT_FOUND' => 'Page non trouvée',
|
'L_ERR_PAGE_NOT_FOUND' => 'Page non trouvée',
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ $LANG = array(
|
||||||
'L_THIRD' => 'troisième',
|
'L_THIRD' => 'troisième',
|
||||||
'L_FOURTH' => 'quatrième',
|
'L_FOURTH' => 'quatrième',
|
||||||
'L_FIFTH' => 'cinquième',
|
'L_FIFTH' => 'cinquième',
|
||||||
'L_SIXTH' => 'sizième',
|
'L_SIXTH' => 'sixième',
|
||||||
'L_SEVENTH' => 'septième',
|
'L_SEVENTH' => 'septième',
|
||||||
'L_EIGTH' => 'huitième',
|
'L_EIGTH' => 'huitième',
|
||||||
'L_NINTH' => 'neuvième',
|
'L_NINTH' => 'neuvième',
|
||||||
|
@ -126,7 +126,7 @@ $LANG = array(
|
||||||
'L_PAGEBLOG_TITLE' => 'Blog',
|
'L_PAGEBLOG_TITLE' => 'Blog',
|
||||||
|
|
||||||
# class.plx.feed.php
|
# class.plx.feed.php
|
||||||
'L_FEED_NO_PRIVATE_URL' => 'Les URLs privees n\'ont pas ete initialisees dans vos parametres d\'administration !',
|
'L_FEED_NO_PRIVATE_URL' => 'Les URLs privées n\'ont pas été initialisées dans vos paramètres d\'administration !',
|
||||||
'L_FEED_COMMENTS' => 'Commentaires',
|
'L_FEED_COMMENTS' => 'Commentaires',
|
||||||
'L_FEED_ONLINE_COMMENTS' => 'Commentaires en ligne',
|
'L_FEED_ONLINE_COMMENTS' => 'Commentaires en ligne',
|
||||||
'L_FEED_OFFLINE_COMMENTS' => 'Commentaires hors ligne',
|
'L_FEED_OFFLINE_COMMENTS' => 'Commentaires hors ligne',
|
||||||
|
|
|
@ -4,7 +4,7 @@ $LANG = array(
|
||||||
|
|
||||||
# install.php
|
# install.php
|
||||||
'L_INSTALL_TITLE' => 'Installation',
|
'L_INSTALL_TITLE' => 'Installation',
|
||||||
'L_WRONG_PHP_VERSION' => 'PluXml requiert PHP 5 ou superieur pour fonctionner.',
|
'L_WRONG_PHP_VERSION' => 'PluXml requiert PHP 5 ou supérieur pour fonctionner.',
|
||||||
'L_SELECT_LANG' => 'Sélectionnez votre langue',
|
'L_SELECT_LANG' => 'Sélectionnez votre langue',
|
||||||
'L_INPUT_CHANGE' => 'Changer',
|
'L_INPUT_CHANGE' => 'Changer',
|
||||||
'L_DEFAULT_CATEGORY_TITLE' => 'Rubrique 1',
|
'L_DEFAULT_CATEGORY_TITLE' => 'Rubrique 1',
|
||||||
|
|
|
@ -4,7 +4,7 @@ $LANG = array(
|
||||||
|
|
||||||
'L_SAVE_SUCCESSFUL' => 'Enregistrement des données effectué avec succès',
|
'L_SAVE_SUCCESSFUL' => 'Enregistrement des données effectué avec succès',
|
||||||
'L_UPDATE_TITLE' => 'Mise à jour PluXml',
|
'L_UPDATE_TITLE' => 'Mise à jour PluXml',
|
||||||
'L_WRONG_PHP_VERSION' => 'PluXml requiert PHP 5 ou superieur pour fonctionner.',
|
'L_WRONG_PHP_VERSION' => 'PluXml requiert PHP 5 ou supérieur pour fonctionner.',
|
||||||
|
|
||||||
'L_SELECT_LANG' => 'Sélectionnez votre langue',
|
'L_SELECT_LANG' => 'Sélectionnez votre langue',
|
||||||
'L_INPUT_CHANGE' => 'Changer',
|
'L_INPUT_CHANGE' => 'Changer',
|
||||||
|
@ -51,7 +51,7 @@ $LANG = array(
|
||||||
'L_UPDATE_ERR_DELETE_PLXTOOLBAR_FOLDER' => 'Erreur pendant la suppression du dossier core/plxtoolbar/',
|
'L_UPDATE_ERR_DELETE_PLXTOOLBAR_FOLDER' => 'Erreur pendant la suppression du dossier core/plxtoolbar/',
|
||||||
'L_UPDATE_FILE' => 'Mise à jour du fichier',
|
'L_UPDATE_FILE' => 'Mise à jour du fichier',
|
||||||
'L_UPDATE_ERR_FILE' => 'Erreur pendant la mise à jour du fichier',
|
'L_UPDATE_ERR_FILE' => 'Erreur pendant la mise à jour du fichier',
|
||||||
'L_UPDATE_PLUG_MOVEPARAMFILE' => 'Migration des fichiers de paramètrage des plugins dans le dossier de configuration',
|
'L_UPDATE_PLUG_MOVEPARAMFILE' => 'Migration des fichiers de paramétrage des plugins dans le dossier de configuration',
|
||||||
'L_UPDATE_UPDATE_PLUGINS_FILE' => 'Mise à jour du fichier plugins.xml',
|
'L_UPDATE_UPDATE_PLUGINS_FILE' => 'Mise à jour du fichier plugins.xml',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menu',
|
||||||
'L_UNKNOWN_ERROR' => 'Errore sconosciuto',
|
'L_UNKNOWN_ERROR' => 'Errore sconosciuto',
|
||||||
'L_CONFIRM_DELETE' => 'Confermare l\'eliminazione ?',
|
'L_CONFIRM_DELETE' => 'Confermare l\'eliminazione ?',
|
||||||
'L_SAVE_FILE' => 'Salvare il file',
|
'L_SAVE_FILE' => 'Salvare il file',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'File salvato con successo',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'File salvato con successo',
|
||||||
'L_SAVE_FILE_ERROR' => 'Salvataggio del file per errore',
|
'L_SAVE_FILE_ERROR' => 'Salvataggio del file per errore',
|
||||||
|
'L_DELETE' => 'Cancella',
|
||||||
|
'L_DELETE_FILE' => 'Cancella il file',
|
||||||
|
'L_DELETE_FOLDER' => 'Eliminare la cartella',
|
||||||
'L_SAVE_SUCCESSFUL' => 'Dati salvati con successo',
|
'L_SAVE_SUCCESSFUL' => 'Dati salvati con successo',
|
||||||
'L_SAVE_ERR' => 'Errore durante il salvataggio dei dati',
|
'L_SAVE_ERR' => 'Errore durante il salvataggio dei dati',
|
||||||
'L_NO_ENTRY' => 'Accesso non consentito',
|
'L_NO_ENTRY' => 'Accesso non consentito',
|
||||||
|
@ -107,6 +111,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Titolo contenuto tag (opzionale)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Titolo contenuto tag (opzionale)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'nascondere',
|
'L_ARTICLE_CHAPO_HIDE' => 'nascondere',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'mostrare',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'mostrare',
|
||||||
|
'L_ARTICLE' => 'articolo',
|
||||||
|
'L_ARTICLE_ID' => 'ID',
|
||||||
'L_AUTH_PAGE_TITLE' => 'Pagina di autenticazione',
|
'L_AUTH_PAGE_TITLE' => 'Pagina di autenticazione',
|
||||||
'L_LOGOUT_SUCCESSFUL' => 'Disconnessione avvenuta con successo',
|
'L_LOGOUT_SUCCESSFUL' => 'Disconnessione avvenuta con successo',
|
||||||
'L_LOGIN_PAGE' => 'Pannello di amministrazione',
|
'L_LOGIN_PAGE' => 'Pannello di amministrazione',
|
||||||
|
@ -129,7 +135,6 @@ $LANG = array(
|
||||||
'L_HIDE' => 'Nascondi',
|
'L_HIDE' => 'Nascondi',
|
||||||
'L_OPTIONS' => 'Opzioni',
|
'L_OPTIONS' => 'Opzioni',
|
||||||
'L_FOR_SELECTION' => 'Se selezionati...',
|
'L_FOR_SELECTION' => 'Se selezionati...',
|
||||||
'L_DELETE' => 'Cancella',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Modifica la lista delle categorie',
|
'L_CAT_APPLY_BUTTON' => 'Modifica la lista delle categorie',
|
||||||
'L_CAT_UNKNOWN' => 'categoria sconosciuta',
|
'L_CAT_UNKNOWN' => 'categoria sconosciuta',
|
||||||
'L_EDITCAT_PAGE_TITLE' => 'Gestisci le opzioni delle categorie',
|
'L_EDITCAT_PAGE_TITLE' => 'Gestisci le opzioni delle categorie',
|
||||||
|
@ -223,7 +228,7 @@ $LANG = array(
|
||||||
'L_ALL_DRAFTS' => 'Bozze',
|
'L_ALL_DRAFTS' => 'Bozze',
|
||||||
'L_ALL_AWAITING_MODERATION' => 'In attesa di convalida',
|
'L_ALL_AWAITING_MODERATION' => 'In attesa di convalida',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Cancella questa cartella',
|
'L_MEDIAS_DELETE_FOLDER' => 'Cancella questa cartella',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Vuoi cancellare la cartella e il suo contenuto ?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Vuoi cancellare la cartella %s e il suo contenuto ?',
|
||||||
'L_MEDIAS_NO_FILE' => 'Nessun file',
|
'L_MEDIAS_NO_FILE' => 'Nessun file',
|
||||||
'L_MEDIAS_FILENAME' => 'Nome del file',
|
'L_MEDIAS_FILENAME' => 'Nome del file',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Aggiungi file',
|
'L_MEDIAS_ADD_FILE' => 'Aggiungi file',
|
||||||
|
@ -275,7 +280,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Immagine Dimensioni (larghezza x altezza)',
|
'L_CONFIG_VIEW_IMAGES' => 'Immagine Dimensioni (larghezza x altezza)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Dimensione delle miniature (larghezza x altezza)',
|
'L_CONFIG_VIEW_THUMBS' => 'Dimensione delle miniature (larghezza x altezza)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Usa una pagina statica come homepage',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Usa una pagina statica come homepage',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Attenzione, questa pagina non è attiva</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Attenzione, questa pagina non è attiva',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Scarica altri temi su <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Scarica altri temi su <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Numero di articoli/commenti visualizzati',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Numero di articoli/commenti visualizzati',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Visualizzare solo la premessa degli articoli',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Visualizzare solo la premessa degli articoli',
|
||||||
|
@ -286,16 +291,15 @@ $LANG = array(
|
||||||
'L_CONFIG_HOMETEMPLATE' => 'Modello della homepage',
|
'L_CONFIG_HOMETEMPLATE' => 'Modello della homepage',
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Configurazione avanzata',
|
'L_CONFIG_ADVANCED_DESC' => 'Configurazione avanzata',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Abilita la riscrittura degli url',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Abilita la riscrittura degli url',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Attenzione un file .htaccess è già presente alla radice di PluXml. Abilitando la riscrittura degli url questo file sarà modificato</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Attenzione un file .htaccess è già presente alla radice di PluXml. Abilitando la riscrittura degli url questo file sarà modificato',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'Abilita la compressione GZIP',
|
'L_CONFIG_ADVANCED_GZIP' => 'Abilita la compressione GZIP',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Consente la compressione delle pagine per ridurre la banda utilizzata, ciò potrebbe richiedere un maggiore utilizzo del processore',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Consente la compressione delle pagine per ridurre la banda utilizzata, ciò potrebbe richiedere un maggiore utilizzo del processore',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Abilita il capcha anti-spam',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Abilita il capcha anti-spam',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Chiave di amministrazione (URL privati)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Chiave di amministrazione (URL privati)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Svuota questo campo per rigenerare la chiave',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Svuota questo campo per rigenerare la chiave',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Usare delle cartelle immagini e documenti diverse per ogni user',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Usare delle cartelle medias diverse per ogni user',
|
||||||
'L_HELP_SLASH_END' => 'Non dimenticare la slash alla fine',
|
'L_HELP_SLASH_END' => 'Non dimenticare la slash alla fine',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Posizionamento delle immagini (cartella)',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Posizione media (cartella)',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Posizionamento dei documenti (cartella)',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Posizionamento degli articoli(cartella)',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Posizionamento degli articoli(cartella)',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Posizionamento dei commenti (cartella)',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Posizionamento dei commenti (cartella)',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Posizionamento delle pagine statiche (cartella)',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Posizionamento delle pagine statiche (cartella)',
|
||||||
|
@ -303,6 +307,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Posizionamento dei plugin (cartella)',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Posizionamento dei plugin (cartella)',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Posizionamento dei file di configurazione (cartella)',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Posizionamento dei file di configurazione (cartella)',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Modifica la configurazione avanzata',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Modifica la configurazione avanzata',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Ubicazione e nome del file CSS personalizzato dell\'area amministrazione (optional)',
|
||||||
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configurazione base',
|
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configurazione base',
|
||||||
'L_CONFIG_BASE_SITE_TITLE' => 'Titolo del sito',
|
'L_CONFIG_BASE_SITE_TITLE' => 'Titolo del sito',
|
||||||
'L_CONFIG_BASE_SITE_SLOGAN' => 'Sottotitolo/descrizione del sito',
|
'L_CONFIG_BASE_SITE_SLOGAN' => 'Sottotitolo/descrizione del sito',
|
||||||
|
@ -436,7 +441,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Parametri',
|
'L_MENU_CONFIG' => 'Parametri',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Gestisci il profilo',
|
'L_MENU_PROFIL_TITLE' => 'Gestisci il profilo',
|
||||||
'L_MENU_PROFIL' => 'Profilo',
|
'L_MENU_PROFIL' => 'Profilo',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">Il file install.php è presente nella radice di PluXml.<br />Per motivi di sicurezza, è fortemente consigliata la cancellazione.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'Il file install.php è presente nella radice di PluXml.<br />Per motivi di sicurezza, è fortemente consigliata la cancellazione.',
|
||||||
'L_USER_UNKNOWN' => 'Utente sconosciuto',
|
'L_USER_UNKNOWN' => 'Utente sconosciuto',
|
||||||
'L_USER_LANG' => 'Lingua usata nel pannello di amministrazione',
|
'L_USER_LANG' => 'Lingua usata nel pannello di amministrazione',
|
||||||
'L_USER_MAIL' => 'Indirizzo email',
|
'L_USER_MAIL' => 'Indirizzo email',
|
||||||
|
|
|
@ -18,15 +18,15 @@ $LANG = array(
|
||||||
'L_ERR_PAGE_NOT_FOUND' => 'Pagina non trovata',
|
'L_ERR_PAGE_NOT_FOUND' => 'Pagina non trovata',
|
||||||
|
|
||||||
# class.plx.date.php
|
# class.plx.date.php
|
||||||
'L_SHORT_JANUARY' => 'genn',
|
'L_SHORT_JANUARY' => 'gen',
|
||||||
'L_SHORT_FEBRUARY' => 'febbr',
|
'L_SHORT_FEBRUARY' => 'feb',
|
||||||
'L_SHORT_MARCH' => 'mar',
|
'L_SHORT_MARCH' => 'mar',
|
||||||
'L_SHORT_APRIL' => 'apr',
|
'L_SHORT_APRIL' => 'apr',
|
||||||
'L_SHORT_MAY' => 'magg',
|
'L_SHORT_MAY' => 'mag',
|
||||||
'L_SHORT_JUNE' => 'guigno',
|
'L_SHORT_JUNE' => 'gui',
|
||||||
'L_SHORT_JULY' => 'luglio',
|
'L_SHORT_JULY' => 'lug',
|
||||||
'L_SHORT_AUGUST' => 'ag',
|
'L_SHORT_AUGUST' => 'ago',
|
||||||
'L_SHORT_SEPTEMBER' => 'sett',
|
'L_SHORT_SEPTEMBER' => 'set',
|
||||||
'L_SHORT_OCTOBER' => 'ott',
|
'L_SHORT_OCTOBER' => 'ott',
|
||||||
'L_SHORT_NOVEMBER' => 'nov',
|
'L_SHORT_NOVEMBER' => 'nov',
|
||||||
'L_SHORT_DECEMBER' => 'dic',
|
'L_SHORT_DECEMBER' => 'dic',
|
||||||
|
@ -101,7 +101,7 @@ $LANG = array(
|
||||||
'L_ARTICLES' => 'articoli',
|
'L_ARTICLES' => 'articoli',
|
||||||
'L_ARTAUTHOR_UNKNOWN' => 'sconosciuto',
|
'L_ARTAUTHOR_UNKNOWN' => 'sconosciuto',
|
||||||
'L_ARTTAGS_NONE' => 'nessuno',
|
'L_ARTTAGS_NONE' => 'nessuno',
|
||||||
'L_ARTCHAPO' => 'Leggi il contenuto di #art_title',
|
'L_ARTCHAPO' => 'Continua...',
|
||||||
'L_ARTFEED_RSS_CATEGORY' => 'Feed degli articoli di questa categoria',
|
'L_ARTFEED_RSS_CATEGORY' => 'Feed degli articoli di questa categoria',
|
||||||
'L_ARTFEED_RSS_TAG' => 'Feed degli articoli di questo tag',
|
'L_ARTFEED_RSS_TAG' => 'Feed degli articoli di questo tag',
|
||||||
'L_ARTFEED_RSS' => 'Feed degli articoli',
|
'L_ARTFEED_RSS' => 'Feed degli articoli',
|
||||||
|
@ -117,9 +117,9 @@ $LANG = array(
|
||||||
'L_PAGINATION_FIRST' => '«',
|
'L_PAGINATION_FIRST' => '«',
|
||||||
'L_PAGINATION_PREVIOUS_TITLE' => 'Pagina precedente',
|
'L_PAGINATION_PREVIOUS_TITLE' => 'Pagina precedente',
|
||||||
'L_PAGINATION_PREVIOUS' => 'precedente',
|
'L_PAGINATION_PREVIOUS' => 'precedente',
|
||||||
'L_PAGINATION_NEXT_TITLE' => 'Vai all\'ultima pagina',
|
'L_PAGINATION_NEXT_TITLE' => 'Pagina seguente',
|
||||||
'L_PAGINATION_NEXT' => 'successivo',
|
'L_PAGINATION_NEXT' => 'successivo',
|
||||||
'L_PAGINATION_LAST_TITLE' => 'Aller à la dernière page',
|
'L_PAGINATION_LAST_TITLE' => 'Vai all\'ultima pagina',
|
||||||
'L_PAGINATION_LAST' => '»',
|
'L_PAGINATION_LAST' => '»',
|
||||||
'L_PAGINATION' => 'pagina %s su %s',
|
'L_PAGINATION' => 'pagina %s su %s',
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ $LANG = array(
|
||||||
'L_FEED_NO_PRIVATE_URL' => 'Gli URL privati non sono stati configurati !',
|
'L_FEED_NO_PRIVATE_URL' => 'Gli URL privati non sono stati configurati !',
|
||||||
'L_FEED_COMMENTS' => 'Commenti',
|
'L_FEED_COMMENTS' => 'Commenti',
|
||||||
'L_FEED_ONLINE_COMMENTS' => 'Commenti online',
|
'L_FEED_ONLINE_COMMENTS' => 'Commenti online',
|
||||||
'L_FEED_OFFLINE_COMMENTS' => 'Commenti offline',
|
'L_FEED_OFFLINE_COMMENTS' => 'Commenti chiusi',
|
||||||
'L_FEED_WRITTEN_BY' => 'Pubblicato da',
|
'L_FEED_WRITTEN_BY' => 'Pubblicato da',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menu',
|
||||||
'L_UNKNOWN_ERROR' => 'Onbekende fout',
|
'L_UNKNOWN_ERROR' => 'Onbekende fout',
|
||||||
'L_CONFIRM_DELETE' => 'Bevestig de verwijdering ?',
|
'L_CONFIRM_DELETE' => 'Bevestig de verwijdering ?',
|
||||||
'L_SAVE_FILE' => 'Sla het bestand op',
|
'L_SAVE_FILE' => 'Sla het bestand op',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'Bestand succesvol opgeslagen',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Bestand succesvol opgeslagen',
|
||||||
'L_SAVE_FILE_ERROR' => 'Fout bij het opslaan van het bestand voor',
|
'L_SAVE_FILE_ERROR' => 'Fout bij het opslaan van het bestand voor',
|
||||||
|
'L_DELETE' => 'Verwijderen',
|
||||||
|
'L_DELETE_FILE' => 'Bestand verwijderen',
|
||||||
|
'L_DELETE_FOLDER' => 'Map verwijderen',
|
||||||
'L_SAVE_SUCCESSFUL' => 'Gegevens succesvol opgeslagen',
|
'L_SAVE_SUCCESSFUL' => 'Gegevens succesvol opgeslagen',
|
||||||
'L_SAVE_ERR' => 'Fout bij het opslaan van de gegevens',
|
'L_SAVE_ERR' => 'Fout bij het opslaan van de gegevens',
|
||||||
'L_NO_ENTRY' => 'Geen toegang',
|
'L_NO_ENTRY' => 'Geen toegang',
|
||||||
|
@ -107,6 +111,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Title tag inhoud (optioneel)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Title tag inhoud (optioneel)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'verstoppen',
|
'L_ARTICLE_CHAPO_HIDE' => 'verstoppen',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'tonen',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'tonen',
|
||||||
|
'L_ARTICLE' => 'artikel',
|
||||||
|
'L_ARTICLE_ID' => 'ID',
|
||||||
'L_AUTH_PAGE_TITLE' => 'Aanmeldpagina',
|
'L_AUTH_PAGE_TITLE' => 'Aanmeldpagina',
|
||||||
'L_LOGOUT_SUCCESSFUL' => 'U bent succesvol aangemeld',
|
'L_LOGOUT_SUCCESSFUL' => 'U bent succesvol aangemeld',
|
||||||
'L_LOGIN_PAGE' => 'Aanmelden in administratie',
|
'L_LOGIN_PAGE' => 'Aanmelden in administratie',
|
||||||
|
@ -116,7 +122,7 @@ $LANG = array(
|
||||||
'L_ERR_WRONG_PASSWORD' => 'Login en/of wachtwoord ongeldig',
|
'L_ERR_WRONG_PASSWORD' => 'Login en/of wachtwoord ongeldig',
|
||||||
'L_POWERED_BY' => 'Gegenereerd door <a href="http://www.pluxml.org">PluXml</a>',
|
'L_POWERED_BY' => 'Gegenereerd door <a href="http://www.pluxml.org">PluXml</a>',
|
||||||
'L_CAT_TITLE' => 'Aanmaken en aanpassen van categorie?n',
|
'L_CAT_TITLE' => 'Aanmaken en aanpassen van categorie?n',
|
||||||
'L_CAT_LIST_ID' => 'Identifiant',
|
'L_CAT_LIST_ID' => 'ID',
|
||||||
'L_CAT_LIST_ACTIVE' => 'Actief',
|
'L_CAT_LIST_ACTIVE' => 'Actief',
|
||||||
'L_CAT_LIST_NAME' => 'Naam categorie',
|
'L_CAT_LIST_NAME' => 'Naam categorie',
|
||||||
'L_CAT_LIST_URL' => 'URL',
|
'L_CAT_LIST_URL' => 'URL',
|
||||||
|
@ -129,7 +135,6 @@ $LANG = array(
|
||||||
'L_HIDE' => 'Onzichtbaar maken',
|
'L_HIDE' => 'Onzichtbaar maken',
|
||||||
'L_OPTIONS' => 'Opties',
|
'L_OPTIONS' => 'Opties',
|
||||||
'L_FOR_SELECTION' => 'Met geselecteerde...',
|
'L_FOR_SELECTION' => 'Met geselecteerde...',
|
||||||
'L_DELETE' => 'Verwijderen',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Categorielijst aanpassen',
|
'L_CAT_APPLY_BUTTON' => 'Categorielijst aanpassen',
|
||||||
'L_CAT_UNKNOWN' => 'onbekende categorie',
|
'L_CAT_UNKNOWN' => 'onbekende categorie',
|
||||||
'L_EDITCAT_PAGE_TITLE' => 'Categorie-opties aanpassen',
|
'L_EDITCAT_PAGE_TITLE' => 'Categorie-opties aanpassen',
|
||||||
|
@ -223,7 +228,7 @@ $LANG = array(
|
||||||
'L_ALL_DRAFTS' => 'Concepten',
|
'L_ALL_DRAFTS' => 'Concepten',
|
||||||
'L_ALL_AWAITING_MODERATION' => 'In afwachting van de validatie',
|
'L_ALL_AWAITING_MODERATION' => 'In afwachting van de validatie',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Map verwijderen',
|
'L_MEDIAS_DELETE_FOLDER' => 'Map verwijderen',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Map en inhoud van de map verwijderen ?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Map en inhoud van de map verwijderen %s ?',
|
||||||
'L_MEDIAS_NO_FILE' => 'Geen bestand',
|
'L_MEDIAS_NO_FILE' => 'Geen bestand',
|
||||||
'L_MEDIAS_FILENAME' => 'Naam bastand',
|
'L_MEDIAS_FILENAME' => 'Naam bastand',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Bestand toevoegne',
|
'L_MEDIAS_ADD_FILE' => 'Bestand toevoegne',
|
||||||
|
@ -275,7 +280,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Beeldformaat (breedte x hoogte)',
|
'L_CONFIG_VIEW_IMAGES' => 'Beeldformaat (breedte x hoogte)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Grootte thumbnails (breedte x hoogte)',
|
'L_CONFIG_VIEW_THUMBS' => 'Grootte thumbnails (breedte x hoogte)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'een statische pagina als verwelkomingspagina gebruiken',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'een statische pagina als verwelkomingspagina gebruiken',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Opgelet. Deze pagina is niet actief</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Opgelet. Deze pagina is niet actief',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Nieuwe layouts downloaden op <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Nieuwe layouts downloaden op <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Aantal artikels/commentaar in RSS feed',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Aantal artikels/commentaar in RSS feed',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Korte samenvatting in RSS feed opnemen',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Korte samenvatting in RSS feed opnemen',
|
||||||
|
@ -286,16 +291,15 @@ $LANG = array(
|
||||||
'L_CONFIG_HOMETEMPLATE' => 'Template van de homepage',
|
'L_CONFIG_HOMETEMPLATE' => 'Template van de homepage',
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Geavanceerde configuratie',
|
'L_CONFIG_ADVANCED_DESC' => 'Geavanceerde configuratie',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'herschrijven van URLs aanzetten',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'herschrijven van URLs aanzetten',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Opgepast. Er bestaat al een .htaccess bestand in de root van uw installatie. Door het inschakelen van URL herschrijven dit bestand zal worden gewijzigd</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Opgepast. Er bestaat al een .htaccess bestand in de root van uw installatie. Door het inschakelen van URL herschrijven dit bestand zal worden gewijzigd',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'GZIP compressie activeren',
|
'L_CONFIG_ADVANCED_GZIP' => 'GZIP compressie activeren',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Compressie activeren zal het verbruik van uw bandbreedte naar beneden halen, maar kan uw processor wat meer belasten',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Compressie activeren zal het verbruik van uw bandbreedte naar beneden halen, maar kan uw processor wat meer belasten',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Anti-spam CAPTCHA gebruiken',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Anti-spam CAPTCHA gebruiken',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Code voor versleuteling gegevens (Prive URLs)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Code voor versleuteling gegevens (Prive URLs)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Maak dit veld leeg om een nieuwe sleutel te genereren',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Maak dit veld leeg om een nieuwe sleutel te genereren',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Een verschillende documenten- en afbeeldingenmap gebruiken voor elke gebruiker',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Gebruik verschillende media map voor elke gebruiker',
|
||||||
'L_HELP_SLASH_END' => 'vergeet de slash niet op het einde',
|
'L_HELP_SLASH_END' => 'vergeet de slash niet op het einde',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Locatie Afbeeldingen (map)',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Locatie media (map)',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Locatie documenten (map)',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Locatie artikels (map)',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Locatie artikels (map)',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Locatie commentaar (map)',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Locatie commentaar (map)',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Locatie statische paginas (map)',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Locatie statische paginas (map)',
|
||||||
|
@ -303,6 +307,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Locatie van de plugins (map)',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Locatie van de plugins (map)',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Locatie van de configuratie-bestanden (map)',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Locatie van de configuratie-bestanden (map)',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Aanpassingen doorvoeren',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Aanpassingen doorvoeren',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Locatie en de naam van aangepaste css-bestand van de administratie gebied (optioneel)',
|
||||||
'L_CONFIG_BASE_CONFIG_TITLE' => 'Basisconfiguratie',
|
'L_CONFIG_BASE_CONFIG_TITLE' => 'Basisconfiguratie',
|
||||||
'L_CONFIG_BASE_SITE_TITLE' => 'Titel van de site',
|
'L_CONFIG_BASE_SITE_TITLE' => 'Titel van de site',
|
||||||
'L_CONFIG_BASE_SITE_SLOGAN' => 'Ondertitel van de site',
|
'L_CONFIG_BASE_SITE_SLOGAN' => 'Ondertitel van de site',
|
||||||
|
@ -436,7 +441,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Parameters',
|
'L_MENU_CONFIG' => 'Parameters',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Uw gebruikersprofiel beheren',
|
'L_MENU_PROFIL_TITLE' => 'Uw gebruikersprofiel beheren',
|
||||||
'L_MENU_PROFIL' => 'Profiel',
|
'L_MENU_PROFIL' => 'Profiel',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">het bestand install.php is nog aanwezig in de basismap van uw PluXml.<br />Om veiligheidsredenen raden wij u aan dit bestand te verwijderen of te hernoemen.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'het bestand install.php is nog aanwezig in de basismap van uw PluXml.<br />Om veiligheidsredenen raden wij u aan dit bestand te verwijderen of te hernoemen.',
|
||||||
'L_USER_UNKNOWN' => 'Onbekende gebruiker',
|
'L_USER_UNKNOWN' => 'Onbekende gebruiker',
|
||||||
'L_USER_LANG' => 'Gebruikte taal in adminstratief gedeelte',
|
'L_USER_LANG' => 'Gebruikte taal in adminstratief gedeelte',
|
||||||
'L_USER_MAIL' => 'Emailadres',
|
'L_USER_MAIL' => 'Emailadres',
|
||||||
|
|
548
sources/core/lang/oc/admin.php
Normal file
|
@ -0,0 +1,548 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menu',
|
||||||
|
'L_UNKNOWN_ERROR' => 'Error desconeguda',
|
||||||
|
'L_CONFIRM_DELETE' => 'Confirmar la supression ?',
|
||||||
|
'L_SAVE_FILE' => 'Salvagardar lo fichièr',
|
||||||
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Fichièr enregistrat amb succès',
|
||||||
|
'L_SAVE_FILE_ERROR' => 'Error pendent l\'enregistrament del fichièr',
|
||||||
|
'L_DELETE' => 'Suprimir',
|
||||||
|
'L_DELETE_FILE' => 'Escafar fiquièr',
|
||||||
|
'L_DELETE_FOLDER' => 'Escafar dorsièr',
|
||||||
|
|
||||||
|
# class.plx.admin.php
|
||||||
|
|
||||||
|
'L_SAVE_SUCCESSFUL' => 'Enregistrament de las donadas efectuat amb succès',
|
||||||
|
'L_SAVE_ERR' => 'Error pendent l\'enregistrament de las donadas',
|
||||||
|
'L_NO_ENTRY' => 'Accès defendut',
|
||||||
|
'L_ERR_USER_EMPTY' => 'Volgatz picar un nom d\'utilizator',
|
||||||
|
'L_ERR_PASSWORD_EMPTY' => 'Volgatz picar un mot de Santa Clara',
|
||||||
|
'L_ERR_PASSWORD_EMPTY_CONFIRMATION' => 'Marrida confirmacion o mot de Santa Clara void',
|
||||||
|
'L_ERR_INVALID_EMAIL' => 'Corric invalid',
|
||||||
|
'L_ERR_INVALID_SITE' => 'Adreça del siti invalida',
|
||||||
|
'L_ERR_INVALID_ARTICLE_IDENT' => 'Identificant d\'article invalid !',
|
||||||
|
'L_DEFAULT_NEW_CATEGORY_URL' => 'novèla-categoria',
|
||||||
|
'L_DEFAULT_NEW_STATIC_URL' => 'novèla-pagina',
|
||||||
|
'L_DEFAULT_NEW_ARTICLE_URL' => 'nouvel-article',
|
||||||
|
'L_ARTICLE_SAVE_SUCCESSFUL' => 'Article creat amb succès',
|
||||||
|
'L_ARTICLE_MODIFY_SUCCESSFUL' => 'Article mes a jorn amb succès',
|
||||||
|
'L_ARTICLE_DELETE_SUCCESSFUL' => 'Supression efectuada amb succès',
|
||||||
|
'L_ARTICLE_SAVE_ERR' => 'Error al temps de la salvagarda de l\'article',
|
||||||
|
'L_ARTICLE_DELETE_ERR' => 'Una error es subrevenguda pendent la supression de l\'article',
|
||||||
|
'L_ERR_UNKNOWN_COMMENT' => 'Lo comentari demandat existís pas o existís pas mai',
|
||||||
|
'L_COMMENT_SAVE_SUCCESSFUL' => 'Comentari modificat amb succès',
|
||||||
|
'L_COMMENT_UPDATE_ERR' => 'Error al temps de la mesa a jorn del comentari',
|
||||||
|
'L_COMMENT_DELETE_SUCCESSFUL' => 'Supression efectuada amb succès',
|
||||||
|
'L_COMMENT_DELETE_ERR' => 'Una error es subrevenguda pendent la supression',
|
||||||
|
'L_COMMENT_VALIDATE_SUCCESSFUL' => 'Validacion efectuada amb succès',
|
||||||
|
'L_COMMENT_VALIDATE_ERR' => 'Una error es subrevenguda pendent la validacion',
|
||||||
|
'L_COMMENT_MODERATE_SUCCESSFUL' => 'Moderacion efectuada amb succès',
|
||||||
|
'L_COMMENT_MODERATE_ERR' => 'Una error es subrevenguda al temps de la moderacion',
|
||||||
|
'L_ERR_URL_ALREADY_EXISTS' => 'Url ja utilizada. Volgatz modificar la valor del camp \'Url\'',
|
||||||
|
|
||||||
|
# class.plx.media.php
|
||||||
|
|
||||||
|
'L_PLXMEDIAS_MEDIAS_FOLDER_ERR' => 'Impossible de crear lo dorsièr medias per l\'utilizator connectat',
|
||||||
|
'L_PLXMEDIAS_ROOT' => 'raiç',
|
||||||
|
'L_PLXMEDIAS_DELETE_FILES_SUCCESSFUL'=> 'Fichièrs suprimits amb succès',
|
||||||
|
'L_PLXMEDIAS_DELETE_FILES_ERR' => 'Error pendent la supression d\'un fichièr',
|
||||||
|
'L_PLXMEDIAS_DELETE_FILE_SUCCESSFUL'=> 'Fichièr suprimit amb succès',
|
||||||
|
'L_PLXMEDIAS_DELETE_FILE_ERR' => 'Error pendent la supression del fichièr',
|
||||||
|
'L_PLXMEDIAS_DEL_FOLDER_ERR' => 'Error pendent la supression del dorsièr',
|
||||||
|
'L_PLXMEDIAS_DEL_FOLDER_SUCCESSFUL' => 'Dorsièr suprimit amb succès',
|
||||||
|
'L_PLXMEDIAS_NEW_FOLDER_ERR' => 'Impossible de crear lo dorsièr',
|
||||||
|
'L_PLXMEDIAS_NEW_FOLDER_SUCCESSFUL' => 'Dorsièr creat amb succès',
|
||||||
|
'L_PLXMEDIAS_NEW_FOLDER_EXISTS' => 'Aqueste dorsièr ja existís',
|
||||||
|
'L_PLXMEDIAS_WRONG_FILESIZE' => 'La talha d\'un fichièr es superiora a',
|
||||||
|
'L_PLXMEDIAS_WRONG_FILEFORMAT' => 'Lo tipe d\'un fichièr es pas autorizat',
|
||||||
|
'L_PLXMEDIAS_UPLOAD_ERR' => 'Error pendent l\'enviada del fichièr',
|
||||||
|
'L_PLXMEDIAS_UPLOAD_SUCCESSFUL' => 'Fichièr enviat amb succès',
|
||||||
|
'L_PLXMEDIAS_UPLOADS_ERR' => 'Error pendent l\'enviada d\'un fichièr',
|
||||||
|
'L_PLXMEDIAS_UPLOADS_SUCCESSFUL' => 'Fichièrs enviats amb succès',
|
||||||
|
'L_PLXMEDIAS_MOVE_FILES_SUCCESSFUL' => 'Fichièrs desplaçats amb succès',
|
||||||
|
'L_PLXMEDIAS_MOVE_FILE_SUCCESSFUL' => 'Fichièr desplaçat amb succès',
|
||||||
|
'L_PLXMEDIAS_MOVE_FILES_ERR' => 'Error pendent lo desplaçament dels fichièrs',
|
||||||
|
'L_PLXMEDIAS_MOVE_FILE_ERR' => 'Error pendent lo desplaçament del fichièr',
|
||||||
|
'L_PLXMEDIAS_MOVE_FOLDER' => 'Desplaçar',
|
||||||
|
'L_PLXMEDIAS_RECREATE_THUMB_ERR' => 'Error pendent la creacion de la vinheta',
|
||||||
|
'L_PLXMEDIAS_RECREATE_THUMBS_ERR' => 'Error pendent la creacion de las vinhetas',
|
||||||
|
'L_PLXMEDIAS_RECREATE_THUMB_SUCCESSFUL' => 'Vinheta creada amb succès',
|
||||||
|
'L_PLXMEDIAS_RECREATE_THUMBS_SUCCESSFUL'=> 'Vinhetas creadas amb succès',
|
||||||
|
|
||||||
|
# article.php
|
||||||
|
|
||||||
|
'L_DEFAULT_NEW_ARTICLE_TITLE' => 'Novèl article',
|
||||||
|
'L_ERR_INVALID_PUBLISHING_DATE' => 'Data de publicacion invalida',
|
||||||
|
'L_ERR_UNKNOWN_ARTICLE' => 'L\'article demandat existís pas o existís pas mai !',
|
||||||
|
'L_ERR_FORBIDDEN_ARTICLE' => 'Avètz pas los dreches per accedir a-n aquel article !',
|
||||||
|
'L_BACK_TO_ARTICLES' => 'Tornar a la lista dels articles',
|
||||||
|
'L_ARTICLE_EDITING' => 'Modificacion d\'un article',
|
||||||
|
'L_ARTICLE_TITLE' => 'Títol',
|
||||||
|
'L_ARTICLE_LIST_AUTHORS' => 'Autor',
|
||||||
|
'L_HEADLINE_FIELD' => 'Chapô (facultatiu)',
|
||||||
|
'L_CONTENT_FIELD' => 'Contengut',
|
||||||
|
'L_LINK_FIELD' => 'Ligam de l\'article',
|
||||||
|
'L_LINK_ACCESS' => 'Accedir à l\'article',
|
||||||
|
'L_LINK_VIEW' => 'veire',
|
||||||
|
'L_ARTICLE_STATUS' => 'Estat',
|
||||||
|
'L_DRAFT' => 'Borrolhon',
|
||||||
|
'L_PUBLISHED' => 'Publicat',
|
||||||
|
'L_AWAITING' => 'En espèra de validacion',
|
||||||
|
'L_ARTICLE_DATE' => 'Data de publicacion',
|
||||||
|
'L_NOW' => 'ara',
|
||||||
|
'L_ARTICLE_CATEGORIES' => 'Emplaçaments',
|
||||||
|
'L_CATEGORY_HOME_PAGE' => 'Pagina d\'acuèlh',
|
||||||
|
'L_NEW_CATEGORY' => 'Novèla categoria',
|
||||||
|
'L_ARTICLE_TAGS_FIELD' => 'Mots claus',
|
||||||
|
'L_ARTICLE_TAGS_FIELD_TITLE' => 'Separar los mots claus per una virgula',
|
||||||
|
'L_ARTICLE_TOGGLER_TITLE' => 'Lista dels mots claus',
|
||||||
|
'L_NO_TAG' => 'Pas cap de tag',
|
||||||
|
'L_ALLOW_COMMENTS' => 'Autorizar los comentaris',
|
||||||
|
'L_ARTICLE_URL_FIELD' => 'Url',
|
||||||
|
'L_ARTICLE_URL_FIELD_TITLE' => 'l\'URL s\'emplís automaticament a la creacion',
|
||||||
|
'L_ARTICLE_TEMPLATE_FIELD' => 'Template',
|
||||||
|
'L_ARTICLE_MANAGE_COMMENTS' => 'Gerir los comentaris',
|
||||||
|
'L_ARTICLE_MANAGE_COMMENTS_TITLE' => 'Gerir los comentaris d\'aqueste article',
|
||||||
|
'L_ARTICLE_NEW_COMMENT' => 'Escriure un comentari',
|
||||||
|
'L_ARTICLE_NEW_COMMENT_TITLE' => 'Escriure un comentari sus aqueste article',
|
||||||
|
'L_ARTICLE_DELETE_CONFIRM' => 'Suprimir aqueste article ?',
|
||||||
|
'L_ARTICLE_PREVIEW_BUTTON' => 'Apercebut',
|
||||||
|
'L_ARTICLE_DRAFT_BUTTON' => 'Enregistrar borrolhon',
|
||||||
|
'L_ARTICLE_PUBLISHING_BUTTON' => 'Publicar',
|
||||||
|
'L_ARTICLE_MODERATE_BUTTON' => 'Sosmetre per validacion',
|
||||||
|
'L_ARTICLE_OFFLINE_BUTTON' => 'Metre fòra linha',
|
||||||
|
'L_ARTICLE_UPDATE_BUTTON' => 'Enregistrar',
|
||||||
|
'L_CATEGORY_ADD_BUTTON' => 'Ajustar',
|
||||||
|
'L_ARTICLE_META_DESCRIPTION' => 'Contengut balisa meta "descripcion" (opcion)',
|
||||||
|
'L_ARTICLE_META_KEYWORDS' => 'Contengut balisa meta "keywords" (opcion)',
|
||||||
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Contengut balisa title (opcion)',
|
||||||
|
'L_ARTICLE_CHAPO_HIDE' => 'mascar',
|
||||||
|
'L_ARTICLE_CHAPO_DISPLAY' => 'afichar',
|
||||||
|
'L_ARTICLE' => 'article',
|
||||||
|
'L_ARTICLE_ID' => 'Identificant',
|
||||||
|
|
||||||
|
# auth.php
|
||||||
|
|
||||||
|
'L_AUTH_PAGE_TITLE' => 'Pagina d\'autentificacion',
|
||||||
|
'L_LOGOUT_SUCCESSFUL' => 'Sètz estat corrèctament desconnectat',
|
||||||
|
'L_LOGIN_PAGE' => 'Connexion a la zòna d\'administracion',
|
||||||
|
'L_AUTH_LOGIN_FIELD' => 'Login de connexion',
|
||||||
|
'L_AUTH_PASSWORD_FIELD' => 'Mot de Santa Clara',
|
||||||
|
'L_SUBMIT_BUTTON' => 'Validar',
|
||||||
|
'L_ERR_WRONG_PASSWORD' => 'Login e/o mot de Santa Clara incorrèct',
|
||||||
|
'L_POWERED_BY' => 'Generat per <a href="http://www.pluxml.org">PluXml</a>',
|
||||||
|
|
||||||
|
#
|
||||||
|
|
||||||
|
'L_SORT_ASCENDING_DATE' => 'data creissenta',
|
||||||
|
'L_SORT_DESCENDING_DATE' => 'data decreissenta',
|
||||||
|
'L_SORT_ALPHABETICAL' => 'alfabetic',
|
||||||
|
'L_YES' => 'Òc',
|
||||||
|
'L_NO' => 'Non',
|
||||||
|
'L_OK' => 'Ok',
|
||||||
|
'L_NONE1' => 'cap',
|
||||||
|
'L_NONE2' => 'cap',
|
||||||
|
|
||||||
|
# categories.php
|
||||||
|
|
||||||
|
'L_CAT_TITLE' => 'Creacion e edicion de las categorias',
|
||||||
|
'L_CAT_LIST_ID' => 'Identificant',
|
||||||
|
'L_CAT_LIST_ACTIVE' => 'Activa',
|
||||||
|
'L_CAT_LIST_NAME' => 'Nom de la categoria',
|
||||||
|
'L_CAT_LIST_URL' => 'Url',
|
||||||
|
'L_CAT_LIST_SORT' => 'Tria dels articles',
|
||||||
|
'L_CAT_LIST_BYPAGE' => 'Nb art/pagina',
|
||||||
|
'L_CAT_LIST_ORDER' => 'Òrdre',
|
||||||
|
'L_CAT_LIST_MENU' => 'Menú',
|
||||||
|
'L_CATEGORY' => 'Categoria',
|
||||||
|
'L_DISPLAY' => 'Afichar',
|
||||||
|
'L_HIDE' => 'Mascar',
|
||||||
|
'L_OPTIONS' => 'Opcions',
|
||||||
|
'L_NEW_CATEGORY' => 'Novèla categoria',
|
||||||
|
'L_FOR_SELECTION' => 'Per la seleccion...',
|
||||||
|
'L_CAT_APPLY_BUTTON' => 'Modificar la lista de las categorias',
|
||||||
|
'L_CAT_UNKNOWN' => 'categoria desconeguda',
|
||||||
|
|
||||||
|
# categorie.php
|
||||||
|
|
||||||
|
'L_EDITCAT_PAGE_TITLE' => 'Edicion de las opcions de la categoria',
|
||||||
|
'L_EDITCAT_DESCRIPTION' => 'Descripcion',
|
||||||
|
'L_EDITCAT_DISPLAY_HOMEPAGE' => 'Afichar los articles d\'aquesta categoria sus la pagina d\'acuèlh',
|
||||||
|
'L_EDITCAT_TEMPLATE' => 'Template',
|
||||||
|
'L_EDITCAT_BACK_TO_PAGE' => 'Tornar a la lista de las categorias',
|
||||||
|
'L_EDITCAT_UPDATE' => 'Metre a jorn aquesta categoria',
|
||||||
|
'L_EDITCAT_TITLE_HTMLTAG' => 'Contengut balisa title (opcion)',
|
||||||
|
'L_EDITCAT_META_DESCRIPTION' => 'Contengut de la balisa meta "descripcion" per aquesta categoria (opcion)',
|
||||||
|
'L_EDITCAT_META_KEYWORDS' => 'Contengut de la balisa meta "keywords" per aquesta categoria (opcion)',
|
||||||
|
|
||||||
|
# commentaire.php
|
||||||
|
|
||||||
|
'L_COMMENT_ORPHAN' => 'pas cap d\'article',
|
||||||
|
'L_COMMENT_ORPHAN_STATUS' => 'non visible (vos conselham de suprimir aqueste comentari)',
|
||||||
|
'L_COMMENT_ARTICLE_LINKED' => 'Article',
|
||||||
|
'L_COMMENT_ARTICLE_LINKED_TITLE' => 'Article estacat a-n aquel comentari',
|
||||||
|
'L_COMMENT_OFFLINE' => 'Fòra linha',
|
||||||
|
'L_COMMENT_ONLINE' => 'En linha',
|
||||||
|
'L_COMMENT_ONLINE_TITLE' => 'Visualizar aqueste comentari en linha',
|
||||||
|
'L_BACK_TO_ARTICLE_COMMENTS' => 'Tornar a la lista dels comentaris d\'aquel article',
|
||||||
|
'L_BACK_TO_COMMENTS' => 'Tornar a la lista dels comentaris',
|
||||||
|
'L_COMMENT_EDITING' => 'Edicion d\'un comentari',
|
||||||
|
'L_COMMENT_AUTHOR_FIELD' => 'Autor',
|
||||||
|
'L_COMMENT_TYPE_FIELD' => 'Tipe de comentari',
|
||||||
|
'L_COMMENT_DATE_FIELD' => 'Data e ora de publicacion',
|
||||||
|
'L_COMMENT_IP_FIELD' => 'Ip',
|
||||||
|
'L_COMMENT_SITE_FIELD' => 'Siti',
|
||||||
|
'L_COMMENT_EMAIL_FIELD' => 'Corric',
|
||||||
|
'L_COMMENT_STATUS_FIELD' => 'Estatut',
|
||||||
|
'L_COMMENT_LINKED_ARTICLE_FIELD' => 'Article estacat',
|
||||||
|
'L_COMMENT_ARTICLE_FIELD' => 'Comentari',
|
||||||
|
'L_COMMENT_DELETE_CONFIRM' => 'Suprimir aqueste comentari ?',
|
||||||
|
'L_COMMENT_PUBLISH_BUTTON' => 'Validar la publicacion',
|
||||||
|
'L_COMMENT_OFFLINE_BUTTON' => 'Metre fòra linha',
|
||||||
|
'L_COMMENT_ANSWER_BUTTON' => 'Respondre a-n aquel comentari',
|
||||||
|
'L_COMMENT_UPDATE_BUTTON' => 'Metre a jorn',
|
||||||
|
'L_COMMENT_WRITTEN_BY' => 'Redigit per',
|
||||||
|
'L_ERR_CATEGORY_ALREADY_EXISTS' => 'Nom de categoria ja utilizat',
|
||||||
|
|
||||||
|
# sous_navigation/commentaires.php
|
||||||
|
|
||||||
|
'L_COMMENT_NEW_COMMENT_TITLE' => 'Redigir un novèl comentari per aquel article',
|
||||||
|
'L_COMMENT_NEW_COMMENT' => 'Redigir un novèl comentari',
|
||||||
|
|
||||||
|
# commentaire_new.php
|
||||||
|
|
||||||
|
'L_ERR_ANSWER_UNKNOWN_COMMENT' => 'Lo comentari per lo qual temptatz de respondre existís pas o existís pas pus !',
|
||||||
|
'L_ERR_ANSWER_OFFLINE_COMMENT' => 'Lo comentari es fòra linha, impossible d\'i respondre !',
|
||||||
|
'L_ERR_COMMENT_UNKNOWN_ARTICLE' => 'L\'article demandat existís pas o existís pas pus, impossible d\'escriure un comentari !',
|
||||||
|
'L_ERR_CREATING_COMMENT' => 'Una error es subrevenguda al temps de la creacion del comentari',
|
||||||
|
'L_CREATING_COMMENT_SUCCESSFUL' => 'Lo comentari es estat creat amb succès',
|
||||||
|
'L_CREATE_NEW_COMMENT' => 'Redigir un comentari',
|
||||||
|
'L_COMMENT_SAVE_BUTTON' => 'Enregistrar',
|
||||||
|
'L_ARTICLE_COMMENTS_LIST' => 'Comentaris d\'aquel article',
|
||||||
|
'L_COMMENT_ANSWER_TITLE' => 'Respondre a-n aquel comentari',
|
||||||
|
'L_COMMENT_ANSWER' => 'Respondre',
|
||||||
|
|
||||||
|
# comments.php
|
||||||
|
|
||||||
|
'L_COMMENTS_ARTICLE_SCOPE' => 'article',
|
||||||
|
'L_COMMENTS_GLOBAL_SCOPE' => 'siti entièr',
|
||||||
|
'L_COMMENTS_LIST_DATE' => 'Data',
|
||||||
|
'L_COMMENTS_LIST_AUTHOR' => 'Autor',
|
||||||
|
'L_COMMENTS_LIST_MESSAGE' => 'Messatge',
|
||||||
|
'L_COMMENTS_LIST_ACTION' => 'Accion',
|
||||||
|
'L_COMMENT_EDIT' => 'Editar',
|
||||||
|
'L_COMMENT_EDIT_TITLE' => 'Editar aquel comentari',
|
||||||
|
'L_COMMENT_DELETE' => 'Suprimir',
|
||||||
|
'L_COMMENT_OFFLINE_FEEDS_TITLE' => 'Flus rss dels comentaris fòra-linha',
|
||||||
|
'L_COMMENT_OFFLINE_FEEDS' => 'Comentaris fòra-linha',
|
||||||
|
'L_COMMENT_ONLINE_FEEDS_TITLE' => 'Flus rss dels comentaris en-linha',
|
||||||
|
'L_COMMENT_ONLINE_FEEDS' => 'Comentaris en-linha',
|
||||||
|
'L_COMMENTS_PRIVATE_FEEDS' => 'Flus de sindicacion privats',
|
||||||
|
'L_COMMENTS_ONLINE_LIST' => 'Lista dels comentaris publicats',
|
||||||
|
'L_COMMENTS_OFFLINE_LIST' => 'Lista dels comentaris en espèra de validacion',
|
||||||
|
'L_COMMENTS_ALL_LIST' => 'Lista dels comentaris',
|
||||||
|
'L_COMMENT_SET_ONLINE' => 'Metre en linha',
|
||||||
|
'L_COMMENT_SET_OFFLINE' => 'Metre fòra linha',
|
||||||
|
|
||||||
|
# index.php
|
||||||
|
|
||||||
|
'L_ARTICLES_SEARCH_BUTTON' => 'Recercar',
|
||||||
|
'L_ARTICLES_ALL_CATEGORIES' => 'Totas las categorias...',
|
||||||
|
'L_ALL' => 'Totes',
|
||||||
|
'L_ALL_PUBLISHED' => 'Publicats',
|
||||||
|
'L_ALL_DRAFTS' => 'Borrolhons',
|
||||||
|
'L_ALL_AWAITING_MODERATION' => 'En espèra de validacion',
|
||||||
|
'L_ARTICLES_FILTER_BUTTON' => 'Filtrar',
|
||||||
|
'L_CATEGORIES_TABLE' => 'Categorias',
|
||||||
|
'L_SPECIFIC_CATEGORIES_TABLE' => 'Emplaçaments especifics',
|
||||||
|
'L_ALL_ARTICLES_CATEGORIES_TABLE' => 'Totes los articles',
|
||||||
|
'L_ARTICLES_LIST' => 'Lista dels articles',
|
||||||
|
'L_ARTICLE_LIST_DATE' => 'Data',
|
||||||
|
'L_ARTICLE_LIST_TITLE' => 'Títol',
|
||||||
|
'L_ARTICLE_LIST_CATEGORIES' => 'Categoria',
|
||||||
|
'L_ARTICLE_LIST_NBCOMS' => 'Nb coms',
|
||||||
|
'L_ARTICLE_LIST_AUTHOR' => 'Autor',
|
||||||
|
'L_ARTICLE_LIST_ACTION' => 'Accion',
|
||||||
|
'L_CATEGORY_HOME' => 'Pagina d\'acuèlh',
|
||||||
|
'L_CATEGORY_DRAFT' => 'Borrolhon',
|
||||||
|
'L_ARTICLE_VIEW' => 'Visualizar',
|
||||||
|
'L_ARTICLE_VIEW_TITLE' => 'Visualizar aquel article sul siti',
|
||||||
|
'L_ARTICLE_EDIT' => 'Editar',
|
||||||
|
'L_ARTICLE_EDIT_TITLE' => 'Editar aquel article',
|
||||||
|
'L_NEW_COMMENTS_TITLE' => 'Comentaris en espèra de validacion',
|
||||||
|
'L_VALIDATED_COMMENTS_TITLE' => 'Comentaris publicats',
|
||||||
|
'L_NO_ARTICLE' => 'Pas cap d\'article',
|
||||||
|
|
||||||
|
# medias.php
|
||||||
|
|
||||||
|
'L_MEDIAS_FILENAME' => 'Nom del fichièr',
|
||||||
|
'L_MEDIAS_TITLE' => 'Gestion dels media',
|
||||||
|
'L_MEDIAS_DIRECTORY' => 'Emplaçament',
|
||||||
|
'L_MEDIAS_BACK' => 'Retorn a la lista dels mèdia',
|
||||||
|
'L_MEDIAS_MAX_UPOLAD_FILE' => 'Talha maxi dels fichièrs',
|
||||||
|
'L_MEDIAS_SUBMIT_FILE' => 'Enviar',
|
||||||
|
'L_MEDIAS_IMAGES' => 'Imatges',
|
||||||
|
'L_MEDIAS_DOCUMENTS' => 'Documents',
|
||||||
|
'L_MEDIAS_ADD_FILE' => 'Ajustar fichièrs',
|
||||||
|
'L_MEDIAS_DELETE_FOLDER' => 'Suprimir',
|
||||||
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Suprimir aquel dorsièr %s e lo seu contengut ?',
|
||||||
|
'L_MEDIAS_FOLDER' => 'Dorsièr',
|
||||||
|
'L_MEDIAS_NEW_FOLDER' => 'Novèl dorsièr',
|
||||||
|
'L_MEDIAS_CREATE_FOLDER' => 'Crear',
|
||||||
|
'L_MEDIAS_FILESIZE' => 'Talha',
|
||||||
|
'L_MEDIAS_DATE' => 'Data',
|
||||||
|
'L_MEDIAS_DIMENSIONS' => 'Dimensions',
|
||||||
|
'L_MEDIAS_NO_FILE' => 'Pas cap de fichièr',
|
||||||
|
'L_MEDIAS_RESIZE' => 'Redimensionar imatges',
|
||||||
|
'L_MEDIAS_RESIZE_NO' => 'Talha originala',
|
||||||
|
'L_MEDIAS_THUMBS' => 'Crear miniaturas',
|
||||||
|
'L_MEDIAS_THUMBS_NONE' => 'Pas de miniatura',
|
||||||
|
'L_MEDIAS_MODIFY' => 'Modificar',
|
||||||
|
'L_MEDIAS_THUMB' => 'Miniatura',
|
||||||
|
'L_MEDIAS_EXTENSION' => 'Extension',
|
||||||
|
'L_MEDIAS_ADD' => 'Ajustar',
|
||||||
|
'L_MEDIAS_ALIGNMENT' => 'Alinhament',
|
||||||
|
'L_MEDIAS_ALIGN_NONE' => 'Cap',
|
||||||
|
'L_MEDIAS_ALIGN_LEFT' => 'Esquèrra',
|
||||||
|
'L_MEDIAS_ALIGN_CENTER' => 'Centre',
|
||||||
|
'L_MEDIAS_ALIGN_RIGHT' => 'Drecha',
|
||||||
|
'L_MEDIAS_RECREATE_THUMB' => 'Recrear miniaturas',
|
||||||
|
|
||||||
|
# parametres_affichage.php
|
||||||
|
|
||||||
|
'L_CONFIG_VIEW_FIELD' => 'Opcions d\'afichatge',
|
||||||
|
'L_CONFIG_VIEW_SKIN_SELECT' => 'Causida del tèma',
|
||||||
|
'L_CONFIG_VIEW_FILES_EDIT_TITLE' => 'Editar los fichièrs del tèma',
|
||||||
|
'L_CONFIG_VIEW_FILES_EDIT' => 'Editar los fichièrs del tèma',
|
||||||
|
'L_CONFIG_VIEW_SORT' => 'Tria dels articles',
|
||||||
|
'L_CONFIG_VIEW_BYPAGE' => 'Nombre d\'articles afichats per pagina',
|
||||||
|
'L_CONFIG_VIEW_BYPAGE_ARCHIVES' => 'Nombre d\'articles afichats per pagina dins los archius',
|
||||||
|
'L_CONFIG_VIEW_BYPAGE_ADMIN' => 'Nombre d\'articles afichats per pagina dins l\'administracion',
|
||||||
|
'L_CONFIG_VIEW_SORT_COMS' => 'Tria dels comentaris',
|
||||||
|
'L_CONFIG_VIEW_BYPAGE_ADMIN_COMS' => 'Nombre de comentaris afichats per pagina dins l\'administracion',
|
||||||
|
'L_CONFIG_VIEW_IMAGES' => 'Talha dels imatges (largor x nautor)',
|
||||||
|
'L_CONFIG_VIEW_THUMBS' => 'Talha de las miniaturas (largor x nautor)',
|
||||||
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizar una pagina estatica coma pagina d\'acuèlh',
|
||||||
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Atencion aquela pagina es inactiva',
|
||||||
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Telecargar d\'autres tèmas sus <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Nombre d\'articles/comentaris afichats suls fils Rss',
|
||||||
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Afichar pas que lo chapô dins los flux Rss dels articles',
|
||||||
|
'L_CONFIG_VIEW_FEEDS_HEADLINE_HELP' => 'Se lo chapô es void, lo contengut es afichat',
|
||||||
|
'L_CONFIG_VIEW_FEEDS_FOOTER' => 'Tèxte a ajustar coma signatura al bas de cada flux Rss dels articles',
|
||||||
|
'L_CONFIG_VIEW_UPDATE' => 'Modificar las opcions d\'afichatge',
|
||||||
|
'L_CONFIG_VIEW_DISPLAY_EMPTY_CAT' => 'Afichar las categorias sens article',
|
||||||
|
'L_CONFIG_HOMETEMPLATE' => 'Template de la pagina d\'acuèlh',
|
||||||
|
|
||||||
|
# parametres_avances.php
|
||||||
|
|
||||||
|
'L_CONFIG_ADVANCED_DESC' => 'Configuracion avançada',
|
||||||
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activar la reescritura d\'urls',
|
||||||
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT'=> 'Atencion un fichièr .htaccess es ja present a la raiç de vòstre PluXml. En activent la reescritura d\'url aquel fichièr serà modificat',
|
||||||
|
'L_CONFIG_ADVANCED_GZIP' => 'Activar la compression GZIP',
|
||||||
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permet de compressar las paginas per estalviar de banda passanta, ça que la pòt augmentar la carga processor',
|
||||||
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Activar lo capcha anti-spam',
|
||||||
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Clau d\'administracion (URLs privats)',
|
||||||
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Vojar aquel camp per tornar generar la clau',
|
||||||
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utilizar un dorsièr medias diferent per cada utilizator',
|
||||||
|
'L_HELP_SLASH_END' => 'Oblidar pas lo slash a la fin',
|
||||||
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Emplaçament dels média (dorsièr)',
|
||||||
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Emplaçament dels articles (dorsièr)',
|
||||||
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Emplaçament dels comentaris (dorsièr)',
|
||||||
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Emplaçament de las paginas estaticas (dorsièr)',
|
||||||
|
'L_CONFIG_ADVANCED_THEMES_FOLDER' => 'Emplaçament dels tèmas (dorsièr)',
|
||||||
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Emplaçament dels plugins (dorsièr)',
|
||||||
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Emplaçament dels fichièrs de configuracion (dorsièr)',
|
||||||
|
'L_CONFIG_ADVANCED_UPDATE' => 'Modificar la configuracion avançada',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Emplacement et nom du fichier css personnel pour customisation de l\'interface d\'administration (option)',
|
||||||
|
|
||||||
|
# parametres_base.php
|
||||||
|
|
||||||
|
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configuracion de basa',
|
||||||
|
'L_CONFIG_BASE_SITE_TITLE' => 'Títol del siti',
|
||||||
|
'L_CONFIG_BASE_SITE_SLOGAN' => 'Sos-títol/descripcion del siti',
|
||||||
|
'L_CONFIG_BASE_URL_HELP' => 'Oblidar pas lo slash a la fin',
|
||||||
|
'L_CONFIG_BASE_DEFAULT_LANG' => 'Lenga per defaut del siti',
|
||||||
|
'L_CONFIG_BASE_TIMEZONE' => 'Fus orari',
|
||||||
|
'L_CONFIG_BASE_ALLOW_COMMENTS' => 'Autorizar los comentaris',
|
||||||
|
'L_CONFIG_BASE_MODERATE_COMMENTS' => 'Moderar los comentaris a la creacion',
|
||||||
|
'L_CONFIG_BASE_MODERATE_ARTICLES' => 'Moderar los articles pels perfils Redactor e Editor',
|
||||||
|
'L_CONFIG_BASE_UPDATE' => 'Modificar la configuracion de basa',
|
||||||
|
'L_CONFIG_META_DESCRIPTION' => 'Contengut de la balisa meta "descripcion" del siti (opcion)',
|
||||||
|
'L_CONFIG_META_KEYWORDS' => 'Contengut de las balisas meta "keywords" del siti (opcion)',
|
||||||
|
|
||||||
|
# parametres_edittpl.php
|
||||||
|
|
||||||
|
'L_CONFIG_EDITTPL_ERROR_NOTHEME' => 'Aqueste tèma existís pas !',
|
||||||
|
'L_CONFIG_EDITTPL_TITLE' => 'Edicion del tèma',
|
||||||
|
'L_CONFIG_EDITTPL_SELECT_FILE' => 'Causida del fichièr a editar :',
|
||||||
|
'L_CONFIG_EDITTPL_LOAD' => 'Cargar',
|
||||||
|
|
||||||
|
# parametres_infos.php
|
||||||
|
|
||||||
|
'L_CONFIG_INFOS_TITLE' => 'Informacions relativas a PluXml',
|
||||||
|
'L_CONFIG_INFOS_DESCRIPTION' => 'Aquelas informacions vos entresenhan sul foncionament de vòstre PluXml e se pòdon averar utilas per son depanatge.',
|
||||||
|
'L_CONFIG_INFOS_NB_CATS' => 'Nombre de categorias :',
|
||||||
|
'L_CONFIG_INFOS_NB_STATICS' => 'Nombre de paginas estaticas :',
|
||||||
|
'L_CONFIG_INFOS_WRITER' => 'Nom del redactor en session :',
|
||||||
|
'L_PLUXML_CHECK_VERSION' => 'Verificacion del numerò de version de PluXml sul siti oficial PluXml.org',
|
||||||
|
'L_PLUXML_UPDATE_UNAVAILABLE' => 'Impossible de verificar las mesas a jorn mentre que \'allow_url_fopen\' es desactivat sul sistème',
|
||||||
|
'L_PLUXML_UPDATE_ERR' => 'La verificacion de mesa a jorn s\'es abocada per una rason desconeguda',
|
||||||
|
'L_PLUXML_UPTODATE' => 'Utilizatz la darrièra version de PluXml',
|
||||||
|
'L_PLUXML_UPDATE_AVAILABLE' => 'Una novèla version de PluXml es sortida ! La podètz telecargar sus',
|
||||||
|
|
||||||
|
# parametres_users.php
|
||||||
|
|
||||||
|
'L_CONFIG_USERS_TITLE' => 'Gestion dels utilizators',
|
||||||
|
'L_CONFIG_USER' => 'Utilizator',
|
||||||
|
'L_CONFIG_USERS_ID' => 'Numerò d\'utilizator',
|
||||||
|
'L_CONFIG_USERS_ACTIVE' => 'Actiu',
|
||||||
|
'L_CONFIG_USERS_ACTION' => 'Accion',
|
||||||
|
'L_CONFIG_USERS_NEW' => 'Novèl utilizator',
|
||||||
|
'L_CONFIG_USERS_UPDATE' => 'Modificar la lista dels utilizators',
|
||||||
|
'L_ERR_LOGIN_ALREADY_EXISTS' => 'Identificant de connexion ja utilizat',
|
||||||
|
'L_ERR_USERNAME_ALREADY_EXISTS' => 'Nom d\'utilizator ja utilizat',
|
||||||
|
'L_CONFIG_USERS_DELETE_CONFIRM' => 'Suprimir los utilizators seleccionats ?',
|
||||||
|
|
||||||
|
# parametre_plugins.php
|
||||||
|
|
||||||
|
'L_BACK_TO_PLUGINS' => 'Tornar a la pagina dels plugins',
|
||||||
|
'L_NO_PLUGIN' => 'Pas cap de plugin',
|
||||||
|
'L_PLUGIN_NO_CONFIG' => 'Plugin non configurat',
|
||||||
|
'L_PLUGINS_CSS' => 'Còdi css',
|
||||||
|
'L_PLUGINS_CSS_TITLE' => 'Editar lo còdi css del plugin',
|
||||||
|
'L_CONTENT_FIELD_FRONTEND' => 'Contengut fichièr css siti',
|
||||||
|
'L_CONTENT_FIELD_BACKEND' => 'Contengut fichièr css administrator',
|
||||||
|
|
||||||
|
# parametres_plugins.php
|
||||||
|
|
||||||
|
'L_PLUGINS_TITLE' => 'Gestion dels plugins',
|
||||||
|
'L_PLUGINS_VERSION' => 'Version',
|
||||||
|
'L_PLUGINS_AUTHOR' => 'Autor',
|
||||||
|
'L_PLUGINS_ACTIVATE' => 'Activar',
|
||||||
|
'L_PLUGINS_DEACTIVATE' => 'Desactivar',
|
||||||
|
'L_PLUGINS_DELETE' => 'Suprimir',
|
||||||
|
'L_PLUGINS_DELETE_ERROR' => 'Una error s\'es produsida al temps de la supression',
|
||||||
|
'L_PLUGINS_DELETE_SUCCESSFUL' => 'Supression efectuada amb succès',
|
||||||
|
'L_PLUGINS_CONFIG' => 'Configuracion',
|
||||||
|
'L_PLUGINS_CONFIG_TITLE' => 'Configuracion del plugin',
|
||||||
|
'L_PLUGINS_HELP' => 'Ajuda',
|
||||||
|
'L_PLUGINS_HELP_TITLE' => 'Véser l\'ajuda del plugin',
|
||||||
|
'L_PLUGINS_REQUIREMENTS' => 'Pre-requesit',
|
||||||
|
'L_PLUGINS_REQUIREMENTS_HELP' => 'Lista dels plugins presents e actius per activar aqueste plugin',
|
||||||
|
'L_PLUGINS_REQUIREMENTS_NONE' => 'Cap',
|
||||||
|
'L_PLUGINS_ALPHA_SORT' => 'Triar per òrdre alfabetic los plugins',
|
||||||
|
'L_PLUGINS_LOADING_SORT' => 'Òrdre de cargament',
|
||||||
|
'L_PLUGINS_ACTION' => 'Accion',
|
||||||
|
'L_PLUGINS_APPLY_BUTTON' => 'Modificar la lista dels plugins',
|
||||||
|
'L_PLUGINS_ACTIVE_LIST' => 'Plugins actius',
|
||||||
|
'L_PLUGINS_INACTIVE_LIST' => 'Plugins inactius',
|
||||||
|
|
||||||
|
# profil.php
|
||||||
|
|
||||||
|
'L_PROFIL_EDIT_TITLE' => 'Edicion de vòstre perfil',
|
||||||
|
'L_PROFIL' => 'Perfil',
|
||||||
|
'L_PROFIL_LOGIN' => 'Identificant de connexion',
|
||||||
|
'L_PROFIL_USER' => 'Nom d\'utilizator',
|
||||||
|
'L_PROFIL_MAIL' => 'Adreça email',
|
||||||
|
'L_PROFIL_ADMIN_LANG' => 'Lenga utilizada dins l\'administracion',
|
||||||
|
'L_PROFIL_INFOS' => 'Informacions',
|
||||||
|
'L_PROFIL_UPDATE' => 'Modificar vòstre perfil',
|
||||||
|
'L_PROFIL_CHANGE_PASSWORD' => 'Cambiament del mot de Santa Clara',
|
||||||
|
'L_PROFIL_PASSWORD' => 'Mot de Santa Clara',
|
||||||
|
'L_PROFIL_CONFIRM_PASSWORD' => 'Confirmacion del mot de Santa Clara',
|
||||||
|
'L_PROFIL_UPDATE_PASSWORD' => 'Cambiar vòstre mot de Santa Clara',
|
||||||
|
|
||||||
|
# statique.php
|
||||||
|
|
||||||
|
'L_STATIC_BACK_TO_PAGE' => 'Tornar a la lista de las paginas estaticas',
|
||||||
|
'L_STATIC_UNKNOWN_PAGE' => 'Aquela pagina estatica existís pas o existís pas pus !',
|
||||||
|
'L_STATIC_TITLE' => 'Edicion del còdi sorga de la pagina estatica',
|
||||||
|
'L_STATIC_VIEW_PAGE' => 'Visualizar la pagina',
|
||||||
|
'L_STATIC_ON_SITE' => 'sul siti',
|
||||||
|
'L_STATIC_UPDATE' => 'Enregistrar aquela pagina estatica',
|
||||||
|
'L_STATIC_TITLE_HTMLTAG' => 'Contengut balisa títol (opcion)',
|
||||||
|
'L_STATIC_META_DESCRIPTION' => 'Contengut de la balisa meta "descripcion" per aquela pagina estatica (opcion)',
|
||||||
|
'L_STATIC_META_KEYWORDS' => 'Contengut de la balisa meta "keywords" per aquela pagina estatica (opcion)',
|
||||||
|
|
||||||
|
# statiques.php
|
||||||
|
|
||||||
|
'L_STATICS_PAGE_TITLE' => 'Creacion e edicion de las paginas estaticas',
|
||||||
|
'L_STATICS_ID' => 'Identificant',
|
||||||
|
'L_STATICS_GROUP' => 'Grope',
|
||||||
|
'L_STATICS_TITLE' => 'Títol',
|
||||||
|
'L_STATICS_URL' => 'Url',
|
||||||
|
'L_STATICS_ACTIVE' => 'Activa',
|
||||||
|
'L_STATICS_ORDER' => 'Òrdre',
|
||||||
|
'L_STATICS_MENU' => 'Menú',
|
||||||
|
'L_STATICS_ACTION' => 'Accion',
|
||||||
|
'L_STATICS_TEMPLATE_FIELD' => 'Template',
|
||||||
|
'L_STATICS_PAGE_HOME' => 'Definir en tant que pagina d\'acuèlh',
|
||||||
|
'L_STATICS_HOME_PAGE' => 'Pagina<br />d\'acuèlh',
|
||||||
|
'L_PAGE' => 'Pagina',
|
||||||
|
'L_VIEW' => 'Veire',
|
||||||
|
'L_STATICS_SRC_TITLE' => 'Editar lo còdi sorga d\'aquela pagina',
|
||||||
|
'L_STATICS_SRC' => 'Editar',
|
||||||
|
'L_STATICS_NEW_PAGE' => 'Novèla pagina',
|
||||||
|
'L_STATICS_UPDATE' => 'Modificar la lista de las paginas estaticas',
|
||||||
|
'L_ERR_STATIC_ALREADY_EXISTS' => 'Títol de pagina estatica ja utilizat',
|
||||||
|
|
||||||
|
# top.php
|
||||||
|
'L_PROFIL_ADMIN' => 'Administrator',
|
||||||
|
'L_PROFIL_MANAGER' => 'Gestionari',
|
||||||
|
'L_PROFIL_MODERATOR' => 'Moderator',
|
||||||
|
'L_PROFIL_EDITOR' => 'Editor',
|
||||||
|
'L_PROFIL_WRITER' => 'Rédactor',
|
||||||
|
'L_ADMIN' => '- Administracion',
|
||||||
|
'L_LOGIN' => 'Connectat en tant que',
|
||||||
|
'L_ADMIN_LOGOUT' => 'Desconnexion',
|
||||||
|
'L_ADMIN_LOGOUT_TITLE' => 'Quitar la session d\'administracion',
|
||||||
|
'L_BACK_TO_SITE' => 'Tornar al siti',
|
||||||
|
'L_BACK_TO_SITE_TITLE' => 'Tornar a la pagina d\'acuèlh del siti',
|
||||||
|
'L_BACK_TO_BLOG' => 'Blòg',
|
||||||
|
'L_BACK_TO_BLOG_TITLE' => 'Retorn a la pagina del blòg',
|
||||||
|
'L_MENU_ARTICLES' => 'Articles',
|
||||||
|
'L_MENU_ARTICLES_TITLE' => 'Lista e modificacion d\'articles',
|
||||||
|
'L_MENU_NEW_ARTICLES' => 'Novèl article',
|
||||||
|
'L_MENU_NEW_ARTICLES_TITLE' => 'Novèl article',
|
||||||
|
'L_MENU_STATICS_TITLE' => 'Lista e modificacion de las paginas estaticas',
|
||||||
|
'L_MENU_STATICS' => 'Paginas estaticas',
|
||||||
|
'L_MENU_COMMENTS_TITLE' => 'Lista e modificacion dels comentaris',
|
||||||
|
'L_MENU_COMMENTS' => 'Comentaris',
|
||||||
|
'L_MENU_MEDIAS_TITLE' => 'Uploader e inserir un media',
|
||||||
|
'L_MENU_MEDIAS' => 'Mèdia',
|
||||||
|
'L_MENU_CATEGORIES_TITLE' => 'Crear, gerir, editar las categorias',
|
||||||
|
'L_MENU_CATEGORIES' => 'Categorias',
|
||||||
|
'L_MENU_CONFIG_TITLE' => 'Configurar PluXml',
|
||||||
|
'L_MENU_CONFIG' => 'Paramètras',
|
||||||
|
'L_MENU_PROFIL_TITLE' => 'Gerir vòstre perfil utilizator',
|
||||||
|
'L_MENU_PROFIL' => 'Perfil',
|
||||||
|
'L_WARNING_INSTALLATION_FILE' => 'Lo fichièr install.php es present a la raiç de vòstre PluXml.<br />Per de rasons de seguretat, es fòrtament conselhat d\'o suprimir.',
|
||||||
|
|
||||||
|
# user.php
|
||||||
|
'L_USER_UNKNOWN' => 'Utilizator desconegut',
|
||||||
|
'L_USER_LANG' => 'Lenga utilizada dins l\'administracion',
|
||||||
|
'L_USER_MAIL' => 'Adreça email',
|
||||||
|
'L_USER_INFOS' => 'Informacions',
|
||||||
|
'L_USER_UPDATE' => 'Metre a jorn aquel utilizator',
|
||||||
|
'L_USER_PAGE_TITLE' => 'Edicion de las opcions de l\'utilizator',
|
||||||
|
'L_USER_BACK_TO_PAGE' => 'Tornar a la lista dels utilizators',
|
||||||
|
|
||||||
|
#
|
||||||
|
|
||||||
|
'L_MENU_CONFIG_BASE_TITLE' => 'Modificar la configuracion de basa de vòstre PluXml',
|
||||||
|
'L_MENU_CONFIG_BASE' => 'Configuracion de basa',
|
||||||
|
'L_MENU_CONFIG_VIEW_TITLE' => 'Modificar las opcions d\'afichatge de vòstre PluXml',
|
||||||
|
'L_MENU_CONFIG_VIEW' => 'Opcions d\'afichatge',
|
||||||
|
'L_MENU_CONFIG_USERS_TITLE' => 'Gerir los comptes utilizators de vòstre PluXml',
|
||||||
|
'L_MENU_CONFIG_USERS' => 'Comptes utilizators',
|
||||||
|
'L_MENU_CONFIG_ADVANCED_TITLE' => 'Modificar la configuracion avançada de vòstre PluXml',
|
||||||
|
'L_MENU_CONFIG_ADVANCED' => 'Configuracion avançada',
|
||||||
|
'L_MENU_CONFIG_INFOS_TITLE' => 'Aver d\'informacions sus vòstre PluXml',
|
||||||
|
'L_MENU_CONFIG_INFOS' => 'Informacions',
|
||||||
|
'L_MENU_CONFIG_PLUGINS_TITLE' => 'Gerir los plugins',
|
||||||
|
'L_MENU_CONFIG_PLUGINS' => 'Plugins',
|
||||||
|
|
||||||
|
);
|
||||||
|
?>
|
135
sources/core/lang/oc/core.php
Normal file
|
@ -0,0 +1,135 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_LANGUE' => 'Occitan',
|
||||||
|
|
||||||
|
# common
|
||||||
|
'L_PLUXML_VERSION' => 'Pluxml version',
|
||||||
|
'L_HOMEPAGE' => 'Acuèlh',
|
||||||
|
'L_UNCLASSIFIED' => 'Non classat',
|
||||||
|
'L_INFO_PHP_VERSION' => 'Version de php',
|
||||||
|
'L_INFO_MAGIC_QUOTES' => 'Estat dels "magic quotes"',
|
||||||
|
'L_INFO_CHARSET' => 'encodatge',
|
||||||
|
|
||||||
|
# index.php
|
||||||
|
'L_ERR_THEME_NOTFOUND' => 'Lo tèma principal de PluXml es introbable',
|
||||||
|
'L_ERR_FILE_NOTFOUND' => 'Lo fichièr cibla de PluXml es introbable',
|
||||||
|
'L_ERR_PAGE_NOT_FOUND' => 'Pagina non trobada',
|
||||||
|
|
||||||
|
# class.plx.date.php
|
||||||
|
'L_SHORT_JANUARY' => 'gen',
|
||||||
|
'L_SHORT_FEBRUARY' => 'feb',
|
||||||
|
'L_SHORT_MARCH' => 'març',
|
||||||
|
'L_SHORT_APRIL' => 'abril',
|
||||||
|
'L_SHORT_MAY' => 'mai',
|
||||||
|
'L_SHORT_JUNE' => 'junh',
|
||||||
|
'L_SHORT_JULY' => 'julh',
|
||||||
|
'L_SHORT_AUGUST' => 'agost',
|
||||||
|
'L_SHORT_SEPTEMBER' => 'set',
|
||||||
|
'L_SHORT_OCTOBER' => 'oct',
|
||||||
|
'L_SHORT_NOVEMBER' => 'nov',
|
||||||
|
'L_SHORT_DECEMBER' => 'dec',
|
||||||
|
'L_JANUARY' => 'genièr',
|
||||||
|
'L_FEBRUARY' => 'febrièr',
|
||||||
|
'L_MARCH' => 'març',
|
||||||
|
'L_APRIL' => 'abril',
|
||||||
|
'L_MAY' => 'mai',
|
||||||
|
'L_JUNE' => 'junh',
|
||||||
|
'L_JULY' => 'julhet',
|
||||||
|
'L_AUGUST' => 'agost',
|
||||||
|
'L_SEPTEMBER' => 'setembre',
|
||||||
|
'L_OCTOBER' => 'octòbre',
|
||||||
|
'L_NOVEMBER' => 'novembre',
|
||||||
|
'L_DECEMBER' => 'decembre',
|
||||||
|
'L_MONDAY' => 'diluns',
|
||||||
|
'L_TUESDAY' => 'dimars',
|
||||||
|
'L_WEDNESDAY' => 'dimècres',
|
||||||
|
'L_THURSDAY' => 'dijòus',
|
||||||
|
'L_FRIDAY' => 'divendres',
|
||||||
|
'L_SATURDAY' => 'dissabte',
|
||||||
|
'L_SUNDAY' => 'dimenge',
|
||||||
|
|
||||||
|
# class.plx.capcha.php
|
||||||
|
'L_LAST' => 'darrièra',
|
||||||
|
'L_FIRST' => 'primièra',
|
||||||
|
'L_SECOND' => 'segonda',
|
||||||
|
'L_THIRD' => 'tresena',
|
||||||
|
'L_FOURTH' => 'quatrena',
|
||||||
|
'L_FIFTH' => 'cinquena',
|
||||||
|
'L_SIXTH' => 'seisena',
|
||||||
|
'L_SEVENTH' => 'setena',
|
||||||
|
'L_EIGTH' => 'ochena',
|
||||||
|
'L_NINTH' => 'novena',
|
||||||
|
'L_TENTH' => 'desena',
|
||||||
|
'L_NTH' => 'ena',
|
||||||
|
'L_CAPCHA_QUESTION' => 'Quina es la <span class="capcha-letter">%s</span> letra del mot <span class="capcha-word">%s</span> ?',
|
||||||
|
|
||||||
|
# class.plx.utils.php
|
||||||
|
'L_WRITE_ACCESS' => '%s es accessible en escritura',
|
||||||
|
'L_WRITE_NOT_ACCESS' => '%s es pas accessible en escritura o existís pas',
|
||||||
|
'L_MODREWRITE_AVAILABLE' => 'Modul apache de reescritura d\'url mod_rewrite disponible',
|
||||||
|
'L_MODREWRITE_NOT_AVAILABLE' => 'Modul apache de reescritura d\'url mod_rewrite non disponible',
|
||||||
|
'L_LIBGD_INSTALLED' => 'Bibliotèca GD installada',
|
||||||
|
'L_LIBGD_NOT_INSTALLED' => 'Bibliotèca GD non installada',
|
||||||
|
'L_MAIL_AVAILABLE' => 'Foncion d\'enviada de mail disponible',
|
||||||
|
'L_MAIL_NOT_AVAILABLE' => 'Foncion d\'enviada de mail non disponible',
|
||||||
|
|
||||||
|
# class.plx.motor.php
|
||||||
|
'L_FILE_VERSION_REQUIRED' => 'Lo fichièr "%sversion" es necessari al foncionament de PluXml',
|
||||||
|
'L_ARTICLE_NO_TAG' => 'Pas cap d\'article per aqueste mot clau !',
|
||||||
|
'L_UNKNOWN_CATEGORY' => 'Aquesta categoria es inexistenta !',
|
||||||
|
'L_NO_ARTICLE_PAGE' => 'Pas cap d\'article per aquesta pagina !',
|
||||||
|
'L_UNKNOWN_ARTICLE' => 'Aqueste article existís pas o existís pas mai !',
|
||||||
|
'L_COM_IN_MODERATION' => 'Lo comentari es per se far moderar per l\'administrator d\'aquel siti',
|
||||||
|
'L_UNKNOWN_STATIC' => 'Aquesta pagina existís pas o existís pas mai !',
|
||||||
|
'L_DOCUMENT_NOT_FOUND' => 'Lo document especificat es introbable',
|
||||||
|
'L_NEWCOMMENT_ERR' => 'Una error s\'es produsida al temps de la publicacion d\'aquel comentari',
|
||||||
|
'L_NEWCOMMENT_FIELDS_REQUIRED' => 'Mercés d\'emplir totes los camps obligatòris requesits',
|
||||||
|
'L_NEWCOMMENT_ERR_ANTISPAM' => 'La verificacion anti-spam s\'es abocada',
|
||||||
|
|
||||||
|
# class.plx.show.php
|
||||||
|
|
||||||
|
'L_HTTPENCODING' => 'Compression %s activada',
|
||||||
|
'L_PAGETITLE_ARCHIVES' => 'Archius',
|
||||||
|
'L_PAGETITLE_TAG' => 'Tag',
|
||||||
|
'L_NO_CATEGORY' => 'pas cap de categoria',
|
||||||
|
'L_CATEGORY' => 'categoria',
|
||||||
|
'L_CATEGORIES' => 'categorias',
|
||||||
|
'L_NO_ARTICLE' => 'pas cap d\'article',
|
||||||
|
'L_ARTICLE' => 'article',
|
||||||
|
'L_ARTICLES' => 'articles',
|
||||||
|
'L_ARTAUTHOR_UNKNOWN' => 'desconegut',
|
||||||
|
'L_ARTTAGS_NONE' => 'cap',
|
||||||
|
'L_ARTCHAPO' => 'Legir la seguida de #art_title',
|
||||||
|
'L_ARTFEED_RSS_CATEGORY' => 'Fil Rss dels articles d\'aquesta categoria',
|
||||||
|
'L_ARTFEED_RSS_TAG' => 'Fil Rss dels articles d\'aqueste mot clau',
|
||||||
|
'L_ARTFEED_RSS' => 'Fil Rss dels articles',
|
||||||
|
'L_NO_COMMENT' => 'pas cap de comentari',
|
||||||
|
'L_COMMENT' => 'comentari',
|
||||||
|
'L_COMMENTS' => 'comentaris',
|
||||||
|
'L_COMFEED_RSS_ARTICLE' => 'Fil Rss dels comentaris d\'aquel article',
|
||||||
|
'L_COMFEED_RSS' => 'Fil Rss dels comentaris',
|
||||||
|
'L_STATICCONTENT_INPROCESS' => 'Aquesta pagina es actualament per èsser redigida',
|
||||||
|
'L_SAID' => 'a dich',
|
||||||
|
|
||||||
|
'L_PAGINATION_FIRST_TITLE' => 'Anar a la primièra pagina',
|
||||||
|
'L_PAGINATION_FIRST' => '«',
|
||||||
|
'L_PAGINATION_PREVIOUS_TITLE' => 'Pagina precedenta',
|
||||||
|
'L_PAGINATION_PREVIOUS' => 'precedenta',
|
||||||
|
'L_PAGINATION_NEXT_TITLE' => 'pagina seguenta',
|
||||||
|
'L_PAGINATION_NEXT' => 'seguenta',
|
||||||
|
'L_PAGINATION_LAST_TITLE' => 'Anar a la darrièra pagina',
|
||||||
|
'L_PAGINATION_LAST' => '»',
|
||||||
|
'L_PAGINATION' => 'pagina %s sus %s',
|
||||||
|
|
||||||
|
'L_PAGEBLOG_TITLE' => 'Blòg',
|
||||||
|
|
||||||
|
# class.plx.feed.php
|
||||||
|
'L_FEED_NO_PRIVATE_URL' => 'Las URLs privadas son pas estadas inicializadas dins vòstres paramètres d\'administracion !',
|
||||||
|
'L_FEED_COMMENTS' => 'Comentaris',
|
||||||
|
'L_FEED_ONLINE_COMMENTS' => 'Comentaris en linha',
|
||||||
|
'L_FEED_OFFLINE_COMMENTS' => 'Comentaris fòra linha',
|
||||||
|
'L_FEED_WRITTEN_BY' => 'Redigit per',
|
||||||
|
);
|
||||||
|
?>
|
32
sources/core/lang/oc/install.php
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$LANG = array(
|
||||||
|
|
||||||
|
# install.php
|
||||||
|
'L_INSTALL_TITLE' => 'Installacion',
|
||||||
|
'L_WRONG_PHP_VERSION' => 'PluXml requesís PHP 5 o superior per foncionar.',
|
||||||
|
'L_SELECT_LANG' => 'Seleccionatz vòstra lenga',
|
||||||
|
'L_INPUT_CHANGE' => 'Cambiar',
|
||||||
|
'L_DEFAULT_CATEGORY_TITLE' => 'Rubrica 1',
|
||||||
|
'L_DEFAULT_CATEGORY_URL' => 'rubrica-1',
|
||||||
|
'L_DEFAULT_STATIC_TITLE' => 'Estatic 1',
|
||||||
|
'L_DEFAULT_STATIC_URL' => 'estatic-1',
|
||||||
|
'L_DEFAULT_ARTICLE_TITLE' => 'Primièr article',
|
||||||
|
'L_DEFAULT_ARTICLE_URL' => 'primièr-article',
|
||||||
|
'L_DEFAULT_COMMENT_CONTENT' => 'Aquò es un primièr comentari !',
|
||||||
|
'L_ERR_PLUXML_ALREADY_INSTALLED' => 'PluXml es ja configurat !',
|
||||||
|
'L_ERR_MISSING_USER' => 'Volgatz entre-senhar lo nom del redactor !',
|
||||||
|
'L_ERR_MISSING_LOGIN' => 'Volgatz entre-senhar lo login de connexion !',
|
||||||
|
'L_ERR_MISSING_PASSWORD' => 'Volgatz entre-senhar un mot de Santa Clara !',
|
||||||
|
'L_ERR_PASSWORD_CONFIRMATION' => 'Confirmacion del mot de Santa Clara incorrècta !',
|
||||||
|
'L_PLUXML_INSTALLATION' => 'Installacion de PluXml',
|
||||||
|
'L_SITE_DESCRIPTION' => 'Blòg o Cms a l\'Xml !',
|
||||||
|
'L_VERSION' => 'version',
|
||||||
|
'L_USERNAME' => 'Nom de l\'administrator',
|
||||||
|
'L_LOGIN' => 'Identificant de connexion a l\'administracion',
|
||||||
|
'L_PASSWORD' => 'Mot de Santa Clara',
|
||||||
|
'L_PASSWORD_CONFIRMATION' => 'Confirmacion del mot de Santa Clara',
|
||||||
|
'L_INPUT_INSTALL' => 'Installar',
|
||||||
|
'L_TIMEZONE' => 'Fus orari',
|
||||||
|
);
|
||||||
|
?>
|
58
sources/core/lang/oc/update.php
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_SAVE_SUCCESSFUL' => 'Enregistrament de las donadas efectuat amb succès',
|
||||||
|
'L_UPDATE_TITLE' => 'Mesa a jorn PluXml',
|
||||||
|
'L_WRONG_PHP_VERSION' => 'PluXml requerís PHP 5 o superior per foncionar.',
|
||||||
|
|
||||||
|
'L_SELECT_LANG' => 'Seleccionatz vòstra lenga',
|
||||||
|
'L_INPUT_CHANGE' => 'Cambiar',
|
||||||
|
|
||||||
|
'L_UPDATE_UPTODATE' => 'Vòstre PluXml es ja a jorn.',
|
||||||
|
'L_UPDATE_NOT_AVAILABLE' => 'Cap de mesa a jorn es pas disponibla.',
|
||||||
|
'L_UPDATE_BACK' => 'Tornar al siti',
|
||||||
|
'L_UPDATE_WARNING1' => 'Anatz metre a jorn vòstra anciana version de PluXml',
|
||||||
|
'L_UPDATE_SELECT_VERSION' => 'Volgatz seleccionar dins la lista çai jos vòstra anciana version de PluXml a metre a jorn.',
|
||||||
|
'L_UPDATE_WARNING2' => 'Se vòstra anciana version es pas listada aicí, es qu\'existís pas cap de procedura automatizada de mesa a jorn car vòstra version es tròp vièlha.<br />Nous vous suggérons de télécharger la dernière version de <a href="http://www.pluxml.org">PluXml</a> et de faire une nouvelle installation.',
|
||||||
|
'L_UPDATE_WARNING3' => 'Atencion, abans d\'amodar la mesa a jorn, oblidetz pas de far una salvagarda de vòstras donadas en fasent une còpia del dorsièr "data"',
|
||||||
|
'L_UPDATE_START' => 'Amodar la mesa a jorn',
|
||||||
|
|
||||||
|
'L_UPDATE_ENDED' => 'Mesa a jorn de la version %s terminada.',
|
||||||
|
'L_UPDATE_INPROGRESS' => 'Aplicacions de las mesas a jorn version',
|
||||||
|
'L_UPDATE_ERROR' => 'Una error s\'es produsida al temps de la mesa a jorn.',
|
||||||
|
'L_UPDATE_SUCCESSFUL' => 'Totas las mesas a jorn son estadas aplicadas amb succès !',
|
||||||
|
|
||||||
|
'L_UPDATE_UPDATE_PARAMETERS_FILE' => 'Mesa a jorn del fichièr parametres.xml',
|
||||||
|
'L_UPDATE_CREATE_TAGS_FILE' => 'Creacion del fichièr tags.xml',
|
||||||
|
'L_UPDATE_ERR_CREATE_TAGS_FILE' => 'Error pendent la creacion del fichièr tags.xml',
|
||||||
|
'L_UPDATE_CREATE_THEME_FILE' => 'Creacion del fichièr tèma',
|
||||||
|
'L_UPDATE_ERR_CREATE_THEME_FILE' => 'Error pendent la creacion del fichièr',
|
||||||
|
'L_UPDATE_ARTICLES_CONVERSION' => 'Conversion dels articles al novèl format',
|
||||||
|
'L_UPDATE_ERR_FILE_PROCESSING' => 'Error pendent lo tractament del fichièr',
|
||||||
|
'L_UPDATE_STATICS_MIGRATION' => 'Migracion del fichièr de las paginas estaticas',
|
||||||
|
'L_UPDATE_ERR_STATICS_MIGRATION' => 'Error pendent la migracion del fichièr de las paginas estaticas',
|
||||||
|
'L_UPDATE_CREATE_USERS_FILE' => 'Creacion del fichièr dels utilizators',
|
||||||
|
'L_UPDATE_ERR_CREATE_USERS_FILE' => 'Error pendent la creacion del fichièr dels utilizators',
|
||||||
|
'L_UPDATE_USERS_MIGRATION' => 'Migracion del fichièr dels utilizators',
|
||||||
|
'L_UPDATE_ERR_USERS_MIGRATION' => 'Error pendent la migracion del fichièr dels utilizators',
|
||||||
|
'L_UPDATE_ERR_NO_USERS' => 'Pas cap d\'utilizator present dins lo fichièr',
|
||||||
|
'L_UPDATE_CREATE_HTACCESS_FILE' => 'Creacion del fichièr .htaccess',
|
||||||
|
'L_UPDATE_ERR_CREATE_HTACCESS_FILE' => 'Error pendent la creacion del fichièr .htaccess',
|
||||||
|
'L_UPDATE_UPDATE_HTACCESS_FILE' => 'Mesa a jorn del fichièr .htaccess',
|
||||||
|
'L_UPDATE_ERR_UPDATE_HTACCESS_FILE' => 'Error pendent la mesa a jorn del fichièr .htaccess',
|
||||||
|
'L_UPDATE_CATEGORIES_MIGRATION' => 'Migracion del fichièr de las categorias',
|
||||||
|
'L_UPDATE_ERR_CATEGORIES_MIGRATION' => 'Error pendent la migracion del fichièr de las categorias',
|
||||||
|
'L_UPDATE_CREATE_PLUGINS_FILE' => 'Creacion del fichièr plugins.xml',
|
||||||
|
'L_UPDATE_ERR_CREATE_PLUGINS_FILE' => 'Error pendent la creacion del fichièr plugins.xml',
|
||||||
|
'L_UPDATE_DELETE_FULLSCREEN_FILE' => 'Supression del fichièr core/admin/fullscreen.php',
|
||||||
|
'L_UPDATE_ERR_DELETE_FULLSCREEN_FILE'=> 'Error pendent la supression del fichièr core/admin/fullscreen.php',
|
||||||
|
'L_UPDATE_DELETE_PLXTOOLBAR_FOLDER' => 'Supression del dorsièr core/plxtoolbar/',
|
||||||
|
'L_UPDATE_ERR_DELETE_PLXTOOLBAR_FOLDER' => 'Error pendent la supression del dorsièr core/plxtoolbar/',
|
||||||
|
'L_UPDATE_FILE' => 'Mesa a jorn del fichièr',
|
||||||
|
'L_UPDATE_ERR_FILE' => 'Error pendent la mesa a jorn del fichièr',
|
||||||
|
'L_UPDATE_PLUG_MOVEPARAMFILE' => 'Migracion dels fichièrs de parametratge dels plugins dins lo dorsièr de configuracion',
|
||||||
|
'L_UPDATE_UPDATE_PLUGINS_FILE' => 'Mesa a jorn del fichièr plugins.xml',
|
||||||
|
|
||||||
|
);
|
||||||
|
?>
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menu',
|
||||||
'L_UNKNOWN_ERROR' => 'Erro desconhecido',
|
'L_UNKNOWN_ERROR' => 'Erro desconhecido',
|
||||||
'L_CONFIRM_DELETE' => 'Potwierdź usunięcie ?',
|
'L_CONFIRM_DELETE' => 'Potwierdź usunięcie ?',
|
||||||
'L_SAVE_FILE' => 'Zapisz plik',
|
'L_SAVE_FILE' => 'Zapisz plik',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'Plik zapisany pomyślnie',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Plik zapisany pomyślnie',
|
||||||
'L_SAVE_FILE_ERROR' => 'Błąd podczas zapisywania pliku do',
|
'L_SAVE_FILE_ERROR' => 'Błąd podczas zapisywania pliku do',
|
||||||
|
'L_DELETE' => 'Usunąć',
|
||||||
|
'L_DELETE_FILE' => 'Usuń plik',
|
||||||
|
'L_DELETE_FOLDER' => 'Usuń folderu',
|
||||||
'L_SAVE_SUCCESSFUL' => 'Grabação dos dados efectuada com sucesso',
|
'L_SAVE_SUCCESSFUL' => 'Grabação dos dados efectuada com sucesso',
|
||||||
'L_SAVE_ERR' => 'Ocorreu um erro durante o processo de grabação dos dados',
|
'L_SAVE_ERR' => 'Ocorreu um erro durante o processo de grabação dos dados',
|
||||||
'L_NO_ENTRY' => 'Acesso refusado',
|
'L_NO_ENTRY' => 'Acesso refusado',
|
||||||
|
@ -107,6 +111,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Título conteúdo tag (opcional)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Título conteúdo tag (opcional)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'esconder',
|
'L_ARTICLE_CHAPO_HIDE' => 'esconder',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'mostrar',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'mostrar',
|
||||||
|
'L_ARTICLE' => 'artykuł',
|
||||||
|
'L_ARTICLE_ID' => 'Nome interno',
|
||||||
'L_AUTH_PAGE_TITLE' => 'Página de identificação',
|
'L_AUTH_PAGE_TITLE' => 'Página de identificação',
|
||||||
'L_LOGOUT_SUCCESSFUL' => 'Foi correctamente deconectado',
|
'L_LOGOUT_SUCCESSFUL' => 'Foi correctamente deconectado',
|
||||||
'L_LOGIN_PAGE' => 'Conexão á zona de administração ',
|
'L_LOGIN_PAGE' => 'Conexão á zona de administração ',
|
||||||
|
@ -129,7 +135,6 @@ $LANG = array(
|
||||||
'L_HIDE' => 'Esconder',
|
'L_HIDE' => 'Esconder',
|
||||||
'L_OPTIONS' => 'Opções',
|
'L_OPTIONS' => 'Opções',
|
||||||
'L_FOR_SELECTION' => 'Para a selecção...',
|
'L_FOR_SELECTION' => 'Para a selecção...',
|
||||||
'L_DELETE' => 'Suprimir',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Alterar a lista das categorias',
|
'L_CAT_APPLY_BUTTON' => 'Alterar a lista das categorias',
|
||||||
'L_CAT_UNKNOWN' => 'categoria desconhecida',
|
'L_CAT_UNKNOWN' => 'categoria desconhecida',
|
||||||
'L_EDITCAT_PAGE_TITLE' => 'Edição das opções da categoria',
|
'L_EDITCAT_PAGE_TITLE' => 'Edição das opções da categoria',
|
||||||
|
@ -223,7 +228,7 @@ $LANG = array(
|
||||||
'L_ALL_DRAFTS' => 'Rascunhos',
|
'L_ALL_DRAFTS' => 'Rascunhos',
|
||||||
'L_ALL_AWAITING_MODERATION' => 'Validação pendente',
|
'L_ALL_AWAITING_MODERATION' => 'Validação pendente',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Suprimir a pasta',
|
'L_MEDIAS_DELETE_FOLDER' => 'Suprimir a pasta',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Suprimir a pasta e o seu conteúdo ?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Suprimir a pasta %s e o seu conteúdo ?',
|
||||||
'L_MEDIAS_NO_FILE' => 'Nenhum ficheiro',
|
'L_MEDIAS_NO_FILE' => 'Nenhum ficheiro',
|
||||||
'L_MEDIAS_FILENAME' => 'Nome de ficheiro',
|
'L_MEDIAS_FILENAME' => 'Nome de ficheiro',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Adicionar o ficheiro',
|
'L_MEDIAS_ADD_FILE' => 'Adicionar o ficheiro',
|
||||||
|
@ -275,7 +280,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Tamanho da imagem (largura x altura)',
|
'L_CONFIG_VIEW_IMAGES' => 'Tamanho da imagem (largura x altura)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Tamanhos das miniaturas (largura x altura)',
|
'L_CONFIG_VIEW_THUMBS' => 'Tamanhos das miniaturas (largura x altura)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizar uma página stática como página de índice',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizar uma página stática como página de índice',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Atenção esta página está inactiva</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Atenção esta página está inactiva',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Descarregue outros temas em <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Descarregue outros temas em <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Numero de artigos/comentários exibidoss nops fluxos Rss',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Numero de artigos/comentários exibidoss nops fluxos Rss',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Mostrar sómente o chapéu dos artigos nos fluxos Rss',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Mostrar sómente o chapéu dos artigos nos fluxos Rss',
|
||||||
|
@ -286,16 +291,15 @@ $LANG = array(
|
||||||
'L_CONFIG_HOMETEMPLATE' => 'Szablon strony głównej',
|
'L_CONFIG_HOMETEMPLATE' => 'Szablon strony głównej',
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Configuração avançada',
|
'L_CONFIG_ADVANCED_DESC' => 'Configuração avançada',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activar a re-escritura dos URLS',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activar a re-escritura dos URLS',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Baczność .htaccess jest obecna w katalogu głównym PluXml. Poprzez umożliwienie przepisywania URL ten plik zostanie zmodyfikowany</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Baczność .htaccess jest obecna w katalogu głównym PluXml. Poprzez umożliwienie przepisywania URL ten plik zostanie zmodyfikowany',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'Activar a compressão GZIP',
|
'L_CONFIG_ADVANCED_GZIP' => 'Activar a compressão GZIP',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permite de comprimir as páginas afim de economizar os dados transferidos entre o servidor e o seu computer, em consequência aumenta a carga do servidor ! Desactive se o sue web-site fôr muito visitado',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permite de comprimir as páginas afim de economizar os dados transferidos entre o servidor e o seu computer, em consequência aumenta a carga do servidor ! Desactive se o sue web-site fôr muito visitado',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Activar o capcha anti-spam',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Activar o capcha anti-spam',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Chave de administração (URLS privadas)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Chave de administração (URLS privadas)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Esvaziar o campo afim de regenerar a chave novamente',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Esvaziar o campo afim de regenerar a chave novamente',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utilizar uma pasta imagens e documentos diferente para cada utilizador',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utilizar uma pasta medias diferente para cada utilizador',
|
||||||
'L_HELP_SLASH_END' => 'Não esquecêr o flash "/" no fim',
|
'L_HELP_SLASH_END' => 'Não esquecêr o flash "/" no fim',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Położenie obrazów (katalog)',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Lokalizacja mediów (folder)',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Lokalizacja dokument (katalog)',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Lokalizacja elementów (katalog)',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Lokalizacja elementów (katalog)',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Lokalizacja komentarzy (katalog)',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Lokalizacja komentarzy (katalog)',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Lokalizacja statycznych stron (katalog)',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Lokalizacja statycznych stron (katalog)',
|
||||||
|
@ -303,6 +307,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Lokalizacja plugins (katalog)',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Lokalizacja plugins (katalog)',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Lokalizacja plików konfiguracyjnych (katalog)',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Lokalizacja plików konfiguracyjnych (katalog)',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Alterar a configura avançada',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Alterar a configura avançada',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Lokalizacja i nazwa pliku css na zlecenie administracji obszaru (opcjonalnie)',
|
||||||
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configuração de base',
|
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configuração de base',
|
||||||
'L_CONFIG_BASE_SITE_TITLE' => 'Titúlo do web-site',
|
'L_CONFIG_BASE_SITE_TITLE' => 'Titúlo do web-site',
|
||||||
'L_CONFIG_BASE_SITE_SLOGAN' => 'Sob-titúlo/descrição do web-site',
|
'L_CONFIG_BASE_SITE_SLOGAN' => 'Sob-titúlo/descrição do web-site',
|
||||||
|
@ -436,7 +441,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Parâmetros',
|
'L_MENU_CONFIG' => 'Parâmetros',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Gerir o perfil do utilizador',
|
'L_MENU_PROFIL_TITLE' => 'Gerir o perfil do utilizador',
|
||||||
'L_MENU_PROFIL' => 'Perfil',
|
'L_MENU_PROFIL' => 'Perfil',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">O ficheiro install.php está presente na raíz de PluXml.<br />Por razões de segurança apague (delete) este ficheiro.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'O ficheiro install.php está presente na raíz de PluXml.<br />Por razões de segurança apague (delete) este ficheiro.',
|
||||||
'L_USER_UNKNOWN' => 'Utilizador desconhecido',
|
'L_USER_UNKNOWN' => 'Utilizador desconhecido',
|
||||||
'L_USER_LANG' => 'Idioma utilizado na administração',
|
'L_USER_LANG' => 'Idioma utilizado na administração',
|
||||||
'L_USER_MAIL' => 'Enderêco e-mail',
|
'L_USER_MAIL' => 'Enderêco e-mail',
|
||||||
|
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Menu',
|
||||||
'L_UNKNOWN_ERROR' => 'Erro desconhecido',
|
'L_UNKNOWN_ERROR' => 'Erro desconhecido',
|
||||||
'L_CONFIRM_DELETE' => 'Confirme a eliminação ?',
|
'L_CONFIRM_DELETE' => 'Confirme a eliminação ?',
|
||||||
'L_SAVE_FILE' => 'Salve o arquivo',
|
'L_SAVE_FILE' => 'Salve o arquivo',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'Arquivo salvo com sucesso',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Arquivo salvo com sucesso',
|
||||||
'L_SAVE_FILE_ERROR' => 'Salvar o arquivo para o erro',
|
'L_SAVE_FILE_ERROR' => 'Salvar o arquivo para o erro',
|
||||||
|
'L_DELETE' => 'Excluir',
|
||||||
|
'L_DELETE_FILE' => 'Excluir arquivo',
|
||||||
|
'L_DELETE_FOLDER' => 'Excluir pasta',
|
||||||
'L_SAVE_SUCCESSFUL' => 'Grabação dos dados efectuada com sucesso',
|
'L_SAVE_SUCCESSFUL' => 'Grabação dos dados efectuada com sucesso',
|
||||||
'L_SAVE_ERR' => 'Ocorreu um erro durante o processo de grabação dos dados',
|
'L_SAVE_ERR' => 'Ocorreu um erro durante o processo de grabação dos dados',
|
||||||
'L_NO_ENTRY' => 'Acesso refusado',
|
'L_NO_ENTRY' => 'Acesso refusado',
|
||||||
|
@ -107,6 +111,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Conteúdo da tag título (opcional)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Conteúdo da tag título (opcional)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'esconder',
|
'L_ARTICLE_CHAPO_HIDE' => 'esconder',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'mostrar',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'mostrar',
|
||||||
|
'L_ARTICLE' => 'artigo',
|
||||||
|
'L_ARTICLE_ID' => 'Nome interno',
|
||||||
'L_AUTH_PAGE_TITLE' => 'Página de identificação',
|
'L_AUTH_PAGE_TITLE' => 'Página de identificação',
|
||||||
'L_LOGOUT_SUCCESSFUL' => 'Foi correctamente deconectado',
|
'L_LOGOUT_SUCCESSFUL' => 'Foi correctamente deconectado',
|
||||||
'L_LOGIN_PAGE' => 'Conexão á zona de administração ',
|
'L_LOGIN_PAGE' => 'Conexão á zona de administração ',
|
||||||
|
@ -129,7 +135,6 @@ $LANG = array(
|
||||||
'L_HIDE' => 'Esconder',
|
'L_HIDE' => 'Esconder',
|
||||||
'L_OPTIONS' => 'Opções',
|
'L_OPTIONS' => 'Opções',
|
||||||
'L_FOR_SELECTION' => 'Para a selecção...',
|
'L_FOR_SELECTION' => 'Para a selecção...',
|
||||||
'L_DELETE' => 'Suprimir',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Alterar a lista das categorias',
|
'L_CAT_APPLY_BUTTON' => 'Alterar a lista das categorias',
|
||||||
'L_CAT_UNKNOWN' => 'categoria desconhecida',
|
'L_CAT_UNKNOWN' => 'categoria desconhecida',
|
||||||
'L_EDITCAT_PAGE_TITLE' => 'Edição das opções da categoria',
|
'L_EDITCAT_PAGE_TITLE' => 'Edição das opções da categoria',
|
||||||
|
@ -223,7 +228,7 @@ $LANG = array(
|
||||||
'L_ALL_DRAFTS' => 'Rascunhos',
|
'L_ALL_DRAFTS' => 'Rascunhos',
|
||||||
'L_ALL_AWAITING_MODERATION' => 'Validação pendente',
|
'L_ALL_AWAITING_MODERATION' => 'Validação pendente',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Suprimir a pasta',
|
'L_MEDIAS_DELETE_FOLDER' => 'Suprimir a pasta',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Suprimir a pasta e o seu conteúdo ?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Suprimir a pasta %s e o seu conteúdo ?',
|
||||||
'L_MEDIAS_NO_FILE' => 'Nenhum ficheiro',
|
'L_MEDIAS_NO_FILE' => 'Nenhum ficheiro',
|
||||||
'L_MEDIAS_FILENAME' => 'Nome de ficheiro',
|
'L_MEDIAS_FILENAME' => 'Nome de ficheiro',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Adicionar o ficheiro',
|
'L_MEDIAS_ADD_FILE' => 'Adicionar o ficheiro',
|
||||||
|
@ -275,7 +280,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Tamanho da imagem (largura x altura)',
|
'L_CONFIG_VIEW_IMAGES' => 'Tamanho da imagem (largura x altura)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Tamanhos das miniaturas (largura x altura)',
|
'L_CONFIG_VIEW_THUMBS' => 'Tamanhos das miniaturas (largura x altura)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizar uma página stática como página de índice',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizar uma página stática como página de índice',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Atenção esta página está inactiva</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Atenção esta página está inactiva',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Descarregue outros temas em <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Descarregue outros temas em <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Numero de artigos/comentários exibidoss nops fluxos Rss',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Numero de artigos/comentários exibidoss nops fluxos Rss',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Mostrar sómente o chapéu dos artigos nos fluxos Rss',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Mostrar sómente o chapéu dos artigos nos fluxos Rss',
|
||||||
|
@ -286,16 +291,15 @@ $LANG = array(
|
||||||
'L_CONFIG_HOMETEMPLATE' => 'Template da página inicial',
|
'L_CONFIG_HOMETEMPLATE' => 'Template da página inicial',
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Configuração avançada',
|
'L_CONFIG_ADVANCED_DESC' => 'Configuração avançada',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activar a re-escritura dos URLS',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Activar a re-escritura dos URLS',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Atenção um .htaccess já está presente na raiz do seu PluXml. Ao permitir a reescrita de URL este arquivo será modificado</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Atenção um .htaccess já está presente na raiz do seu PluXml. Ao permitir a reescrita de URL este arquivo será modificado',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'Activar a compressão GZIP',
|
'L_CONFIG_ADVANCED_GZIP' => 'Activar a compressão GZIP',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permite de comprimir as páginas afim de economizar os dados transferidos entre o servidor e o seu computer, em consequência aumenta a carga do servidor ! Desactive se o sue web-site fôr muito visitado',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Permite de comprimir as páginas afim de economizar os dados transferidos entre o servidor e o seu computer, em consequência aumenta a carga do servidor ! Desactive se o sue web-site fôr muito visitado',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Activar o capcha anti-spam',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Activar o capcha anti-spam',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Chave de administração (URLS privadas)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Chave de administração (URLS privadas)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Esvaziar o campo afim de regenerar a chave novamente',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Esvaziar o campo afim de regenerar a chave novamente',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utilizar uma pasta imagens e documentos diferente para cada utilizador',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Utilizar uma pasta medias diferente para cada utilizador',
|
||||||
'L_HELP_SLASH_END' => 'Não esquecêr o flash "/" no fim',
|
'L_HELP_SLASH_END' => 'Não esquecêr o flash "/" no fim',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Local das imagens (pasta)',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Mídia local (pasta)',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Local das documentos (pasta)',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Local dos artigos (pasta)',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Local dos artigos (pasta)',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Local dos comentários (pasta)',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Local dos comentários (pasta)',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Local das páginas státicas (pasta)',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Local das páginas státicas (pasta)',
|
||||||
|
@ -303,6 +307,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Localização dos plugins (pasta)',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Localização dos plugins (pasta)',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Localização dos arquivos de configuração (pasta)',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Localização dos arquivos de configuração (pasta)',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Alterar a configura avançada',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Alterar a configura avançada',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Localização e nome do arquivo css personalizado da área de administração (opcional)',
|
||||||
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configuração de base',
|
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configuração de base',
|
||||||
'L_CONFIG_BASE_SITE_TITLE' => 'Titúlo do web-site',
|
'L_CONFIG_BASE_SITE_TITLE' => 'Titúlo do web-site',
|
||||||
'L_CONFIG_BASE_SITE_SLOGAN' => 'Sob-titúlo/descrição do web-site',
|
'L_CONFIG_BASE_SITE_SLOGAN' => 'Sob-titúlo/descrição do web-site',
|
||||||
|
@ -436,7 +441,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Parâmetros',
|
'L_MENU_CONFIG' => 'Parâmetros',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Gerir o perfil do utilizador',
|
'L_MENU_PROFIL_TITLE' => 'Gerir o perfil do utilizador',
|
||||||
'L_MENU_PROFIL' => 'Perfil',
|
'L_MENU_PROFIL' => 'Perfil',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">O ficheiro install.php está presente na raíz de PluXml.<br />Por razões de segurança apague (delete) este ficheiro.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'O ficheiro install.php está presente na raíz de PluXml.<br />Por razões de segurança apague (delete) este ficheiro.',
|
||||||
'L_USER_UNKNOWN' => 'Utilizador desconhecido',
|
'L_USER_UNKNOWN' => 'Utilizador desconhecido',
|
||||||
'L_USER_LANG' => 'Idioma utilizado na administração',
|
'L_USER_LANG' => 'Idioma utilizado na administração',
|
||||||
'L_USER_MAIL' => 'Enderêco e-mail',
|
'L_USER_MAIL' => 'Enderêco e-mail',
|
||||||
|
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'Meniu',
|
||||||
'L_UNKNOWN_ERROR' => 'Eroare necunoscută',
|
'L_UNKNOWN_ERROR' => 'Eroare necunoscută',
|
||||||
'L_CONFIRM_DELETE' => 'Confirmați ștergerea ?',
|
'L_CONFIRM_DELETE' => 'Confirmați ștergerea ?',
|
||||||
'L_SAVE_FILE' => 'Salvați fișierul',
|
'L_SAVE_FILE' => 'Salvați fișierul',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'Fișier salvat cu succes',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Fișier salvat cu succes',
|
||||||
'L_SAVE_FILE_ERROR' => 'Salvarea fișierului de eroare',
|
'L_SAVE_FILE_ERROR' => 'Salvarea fișierului de eroare',
|
||||||
|
'L_DELETE' => 'Şterge',
|
||||||
|
'L_DELETE_FILE' => 'Ștergeți fișier',
|
||||||
|
'L_DELETE_FOLDER' => 'Ștergeți dosar',
|
||||||
'L_SAVE_SUCCESSFUL' => 'Înregistrarea a fost efectuata cu succes',
|
'L_SAVE_SUCCESSFUL' => 'Înregistrarea a fost efectuata cu succes',
|
||||||
'L_SAVE_ERR' => 'Eroare la înregistrare ',
|
'L_SAVE_ERR' => 'Eroare la înregistrare ',
|
||||||
'L_NO_ENTRY' => 'Acces refuzat',
|
'L_NO_ENTRY' => 'Acces refuzat',
|
||||||
|
@ -107,6 +111,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Conţinutul tag-ul titlu (opţional)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Conţinutul tag-ul titlu (opţional)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'ascunde',
|
'L_ARTICLE_CHAPO_HIDE' => 'ascunde',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'afişa',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'afişa',
|
||||||
|
'L_ARTICLE' => 'articol',
|
||||||
|
'L_ARTICLE_ID' => 'ID',
|
||||||
'L_AUTH_PAGE_TITLE' => 'Pagina de autentificare',
|
'L_AUTH_PAGE_TITLE' => 'Pagina de autentificare',
|
||||||
'L_LOGOUT_SUCCESSFUL' => 'Vati deconectat cu succes',
|
'L_LOGOUT_SUCCESSFUL' => 'Vati deconectat cu succes',
|
||||||
'L_LOGIN_PAGE' => 'Conectare in zona de administrare ',
|
'L_LOGIN_PAGE' => 'Conectare in zona de administrare ',
|
||||||
|
@ -129,7 +135,6 @@ $LANG = array(
|
||||||
'L_HIDE' => 'Ascunde',
|
'L_HIDE' => 'Ascunde',
|
||||||
'L_OPTIONS' => 'Opţiuni',
|
'L_OPTIONS' => 'Opţiuni',
|
||||||
'L_FOR_SELECTION' => 'Alegeţi obţiunea...',
|
'L_FOR_SELECTION' => 'Alegeţi obţiunea...',
|
||||||
'L_DELETE' => 'Şterge',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Modifică lista de categorii',
|
'L_CAT_APPLY_BUTTON' => 'Modifică lista de categorii',
|
||||||
'L_CAT_UNKNOWN' => 'Categorie necunoscuta',
|
'L_CAT_UNKNOWN' => 'Categorie necunoscuta',
|
||||||
'L_EDITCAT_PAGE_TITLE' => 'Editarea categoriei',
|
'L_EDITCAT_PAGE_TITLE' => 'Editarea categoriei',
|
||||||
|
@ -223,7 +228,7 @@ $LANG = array(
|
||||||
'L_ALL_DRAFTS' => 'Schiţe',
|
'L_ALL_DRAFTS' => 'Schiţe',
|
||||||
'L_ALL_AWAITING_MODERATION' => 'Până la validare',
|
'L_ALL_AWAITING_MODERATION' => 'Până la validare',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Ştergeţi Directoriu',
|
'L_MEDIAS_DELETE_FOLDER' => 'Ştergeţi Directoriu',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Sunteti sigur ca doriti sa stergeţi directoriul şi conţinutul lui ?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Sunteti sigur ca doriti sa stergeţi directoriul şi conţinutul lui %s ?',
|
||||||
'L_MEDIAS_NO_FILE' => 'Nici un fişier',
|
'L_MEDIAS_NO_FILE' => 'Nici un fişier',
|
||||||
'L_MEDIAS_FILENAME' => 'Filename',
|
'L_MEDIAS_FILENAME' => 'Filename',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Adăugaţi fişiere',
|
'L_MEDIAS_ADD_FILE' => 'Adăugaţi fişiere',
|
||||||
|
@ -275,7 +280,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Dimensiune imagine (latime x inaltime)',
|
'L_CONFIG_VIEW_IMAGES' => 'Dimensiune imagine (latime x inaltime)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Thumbnail dimensiuni (latime x inaltime)',
|
'L_CONFIG_VIEW_THUMBS' => 'Thumbnail dimensiuni (latime x inaltime)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizaţi o pagină statică ca Home-page',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Utilizaţi o pagină statică ca Home-page',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Atenţie, această pagină este inactivă</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Atenţie, această pagină este inactivă',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Descarcă alte teme <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Descarcă alte teme <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Numărul de articole şi comentarii postate pe fluxul Rss',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'Numărul de articole şi comentarii postate pe fluxul Rss',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Vezi Headerul în articolele RSS',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Vezi Headerul în articolele RSS',
|
||||||
|
@ -286,16 +291,15 @@ $LANG = array(
|
||||||
'L_CONFIG_HOMETEMPLATE' => 'Format din pagina de start',
|
'L_CONFIG_HOMETEMPLATE' => 'Format din pagina de start',
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Avansate de configurare',
|
'L_CONFIG_ADVANCED_DESC' => 'Avansate de configurare',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Permite rescrierea url-uri',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Permite rescrierea url-uri',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Atenţie într-un fişier. Htaccess este deja prezent la rădăcina PluXml dumneavoastră. Prin activarea rescrierea dosarul \ url va fi modificat</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Atenţie într-un fişier. Htaccess este deja prezent la rădăcina PluXml dumneavoastră. Prin activarea rescrierea dosarul \ url va fi modificat',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'Activeaza compresia GZIP',
|
'L_CONFIG_ADVANCED_GZIP' => 'Activeaza compresia GZIP',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Comprimă paginile pentru a salva de lăţime de bandă, însă acest lucru poate creşte sarcina procesorului',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Comprimă paginile pentru a salva de lăţime de bandă, însă acest lucru poate creşte sarcina procesorului',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Activeaza capcha anti-spam',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Activeaza capcha anti-spam',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Cheie de administrare (URL-uri private)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Cheie de administrare (URL-uri private)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Clar acest domeniu pentru a regenera cheie',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Clar acest domeniu pentru a regenera cheie',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Folosind imagini şi documente dosar pentru fiecare utilizator diferite',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Folosind medias dosar pentru fiecare utilizator diferite',
|
||||||
'L_HELP_SLASH_END' => 'Nu uita slash de final',
|
'L_HELP_SLASH_END' => 'Nu uita slash de final',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Localizare imagini (dosar)',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Locul de amplasare Media (director)',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Document locaţie (dosar)',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Locul de amplasare de elemente (dosar)',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Locul de amplasare de elemente (dosar)',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Locul de amplasare Review (dosar)',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Locul de amplasare Review (dosar)',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Locul de amplasare de pagini statice (dosar)',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Locul de amplasare de pagini statice (dosar)',
|
||||||
|
@ -303,6 +307,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Locul de amplasare a plugin-uri (dosar)',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Locul de amplasare a plugin-uri (dosar)',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Locul de fişiere de configurare (dosar)',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Locul de fişiere de configurare (dosar)',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Editare configuraţie avansată',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Editare configuraţie avansată',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Locația și numele de fișier css personalizat buna administrare (opțional)',
|
||||||
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configurarea bazei',
|
'L_CONFIG_BASE_CONFIG_TITLE' => 'Configurarea bazei',
|
||||||
'L_CONFIG_BASE_SITE_TITLE' => 'Denumirea sitului',
|
'L_CONFIG_BASE_SITE_TITLE' => 'Denumirea sitului',
|
||||||
'L_CONFIG_BASE_SITE_SLOGAN' => 'Descriere sitului',
|
'L_CONFIG_BASE_SITE_SLOGAN' => 'Descriere sitului',
|
||||||
|
@ -436,7 +441,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Setări',
|
'L_MENU_CONFIG' => 'Setări',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Gestionează profilul',
|
'L_MENU_PROFIL_TITLE' => 'Gestionează profilul',
|
||||||
'L_MENU_PROFIL' => 'Profil',
|
'L_MENU_PROFIL' => 'Profil',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">Fişierul install.php încă se află în rădăcina sit-ului <br /> PluXml. Din motive de securitate, se recomandă să-l ştergeţi.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'Fişierul install.php încă se află în rădăcina sit-ului <br /> PluXml. Din motive de securitate, se recomandă să-l ştergeţi.',
|
||||||
'L_USER_UNKNOWN' => 'Utilizator necunoscut',
|
'L_USER_UNKNOWN' => 'Utilizator necunoscut',
|
||||||
'L_USER_LANG' => 'Limba utilizată ',
|
'L_USER_LANG' => 'Limba utilizată ',
|
||||||
'L_USER_MAIL' => 'Adresa de email',
|
'L_USER_MAIL' => 'Adresa de email',
|
||||||
|
|
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
|
'L_MENU' => 'меню',
|
||||||
'L_UNKNOWN_ERROR' => 'Неизвестная ошибка',
|
'L_UNKNOWN_ERROR' => 'Неизвестная ошибка',
|
||||||
'L_CONFIRM_DELETE' => 'Подтвердите удаление ?',
|
'L_CONFIRM_DELETE' => 'Подтвердите удаление ?',
|
||||||
'L_SAVE_FILE' => 'Сохраните файл',
|
'L_SAVE_FILE' => 'Сохраните файл',
|
||||||
'L_SAVE_FILE_SUCCESSFULLY' => 'Файл успешно сохранены',
|
'L_SAVE_FILE_SUCCESSFULLY' => 'Файл успешно сохранены',
|
||||||
'L_SAVE_FILE_ERROR' => 'Ошибка при сохранении файла',
|
'L_SAVE_FILE_ERROR' => 'Ошибка при сохранении файла',
|
||||||
|
'L_DELETE' => 'Удалить',
|
||||||
|
'L_DELETE_FILE' => 'Удалить файл',
|
||||||
|
'L_DELETE_FOLDER' => 'Удалить папку',
|
||||||
|
|
||||||
# class.plx.admin.php
|
# class.plx.admin.php
|
||||||
|
|
||||||
|
@ -116,6 +120,8 @@ $LANG = array(
|
||||||
'L_ARTICLE_TITLE_HTMLTAG' => 'Мета-тег заголовка страницы "Title" (необязательно)',
|
'L_ARTICLE_TITLE_HTMLTAG' => 'Мета-тег заголовка страницы "Title" (необязательно)',
|
||||||
'L_ARTICLE_CHAPO_HIDE' => 'скрыть',
|
'L_ARTICLE_CHAPO_HIDE' => 'скрыть',
|
||||||
'L_ARTICLE_CHAPO_DISPLAY' => 'показать',
|
'L_ARTICLE_CHAPO_DISPLAY' => 'показать',
|
||||||
|
'L_ARTICLE' => 'статья',
|
||||||
|
'L_ARTICLE_ID' => 'ID',
|
||||||
|
|
||||||
# auth.php
|
# auth.php
|
||||||
|
|
||||||
|
@ -156,7 +162,6 @@ $LANG = array(
|
||||||
'L_OPTIONS' => 'Настроить',
|
'L_OPTIONS' => 'Настроить',
|
||||||
'L_NEW_CATEGORY' => 'Новая категория',
|
'L_NEW_CATEGORY' => 'Новая категория',
|
||||||
'L_FOR_SELECTION' => 'Выбрать...',
|
'L_FOR_SELECTION' => 'Выбрать...',
|
||||||
'L_DELETE' => 'Удалить',
|
|
||||||
'L_CAT_APPLY_BUTTON' => 'Изменить список категорий',
|
'L_CAT_APPLY_BUTTON' => 'Изменить список категорий',
|
||||||
'L_CAT_UNKNOWN' => 'Неизвестная категория',
|
'L_CAT_UNKNOWN' => 'Неизвестная категория',
|
||||||
|
|
||||||
|
@ -285,7 +290,7 @@ $LANG = array(
|
||||||
'L_MEDIAS_DOCUMENTS' => 'Документы',
|
'L_MEDIAS_DOCUMENTS' => 'Документы',
|
||||||
'L_MEDIAS_ADD_FILE' => 'Добавить файл',
|
'L_MEDIAS_ADD_FILE' => 'Добавить файл',
|
||||||
'L_MEDIAS_DELETE_FOLDER' => 'Удалить папку',
|
'L_MEDIAS_DELETE_FOLDER' => 'Удалить папку',
|
||||||
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Удалить папку и ее содержимое?',
|
'L_MEDIAS_DELETE_FOLDER_CONFIRM' => 'Удалить папку и ее содержимое %s?',
|
||||||
'L_MEDIAS_FOLDER' => 'Файл',
|
'L_MEDIAS_FOLDER' => 'Файл',
|
||||||
'L_MEDIAS_NEW_FOLDER' => 'Новая папка',
|
'L_MEDIAS_NEW_FOLDER' => 'Новая папка',
|
||||||
'L_MEDIAS_CREATE_FOLDER' => 'Создать папку',
|
'L_MEDIAS_CREATE_FOLDER' => 'Создать папку',
|
||||||
|
@ -323,7 +328,7 @@ $LANG = array(
|
||||||
'L_CONFIG_VIEW_IMAGES' => 'Размер изображения (Ширина х Высота)',
|
'L_CONFIG_VIEW_IMAGES' => 'Размер изображения (Ширина х Высота)',
|
||||||
'L_CONFIG_VIEW_THUMBS' => 'Размер эскизов (Ширина х Высота)',
|
'L_CONFIG_VIEW_THUMBS' => 'Размер эскизов (Ширина х Высота)',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC' => 'Использовать статическую страницу как Главную страницу',
|
'L_CONFIG_VIEW_HOMESTATIC' => 'Использовать статическую страницу как Главную страницу',
|
||||||
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => '<span class="alert">Внимание: Эта страница неактивна</span>',
|
'L_CONFIG_VIEW_HOMESTATIC_ACTIVE' => 'Внимание: Эта страница неактивна',
|
||||||
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Загрузка тем <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
'L_CONFIG_VIEW_PLUXML_RESSOURCES' => 'Загрузка тем <a href="http://ressources.pluxml.org">ressources.pluxml.org</a>.',
|
||||||
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'N° статьи или комментария в RSS-потоке',
|
'L_CONFIG_VIEW_BYPAGE_FEEDS' => 'N° статьи или комментария в RSS-потоке',
|
||||||
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Отображать только заголовки статей в RSS-потоке',
|
'L_CONFIG_VIEW_FEEDS_HEADLINE' => 'Отображать только заголовки статей в RSS-потоке',
|
||||||
|
@ -337,16 +342,15 @@ $LANG = array(
|
||||||
|
|
||||||
'L_CONFIG_ADVANCED_DESC' => 'Расширенные настройки (опытный пользователь)',
|
'L_CONFIG_ADVANCED_DESC' => 'Расширенные настройки (опытный пользователь)',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Включить URL rewrite',
|
'L_CONFIG_ADVANCED_URL_REWRITE' => 'Включить URL rewrite',
|
||||||
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => '<span class="alert">Внимание .htaccess файл уже присутствует в корневом каталоге вашего PluXml. При включении URL переписывания этот файл будет изменен</span>',
|
'L_CONFIG_ADVANCED_URL_REWRITE_ALERT' => 'Внимание .htaccess файл уже присутствует в корневом каталоге вашего PluXml. При включении URL переписывания этот файл будет изменен',
|
||||||
'L_CONFIG_ADVANCED_GZIP' => 'Включить GZIP сжатие',
|
'L_CONFIG_ADVANCED_GZIP' => 'Включить GZIP сжатие',
|
||||||
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Это cделает возможным сжатие страниц для увеличения пропускной способности, но может увеличить использование процессора',
|
'L_CONFIG_ADVANCED_GZIP_HELP' => 'Это cделает возможным сжатие страниц для увеличения пропускной способности, но может увеличить использование процессора',
|
||||||
'L_CONFIG_ADVANCED_CAPCHA' => 'Включить анти-спам Capcha',
|
'L_CONFIG_ADVANCED_CAPCHA' => 'Включить анти-спам Capcha',
|
||||||
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Административный ключ (для приватных URL)',
|
'L_CONFIG_ADVANCED_ADMIN_KEY' => 'Административный ключ (для приватных URL)',
|
||||||
'L_CONFIG_ADVANCED_KEY_HELP' => 'Оставьте это поле пустым, чтобы восстановить ключ',
|
'L_CONFIG_ADVANCED_KEY_HELP' => 'Оставьте это поле пустым, чтобы восстановить ключ',
|
||||||
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Используйте отдельные изображения и документы папки для каждого пользователя',
|
'L_CONFIG_ADVANCED_USERFOLDERS' => 'Используйте другую папку средств массовой информации для каждого пользователя',
|
||||||
'L_HELP_SLASH_END' => 'Не забудьте слеш / в конце',
|
'L_HELP_SLASH_END' => 'Не забудьте слеш / в конце',
|
||||||
'L_CONFIG_ADVANCED_PICS_FOLDER' => 'Папка для изображений',
|
'L_CONFIG_ADVANCED_MEDIAS_FOLDER' => 'Медиа место (папка)',
|
||||||
'L_CONFIG_ADVANCED_DOCS_FOLDER' => 'Папка для документов',
|
|
||||||
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Папка для статей',
|
'L_CONFIG_ADVANCED_ARTS_FOLDER' => 'Папка для статей',
|
||||||
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Папка для комментариев',
|
'L_CONFIG_ADVANCED_COMS_FOLDER' => 'Папка для комментариев',
|
||||||
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Папка для статических страниц',
|
'L_CONFIG_ADVANCED_STATS_FOLDER' => 'Папка для статических страниц',
|
||||||
|
@ -354,6 +358,7 @@ $LANG = array(
|
||||||
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Папка с плагинами',
|
'L_CONFIG_ADVANCED_PLUGINS_FOLDER' => 'Папка с плагинами',
|
||||||
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Расположение файлов конфигурации (каталог)',
|
'L_CONFIG_ADVANCED_CONFIG_FOLDER' => 'Расположение файлов конфигурации (каталог)',
|
||||||
'L_CONFIG_ADVANCED_UPDATE' => 'Сохранить дополнительные настройки',
|
'L_CONFIG_ADVANCED_UPDATE' => 'Сохранить дополнительные настройки',
|
||||||
|
'L_CONFIG_CUSTOM_CSSADMIN_PATH' => 'Место и имя пользовательских файлов CSS области управления (опция)',
|
||||||
|
|
||||||
# parametres_base.php
|
# parametres_base.php
|
||||||
|
|
||||||
|
@ -515,7 +520,7 @@ $LANG = array(
|
||||||
'L_MENU_CONFIG' => 'Настройки',
|
'L_MENU_CONFIG' => 'Настройки',
|
||||||
'L_MENU_PROFIL_TITLE' => 'Управление профилем пользователя',
|
'L_MENU_PROFIL_TITLE' => 'Управление профилем пользователя',
|
||||||
'L_MENU_PROFIL' => 'Профиль',
|
'L_MENU_PROFIL' => 'Профиль',
|
||||||
'L_WARNING_INSTALLATION_FILE' => '<p class="warning">Внимание! Файл install.php все еще находится в корневой папке PluXml.<br />Из соображений безопасности настоятельно рекомендуем удалить его.</p>',
|
'L_WARNING_INSTALLATION_FILE' => 'Внимание! Файл install.php все еще находится в корневой папке PluXml.<br />Из соображений безопасности настоятельно рекомендуем удалить его.',
|
||||||
|
|
||||||
# user.php
|
# user.php
|
||||||
'L_USER_UNKNOWN' => 'Неизвестный пользователь',
|
'L_USER_UNKNOWN' => 'Неизвестный пользователь',
|
||||||
|
|
|
@ -115,8 +115,8 @@ class plxAdmin extends plxMotor {
|
||||||
|
|
||||||
# Actions sur le fichier htaccess
|
# Actions sur le fichier htaccess
|
||||||
if(isset($content['urlrewriting']))
|
if(isset($content['urlrewriting']))
|
||||||
$this->htaccess($content['urlrewriting'], $global['racine']);
|
if(!$this->htaccess($content['urlrewriting'], $global['racine']))
|
||||||
|
return plxMsg::Error(sprintf(L_WRITE_NOT_ACCESS, '.htaccess'));
|
||||||
|
|
||||||
# Mise à jour du fichier parametres.xml
|
# Mise à jour du fichier parametres.xml
|
||||||
if(!plxUtils::write($xml,path('XMLFILE_PARAMETERS')))
|
if(!plxUtils::write($xml,path('XMLFILE_PARAMETERS')))
|
||||||
|
@ -195,10 +195,12 @@ RewriteRule ^feed\/(.*)$ feed.php?$1 [L]
|
||||||
eval($this->plxPlugins->callHook('plxAdminHtaccess'));
|
eval($this->plxPlugins->callHook('plxAdminHtaccess'));
|
||||||
# On écrit le fichier .htaccess à la racine de PluXml
|
# On écrit le fichier .htaccess à la racine de PluXml
|
||||||
$htaccess = trim($htaccess);
|
$htaccess = trim($htaccess);
|
||||||
if($htaccess=='' AND is_file(PLX_ROOT.'.htaccess'))
|
if($htaccess=='' AND is_file(PLX_ROOT.'.htaccess')) {
|
||||||
unlink(PLX_ROOT.'.htaccess');
|
unlink(PLX_ROOT.'.htaccess');
|
||||||
else
|
return true;
|
||||||
plxUtils::write($htaccess, PLX_ROOT.'.htaccess');
|
} else {
|
||||||
|
return plxUtils::write($htaccess, PLX_ROOT.'.htaccess');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,8 @@ class plxDate {
|
||||||
$format = str_replace('#day', plxDate::getCalendar('day', $day_num), $format);
|
$format = str_replace('#day', plxDate::getCalendar('day', $day_num), $format);
|
||||||
$format = str_replace('#short_month', plxDate::getCalendar('short_month', $month), $format);
|
$format = str_replace('#short_month', plxDate::getCalendar('short_month', $month), $format);
|
||||||
$format = str_replace('#month', plxDate::getCalendar('month', $month), $format);
|
$format = str_replace('#month', plxDate::getCalendar('month', $month), $format);
|
||||||
|
$format = str_replace('#num_day(1)', intval($day), $format);
|
||||||
|
$format = str_replace('#num_day(2)', $day, $format);
|
||||||
$format = str_replace('#num_day', $day, $format);
|
$format = str_replace('#num_day', $day, $format);
|
||||||
$format = str_replace('#num_month', $month, $format);
|
$format = str_replace('#num_month', $month, $format);
|
||||||
$format = str_replace('#num_year(2)', $year2 , $format);
|
$format = str_replace('#num_year(2)', $year2 , $format);
|
||||||
|
|
|
@ -38,7 +38,7 @@ class plxFeed extends plxMotor {
|
||||||
loadLang(PLX_CORE.'lang/'.$this->aConf['default_lang'].'/core.php');
|
loadLang(PLX_CORE.'lang/'.$this->aConf['default_lang'].'/core.php');
|
||||||
# Contrôle de la présence du fichier 'version' de PluXml
|
# Contrôle de la présence du fichier 'version' de PluXml
|
||||||
if(!is_readable(PLX_ROOT.'version')) {
|
if(!is_readable(PLX_ROOT.'version')) {
|
||||||
header('Content-Type: text/plain charset=UTF-8');
|
header('Content-Type: text/plain; charset='.PLX_CHARSET);
|
||||||
printf(utf8_decode(L_FILE_VERSION_REQUIRED), PLX_ROOT);
|
printf(utf8_decode(L_FILE_VERSION_REQUIRED), PLX_ROOT);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -175,7 +175,7 @@ class plxFeed extends plxMotor {
|
||||||
# Flux admin
|
# Flux admin
|
||||||
elseif($this->mode == 'admin') {
|
elseif($this->mode == 'admin') {
|
||||||
if(empty($this->clef)) { # Clef non initialisée
|
if(empty($this->clef)) { # Clef non initialisée
|
||||||
header('Content-Type: text/plain');
|
header('Content-Type: text/plain; charset='.PLX_CHARSET);
|
||||||
echo L_FEED_NO_PRIVATE_URL;
|
echo L_FEED_NO_PRIVATE_URL;
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
|
@ -166,9 +166,9 @@ class plxGlob {
|
||||||
* Méthode qui retourne un tableau trié, des fichiers correspondants
|
* Méthode qui retourne un tableau trié, des fichiers correspondants
|
||||||
* au motif $motif, respectant les différentes limites
|
* au motif $motif, respectant les différentes limites
|
||||||
*
|
*
|
||||||
* @param motif motif de recherche des fichiers sous forme d'expression réguliere
|
* @param motif motif de recherche des fichiers sous forme d'expression régulière
|
||||||
* @param type type de recherche: article ('art'), commentaire ('com') ou autre (''))
|
* @param type type de recherche: article ('art'), commentaire ('com') ou autre (''))
|
||||||
* @param tri type de tri (sort, rsort, alpha)
|
* @param tri type de tri (sort, rsort, alpha, random)
|
||||||
* @param depart indice de départ de la sélection
|
* @param depart indice de départ de la sélection
|
||||||
* @param limite nombre d'éléments à sélectionner
|
* @param limite nombre d'éléments à sélectionner
|
||||||
* @param publi recherche des fichiers avant ou après la date du jour
|
* @param publi recherche des fichiers avant ou après la date du jour
|
||||||
|
@ -177,12 +177,15 @@ class plxGlob {
|
||||||
**/
|
**/
|
||||||
public function query($motif,$type='',$tri='',$depart='0',$limite=false,$publi='all') {
|
public function query($motif,$type='',$tri='',$depart='0',$limite=false,$publi='all') {
|
||||||
|
|
||||||
# Si on a des resultats
|
# Si on a des résultats
|
||||||
if($rs = $this->search($motif,$type,$tri,$publi)) {
|
if($rs = $this->search($motif,$type,$tri,$publi)) {
|
||||||
|
|
||||||
# Ordre de tri du tableau
|
# Ordre de tri du tableau
|
||||||
if ($type != '') {
|
if ($type != '') {
|
||||||
switch ($tri) {
|
switch ($tri) {
|
||||||
|
case 'random':
|
||||||
|
shuffle($rs);
|
||||||
|
break;
|
||||||
case 'alpha':
|
case 'alpha':
|
||||||
case 'sort':
|
case 'sort':
|
||||||
ksort($rs);
|
ksort($rs);
|
||||||
|
@ -194,6 +197,9 @@ class plxGlob {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
switch ($tri) {
|
switch ($tri) {
|
||||||
|
case 'random':
|
||||||
|
shuffle($rs);
|
||||||
|
break;
|
||||||
case 'alpha':
|
case 'alpha':
|
||||||
case 'sort':
|
case 'sort':
|
||||||
sort($rs);
|
sort($rs);
|
||||||
|
@ -205,7 +211,7 @@ class plxGlob {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# On enleve les cles du tableau
|
# On enlève les clés du tableau
|
||||||
$rs = array_values($rs);
|
$rs = array_values($rs);
|
||||||
# On a une limite, on coupe le tableau
|
# On a une limite, on coupe le tableau
|
||||||
if($limite)
|
if($limite)
|
||||||
|
|
|
@ -14,7 +14,7 @@ class plxMedias {
|
||||||
public $aFiles = array(); # liste des fichiers d'un dossier
|
public $aFiles = array(); # liste des fichiers d'un dossier
|
||||||
public $maxUpload = array(); # taille maxi des images
|
public $maxUpload = array(); # taille maxi des images
|
||||||
|
|
||||||
public $thumbQuality = 60; # qualite image
|
public $thumbQuality = 60; # qualité image
|
||||||
public $thumbWidth = 60; # largeur des miniatures
|
public $thumbWidth = 60; # largeur des miniatures
|
||||||
public $thumbHeight = 60; # hauteur des miniatures
|
public $thumbHeight = 60; # hauteur des miniatures
|
||||||
|
|
||||||
|
@ -61,8 +61,8 @@ class plxMedias {
|
||||||
/**
|
/**
|
||||||
* Méthode récursive qui retourne un tableau de tous les dossiers et sous dossiers dans un répertoire
|
* Méthode récursive qui retourne un tableau de tous les dossiers et sous dossiers dans un répertoire
|
||||||
*
|
*
|
||||||
* @param dir repertoire de lecture
|
* @param dir répertoire de lecture
|
||||||
* @param level profondeur du repertoire
|
* @param level profondeur du répertoire
|
||||||
* @return folders tableau contenant la liste de tous les dossiers et sous dossiers
|
* @return folders tableau contenant la liste de tous les dossiers et sous dossiers
|
||||||
* @author Stephane F
|
* @author Stephane F
|
||||||
**/
|
**/
|
||||||
|
@ -153,18 +153,16 @@ class plxMedias {
|
||||||
|
|
||||||
$str = "\n".'<select class="folder" id="folder" size="1" name="folder">'."\n";
|
$str = "\n".'<select class="folder" id="folder" size="1" name="folder">'."\n";
|
||||||
$selected = (empty($this->dir)?'selected="selected" ':'');
|
$selected = (empty($this->dir)?'selected="selected" ':'');
|
||||||
$str .= '<option '.$selected.'value=".">|. ('.L_PLXMEDIAS_ROOT.') </option>'."\n";
|
$str .= '<option '.$selected.'value=".">('.L_PLXMEDIAS_ROOT.') </option>'."\n";
|
||||||
# Dir non vide
|
# Dir non vide
|
||||||
if(!empty($this->aDirs)) {
|
if(!empty($this->aDirs)) {
|
||||||
foreach($this->aDirs as $k => $v) {
|
foreach($this->aDirs as $k => $v) {
|
||||||
$prefixe = '| ';
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while($i < $v['level']) {
|
while($i < $v['level']) {
|
||||||
$prefixe .= ' ';
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$selected = ($v['path']==$this->dir?'selected="selected" ':'');
|
$selected = ($v['path']==$this->dir?'selected="selected" ':'');
|
||||||
$str .= '<option class="level_'.$v['level'].'" '.$selected.'value="'.$v['path'].'">'.$prefixe.$v['name'].'</option>'."\n";
|
$str .= '<option class="level_'.$v['level'].'" '.$selected.'value="'.$v['path'].'">/'.$v['path'].'</option>'."\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$str .= '</select>'."\n";
|
$str .= '</select>'."\n";
|
||||||
|
@ -323,8 +321,8 @@ class plxMedias {
|
||||||
* Méthode qui envoi une liste de fichiers sur le serveur
|
* Méthode qui envoi une liste de fichiers sur le serveur
|
||||||
*
|
*
|
||||||
* @param files fichiers à uploader
|
* @param files fichiers à uploader
|
||||||
* @param post parametres
|
* @param post paramètres
|
||||||
* @return msg resultat de l'envoi des fichiers
|
* @return msg résultat de l'envoi des fichiers
|
||||||
* @author Stephane F
|
* @author Stephane F
|
||||||
**/
|
**/
|
||||||
public function uploadFiles($files, $post) {
|
public function uploadFiles($files, $post) {
|
||||||
|
|
|
@ -364,7 +364,7 @@ class plxMotor {
|
||||||
}
|
}
|
||||||
# détermination automatique de la racine du site
|
# détermination automatique de la racine du site
|
||||||
$this->aConf['racine'] = plxUtils::getRacine();
|
$this->aConf['racine'] = plxUtils::getRacine();
|
||||||
# On gère la non regression en cas d'ajout de paramètres sur une version de pluxml déjà installée
|
# On gère la non régression en cas d'ajout de paramètres sur une version de pluxml déjà installée
|
||||||
$this->aConf['bypage_admin'] = plxUtils::getValue($this->aConf['bypage_admin'],10);
|
$this->aConf['bypage_admin'] = plxUtils::getValue($this->aConf['bypage_admin'],10);
|
||||||
$this->aConf['tri_coms'] = plxUtils::getValue($this->aConf['tri_coms'],$this->aConf['tri']);
|
$this->aConf['tri_coms'] = plxUtils::getValue($this->aConf['tri_coms'],$this->aConf['tri']);
|
||||||
$this->aConf['bypage_admin_coms'] = plxUtils::getValue($this->aConf['bypage_admin_coms'],10);
|
$this->aConf['bypage_admin_coms'] = plxUtils::getValue($this->aConf['bypage_admin_coms'],10);
|
||||||
|
@ -380,6 +380,8 @@ class plxMotor {
|
||||||
$this->aConf['timezone'] = plxUtils::getValue($this->aConf['timezone'],@date_default_timezone_get());
|
$this->aConf['timezone'] = plxUtils::getValue($this->aConf['timezone'],@date_default_timezone_get());
|
||||||
$this->aConf['thumbs'] = isset($this->aConf['thumbs']) ? $this->aConf['thumbs'] : 1;
|
$this->aConf['thumbs'] = isset($this->aConf['thumbs']) ? $this->aConf['thumbs'] : 1;
|
||||||
$this->aConf['hometemplate'] = isset($this->aConf['hometemplate']) ? $this->aConf['hometemplate'] : 'home.php';
|
$this->aConf['hometemplate'] = isset($this->aConf['hometemplate']) ? $this->aConf['hometemplate'] : 'home.php';
|
||||||
|
$this->aConf['custom_admincss_file'] = plxUtils::getValue($this->aConf['custom_admincss_file']);
|
||||||
|
$this->aConf['medias'] = isset($this->aConf['medias']) ? $this->aConf['medias'] : 'data/images/';
|
||||||
if(!defined('PLX_PLUGINS')) define('PLX_PLUGINS', PLX_ROOT.$this->aConf['racine_plugins']);
|
if(!defined('PLX_PLUGINS')) define('PLX_PLUGINS', PLX_ROOT.$this->aConf['racine_plugins']);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -525,6 +525,22 @@ class plxPlugin {
|
||||||
$this->aParams[$param]['value']=$value;
|
$this->aParams[$param]['value']=$value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Méthode qui supprime un parametre du fichier parameters.xml
|
||||||
|
*
|
||||||
|
* @param param nom du parametre à supprimer
|
||||||
|
* @return true si parametre supprimé, false sinon
|
||||||
|
* @author Sebastien H
|
||||||
|
**/
|
||||||
|
public function delParam($param) {
|
||||||
|
if(isset($this->aParams[$param])) {
|
||||||
|
unset($this->aParams[$param]);
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui recupere les données du fichier infos.xml
|
* Méthode qui recupere les données du fichier infos.xml
|
||||||
*
|
*
|
||||||
|
|
|
@ -126,7 +126,7 @@ class plxShow {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche ou renvoit la langue par défaut
|
* Méthode qui affiche ou renvoie la langue par défaut
|
||||||
*
|
*
|
||||||
* @param echo si à VRAI affichage à l'écran
|
* @param echo si à VRAI affichage à l'écran
|
||||||
* @return stdout/string
|
* @return stdout/string
|
||||||
|
@ -508,8 +508,9 @@ class plxShow {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche l'auteur de l'article
|
* Méthode qui affiche ou renvoie l'auteur de l'article
|
||||||
*
|
*
|
||||||
|
* @param echo si à VRAI affichage à l'écran
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope home,categorie,article,tags,archives
|
* @scope home,categorie,article,tags,archives
|
||||||
* @author Anthony GUÉRIN, Florent MONTHEL et Stephane F
|
* @author Anthony GUÉRIN, Florent MONTHEL et Stephane F
|
||||||
|
@ -561,7 +562,7 @@ class plxShow {
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche la date de publication de l'article selon le format choisi
|
* Méthode qui affiche la date de publication de l'article selon le format choisi
|
||||||
*
|
*
|
||||||
* @param format format du texte de la date (variable: #minute, #hour, #day, #month, #num_day, #num_month, #num_year(4), #num_year(2))
|
* @param format format du texte de la date (variable: #minute, #hour, #day, #month, #num_day, #num_day(1), #num_day(2), #num_month, #num_year(4), #num_year(2))
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope home,categorie,article,tags,archives
|
* @scope home,categorie,article,tags,archives
|
||||||
* @author Stephane F.
|
* @author Stephane F.
|
||||||
|
@ -699,11 +700,12 @@ class plxShow {
|
||||||
*
|
*
|
||||||
* @param format format d'affichage du lien pour lire la suite de l'article (#art_title)
|
* @param format format d'affichage du lien pour lire la suite de l'article (#art_title)
|
||||||
* @param content affichage oui/non du contenu si le chapô est vide
|
* @param content affichage oui/non du contenu si le chapô est vide
|
||||||
|
* @param anchor ancre dans l'article pour faire pointer le lien "Lire la suite" quand on clic dessus
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope home,categorie,article,tags,archives
|
* @scope home,categorie,article,tags,archives
|
||||||
* @author Anthony GUÉRIN, Florent MONTHEL, Stephane F
|
* @author Anthony GUÉRIN, Florent MONTHEL, Stephane F
|
||||||
**/
|
**/
|
||||||
public function artChapo($format=L_ARTCHAPO, $content=true) {
|
public function artChapo($format=L_ARTCHAPO, $content=true, $anchor='') {
|
||||||
|
|
||||||
# On verifie qu'un chapo existe
|
# On verifie qu'un chapo existe
|
||||||
if($this->plxMotor->plxRecord_arts->f('chapo') != '') {
|
if($this->plxMotor->plxRecord_arts->f('chapo') != '') {
|
||||||
|
@ -715,7 +717,7 @@ class plxShow {
|
||||||
echo $this->plxMotor->plxRecord_arts->f('chapo')."\n";
|
echo $this->plxMotor->plxRecord_arts->f('chapo')."\n";
|
||||||
if($format) {
|
if($format) {
|
||||||
$title = str_replace("#art_title", $title, $format);
|
$title = str_replace("#art_title", $title, $format);
|
||||||
echo '<p class="more"><a href="'.$this->plxMotor->urlRewrite('?article'.$id.'/'.$url).'" title="'.$title.'">'.$title.'</a></p>'."\n";
|
echo '<p class="more"><a href="'.$this->plxMotor->urlRewrite('?article'.$id.'/'.$url).($anchor!=''?'#'.$anchor:'').'" title="'.$title.'">'.$title.'</a></p>'."\n";
|
||||||
}
|
}
|
||||||
} else { # Pas de chapo, affichage du contenu
|
} else { # Pas de chapo, affichage du contenu
|
||||||
if($content === true) {
|
if($content === true) {
|
||||||
|
@ -754,11 +756,17 @@ class plxShow {
|
||||||
# Hook Plugins
|
# Hook Plugins
|
||||||
if(eval($this->plxMotor->plxPlugins->callHook('plxShowArtFeed'))) return;
|
if(eval($this->plxMotor->plxPlugins->callHook('plxShowArtFeed'))) return;
|
||||||
|
|
||||||
if($categorie != '' AND is_numeric($categorie)) # Fil Rss des articles d'une catégorie
|
if($categorie != '' AND is_numeric($categorie)) {
|
||||||
echo '<a href="'.$this->plxMotor->urlRewrite('feed.php?rss/categorie'.$categorie).'" title="'.L_ARTFEED_RSS_CATEGORY.'">'.L_ARTFEED_RSS_CATEGORY.'</a>';
|
# Fil Rss des articles d'une catégorie
|
||||||
else # Fil Rss des articles
|
$id=str_pad($categorie,3,'0',STR_PAD_LEFT);
|
||||||
|
if(isset($this->plxMotor->aCats[$id])) {
|
||||||
|
echo '<a href="'.$this->plxMotor->urlRewrite('feed.php?rss/categorie'.$categorie.'/'.$this->plxMotor->aCats[$id]['url']).'" title="'.L_ARTFEED_RSS_CATEGORY.'">'.L_ARTFEED_RSS_CATEGORY.'</a>';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
# Fil Rss des articles
|
||||||
echo '<a href="'.$this->plxMotor->urlRewrite('feed.php?rss').'" title="'.L_ARTFEED_RSS.'">'.L_ARTFEED_RSS.'</a>';
|
echo '<a href="'.$this->plxMotor->urlRewrite('feed.php?rss').'" title="'.L_ARTFEED_RSS.'">'.L_ARTFEED_RSS.'</a>';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche le nombre de commentaires (sous forme de lien ou non selon le mode) d'un article
|
* Méthode qui affiche le nombre de commentaires (sous forme de lien ou non selon le mode) d'un article
|
||||||
|
@ -829,14 +837,14 @@ class plxShow {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche la liste des $max derniers articles.
|
* Méthode qui affiche la liste des $max derniers articles.
|
||||||
* Si la variable $cat_id est renseignée, seulement les articles de cette catégorie seront retournés.
|
* Si la variable $cat_id est renseignée, seuls les articles de cette catégorie sont retournés.
|
||||||
* On tient compte si la catégorie est active
|
* On tient compte si la catégorie est active
|
||||||
*
|
*
|
||||||
* @param format format du texte pour chaque article (variable: #art_id, #art_url, #art_status, #art_author, #art_title, #art_chapo, #art_chapo(num), #art_content, #art_content(num), #art_date, #art_hour, #cat_list, #art_nbcoms)
|
* @param format format du texte pour chaque article
|
||||||
* @param max nombre d'articles maximum
|
* @param max nombre d'articles maximum
|
||||||
* @param cat_id ids des catégories cible
|
* @param cat_id ids des catégories cible
|
||||||
* @param ending texte à ajouter en fin de ligne
|
* @param ending texte à ajouter en fin de ligne
|
||||||
* @param sort tri de l'affichage des articles (sort|rsort|alpha)
|
* @param sort tri de l'affichage des articles (sort|rsort|alpha|random)
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope global
|
* @scope global
|
||||||
* @author Florent MONTHEL, Stephane F
|
* @author Florent MONTHEL, Stephane F
|
||||||
|
@ -891,6 +899,7 @@ class plxShow {
|
||||||
$row = str_replace('#art_content',$content, $row);
|
$row = str_replace('#art_content',$content, $row);
|
||||||
$row = str_replace('#art_date',plxDate::formatDate($date,'#num_day/#num_month/#num_year(4)'),$row);
|
$row = str_replace('#art_date',plxDate::formatDate($date,'#num_day/#num_month/#num_year(4)'),$row);
|
||||||
$row = str_replace('#art_hour',plxDate::formatDate($date,'#hour:#minute'),$row);
|
$row = str_replace('#art_hour',plxDate::formatDate($date,'#hour:#minute'),$row);
|
||||||
|
$row = plxDate::formatDate($date,$row);
|
||||||
$row = str_replace('#art_nbcoms',$art['nb_com'], $row);
|
$row = str_replace('#art_nbcoms',$art['nb_com'], $row);
|
||||||
# On genère notre ligne
|
# On genère notre ligne
|
||||||
echo $row;
|
echo $row;
|
||||||
|
@ -959,7 +968,7 @@ class plxShow {
|
||||||
* @param type type d'affichage : link => sous forme de lien
|
* @param type type d'affichage : link => sous forme de lien
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope article
|
* @scope article
|
||||||
* @author Anthony GUÉRIN et Florent MONTHEL
|
* @author Anthony GUÉRIN, Florent MONTHEL et Stephane F.
|
||||||
**/
|
**/
|
||||||
public function comAuthor($type='') {
|
public function comAuthor($type='') {
|
||||||
|
|
||||||
|
@ -967,7 +976,7 @@ class plxShow {
|
||||||
$author = $this->plxMotor->plxRecord_coms->f('author');
|
$author = $this->plxMotor->plxRecord_coms->f('author');
|
||||||
$site = $this->plxMotor->plxRecord_coms->f('site');
|
$site = $this->plxMotor->plxRecord_coms->f('site');
|
||||||
if($type == 'link' AND $site != '') # Type lien
|
if($type == 'link' AND $site != '') # Type lien
|
||||||
echo '<a href="'.$site.'" title="'.$author.'">'.$author.'</a>';
|
echo '<a rel="nofollow" href="'.$site.'" title="'.$author.'">'.$author.'</a>';
|
||||||
else # Type normal
|
else # Type normal
|
||||||
echo $author;
|
echo $author;
|
||||||
}
|
}
|
||||||
|
@ -985,9 +994,9 @@ class plxShow {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche la date de publication d'un commentaire delon le format choisi
|
* Méthode qui affiche la date de publication d'un commentaire selon le format choisi
|
||||||
*
|
*
|
||||||
* @param format format du texte de la date (variable: #minute, #hour, #day, #month, #num_day, #num_month, #num_year(2), #num_year(4))
|
* @param format format du texte de la date (variable: #minute, #hour, #day, #month, #num_day, #num_day(1), #num_day(2), #num_month, #num_year(2), #num_year(4))
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope article
|
* @scope article
|
||||||
* @author Florent MONTHEL et Stephane F
|
* @author Florent MONTHEL et Stephane F
|
||||||
|
@ -1068,9 +1077,9 @@ class plxShow {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche la liste des $max derniers commentaires.
|
* Méthode qui affiche la liste des $max derniers commentaires.
|
||||||
* Si la variable $art_id est renseignée, seulement les commentaires de cet article seront retournés.
|
* Si la variable $art_id est renseignée, seuls les commentaires de cet article sont retournés.
|
||||||
*
|
*
|
||||||
* @param format format du texte pour chaque commentaire (variable: #com_id, #com_url, #com_author, #com_content(num), #com_content, #com_date, #com_hour)
|
* @param format format du texte pour chaque commentaire
|
||||||
* @param max nombre de commentaires maximum
|
* @param max nombre de commentaires maximum
|
||||||
* @param art_id id de l'article cible (24,3)
|
* @param art_id id de l'article cible (24,3)
|
||||||
* @param cat_ids liste des categories pour filtrer les derniers commentaires (sous la forme 001|002)
|
* @param cat_ids liste des categories pour filtrer les derniers commentaires (sous la forme 001|002)
|
||||||
|
@ -1094,6 +1103,8 @@ class plxShow {
|
||||||
# Nouvel objet plxGlob et récupération des fichiers
|
# Nouvel objet plxGlob et récupération des fichiers
|
||||||
$plxGlob_coms = clone $this->plxMotor->plxGlob_coms;
|
$plxGlob_coms = clone $this->plxMotor->plxGlob_coms;
|
||||||
if($aFiles = $plxGlob_coms->query($motif,'com','rsort',0,false,'before')) {
|
if($aFiles = $plxGlob_coms->query($motif,'com','rsort',0,false,'before')) {
|
||||||
|
$aComArtTitles = array(); # tableau contenant les titres des articles
|
||||||
|
$isComArtTitle = (strpos($format, '#com_art_title')!=FALSE) ? true : false;
|
||||||
# On parcourt les fichiers des commentaires
|
# On parcourt les fichiers des commentaires
|
||||||
foreach($aFiles as $v) {
|
foreach($aFiles as $v) {
|
||||||
# On filtre si le commentaire appartient à un article d'une catégorie inactive
|
# On filtre si le commentaire appartient à un article d'une catégorie inactive
|
||||||
|
@ -1119,6 +1130,20 @@ class plxShow {
|
||||||
$row = str_replace('#com_content',$content,$row);
|
$row = str_replace('#com_content',$content,$row);
|
||||||
$row = str_replace('#com_date',plxDate::formatDate($date,'#num_day/#num_month/#num_year(4)'),$row);
|
$row = str_replace('#com_date',plxDate::formatDate($date,'#num_day/#num_month/#num_year(4)'),$row);
|
||||||
$row = str_replace('#com_hour',plxDate::formatDate($date,'#hour:#minute'),$row);
|
$row = str_replace('#com_hour',plxDate::formatDate($date,'#hour:#minute'),$row);
|
||||||
|
$row = plxDate::formatDate($date,$row);
|
||||||
|
# récupération du titre de l'article
|
||||||
|
if($isComArtTitle) {
|
||||||
|
if(isset($aComArtTitles[$com['article']])) {
|
||||||
|
$row = str_replace('#com_art_title',$aComArtTitles[$com['article']],$row);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if($file = $this->plxMotor->plxGlob_arts->query('/^'.$com['article'].'.(.*).xml$/')) {
|
||||||
|
$art = $this->plxMotor->parseArticle(PLX_ROOT.$this->plxMotor->aConf['racine_articles'].$file[0]);
|
||||||
|
$aComArtTitles[$com['article']] = $art_title = $art['title'];
|
||||||
|
$row = str_replace('#com_art_title',$art_title,$row);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
# On genère notre ligne
|
# On genère notre ligne
|
||||||
echo $row;
|
echo $row;
|
||||||
$count++;
|
$count++;
|
||||||
|
@ -1135,6 +1160,7 @@ class plxShow {
|
||||||
*
|
*
|
||||||
* @param extra si renseigné: nom du lien vers la page d'accueil affiché en première position
|
* @param extra si renseigné: nom du lien vers la page d'accueil affiché en première position
|
||||||
* @param format format du texte pour chaque page (variable : #static_id, #static_status, #static_url, #static_name, #group_id, #group_class, #group_name)
|
* @param format format du texte pour chaque page (variable : #static_id, #static_status, #static_url, #static_name, #group_id, #group_class, #group_name)
|
||||||
|
* @param format_group format du texte pour chaque groupe (variable : #group_class, #group_name)
|
||||||
* @param menublog position du menu Blog (si non renseigné le menu n'est pas affiché)
|
* @param menublog position du menu Blog (si non renseigné le menu n'est pas affiché)
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope global
|
* @scope global
|
||||||
|
@ -1222,13 +1248,15 @@ class plxShow {
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
* @scope static
|
* @scope static
|
||||||
* @author Florent MONTHEL
|
* @author Florent MONTHEL, Stéphane F.
|
||||||
**/
|
**/
|
||||||
public function staticId() {
|
public function staticId() {
|
||||||
|
|
||||||
# On va verifier que la categorie existe en mode categorie
|
# On va vérifier que la catégorie existe en mode catégorie
|
||||||
if($this->plxMotor->mode == 'static' AND isset($this->plxMotor->aStats[ $this->plxMotor->cible ]))
|
if($this->plxMotor->mode == 'static' AND isset($this->plxMotor->aStats[ $this->plxMotor->cible ]))
|
||||||
return intval($this->plxMotor->cible);
|
return intval($this->plxMotor->cible);
|
||||||
|
else
|
||||||
|
return plxUtils::strCheck($this->plxMotor->mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1237,7 +1265,7 @@ class plxShow {
|
||||||
* @param type type de lien : relatif ou absolu (URL complète)
|
* @param type type de lien : relatif ou absolu (URL complète)
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope static
|
* @scope static
|
||||||
* @author Florent MONTHEL, Stephane F
|
* @author Florent MONTHEL, Stéphane F
|
||||||
**/
|
**/
|
||||||
public function staticUrl($type='relatif') {
|
public function staticUrl($type='relatif') {
|
||||||
|
|
||||||
|
@ -1275,7 +1303,7 @@ class plxShow {
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche la date de la dernière modification de la page statique selon le format choisi
|
* Méthode qui affiche la date de la dernière modification de la page statique selon le format choisi
|
||||||
*
|
*
|
||||||
* @param format format du texte de la date (variable: #minute, #hour, #day, #month, #num_day, #num_month, #num_year(4), #num_year(2))
|
* @param format format du texte de la date (variable: #minute, #hour, #day, #month, #num_day, #num_day(1), #num_day(2), #num_month, #num_year(4), #num_year(2))
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope static
|
* @scope static
|
||||||
* @author Anthony T.
|
* @author Anthony T.
|
||||||
|
@ -1300,6 +1328,8 @@ class plxShow {
|
||||||
**/
|
**/
|
||||||
public function staticContent() {
|
public function staticContent() {
|
||||||
|
|
||||||
|
if (eval($this->plxMotor->plxPlugins->callHook("plxShowStaticContentBegin"))) return;
|
||||||
|
|
||||||
# On va verifier que la page a inclure est lisible
|
# On va verifier que la page a inclure est lisible
|
||||||
if($this->plxMotor->aStats[ $this->plxMotor->cible ]['readable'] == 1) {
|
if($this->plxMotor->aStats[ $this->plxMotor->cible ]['readable'] == 1) {
|
||||||
# On genere le nom du fichier a inclure
|
# On genere le nom du fichier a inclure
|
||||||
|
@ -1320,7 +1350,7 @@ class plxShow {
|
||||||
/**
|
/**
|
||||||
* Méthode qui affiche une page statique en lui passant son id (si cette page est active ou non)
|
* Méthode qui affiche une page statique en lui passant son id (si cette page est active ou non)
|
||||||
*
|
*
|
||||||
* @param id id numérique de la page statique
|
* @param id id numérique ou url/titre de la page statique
|
||||||
* @return stdout
|
* @return stdout
|
||||||
* @scope global
|
* @scope global
|
||||||
* @author Stéphane F
|
* @author Stéphane F
|
||||||
|
@ -1330,7 +1360,13 @@ class plxShow {
|
||||||
if(eval($this->plxMotor->plxPlugins->callHook('plxShowStaticInclude'))) return ;
|
if(eval($this->plxMotor->plxPlugins->callHook('plxShowStaticInclude'))) return ;
|
||||||
# On génère un nouvel objet plxGlob
|
# On génère un nouvel objet plxGlob
|
||||||
$plxGlob_stats = plxGlob::getInstance(PLX_ROOT.$this->plxMotor->aConf['racine_statiques']);
|
$plxGlob_stats = plxGlob::getInstance(PLX_ROOT.$this->plxMotor->aConf['racine_statiques']);
|
||||||
if($files = $plxGlob_stats->query('/^'.str_pad($id,3,'0',STR_PAD_LEFT).'.[a-z0-9-]+.php$/')) {
|
if(is_numeric($id))
|
||||||
|
$regx = '/^'.str_pad($id,3,'0',STR_PAD_LEFT).'.[a-z0-9-]+.php$/';
|
||||||
|
else {
|
||||||
|
$url = plxUtils::title2url($id);
|
||||||
|
$regx = '/^[0-9]{3}.'.$url.'.php$/';
|
||||||
|
}
|
||||||
|
if($files = $plxGlob_stats->query($regx)) {
|
||||||
include(PLX_ROOT.$this->plxMotor->aConf['racine_statiques'].$files[0]);
|
include(PLX_ROOT.$this->plxMotor->aConf['racine_statiques'].$files[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1670,7 +1706,7 @@ class plxShow {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui renvoit une clé de traduction appelée à partir du thème
|
* Méthode qui renvoie une clé de traduction appelée à partir du thème
|
||||||
*
|
*
|
||||||
* @param $lang clé de traduction à afficher
|
* @param $lang clé de traduction à afficher
|
||||||
* @return stdout
|
* @return stdout
|
||||||
|
|
|
@ -13,7 +13,7 @@ class plxUtils {
|
||||||
* Renvoie la valeur de la variable ou la valeur par défaut passée en paramètre
|
* Renvoie la valeur de la variable ou la valeur par défaut passée en paramètre
|
||||||
*
|
*
|
||||||
* @param var string variable à tester
|
* @param var string variable à tester
|
||||||
* @param default string valeur par defaut
|
* @param default string valeur par défaut
|
||||||
* @return valeur de la variable ou valeur par défaut passée en paramètre
|
* @return valeur de la variable ou valeur par défaut passée en paramètre
|
||||||
*/
|
*/
|
||||||
public static function getValue(&$var, $default='') {
|
public static function getValue(&$var, $default='') {
|
||||||
|
@ -187,11 +187,14 @@ class plxUtils {
|
||||||
|
|
||||||
$size = explode('-',$size);
|
$size = explode('-',$size);
|
||||||
$placeholder = $placeholder!='' ? ' placeholder="'.$placeholder.'"' : '';
|
$placeholder = $placeholder!='' ? ' placeholder="'.$placeholder.'"' : '';
|
||||||
|
if($type!='hidden') {
|
||||||
if($readonly)
|
if($readonly)
|
||||||
echo '<input id="id_'.$name.'" name="'.$name.'" type="'.$type.'" class="readonly" value="'.$value.'" size="'.$size[0].'" maxlength="'.$size[1].'" readonly="readonly"'.$placeholder.' />'."\n";
|
echo '<input id="id_'.$name.'" name="'.$name.'" type="'.$type.'" class="readonly" value="'.$value.'" size="'.$size[0].'" maxlength="'.$size[1].'" readonly="readonly"'.$placeholder.' />'."\n";
|
||||||
else
|
else
|
||||||
echo '<input id="id_'.$name.'" name="'.$name.'" type="'.$type.'"'.($class!=''?' class="'.$class.'"':'').' value="'.$value.'" size="'.$size[0].'" maxlength="'.$size[1].'"'.$placeholder.' />'."\n";
|
echo '<input id="id_'.$name.'" name="'.$name.'" type="'.$type.'"'.($class!=''?' class="'.$class.'"':'').' value="'.$value.'" size="'.$size[0].'" maxlength="'.$size[1].'"'.$placeholder.' />'."\n";
|
||||||
|
} else {
|
||||||
|
echo '<input id="id_'.$name.'" name="'.$name.'" type="'.$type.'" value="'.$value.'" />'."\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -237,7 +240,7 @@ class plxUtils {
|
||||||
/**
|
/**
|
||||||
* Méthode qui teste si le module apache mod_rewrite est disponible
|
* Méthode qui teste si le module apache mod_rewrite est disponible
|
||||||
*
|
*
|
||||||
* @param io affiche à l'écran le resultat du test si à VRAI
|
* @param io affiche à l'écran le résultat du test si à VRAI
|
||||||
* @param format format d'affichage
|
* @param format format d'affichage
|
||||||
* @return boolean retourne vrai si le module apache mod_rewrite est disponible
|
* @return boolean retourne vrai si le module apache mod_rewrite est disponible
|
||||||
* @author Stephane F
|
* @author Stephane F
|
||||||
|
@ -267,7 +270,7 @@ class plxUtils {
|
||||||
/**
|
/**
|
||||||
* Méthode qui teste si la fonction php mail est disponible
|
* Méthode qui teste si la fonction php mail est disponible
|
||||||
*
|
*
|
||||||
* @param io affiche à l'écran le resultat du test si à VRAI
|
* @param io affiche à l'écran le résultat du test si à VRAI
|
||||||
* @param format format d'affichage
|
* @param format format d'affichage
|
||||||
* @return boolean retourne vrai si la fonction php mail est disponible
|
* @return boolean retourne vrai si la fonction php mail est disponible
|
||||||
* @author Stephane F
|
* @author Stephane F
|
||||||
|
@ -316,7 +319,7 @@ class plxUtils {
|
||||||
/**
|
/**
|
||||||
* Méthode qui formate une chaine de caractères en supprimant des caractères non valides
|
* Méthode qui formate une chaine de caractères en supprimant des caractères non valides
|
||||||
*
|
*
|
||||||
* @param str chaine de caracères à formater
|
* @param str chaine de caractères à formater
|
||||||
* @param charset charset à utiliser dans le formatage de la chaine (par défaut utf-8)
|
* @param charset charset à utiliser dans le formatage de la chaine (par défaut utf-8)
|
||||||
* @return string chaine formatée
|
* @return string chaine formatée
|
||||||
**/
|
**/
|
||||||
|
@ -360,8 +363,8 @@ class plxUtils {
|
||||||
/**
|
/**
|
||||||
* Méthode qui convertit un chiffre en chaine de caractères sur une longueur de n caractères, completée par des 0 à gauche
|
* Méthode qui convertit un chiffre en chaine de caractères sur une longueur de n caractères, completée par des 0 à gauche
|
||||||
*
|
*
|
||||||
* @param num chiffre à convertire
|
* @param num chiffre à convertir
|
||||||
* @param length longeur de la chaine à retourner
|
* @param length longueur de la chaine à retourner
|
||||||
* @return string chaine formatée
|
* @return string chaine formatée
|
||||||
**/
|
**/
|
||||||
public static function formatRelatif($num, $lenght) {
|
public static function formatRelatif($num, $lenght) {
|
||||||
|
@ -607,6 +610,8 @@ class plxUtils {
|
||||||
**/
|
**/
|
||||||
public static function rel2abs($base, $html) {
|
public static function rel2abs($base, $html) {
|
||||||
|
|
||||||
|
// on protège les liens de type (href|src)="//" en doublant le caractère =
|
||||||
|
$html = preg_replace('@(href|src)=(["\']\/\/)@i', '\1==\2', $html);
|
||||||
// url des plugins
|
// url des plugins
|
||||||
$html = preg_replace('@\<([^>]*) (href|src)=(["\'])[\.]/plugins@i', '<$1 $2=$3'.$base.'plugins', $html);
|
$html = preg_replace('@\<([^>]*) (href|src)=(["\'])[\.]/plugins@i', '<$1 $2=$3'.$base.'plugins', $html);
|
||||||
// generate server-only replacement for root-relative URLs
|
// generate server-only replacement for root-relative URLs
|
||||||
|
@ -620,12 +625,14 @@ class plxUtils {
|
||||||
$html = preg_replace('@\<([^>]*) (href|src)=(["\'])([^:"]*|[^:"]*:[^/"][^"]*)(["\'])@i', '<\1 \2=\3'.$base.'\4\5', $html);
|
$html = preg_replace('@\<([^>]*) (href|src)=(["\'])([^:"]*|[^:"]*:[^/"][^"]*)(["\'])@i', '<\1 \2=\3'.$base.'\4\5', $html);
|
||||||
// unreplace fully qualified URLs with proto: that were wrongly added $base
|
// unreplace fully qualified URLs with proto: that were wrongly added $base
|
||||||
$html = preg_replace('@\<([^>]*) (href|src)=(["\'])'.$base.'([a-zA-Z0-9]*):@i', '<\1 \2=\3\4:', $html);
|
$html = preg_replace('@\<([^>]*) (href|src)=(["\'])'.$base.'([a-zA-Z0-9]*):@i', '<\1 \2=\3\4:', $html);
|
||||||
|
// on rétablit les liens de type (href|src)="//" en remplaçant les caractères == par =
|
||||||
|
$html = preg_replace('@(href|src)==@i', '\1=', $html);
|
||||||
return $html;
|
return $html;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Méthode qui retourn la liste des langues disponibles dans un tableau
|
* Méthode qui retourne la liste des langues disponibles dans un tableau
|
||||||
*
|
*
|
||||||
* @return string chaine de caractères modifiée
|
* @return string chaine de caractères modifiée
|
||||||
* @author Stephane F.
|
* @author Stephane F.
|
||||||
|
@ -717,7 +724,7 @@ class plxUtils {
|
||||||
$title = $title ? ' title="'.$title.'"':'';
|
$title = $title ? ' title="'.$title.'"':'';
|
||||||
$class = $class ? ' '.$class:'';
|
$class = $class ? ' '.$class:'';
|
||||||
$onclick = $onclick ? ' onclick="'.$onclick.'"':'';
|
$onclick = $onclick ? ' onclick="'.$onclick.'"':'';
|
||||||
$menu = '<li class="menu'.$active.$class.'"><a href="'.$href.'"'.$onclick.$title.'>'.$name.'</a>'.$extra.'</li>';
|
$menu = '<li id="mnu_'.plxUtils::title2url($name).'" class="menu'.$active.$class.'"><a href="'.$href.'"'.$onclick.$title.'>'.$name.$extra.'</a></li>';
|
||||||
return $menu;
|
return $menu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -837,7 +844,7 @@ class plxUtils {
|
||||||
/**
|
/**
|
||||||
* Protège une chaine contre un null byte
|
* Protège une chaine contre un null byte
|
||||||
*
|
*
|
||||||
* @param string $text chaine à nettoyer
|
* @param string chaine à nettoyer
|
||||||
* @return string chaine nettoyée
|
* @return string chaine nettoyée
|
||||||
*/
|
*/
|
||||||
public static function nullbyteRemove($string) {
|
public static function nullbyteRemove($string) {
|
||||||
|
@ -845,7 +852,7 @@ class plxUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controle le nom d'un fichier ou d'un dossier
|
* Contrôle le nom d'un fichier ou d'un dossier
|
||||||
*
|
*
|
||||||
* @param string nom d'un fichier
|
* @param string nom d'un fichier
|
||||||
* @return boolean validité du nom du fichier ou du dossier
|
* @return boolean validité du nom du fichier ou du dossier
|
||||||
|
@ -871,7 +878,7 @@ class plxUtils {
|
||||||
* Formate le nom d'une miniature à partir d'un nom de fichier
|
* Formate le nom d'une miniature à partir d'un nom de fichier
|
||||||
*
|
*
|
||||||
* @param string nom d'un fichier
|
* @param string nom d'un fichier
|
||||||
* @return string nmo de la miniature au format fichier.tb.ext
|
* @return string nom de la miniature au format fichier.tb.ext
|
||||||
*/
|
*/
|
||||||
public static function thumbName($filename) {
|
public static function thumbName($filename) {
|
||||||
if(preg_match('/^(.*\.)([^.]+)$/D', $filename, $matches)) {
|
if(preg_match('/^(.*\.)([^.]+)$/D', $filename, $matches)) {
|
||||||
|
@ -889,9 +896,9 @@ class plxUtils {
|
||||||
* @author Frédéric Kaplon
|
* @author Frédéric Kaplon
|
||||||
**/
|
**/
|
||||||
public static function minify($buffer) {
|
public static function minify($buffer) {
|
||||||
/* Suprimme les commentaires */
|
/* Supprime les commentaires */
|
||||||
$buffer = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $buffer);
|
$buffer = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $buffer);
|
||||||
/* Suprimme les tabs, espaces, saut de ligne, etc. */
|
/* Supprime les tabs, espaces, saut de ligne, etc. */
|
||||||
$buffer = str_replace(array("\r\n", "\r", "\n", "\t", ' ', ' ', ' '), '', $buffer);
|
$buffer = str_replace(array("\r\n", "\r", "\n", "\t", ' ', ' ', ' '), '', $buffer);
|
||||||
return $buffer;
|
return $buffer;
|
||||||
}
|
}
|
||||||
|
@ -906,5 +913,14 @@ class plxUtils {
|
||||||
return $new;
|
return $new;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
public static function debug($obj) {
|
||||||
|
echo "<pre>";
|
||||||
|
if(is_array($obj))
|
||||||
|
print_r($obj);
|
||||||
|
else
|
||||||
|
echo $obj;
|
||||||
|
echo "</pre>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# This file is part of PluXml : http://www.pluxml.org
|
# This file is part of PluXml : http://www.pluxml.org
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010-2013 Stephane Ferrari and contributors
|
# Copyright (c) 2010-2015 Stephane Ferrari and contributors
|
||||||
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
||||||
# Copyright (c) 2006-2008 Anthony GUERIN
|
# Copyright (c) 2006-2008 Anthony GUERIN
|
||||||
# Licensed under the GPL license.
|
# Licensed under the GPL license.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# This file is part of PluXml : http://www.pluxml.org
|
# This file is part of PluXml : http://www.pluxml.org
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010-2013 Stephane Ferrari and contributors
|
# Copyright (c) 2010-2015 Stephane Ferrari and contributors
|
||||||
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
||||||
# Copyright (c) 2006-2008 Anthony GUERIN
|
# Copyright (c) 2006-2008 Anthony GUERIN
|
||||||
# Licensed under the GPL license.
|
# Licensed under the GPL license.
|
||||||
|
@ -58,7 +58,7 @@ ob_implicit_flush(0);
|
||||||
|
|
||||||
# Traitements du thème
|
# Traitements du thème
|
||||||
if($plxMotor->style == '' or !is_dir(PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style)) {
|
if($plxMotor->style == '' or !is_dir(PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style)) {
|
||||||
header('Content-Type: text/plain');
|
header('Content-Type: text/plain; charset='.PLX_CHARSET);
|
||||||
echo L_ERR_THEME_NOTFOUND.' ('.PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style.') !';
|
echo L_ERR_THEME_NOTFOUND.' ('.PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style.') !';
|
||||||
} elseif(file_exists(PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style.'/'.$plxMotor->template)) {
|
} elseif(file_exists(PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style.'/'.$plxMotor->template)) {
|
||||||
# On impose le charset
|
# On impose le charset
|
||||||
|
@ -66,7 +66,7 @@ if($plxMotor->style == '' or !is_dir(PLX_ROOT.$plxMotor->aConf['racine_themes'].
|
||||||
# Insertion du template
|
# Insertion du template
|
||||||
include(PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style.'/'.$plxMotor->template);
|
include(PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style.'/'.$plxMotor->template);
|
||||||
} else {
|
} else {
|
||||||
header('Content-Type: text/plain');
|
header('Content-Type: text/plain; charset='.PLX_CHARSET);
|
||||||
echo L_ERR_FILE_NOTFOUND.' ('.PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style.'/'.$plxMotor->template.') !';
|
echo L_ERR_FILE_NOTFOUND.' ('.PLX_ROOT.$plxMotor->aConf['racine_themes'].$plxMotor->style.'/'.$plxMotor->template.') !';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# This file is part of PluXml : http://www.pluxml.org
|
# This file is part of PluXml : http://www.pluxml.org
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010-2013 Stephane Ferrari and contributors
|
# Copyright (c) 2010-2015 Stephane Ferrari and contributors
|
||||||
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
||||||
# Copyright (c) 2006-2008 Anthony GUERIN
|
# Copyright (c) 2006-2008 Anthony GUERIN
|
||||||
# Licensed under the GPL license.
|
# Licensed under the GPL license.
|
||||||
|
@ -53,13 +53,11 @@ if(file_exists(path('XMLFILE_PARAMETERS'))) {
|
||||||
# Control du token du formulaire
|
# Control du token du formulaire
|
||||||
plxToken::validateFormToken($_POST);
|
plxToken::validateFormToken($_POST);
|
||||||
|
|
||||||
# Vérification de l'existence des dossiers data/images et data/documents
|
# Vérification de l'existence des dossiers médias
|
||||||
if(!is_dir(PLX_ROOT.'data/images')) {
|
if(!is_dir(PLX_ROOT.'data/medias')) {
|
||||||
@mkdir(PLX_ROOT.'data/images',0755,true);
|
@mkdir(PLX_ROOT.'data/medias',0755,true);
|
||||||
}
|
|
||||||
if(!is_dir(PLX_ROOT.'data/documents')) {
|
|
||||||
@mkdir(PLX_ROOT.'data/documents',0755,true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Vérification de l'existence du dossier data/configuration/plugins
|
# Vérification de l'existence du dossier data/configuration/plugins
|
||||||
if(!is_dir(PLX_ROOT.PLX_CONFIG_PATH.'plugins')) {
|
if(!is_dir(PLX_ROOT.PLX_CONFIG_PATH.'plugins')) {
|
||||||
@mkdir(PLX_ROOT.PLX_CONFIG_PATH.'plugins',0755,true);
|
@mkdir(PLX_ROOT.PLX_CONFIG_PATH.'plugins',0755,true);
|
||||||
|
@ -103,8 +101,7 @@ $config = array('title'=>'PluXml',
|
||||||
'miniatures_l'=>200,
|
'miniatures_l'=>200,
|
||||||
'miniatures_h'=>100,
|
'miniatures_h'=>100,
|
||||||
'thumbs'=>1,
|
'thumbs'=>1,
|
||||||
'images'=>'data/images/',
|
'medias'=>'data/medias/',
|
||||||
'documents'=>'data/documents/',
|
|
||||||
'racine_articles'=>'data/articles/',
|
'racine_articles'=>'data/articles/',
|
||||||
'racine_commentaires'=>'data/commentaires/',
|
'racine_commentaires'=>'data/commentaires/',
|
||||||
'racine_statiques'=>'data/statiques/',
|
'racine_statiques'=>'data/statiques/',
|
||||||
|
@ -119,7 +116,8 @@ $config = array('title'=>'PluXml',
|
||||||
'version'=>$version,
|
'version'=>$version,
|
||||||
'default_lang'=>$lang,
|
'default_lang'=>$lang,
|
||||||
'userfolders'=>0,
|
'userfolders'=>0,
|
||||||
'display_empty_cat'=>0
|
'display_empty_cat'=>0,
|
||||||
|
'custom_admincss_file'=>''
|
||||||
);
|
);
|
||||||
|
|
||||||
function install($content, $config) {
|
function install($content, $config) {
|
||||||
|
@ -246,66 +244,119 @@ else {
|
||||||
}
|
}
|
||||||
plxUtils::cleanHeaders();
|
plxUtils::cleanHeaders();
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang ?>" lang="<?php echo $lang ?>">
|
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="<?php echo strtolower(PLX_CHARSET) ?>" />
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0">
|
||||||
<title><?php echo L_PLUXML_INSTALLATION.' '.L_VERSION.' '.$version ?></title>
|
<title><?php echo L_PLUXML_INSTALLATION.' '.L_VERSION.' '.$version ?></title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(PLX_CHARSET) ?>" />
|
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/plucss.css" media="screen" />
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/reset.css" media="screen" />
|
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/theme.css" media="screen" />
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/base.css" media="screen" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/style.css" media="screen" />
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="document.forms[1].name.focus();">
|
<body onload="document.forms[1].name.focus();">
|
||||||
|
|
||||||
<div id="sidebar">
|
<main class="main grid">
|
||||||
</div>
|
|
||||||
|
<aside class="aside col sml-12 med-3 lrg-2">
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<section class="section col sml-12 med-9 med-offset-3 lrg-10 lrg-offset-2" style="margin-top: 0">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
|
||||||
|
<h1><?php echo L_PLUXML_VERSION.' '.$version ?> - <?php echo L_INSTALL_TITLE ?></h1>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<?php if($msg!='') echo '<div class="alert red">'.$msg.'</div>'; ?>
|
||||||
|
|
||||||
<div id="content">
|
|
||||||
<h2><?php echo L_PLUXML_VERSION.' '.$version ?> - <?php echo L_INSTALL_TITLE ?></h2>
|
|
||||||
<?php if($msg!='') echo '<p class="warning error">'.$msg.'</p>'; ?>
|
|
||||||
<form action="install.php" method="post">
|
<form action="install.php" method="post">
|
||||||
<fieldset class="panel">
|
|
||||||
<p class="field"><label for="id_default_lang"><?php echo L_SELECT_LANG ?> :</label></p>
|
<fieldset>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_default_lang"><?php echo L_SELECT_LANG ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('default_lang', plxUtils::getLangs(), $lang) ?>
|
<?php plxUtils::printSelect('default_lang', plxUtils::getLangs(), $lang) ?>
|
||||||
<input type="submit" name="select_lang" value="<?php echo L_INPUT_CHANGE ?>" />
|
<input type="submit" name="select_lang" value="<?php echo L_INPUT_CHANGE ?>" />
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
</fieldset>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<form action="install.php" method="post">
|
<div class="grid">
|
||||||
<fieldset class="panel">
|
<div class="col sml-12 med-5 label-centered">
|
||||||
<p class="field"><label for="id_name"><?php echo L_USERNAME ?> :</label></p>
|
<label for="id_name"><?php echo L_USERNAME ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('name', $name, 'text', '20-255') ?>
|
<?php plxUtils::printInput('name', $name, 'text', '20-255') ?>
|
||||||
<p class="field"><label for="id_login"><?php echo L_LOGIN ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_login"><?php echo L_LOGIN ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('login', $login, 'text', '20-255') ?>
|
<?php plxUtils::printInput('login', $login, 'text', '20-255') ?>
|
||||||
<p class="field"><label for="id_pwd"><?php echo L_PASSWORD ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_pwd"><?php echo L_PASSWORD ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('pwd', '', 'password', '20-255') ?>
|
<?php plxUtils::printInput('pwd', '', 'password', '20-255') ?>
|
||||||
<p class="field"><label for="id_pwd2"><?php echo L_PASSWORD_CONFIRMATION ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_pwd2"><?php echo L_PASSWORD_CONFIRMATION ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printInput('pwd2', '', 'password', '20-255') ?>
|
<?php plxUtils::printInput('pwd2', '', 'password', '20-255') ?>
|
||||||
<p class="field"><label for="id_timezone"><?php echo L_TIMEZONE ?> :</label></p>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12 med-5 label-centered">
|
||||||
|
<label for="id_timezone"><?php echo L_TIMEZONE ?> :</label>
|
||||||
|
</div>
|
||||||
|
<div class="col sml-12 med-7">
|
||||||
<?php plxUtils::printSelect('timezone', plxTimezones::timezones(), $timezone); ?>
|
<?php plxUtils::printSelect('timezone', plxTimezones::timezones(), $timezone); ?>
|
||||||
<p><input type="submit" name="install" value="<?php echo L_INPUT_INSTALL ?>" /></p>
|
</div>
|
||||||
<?php plxUtils::printInput('default_lang', $lang, 'hidden') ?>
|
</div>
|
||||||
<?php echo plxToken::getTokenPostMethod() ?>
|
|
||||||
</fieldset>
|
<ul class="unstyled-list">
|
||||||
</form>
|
|
||||||
<div class="panel">
|
|
||||||
<ul>
|
|
||||||
<li><strong><?php echo L_PLUXML_VERSION; ?> <?php echo $version; ?> (<?php echo L_INFO_CHARSET ?> <?php echo PLX_CHARSET ?>)</strong></li>
|
<li><strong><?php echo L_PLUXML_VERSION; ?> <?php echo $version; ?> (<?php echo L_INFO_CHARSET ?> <?php echo PLX_CHARSET ?>)</strong></li>
|
||||||
<li><?php echo L_INFO_PHP_VERSION.' : '.phpversion() ?></li>
|
<li><?php echo L_INFO_PHP_VERSION.' : '.phpversion() ?></li>
|
||||||
|
<?php if (!empty($_SERVER['SERVER_SOFTWARE'])) { ?>
|
||||||
|
<li><?php echo $_SERVER['SERVER_SOFTWARE']; ?></li>
|
||||||
|
<?php } ?>
|
||||||
<li><?php echo L_INFO_MAGIC_QUOTES.' : '.get_magic_quotes_gpc() ?></li>
|
<li><?php echo L_INFO_MAGIC_QUOTES.' : '.get_magic_quotes_gpc() ?></li>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.PLX_CONFIG_PATH) ?>
|
<?php plxUtils::testWrite(PLX_ROOT.PLX_CONFIG_PATH) ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$config['racine_articles']) ?>
|
<?php plxUtils::testWrite(PLX_ROOT.$config['racine_articles']) ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$config['racine_commentaires']) ?>
|
<?php plxUtils::testWrite(PLX_ROOT.$config['racine_commentaires']) ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$config['racine_statiques']) ?>
|
<?php plxUtils::testWrite(PLX_ROOT.$config['racine_statiques']) ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$config['images']) ?>
|
<?php plxUtils::testWrite(PLX_ROOT.$config['medias']) ?>
|
||||||
<?php plxUtils::testWrite(PLX_ROOT.$config['documents']) ?>
|
|
||||||
<?php plxUtils::testModReWrite() ?>
|
<?php plxUtils::testModReWrite() ?>
|
||||||
<?php plxUtils::testLibGD() ?>
|
<?php plxUtils::testLibGD() ?>
|
||||||
<?php plxUtils::testMail() ?>
|
<?php plxUtils::testMail() ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
</div>
|
<input type="submit" name="install" value="<?php echo L_INPUT_INSTALL ?>" />
|
||||||
|
<?php plxUtils::printInput('default_lang', $lang, 'hidden') ?>
|
||||||
|
<?php echo plxToken::getTokenPostMethod() ?>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# This file is part of PluXml : http://www.pluxml.org
|
# This file is part of PluXml : http://www.pluxml.org
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010-2013 Stephane Ferrari and contributors
|
# Copyright (c) 2010-2015 Stephane Ferrari and contributors
|
||||||
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
# Copyright (c) 2008-2009 Florent MONTHEL and contributors
|
||||||
# Copyright (c) 2006-2008 Anthony GUERIN
|
# Copyright (c) 2006-2008 Anthony GUERIN
|
||||||
# Licensed under the GPL license.
|
# Licensed under the GPL license.
|
||||||
|
|
|
@ -1,28 +1,27 @@
|
||||||
<?php include(dirname(__FILE__).'/header.php'); ?>
|
<?php include(dirname(__FILE__).'/header.php'); ?>
|
||||||
|
|
||||||
<section>
|
<main class="main grid" role="main">
|
||||||
|
|
||||||
<div id="container">
|
<section class="col sml-12 med-8">
|
||||||
|
|
||||||
<div class="width-sidebar">
|
<ul class="repertory menu breadcrumb">
|
||||||
|
<li><a href="<?php $plxShow->racine() ?>"><?php $plxShow->lang('HOME'); ?></a></li>
|
||||||
<p class="directory">
|
<li><?php echo plxDate::formatDate($plxShow->plxMotor->cible, $plxShow->lang('ARCHIVES').' #month #num_year(4)') ?></li>
|
||||||
<strong><?php echo plxDate::formatDate($plxShow->plxMotor->cible, $plxShow->lang('ARCHIVES').' #month #num_year(4)') ?></strong>
|
</ul>
|
||||||
</p>
|
|
||||||
|
|
||||||
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
|
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
|
||||||
|
|
||||||
<article role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
<article class="article" role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>
|
<h1>
|
||||||
<?php $plxShow->artTitle('link'); ?>
|
<?php $plxShow->artTitle('link'); ?>
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('WRITTEN_BY') ?> <?php $plxShow->artAuthor(); ?> -
|
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?> -
|
||||||
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
||||||
<?php $plxShow->artNbCom(); ?>
|
<?php $plxShow->artNbCom(); ?>
|
||||||
</p>
|
</small>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -30,30 +29,28 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat(); ?> -
|
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat() ?> -
|
||||||
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags(); ?>
|
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags() ?>
|
||||||
</p>
|
</small>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
<div id="pagination">
|
<nav class="pagination text-center">
|
||||||
<?php $plxShow->pagination(); ?>
|
<?php $plxShow->pagination(); ?>
|
||||||
</div>
|
</nav>
|
||||||
|
|
||||||
<div class="rss">
|
<span>
|
||||||
<?php $plxShow->artFeed('rss',$plxShow->catId()); ?>
|
<?php $plxShow->artFeed('rss',$plxShow->catId()); ?>
|
||||||
</div>
|
</span>
|
||||||
|
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
||||||
|
|
||||||
</div>
|
</main>
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
||||||
|
|
|
@ -1,22 +1,20 @@
|
||||||
<?php include(dirname(__FILE__) . '/header.php'); ?>
|
<?php include(dirname(__FILE__) . '/header.php'); ?>
|
||||||
|
|
||||||
<section>
|
<main class="main grid" role="main">
|
||||||
|
|
||||||
<div id="container">
|
<section class="col sml-12">
|
||||||
|
|
||||||
<div class="full-width">
|
<article class="article" role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
||||||
|
|
||||||
<article role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>
|
<h1>
|
||||||
<?php $plxShow->artTitle(''); ?>
|
<?php $plxShow->artTitle(); ?>
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('WRITTEN_BY') ?> <?php $plxShow->artAuthor(); ?> -
|
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?> -
|
||||||
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
||||||
<?php $plxShow->artNbCom(); ?>
|
<a href="#comments" title="<?php $plxShow->artNbCom(); ?>"><?php $plxShow->artNbCom(); ?></a>
|
||||||
</p>
|
</small>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -24,10 +22,10 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat(); ?> -
|
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat() ?> -
|
||||||
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags(); ?>
|
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags() ?>
|
||||||
</p>
|
</small>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
@ -36,10 +34,8 @@
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/commentaires.php'); ?>
|
<?php include(dirname(__FILE__).'/commentaires.php'); ?>
|
||||||
|
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
</div>
|
</main>
|
||||||
|
|
||||||
</section>
|
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
||||||
|
|
||||||
<?php include(dirname(__FILE__) . '/footer.php'); ?>
|
|
||||||
|
|
|
@ -1,22 +1,20 @@
|
||||||
<?php include(dirname(__FILE__).'/header.php'); ?>
|
<?php include(dirname(__FILE__).'/header.php'); ?>
|
||||||
|
|
||||||
<section>
|
<main class="main grid" role="main">
|
||||||
|
|
||||||
<div id="container">
|
<section class="col sml-12 med-8">
|
||||||
|
|
||||||
<div class="width-sidebar">
|
<article class="article" role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
||||||
|
|
||||||
<article role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>
|
<h1>
|
||||||
<?php $plxShow->artTitle(''); ?>
|
<?php $plxShow->artTitle(); ?>
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('WRITTEN_BY') ?> <?php $plxShow->artAuthor(); ?> -
|
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?> -
|
||||||
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
||||||
<?php $plxShow->artNbCom(); ?>
|
<a href="#comments" title="<?php $plxShow->artNbCom(); ?>"><?php $plxShow->artNbCom(); ?></a>
|
||||||
</p>
|
</small>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -24,10 +22,10 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat(); ?> -
|
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat() ?> -
|
||||||
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags(); ?>
|
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags() ?>
|
||||||
</p>
|
</small>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
@ -36,12 +34,10 @@
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/commentaires.php'); ?>
|
<?php include(dirname(__FILE__).'/commentaires.php'); ?>
|
||||||
|
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
||||||
|
|
||||||
</div>
|
</main>
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
||||||
|
|
55
sources/themes/defaut/categorie-full-width.php
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<?php include(dirname(__FILE__).'/header.php'); ?>
|
||||||
|
|
||||||
|
<main class="main grid" role="main">
|
||||||
|
|
||||||
|
<section class="col sml-12">
|
||||||
|
|
||||||
|
<ul class="repertory menu breadcrumb">
|
||||||
|
<li><a href="<?php $plxShow->racine() ?>"><?php $plxShow->lang('HOME'); ?></a></li>
|
||||||
|
<li><?php $plxShow->catName(); ?>
|
||||||
|
<?php $plxShow->catDescription(' : #cat_description'); ?></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
|
||||||
|
|
||||||
|
<article class="article" role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h1>
|
||||||
|
<?php $plxShow->artTitle('link'); ?>
|
||||||
|
</h1>
|
||||||
|
<small>
|
||||||
|
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?> -
|
||||||
|
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
||||||
|
<?php $plxShow->artNbCom(); ?>
|
||||||
|
</small>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<?php $plxShow->artChapo(); ?>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<small>
|
||||||
|
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat() ?> -
|
||||||
|
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags() ?>
|
||||||
|
</small>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<?php endwhile; ?>
|
||||||
|
|
||||||
|
<nav class="pagination text-center">
|
||||||
|
<?php $plxShow->pagination(); ?>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
<?php $plxShow->artFeed('rss',$plxShow->catId()); ?>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
|
@ -1,29 +1,28 @@
|
||||||
<?php include(dirname(__FILE__).'/header.php'); ?>
|
<?php include(dirname(__FILE__).'/header.php'); ?>
|
||||||
|
|
||||||
<section>
|
<main class="main grid" role="main">
|
||||||
|
|
||||||
<div id="container">
|
<section class="col sml-12 med-8">
|
||||||
|
|
||||||
<div class="width-sidebar">
|
<ul class="repertory menu breadcrumb">
|
||||||
|
<li><a href="<?php $plxShow->racine() ?>"><?php $plxShow->lang('HOME'); ?></a></li>
|
||||||
<p class="directory">
|
<li><?php $plxShow->catName(); ?>
|
||||||
<strong><?php $plxShow->catName(); ?></strong>
|
<?php $plxShow->catDescription(' : #cat_description'); ?></li>
|
||||||
<?php $plxShow->catDescription(' : #cat_description'); ?>
|
</ul>
|
||||||
</p>
|
|
||||||
|
|
||||||
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
|
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
|
||||||
|
|
||||||
<article role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
<article class="article" role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>
|
<h1>
|
||||||
<?php $plxShow->artTitle('link'); ?>
|
<?php $plxShow->artTitle('link'); ?>
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('WRITTEN_BY') ?> <?php $plxShow->artAuthor(); ?> -
|
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?> -
|
||||||
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
||||||
<?php $plxShow->artNbCom(); ?>
|
<?php $plxShow->artNbCom(); ?>
|
||||||
</p>
|
</small>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -31,30 +30,28 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat(); ?> -
|
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat() ?> -
|
||||||
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags(); ?>
|
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags() ?>
|
||||||
</p>
|
</small>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
<div id="pagination">
|
<nav class="pagination text-center">
|
||||||
<?php $plxShow->pagination(); ?>
|
<?php $plxShow->pagination(); ?>
|
||||||
</div>
|
</nav>
|
||||||
|
|
||||||
<div class="rss">
|
<span>
|
||||||
<?php $plxShow->artFeed('rss',$plxShow->catId()); ?>
|
<?php $plxShow->artFeed('rss',$plxShow->catId()); ?>
|
||||||
</div>
|
</span>
|
||||||
|
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
||||||
|
|
||||||
</div>
|
</main>
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
||||||
|
|
|
@ -2,79 +2,86 @@
|
||||||
|
|
||||||
<?php if($plxShow->plxMotor->plxRecord_coms): ?>
|
<?php if($plxShow->plxMotor->plxRecord_coms): ?>
|
||||||
|
|
||||||
<div id="comments">
|
<h2 id="comments">
|
||||||
|
|
||||||
<h2>
|
|
||||||
<?php echo $plxShow->artNbCom(); ?>
|
<?php echo $plxShow->artNbCom(); ?>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<?php while($plxShow->plxMotor->plxRecord_coms->loop()): # On boucle sur les commentaires ?>
|
<?php while($plxShow->plxMotor->plxRecord_coms->loop()): # On boucle sur les commentaires ?>
|
||||||
|
|
||||||
<div id="<?php $plxShow->comId(); ?>" class="comment">
|
<div id="<?php $plxShow->comId(); ?>" class="comment">
|
||||||
<blockquote>
|
<p>
|
||||||
<p class="info_comment">
|
<small>
|
||||||
<a class="num-com" href="<?php $plxShow->ComUrl(); ?>" title="#<?php echo $plxShow->plxMotor->plxRecord_coms->i+1 ?>">#<?php echo $plxShow->plxMotor->plxRecord_coms->i+1 ?></a>
|
<a class="nbcom" href="<?php $plxShow->ComUrl(); ?>" title="#<?php echo $plxShow->plxMotor->plxRecord_coms->i+1 ?>">#<?php echo $plxShow->plxMotor->plxRecord_coms->i+1 ?></a>
|
||||||
<time datetime="<?php $plxShow->comDate('#num_year(4)-#num_month-#num_day #hour:#minute'); ?>"><?php $plxShow->comDate('#day #num_day #month #num_year(4) @ #hour:#minute'); ?></time>
|
<time datetime="<?php $plxShow->comDate('#num_year(4)-#num_month-#num_day #hour:#minute'); ?>"><?php $plxShow->comDate('#day #num_day #month #num_year(4) - #hour:#minute'); ?></time> -
|
||||||
<?php $plxShow->comAuthor('link'); ?>
|
<?php $plxShow->comAuthor('link'); ?>
|
||||||
<?php $plxShow->lang('SAID'); ?> :
|
<?php $plxShow->lang('SAID'); ?> :
|
||||||
|
</small>
|
||||||
</p>
|
</p>
|
||||||
|
<blockquote>
|
||||||
<p class="content_com type-<?php $plxShow->comType(); ?>"><?php $plxShow->comContent(); ?></p>
|
<p class="content_com type-<?php $plxShow->comType(); ?>"><?php $plxShow->comContent(); ?></p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php endwhile; # Fin de la boucle sur les commentaires ?>
|
<?php endwhile; # Fin de la boucle sur les commentaires ?>
|
||||||
|
|
||||||
<div class="rss">
|
<p><?php $plxShow->comFeed('rss',$plxShow->artId()); ?></p>
|
||||||
<?php $plxShow->comFeed('rss',$plxShow->artId()); ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if($plxShow->plxMotor->plxRecord_arts->f('allow_com') AND $plxShow->plxMotor->aConf['allow_com']): ?>
|
<?php if($plxShow->plxMotor->plxRecord_arts->f('allow_com') AND $plxShow->plxMotor->aConf['allow_com']): ?>
|
||||||
|
|
||||||
<div id="form">
|
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<?php $plxShow->lang('WRITE_A_COMMENT') ?>
|
<?php $plxShow->lang('WRITE_A_COMMENT') ?>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<form action="<?php $plxShow->artUrl(); ?>#form" method="post">
|
<form id="form" action="<?php $plxShow->artUrl(); ?>#form" method="post">
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<p>
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
<label for="id_name"><?php $plxShow->lang('NAME') ?> :</label>
|
<label for="id_name"><?php $plxShow->lang('NAME') ?> :</label>
|
||||||
<input id="id_name" name="name" type="text" size="20" value="<?php $plxShow->comGet('name',''); ?>" maxlength="30" />
|
<input id="id_name" name="name" type="text" size="20" value="<?php $plxShow->comGet('name',''); ?>" maxlength="30" />
|
||||||
</p>
|
</div>
|
||||||
<p>
|
</div>
|
||||||
<label for="id_site"><?php $plxShow->lang('WEBSITE') ?> :</label>
|
<div class="grid">
|
||||||
<input id="id_site" name="site" type="text" size="20" value="<?php $plxShow->comGet('site',''); ?>" />
|
<div class="col sml-12 lrg-6">
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label for="id_mail"><?php $plxShow->lang('EMAIL') ?> :</label>
|
<label for="id_mail"><?php $plxShow->lang('EMAIL') ?> :</label>
|
||||||
<input id="id_mail" name="mail" type="text" size="20" value="<?php $plxShow->comGet('mail',''); ?>" />
|
<input id="id_mail" name="mail" type="text" size="20" value="<?php $plxShow->comGet('mail',''); ?>" />
|
||||||
</p>
|
</div>
|
||||||
<p>
|
<div class="col sml-12 lrg-6">
|
||||||
|
<label for="id_site"><?php $plxShow->lang('WEBSITE') ?> :</label>
|
||||||
|
<input id="id_site" name="site" type="text" size="20" value="<?php $plxShow->comGet('site',''); ?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
<label for="id_content" class="lab_com"><?php $plxShow->lang('COMMENT') ?> :</label>
|
<label for="id_content" class="lab_com"><?php $plxShow->lang('COMMENT') ?> :</label>
|
||||||
<textarea id="id_content" name="content" cols="35" rows="6"><?php $plxShow->comGet('content',''); ?></textarea>
|
<textarea id="id_content" name="content" cols="35" rows="6"><?php $plxShow->comGet('content',''); ?></textarea>
|
||||||
</p>
|
|
||||||
<p class="com-alert">
|
|
||||||
<?php $plxShow->comMessage(); ?>
|
|
||||||
</p>
|
|
||||||
<?php if($plxShow->plxMotor->aConf['capcha']): ?>
|
|
||||||
<p>
|
|
||||||
<label for="id_rep"><?php echo $plxShow->lang('ANTISPAM_WARNING') ?></label>
|
|
||||||
<?php $plxShow->capchaQ(); ?> :
|
|
||||||
<input id="id_rep" name="rep" type="text" size="2" maxlength="1" />
|
|
||||||
</p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<p>
|
|
||||||
<input type="submit" value="<?php $plxShow->lang('SEND') ?>" />
|
|
||||||
</p>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php $plxShow->comMessage('<p class="text-red"><strong>#com_message</strong></p>'); ?>
|
||||||
|
|
||||||
|
<?php if($plxShow->plxMotor->aConf['capcha']): ?>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<label for="id_rep"><strong><?php echo $plxShow->lang('ANTISPAM_WARNING') ?></strong></label>
|
||||||
|
<?php $plxShow->capchaQ(); ?>
|
||||||
|
<input id="id_rep" name="rep" type="text" size="2" maxlength="1" style="width: auto; display: inline;" />
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid">
|
||||||
|
<div class="col sml-12">
|
||||||
|
<input class="blue" type="submit" value="<?php $plxShow->lang('SEND') ?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
|
|
1435
sources/themes/defaut/css/plucss.css
Normal file
|
@ -1,210 +0,0 @@
|
||||||
/* ---------- BOX-SIZING ---------- */
|
|
||||||
|
|
||||||
* {
|
|
||||||
-moz-box-sizing : border-box;
|
|
||||||
-webkit-box-sizing : border-box;
|
|
||||||
box-sizing : border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- HTML5 TAGS ---------- */
|
|
||||||
|
|
||||||
article,
|
|
||||||
aside,
|
|
||||||
details,
|
|
||||||
figcaption,
|
|
||||||
figure,
|
|
||||||
footer,
|
|
||||||
header,
|
|
||||||
hgroup,
|
|
||||||
main,
|
|
||||||
nav,
|
|
||||||
section,
|
|
||||||
summary {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
audio,
|
|
||||||
canvas,
|
|
||||||
video {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- GENERAL STYLES ---------- */
|
|
||||||
|
|
||||||
html {
|
|
||||||
font-size: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: arial, helvetica, sans-serif;
|
|
||||||
line-height: 1.5;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 2em;
|
|
||||||
margin: 20px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
h5 {
|
|
||||||
font-size: 0.8em;
|
|
||||||
}
|
|
||||||
|
|
||||||
h6,
|
|
||||||
small {
|
|
||||||
font-size: 0.7em;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol,
|
|
||||||
ul {
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
dd,
|
|
||||||
li {
|
|
||||||
margin-left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
mark {
|
|
||||||
background-color: yellow;
|
|
||||||
padding:0 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
code,
|
|
||||||
pre,
|
|
||||||
samp,
|
|
||||||
kbd {
|
|
||||||
font-family: monospace, serif;
|
|
||||||
font-size: 1em;
|
|
||||||
padding: 5px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
background-color: #efefef;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub,
|
|
||||||
sup {
|
|
||||||
position: relative;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
|
|
||||||
sup {
|
|
||||||
top: -5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub {
|
|
||||||
bottom: -5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
abbr {
|
|
||||||
border-bottom: 1px solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
font-style: italic;
|
|
||||||
margin-left: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
height: 1px;
|
|
||||||
background-color: black;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- IMAGE ---------- */
|
|
||||||
|
|
||||||
img {
|
|
||||||
border: none;
|
|
||||||
height: auto;
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
figure {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- FORM ---------- */
|
|
||||||
|
|
||||||
fieldset {
|
|
||||||
border: none;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
legend {
|
|
||||||
margin-bottom: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
input,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: 100%;
|
|
||||||
margin: 0 0 15px 0;
|
|
||||||
outline : none;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
textarea {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
select {
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
input[type="button"],
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="submit"] {
|
|
||||||
cursor: pointer;
|
|
||||||
padding: 6px 9px 5.75px 9px;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="checkbox"],
|
|
||||||
input[type="radio"] {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="file"] {
|
|
||||||
border: none;
|
|
||||||
padding: 0;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- TABLE ---------- */
|
|
||||||
|
|
||||||
table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
border-spacing: 0;
|
|
||||||
margin: 15px 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
caption,
|
|
||||||
th,
|
|
||||||
td {
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
|
@ -1,412 +0,0 @@
|
||||||
/* ---------- GENERAL STYLES ---------- */
|
|
||||||
|
|
||||||
body {
|
|
||||||
background-color: #444;
|
|
||||||
color: #555;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #0082b0;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul li {
|
|
||||||
list-style-type: square;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- NAV ---------- */
|
|
||||||
|
|
||||||
nav {
|
|
||||||
background-color: #444;
|
|
||||||
font-size: 1.2em;
|
|
||||||
padding: 10px 50px 10px 60px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav li {
|
|
||||||
color: #ccc;
|
|
||||||
margin: 0 30px 0 0;
|
|
||||||
display: inline;
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav li a {
|
|
||||||
color: #ccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav li a:hover, nav li a.active {
|
|
||||||
color: #eee;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- HEADER ---------- */
|
|
||||||
|
|
||||||
header {
|
|
||||||
background-color: #e5e5e5;
|
|
||||||
color: #555;
|
|
||||||
padding: 20px 50px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
body > header > h1 {
|
|
||||||
font-size: 2.3em;
|
|
||||||
line-height: 1;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 a {
|
|
||||||
color: #555;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 a:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h2 {
|
|
||||||
font-size: 1em;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- SECTION ---------- */
|
|
||||||
|
|
||||||
section {
|
|
||||||
background-color: #e5e5e5;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#container {
|
|
||||||
background-color: #fff;
|
|
||||||
border-top: 1px solid #ccc;
|
|
||||||
border-left: 1px solid #ccc;
|
|
||||||
border-right: 1px solid #ccc;
|
|
||||||
border-bottom: 3px solid #ccc;
|
|
||||||
margin: 0 50px 50px;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.directory {
|
|
||||||
margin: 0 0 50px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.directory:first-letter{
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- ARTICLE / PAGE ---------- */
|
|
||||||
|
|
||||||
.width-sidebar {
|
|
||||||
float: left;
|
|
||||||
width: 65%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.full-width {
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
article header h1 {
|
|
||||||
color: #0082b0;
|
|
||||||
line-height: 1.1;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
article header h1 a {
|
|
||||||
color: #0082b0;
|
|
||||||
}
|
|
||||||
|
|
||||||
article header {
|
|
||||||
background-color: transparent;
|
|
||||||
color: inherit;
|
|
||||||
padding: 0;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
article header p {
|
|
||||||
color: #777;
|
|
||||||
font-size: 0.9em;
|
|
||||||
font-style : italic;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
article section {
|
|
||||||
background-color: inherit;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
article img {
|
|
||||||
margin: 0 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
article footer {
|
|
||||||
background-color: inherit;
|
|
||||||
color: #777;
|
|
||||||
font-size: 0.9em;
|
|
||||||
font-style : italic;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
padding: 0;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
article footer a,
|
|
||||||
article footer a:hover {
|
|
||||||
color: #0082b0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- COMMENT ---------- */
|
|
||||||
|
|
||||||
#comments {
|
|
||||||
margin-bottom: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.info_comment {
|
|
||||||
color: #777;
|
|
||||||
font-size: 0.9em;
|
|
||||||
font-style : italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment {
|
|
||||||
background-image: url(../img/user.png);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
padding-left: 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.com-alert {
|
|
||||||
color: #db2020;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- PAGINATION ---------- */
|
|
||||||
|
|
||||||
#pagination {
|
|
||||||
margin-bottom: 50px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pagination span,
|
|
||||||
#pagination a {
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pagination a {
|
|
||||||
background-color: #0082b0;
|
|
||||||
color: #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pagination a:hover {
|
|
||||||
background-color: #444;
|
|
||||||
color: #eee;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pagination span:first-letter,
|
|
||||||
#pagination a:first-letter {
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- SIDEBAR ---------- */
|
|
||||||
|
|
||||||
aside {
|
|
||||||
float: right;
|
|
||||||
width: 30%;
|
|
||||||
}
|
|
||||||
|
|
||||||
aside h3 {
|
|
||||||
color: #0082b0;
|
|
||||||
font-size: 1.4em;
|
|
||||||
margin: 0 0 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
aside a {
|
|
||||||
color: #555;
|
|
||||||
}
|
|
||||||
|
|
||||||
aside ul {
|
|
||||||
margin: 0 0 50px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
aside li:first-letter {
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rss {
|
|
||||||
background-image: url(../img/rss.png);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
line-height: 1;
|
|
||||||
margin: 10px 0;
|
|
||||||
padding-left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- TAG ---------- */
|
|
||||||
|
|
||||||
.tag {
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0;
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-1 {
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-2 {
|
|
||||||
font-size: 1.1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-3 {
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-4 {
|
|
||||||
font-size: 1.3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-5 {
|
|
||||||
font-size: 1.4em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-6 {
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-7 {
|
|
||||||
font-size: 1.6em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-8 {
|
|
||||||
font-size: 1.7em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-9 {
|
|
||||||
font-size: 1.8em
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-10 {
|
|
||||||
font-size: 1.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-size-max {
|
|
||||||
font-size: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- FOOTER ---------- */
|
|
||||||
|
|
||||||
footer {
|
|
||||||
background-color: #444;
|
|
||||||
clear: both;
|
|
||||||
color: #ccc;
|
|
||||||
padding: 50px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer a {
|
|
||||||
color: #ccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer a:hover {
|
|
||||||
color: #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- FORM ---------- */
|
|
||||||
|
|
||||||
#form h2 {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
display:block;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
border: 1px solid #bbb;
|
|
||||||
color: #555;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
input[type=submit],
|
|
||||||
input[type=reset] {
|
|
||||||
background-color: #0082b0;
|
|
||||||
border: 1px solid #0082b0;
|
|
||||||
color: #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover,
|
|
||||||
input[type=submit]:hover,
|
|
||||||
input[type=reset]:hover {
|
|
||||||
background-color: #444;
|
|
||||||
border: 1px solid #444;
|
|
||||||
}
|
|
||||||
|
|
||||||
.capcha-letter,
|
|
||||||
.capcha-word {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- TABLE ---------- */
|
|
||||||
table, th, td {
|
|
||||||
border: 1px solid #999
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------- RESPONSIVE DESIGN ---------- */
|
|
||||||
|
|
||||||
@media screen and (max-width:800px) {
|
|
||||||
|
|
||||||
nav {
|
|
||||||
padding: 5px 20px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav li {
|
|
||||||
display: block;
|
|
||||||
margin: 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
padding-left: 20px;
|
|
||||||
padding-right: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#container {
|
|
||||||
margin: 0 20px 20px 20px;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.width-sidebar,
|
|
||||||
aside {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
input,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
aside {
|
|
||||||
margin-top: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
210
sources/themes/defaut/css/theme.css
Normal file
|
@ -0,0 +1,210 @@
|
||||||
|
/*
|
||||||
|
# ------------------ BEGIN LICENSE BLOCK ------------------
|
||||||
|
#
|
||||||
|
# This file is part of PluXml : http://www.pluxml.org
|
||||||
|
#
|
||||||
|
# Package: theme.css
|
||||||
|
# Copyright (c) 2014 PluXml
|
||||||
|
# Authors Jos
|
||||||
|
# Licensed under the GPL license.
|
||||||
|
# See http://www.gnu.org/licenses/gpl.html
|
||||||
|
#
|
||||||
|
# ------------------- END LICENSE BLOCK -------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.header {
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
padding-top: 2rem;
|
||||||
|
}
|
||||||
|
.header h1 a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.nav {
|
||||||
|
background-color: #222;
|
||||||
|
height: 2.25rem;
|
||||||
|
}
|
||||||
|
.nav .menu.expanded li:hover {
|
||||||
|
background-color: #555;
|
||||||
|
}
|
||||||
|
.nav a {
|
||||||
|
color: #eee;
|
||||||
|
}
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.nav {
|
||||||
|
background-color: #fff;
|
||||||
|
border-bottom: 1px solid #bbb;
|
||||||
|
height: auto;
|
||||||
|
left: 0;
|
||||||
|
max-height: 200px;
|
||||||
|
overflow-y: auto;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
|
.nav .menu.expanded li:hover {
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
.nav a {
|
||||||
|
color: #258fd6;
|
||||||
|
}
|
||||||
|
.nav a:hover {
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
.responsive-menu label {
|
||||||
|
background-color: #222;
|
||||||
|
}
|
||||||
|
.header {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main {
|
||||||
|
background-color: #fff;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
.repertory {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
.article header h1 {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.article header h1 a {
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
.article header h1 a:hover {
|
||||||
|
color: #258fd6;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
#form {
|
||||||
|
width: 65%;
|
||||||
|
}
|
||||||
|
.comment {
|
||||||
|
background-image: url('../img/user.png');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
padding-left: 4rem;
|
||||||
|
}
|
||||||
|
.comment blockquote {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.nbcom {
|
||||||
|
background-color: #258fd6;
|
||||||
|
color: #fff;
|
||||||
|
padding: .2rem .3rem;
|
||||||
|
}
|
||||||
|
.nbcom:hover {
|
||||||
|
background-color: #3a6c96;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.capcha-letter,
|
||||||
|
.capcha-word {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.capcha-word {
|
||||||
|
background-color: #ccc;
|
||||||
|
letter-spacing: 0.3em;
|
||||||
|
padding: .525rem .7rem;
|
||||||
|
}
|
||||||
|
.article,
|
||||||
|
.pagination {
|
||||||
|
margin-bottom: 4rem;
|
||||||
|
}
|
||||||
|
.article.static {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
.pagination a {
|
||||||
|
background-color: #258fd6;
|
||||||
|
color: #fff;
|
||||||
|
padding: .525rem .7rem;
|
||||||
|
}
|
||||||
|
.pagination a:hover {
|
||||||
|
background-color: #3a6c96;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.pagination span:first-letter,
|
||||||
|
.pagination a:first-letter {
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
.p_first,
|
||||||
|
.p_prev,
|
||||||
|
.p_current,
|
||||||
|
.p_next,
|
||||||
|
.p_last {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.aside {
|
||||||
|
padding-left: 3rem;
|
||||||
|
}
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.aside {
|
||||||
|
margin-top: 2rem;
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.aside h3 {
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-top: 2rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
.aside ul {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.aside li:first-letter {
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list {
|
||||||
|
list-style-type: none;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-1 {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-2 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-3 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-4 {
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-5 {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-6 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-7 {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-8 {
|
||||||
|
font-size: 1.7rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-9 {
|
||||||
|
font-size: 1.8rem
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-10 {
|
||||||
|
font-size: 1.9rem;
|
||||||
|
}
|
||||||
|
.aside ul.tag-list li.tag-size-max {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
.footer {
|
||||||
|
border-top: 3px solid #444;
|
||||||
|
padding: 2rem 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.footer p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
|
@ -1,12 +1,10 @@
|
||||||
<?php include(dirname(__FILE__).'/header.php'); ?>
|
<?php include(dirname(__FILE__).'/header.php'); ?>
|
||||||
|
|
||||||
<section>
|
<main class="main grid" role="main">
|
||||||
|
|
||||||
<div id="container">
|
<section class="col sml-12 med-8">
|
||||||
|
|
||||||
<div class="width-sidebar">
|
<article class="article" role="article">
|
||||||
|
|
||||||
<article role="article">
|
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>
|
<h1>
|
||||||
|
@ -22,12 +20,11 @@
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
||||||
|
|
||||||
</div>
|
</main>
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,23 @@
|
||||||
<?php if (!defined('PLX_ROOT')) exit; ?>
|
<?php if (!defined('PLX_ROOT')) exit; ?>
|
||||||
|
|
||||||
<footer role="contentinfo">
|
<footer class="footer" role="contentinfo">
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<?php $plxShow->mainTitle('link'); ?> © 2014 - <?php $plxShow->subTitle(); ?>
|
© 2015 <?php $plxShow->mainTitle('link'); ?> -
|
||||||
</p>
|
<?php $plxShow->subTitle(); ?> -
|
||||||
<p>
|
<?php $plxShow->lang('POWERED_BY') ?> <a href="http://www.pluxml.org" title="<?php $plxShow->lang('PLUXML_DESCRIPTION') ?>">PluXml</a>
|
||||||
<?php $plxShow->lang('POWERED_BY') ?> <a href="http://www.pluxml.org" title="<?php $plxShow->lang('PLUXML_DESCRIPTION') ?>">PluXml</a>
|
<?php $plxShow->lang('IN') ?> <?php $plxShow->chrono(); ?>
|
||||||
<?php $plxShow->lang('IN') ?> <?php $plxShow->chrono(); ?>
|
|
||||||
<a rel="nofollow" href="<?php $plxShow->urlRewrite('core/admin/'); ?>" title="<?php $plxShow->lang('ADMINISTRATION') ?>"><?php $plxShow->lang('ADMINISTRATION') ?></a>
|
|
||||||
<a href="<?php $plxShow->urlRewrite('#top') ?>" title="<?php $plxShow->lang('GOTO_TOP') ?>"><?php $plxShow->lang('TOP') ?></a>
|
|
||||||
<?php $plxShow->httpEncoding() ?>
|
<?php $plxShow->httpEncoding() ?>
|
||||||
</p>
|
</p>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><a href="<?php $plxShow->racine() ?>"><?php $plxShow->lang('HOME'); ?></a></li>
|
||||||
|
<li><a href="<?php $plxShow->urlRewrite('#top') ?>" title="<?php $plxShow->lang('GOTO_TOP') ?>"><?php $plxShow->lang('TOP') ?></a></li>
|
||||||
|
<li><a rel="nofollow" href="<?php $plxShow->urlRewrite('core/admin/'); ?>" title="<?php $plxShow->lang('ADMINISTRATION') ?>"><?php $plxShow->lang('ADMINISTRATION') ?></a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
@ -2,43 +2,37 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<?php $plxShow->defaultLang() ?>">
|
<html lang="<?php $plxShow->defaultLang() ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="<?php $plxShow->charset('min'); ?>">
|
<meta charset="<?php $plxShow->charset('min'); ?>">
|
||||||
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0">
|
||||||
<title><?php $plxShow->pageTitle(); ?></title>
|
<title><?php $plxShow->pageTitle(); ?></title>
|
||||||
<?php $plxShow->meta('description') ?>
|
<?php $plxShow->meta('description') ?>
|
||||||
<?php $plxShow->meta('keywords') ?>
|
<?php $plxShow->meta('keywords') ?>
|
||||||
<?php $plxShow->meta('author') ?>
|
<?php $plxShow->meta('author') ?>
|
||||||
<link rel="icon" href="<?php $plxShow->template(); ?>/img/favicon.png" />
|
<link rel="icon" href="<?php $plxShow->template(); ?>/img/favicon.png" />
|
||||||
<link rel="stylesheet" href="<?php $plxShow->template(); ?>/css/reset.css" media="screen"/>
|
<link rel="stylesheet" href="<?php $plxShow->template(); ?>/css/plucss.css" media="screen"/>
|
||||||
<link rel="stylesheet" href="<?php $plxShow->template(); ?>/css/style.css" media="screen"/>
|
<link rel="stylesheet" href="<?php $plxShow->template(); ?>/css/theme.css" media="screen"/>
|
||||||
<?php $plxShow->templateCss() ?>
|
<?php $plxShow->templateCss() ?>
|
||||||
<?php $plxShow->pluginsCss() ?>
|
<?php $plxShow->pluginsCss() ?>
|
||||||
<link rel="alternate" type="application/rss+xml" title="<?php $plxShow->lang('ARTICLES_RSS_FEEDS') ?>" href="<?php $plxShow->urlRewrite('feed.php?rss') ?>" />
|
<link rel="alternate" type="application/rss+xml" title="<?php $plxShow->lang('ARTICLES_RSS_FEEDS') ?>" href="<?php $plxShow->urlRewrite('feed.php?rss') ?>" />
|
||||||
<link rel="alternate" type="application/rss+xml" title="<?php $plxShow->lang('COMMENTS_RSS_FEEDS') ?>" href="<?php $plxShow->urlRewrite('feed.php?rss/commentaires') ?>" />
|
<link rel="alternate" type="application/rss+xml" title="<?php $plxShow->lang('COMMENTS_RSS_FEEDS') ?>" href="<?php $plxShow->urlRewrite('feed.php?rss/commentaires') ?>" />
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="<?php $plxShow->template(); ?>/js/html5ie.js"></script>
|
|
||||||
<script src="<?php $plxShow->template(); ?>/js/respond.min.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="top">
|
<body id="top">
|
||||||
|
|
||||||
<nav role="navigation">
|
<div class="container">
|
||||||
|
|
||||||
<ul id="static-nav">
|
<header class="header sml-text-center med-text-left" role="banner">
|
||||||
<?php $plxShow->staticList($plxShow->getLang('HOME'),'<li id="#static_id"><a href="#static_url" class="#static_status" title="#static_name">#static_name</a></li>'); ?>
|
<h1 class="no-margin"><?php $plxShow->mainTitle('link'); ?></h1>
|
||||||
|
<h2 class="h5 no-margin"><?php $plxShow->subTitle(); ?></h2>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<nav class="nav" role="navigation">
|
||||||
|
<div class="responsive-menu">
|
||||||
|
<label for="menu"><?php $plxShow->lang('MENU'); ?></label>
|
||||||
|
<input type="checkbox" id="menu">
|
||||||
|
<ul class="menu expanded">
|
||||||
|
<?php $plxShow->staticList($plxShow->getLang('HOME'),'<li class="#static_status" id="#static_id"><a href="#static_url" title="#static_name">#static_name</a></li>'); ?>
|
||||||
<?php $plxShow->pageBlog('<li id="#page_id"><a class="#page_status" href="#page_url" title="#page_name">#page_name</a></li>'); ?>
|
<?php $plxShow->pageBlog('<li id="#page_id"><a class="#page_status" href="#page_url" title="#page_name">#page_name</a></li>'); ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<header role="banner">
|
|
||||||
|
|
||||||
<h1>
|
|
||||||
<?php $plxShow->mainTitle('link'); ?>
|
|
||||||
</h1>
|
|
||||||
<h2>
|
|
||||||
<?php $plxShow->subTitle(); ?>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
</header>
|
|
||||||
|
|
|
@ -1,24 +1,22 @@
|
||||||
<?php include(dirname(__FILE__).'/header.php'); ?>
|
<?php include(dirname(__FILE__).'/header.php'); ?>
|
||||||
|
|
||||||
<section>
|
<main class="main grid" role="main">
|
||||||
|
|
||||||
<div id="container">
|
<section class="col sml-12 med-8">
|
||||||
|
|
||||||
<div class="width-sidebar">
|
|
||||||
|
|
||||||
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
|
<?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?>
|
||||||
|
|
||||||
<article role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
<article class="article" role="article" id="post-<?php echo $plxShow->artId(); ?>">
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>
|
<h1>
|
||||||
<?php $plxShow->artTitle('link'); ?>
|
<?php $plxShow->artTitle('link'); ?>
|
||||||
</h1>
|
</h1>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?> -
|
<?php $plxShow->lang('WRITTEN_BY'); ?> <?php $plxShow->artAuthor() ?> -
|
||||||
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
<time datetime="<?php $plxShow->artDate('#num_year(4)-#num_month-#num_day'); ?>"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></time> -
|
||||||
<?php $plxShow->artNbCom(); ?>
|
<?php $plxShow->artNbCom(); ?>
|
||||||
</p>
|
</small>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -26,30 +24,28 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<small>
|
||||||
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat(); ?> -
|
<?php $plxShow->lang('CLASSIFIED_IN') ?> : <?php $plxShow->artCat() ?> -
|
||||||
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags(); ?>
|
<?php $plxShow->lang('TAGS') ?> : <?php $plxShow->artTags() ?>
|
||||||
</p>
|
</small>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
<div id="pagination">
|
<nav class="pagination text-center">
|
||||||
<?php $plxShow->pagination(); ?>
|
<?php $plxShow->pagination(); ?>
|
||||||
</div>
|
</nav>
|
||||||
|
|
||||||
<div class="rss">
|
<span>
|
||||||
<?php $plxShow->artFeed('rss',$plxShow->catId()); ?>
|
<?php $plxShow->artFeed('rss',$plxShow->catId()); ?>
|
||||||
</div>
|
</span>
|
||||||
|
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
<?php include(dirname(__FILE__).'/sidebar.php'); ?>
|
||||||
|
|
||||||
</div>
|
</main>
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
<?php include(dirname(__FILE__).'/footer.php'); ?>
|
||||||
|
|
Before Width: | Height: | Size: 691 B |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 251 B |
|
@ -1,7 +0,0 @@
|
||||||
document.createElement("header");
|
|
||||||
document.createElement("footer");
|
|
||||||
document.createElement("section");
|
|
||||||
document.createElement("aside");
|
|
||||||
document.createElement("nav");
|
|
||||||
document.createElement("article");
|
|
||||||
document.createElement("figure");
|
|
6
sources/themes/defaut/js/respond.min.js
vendored
|
@ -1,6 +0,0 @@
|
||||||
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
|
||||||
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
|
|
||||||
window.matchMedia=window.matchMedia||(function(e,f){var c,a=e.documentElement,b=a.firstElementChild||a.firstChild,d=e.createElement("body"),g=e.createElement("div");g.id="mq-test-1";g.style.cssText="position:absolute;top:-100em";d.style.background="none";d.appendChild(g);return function(h){g.innerHTML='­<style media="'+h+'"> #mq-test-1 { width: 42px; }</style>';a.insertBefore(d,b);c=g.offsetWidth==42;a.removeChild(d);return{matches:c,media:h}}})(document);
|
|
||||||
|
|
||||||
/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
|
|
||||||
(function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;for(;B<y;B++){A=D[B],z=A.href,C=A.media,x=A.rel&&A.rel.toLowerCase()==="stylesheet";if(!!z&&x&&!o[z]){if(A.styleSheet&&A.styleSheet.rawCssText){m(A.styleSheet.rawCssText,z,C);o[z]=true}else{if((!/^([a-zA-Z:]*\/\/)/.test(z)&&!g)||z.replace(RegExp.$1,"").split("/")[0]===e.location.host){d.push({href:z,media:C})}}}}u()},u=function(){if(d.length){var x=d.shift();n(x.href,function(y){m(y,x.href,x.media);o[x.href]=true;u()})}},m=function(I,x,z){var G=I.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),J=G&&G.length||0,x=x.substring(0,x.lastIndexOf("/")),y=function(K){return K.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+x+"$2$3")},A=!J&&z,D=0,C,E,F,B,H;if(x.length){x+="/"}if(A){J=1}for(;D<J;D++){C=0;if(A){E=z;k.push(y(I))}else{E=G[D].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;k.push(RegExp.$2&&y(RegExp.$2))}B=E.split(",");H=B.length;for(;C<H;C++){F=B[C];i.push({media:F.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:k.length-1,hasquery:F.indexOf("(")>-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body");x.style.background="none"}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l<h){clearTimeout(r);r=setTimeout(j,h);return}else{l=z}for(var E in i){var K=i[E],C=K.minw,J=K.maxw,A=C===null,L=J===null,y="em";if(!!C){C=parseFloat(C)*(C.indexOf(y)>-1?(p||v()):1)}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=function(x,z){var y=c();if(!y){return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4){return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})();a();respond.update=a;function t(){j(true)}if(e.addEventListener){e.addEventListener("resize",t,false)}else{if(e.attachEvent){e.attachEvent("onresize",t)}}})(this);
|
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Menü',
|
||||||
'HOME' => 'Startseite',
|
'HOME' => 'Startseite',
|
||||||
'GOTO_CONTENT' => 'Zum Inhalt',
|
'GOTO_CONTENT' => 'Zum Inhalt',
|
||||||
'GOTO_MENU' => 'Zum Menü',
|
'GOTO_MENU' => 'Zum Menü',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Menu',
|
||||||
'HOME' => 'Home',
|
'HOME' => 'Home',
|
||||||
'GOTO_CONTENT' => 'Goto content',
|
'GOTO_CONTENT' => 'Goto content',
|
||||||
'GOTO_MENU' => 'Goto menu',
|
'GOTO_MENU' => 'Goto menu',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Menú',
|
||||||
'HOME' => 'Inicio',
|
'HOME' => 'Inicio',
|
||||||
'GOTO_CONTENT' => 'Ir al contenido',
|
'GOTO_CONTENT' => 'Ir al contenido',
|
||||||
'GOTO_MENU' => 'Ir al menú',
|
'GOTO_MENU' => 'Ir al menú',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Menu',
|
||||||
'HOME' => 'Accueil',
|
'HOME' => 'Accueil',
|
||||||
'GOTO_CONTENT' => 'Aller au contenu',
|
'GOTO_CONTENT' => 'Aller au contenu',
|
||||||
'GOTO_MENU' => 'Aller au menu',
|
'GOTO_MENU' => 'Aller au menu',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Menu',
|
||||||
'HOME' => 'Home',
|
'HOME' => 'Home',
|
||||||
'GOTO_CONTENT' => 'Vai al contenuto',
|
'GOTO_CONTENT' => 'Vai al contenuto',
|
||||||
'GOTO_MENU' => 'Vai al menu',
|
'GOTO_MENU' => 'Vai al menu',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Menu',
|
||||||
'HOME' => 'Home',
|
'HOME' => 'Home',
|
||||||
'GOTO_CONTENT' => 'Ga naar inhoud',
|
'GOTO_CONTENT' => 'Ga naar inhoud',
|
||||||
'GOTO_MENU' => 'Ga naar menu',
|
'GOTO_MENU' => 'Ga naar menu',
|
||||||
|
|
51
sources/themes/defaut/lang/oc.php
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$LANG = array(
|
||||||
|
|
||||||
|
#header.php
|
||||||
|
'MENU' => 'Menu',
|
||||||
|
'HOME' => 'Acuèlh',
|
||||||
|
'GOTO_CONTENT' => 'Anar al contengut',
|
||||||
|
'GOTO_MENU' => 'Anar al menú',
|
||||||
|
'COMMENTS_RSS_FEEDS' => 'Fil Rss dels comentaris',
|
||||||
|
'COMMENTS' => 'Fil dels comentaris',
|
||||||
|
'ARTICLES_RSS_FEEDS' => 'Fil Rss dels articles',
|
||||||
|
'ARTICLES' => 'Fil dels articles',
|
||||||
|
|
||||||
|
# sidebar.php
|
||||||
|
'CATEGORIES' => 'Categorias',
|
||||||
|
'LATEST_ARTICLES' => 'Darrièrs articles',
|
||||||
|
'LATEST_COMMENTS' => 'Darrièrs comentaris',
|
||||||
|
'ARCHIVES' => 'Archius',
|
||||||
|
|
||||||
|
# footer.php
|
||||||
|
'POWERED_BY' => 'Generat per',
|
||||||
|
'PLUXML_DESCRIPTION' => 'Blòg o Cms sens basa de donadas',
|
||||||
|
'IN' => 'en',
|
||||||
|
'ADMINISTRATION' => 'Administracion',
|
||||||
|
'GOTO_TOP' => 'Pujar amont',
|
||||||
|
'TOP' => 'Naut de pagina',
|
||||||
|
|
||||||
|
# erreur.php
|
||||||
|
'ERROR' => 'La pagina qu’avètz demandada existís pas',
|
||||||
|
'BACKTO_HOME' => 'Tornar a la pagina d’acuèlh',
|
||||||
|
|
||||||
|
# common
|
||||||
|
'WRITTEN_BY' => 'Redigit per',
|
||||||
|
'CLASSIFIED_IN' => 'Classat dins',
|
||||||
|
'TAGS' => 'Mots claus',
|
||||||
|
|
||||||
|
# commentaires.php
|
||||||
|
'SAID' => 'a dich',
|
||||||
|
'WRITE_A_COMMENT' => 'Escriure un comentari',
|
||||||
|
'NAME' => 'Vòstre nom o pseudò',
|
||||||
|
'WEBSITE' => 'Vòstre siti Internet (facultatiu)',
|
||||||
|
'EMAIL' => 'Vòstre corric (facultatiu)',
|
||||||
|
'COMMENT' => 'Contengut de vòstre messatge',
|
||||||
|
'CLEAR' => 'Escafar',
|
||||||
|
'SEND' => 'Mandar vòstre comentari',
|
||||||
|
'COMMENTS_CLOSED' => 'Los comentaris son barrats',
|
||||||
|
'ANTISPAM_WARNING' => 'Verificacion anti-spam',
|
||||||
|
);
|
||||||
|
|
||||||
|
?>
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Menu',
|
||||||
'HOME' => 'Home',
|
'HOME' => 'Home',
|
||||||
'GOTO_CONTENT' => 'Do treści',
|
'GOTO_CONTENT' => 'Do treści',
|
||||||
'GOTO_MENU' => 'Do menu',
|
'GOTO_MENU' => 'Do menu',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Menu',
|
||||||
'HOME' => 'Início',
|
'HOME' => 'Início',
|
||||||
'GOTO_CONTENT' => 'Ir ao conteúdo',
|
'GOTO_CONTENT' => 'Ir ao conteúdo',
|
||||||
'GOTO_MENU' => 'Ir ao menu',
|
'GOTO_MENU' => 'Ir ao menu',
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$LANG = array(
|
$LANG = array(
|
||||||
|
|
||||||
#header.php
|
#header.php
|
||||||
|
'MENU' => 'Meniu',
|
||||||
'HOME' => 'Home',
|
'HOME' => 'Home',
|
||||||
'GOTO_CONTENT' => 'La conţinut',
|
'GOTO_CONTENT' => 'La conţinut',
|
||||||
'GOTO_MENU' => 'La meniu',
|
'GOTO_MENU' => 'La meniu',
|
||||||
|
|