File tree 7 files changed +10
-9
lines changed
7 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 16
16
define('NIBBLEBLOG_VERSION', '4.0.1');
17
17
define('NIBBLEBLOG_NAME', 'Coffee');
18
18
define('NIBBLEBLOG_RELEASE_DATE', '14/02/2014');
19
- define('NIBBLEBLOG_BUILD', 1392406951 );
19
+ define('NIBBLEBLOG_BUILD', 2392406951 );
20
20
21
21
// =====================================================================
22
22
// DEBUG
Original file line number Diff line number Diff line change @@ -36,12 +36,13 @@ function post_to_json($post, $tojson=true)
36
36
37
37
// Category
38
38
$ category = $ _DB_CATEGORIES ->get ( array ('id ' =>$ post ['id_cat ' ]) );
39
- array_push ($ post ['tags ' ], $ category ['name ' ]);
39
+ array_push ($ post ['tags ' ], array ('name ' =>$ category ['name ' ], 'name_human ' =>$ category ['name ' ]));
40
+
40
41
/*
41
42
The above array_push line may need to be rewritten.
42
43
43
44
$post['tags'] now has the following structure...
44
-
45
+
45
46
Array
46
47
(
47
48
[0] => Array
@@ -55,7 +56,7 @@ function post_to_json($post, $tojson=true)
55
56
[name_human] => ice cream
56
57
)
57
58
)
58
-
59
+
59
60
*/
60
61
61
62
// Content
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ $_PLUGIN_CONFIG['LANG'] = array(
6
6
'FULL_NAME'=>'Nom complet',
7
7
'ABOUT'=>'À Propos',
8
8
'PICTURE'=>'Image',
9
- 'SUPPORT_JPG_AND_PNG_IMAGES'=>'Supporte les formats d'images JPG et PNG. L'image sera redimensionnée en 200x200px.'
9
+ 'SUPPORT_JPG_AND_PNG_IMAGES'=>'Supporte les formats d\ 'images JPG et PNG. L\ 'image sera redimensionnée en 200x200px.'
10
10
);
11
11
12
12
?>
Original file line number Diff line number Diff line change 2
2
3
3
$_PLUGIN_CONFIG['LANG'] = array(
4
4
'NAME'=>'Catégories',
5
- 'DESCRIPTION'=>'Affiche toutes les catégories de votre blog et permet à l'utilisateur de filtrer les messages par catégorie.'
5
+ 'DESCRIPTION'=>'Affiche toutes les catégories de votre blog et permet à l\ 'utilisateur de filtrer les messages par catégorie.'
6
6
);
7
7
8
8
?>
Original file line number Diff line number Diff line change 2
2
3
3
$_PLUGIN_CONFIG['LANG'] = array(
4
4
'NAME'=>'Code HTML',
5
- 'DESCRIPTION'=>'Ce plugin vous permet d'intégrer du code HTML dans votre blog.',
5
+ 'DESCRIPTION'=>'Ce plugin vous permet d\ 'intégrer du code HTML dans votre blog.',
6
6
'HTML_CODE'=>'Code HTML'
7
7
);
8
8
Original file line number Diff line number Diff line change 2
2
3
3
$_PLUGIN_CONFIG['LANG'] = array(
4
4
'NAME'=>'Navigation rapide',
5
- 'DESCRIPTION'=>'Accès rapide au panneau d'administration.',
5
+ 'DESCRIPTION'=>'Accès rapide au panneau d\ 'administration.',
6
6
'HOME'=>'Accueil',
7
7
'DASHBOARD'=>'tableau de bord',
8
8
'NEW_SIMPLE_POST'=>'Nouveau billet simple',
Original file line number Diff line number Diff line change 2
2
3
3
$_PLUGIN_CONFIG['LANG'] = array(
4
4
'NAME'=>'Sponsors',
5
- 'DESCRIPTION'=>'Ajouter la publicité sur votre blog. Vous pouvez ajouter les annonces Google Adsense ou bien celles d'un autre sponsor.',
5
+ 'DESCRIPTION'=>'Ajouter la publicité sur votre blog. Vous pouvez ajouter les annonces Google Adsense ou bien celles d\ 'un autre sponsor.',
6
6
'SPONSOR_CODE'=>'Code de votre Sponsor'
7
7
);
8
8
You can’t perform that action at this time.
0 commit comments