Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug js 1 #264

Merged
merged 15 commits into from
Dec 5, 2017
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/data/
/plugins/
!/themes/defaut/
/data/
/plugins/
!/themes/defaut/
/themes/
4 changes: 2 additions & 2 deletions config.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
define('PLX_CONFIG_PATH', 'data/configuration/');
<?php
define('PLX_CONFIG_PATH', 'data/configuration/');
?>
2 changes: 1 addition & 1 deletion core/admin/article.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
$art['thumbnail'] = $_POST['thumbnail'];
$art['thumbnail_title'] = $_POST['thumbnail_title'];
$art['thumbnail_alt'] = $_POST['thumbnail_alt'];
$art['categorie'] = '';
$art['categorie'] = '000';
if(!empty($_POST['catId'])) {
$array=array();
foreach($_POST['catId'] as $k => $v) {
Expand Down
8 changes: 7 additions & 1 deletion core/admin/categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
}

# Tableau du tri
$aTri = array('desc'=>L_SORT_DESCENDING_DATE, 'asc'=>L_SORT_ASCENDING_DATE, 'alpha'=>L_SORT_ALPHABETICAL,'random'=>L_SORT_RANDOM);
$aTri = array(
'desc' => L_SORT_DESCENDING_DATE,
'asc' => L_SORT_ASCENDING_DATE,
'alpha' => L_SORT_ALPHABETICAL,
'ralpha' => L_SORT_REVERSE_ALPHABETICAL,
'random' => L_SORT_RANDOM
);

# On inclut le header
include(dirname(__FILE__).'/top.php');
Expand Down
5 changes: 4 additions & 1 deletion core/admin/medias.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@
<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'] ?>
<?php echo L_MEDIAS_MAX_UPLOAD_NBFILE ?> : <?php echo ini_get('max_file_uploads') ?>
</p>
<p>
<?php echo L_MEDIAS_MAX_UPLOAD_FILE ?> : <?php echo $plxMedias->maxUpload['display'] ?>
<?php if($plxMedias->maxPost['value'] > 0) echo " / ".L_MEDIAS_MAX_POST_SIZE." : ".$plxMedias->maxPost['display']; ?>
</p>

Expand Down
9 changes: 8 additions & 1 deletion core/admin/parametres_affichage.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@
if(empty($aTemplates)) $aTemplates[''] = L_NONE1;

# Tableau du tri
$aTriArts = array('desc'=>L_SORT_DESCENDING_DATE, 'asc'=>L_SORT_ASCENDING_DATE, 'alpha'=>L_SORT_ALPHABETICAL,'random'=>L_SORT_RANDOM);
$aTriArts = array(
'desc' => L_SORT_DESCENDING_DATE,
'asc' => L_SORT_ASCENDING_DATE,
'alpha' => L_SORT_ALPHABETICAL,
'ralpha' => L_SORT_REVERSE_ALPHABETICAL,
'random' => L_SORT_RANDOM
);

$aTriComs = array('desc'=>L_SORT_DESCENDING_DATE, 'asc'=>L_SORT_ASCENDING_DATE);

# On va tester les variables pour les images et miniatures
Expand Down
1 change: 1 addition & 0 deletions core/admin/parametres_infos.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_statiques']); ?>
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['medias']); ?>
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_plugins']); ?>
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_themes']); ?>
<?php plxUtils::testModReWrite() ?>
<?php plxUtils::testLibGD() ?>
<?php plxUtils::testLibXml() ?>
Expand Down
Loading