Completed
Pull Request — master (#2)
by Jimmy
1003:35 queued 970:52
created
includes/librairies/notices.class.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 /*	Check if file is include. No direct access possible with file url	*/
3
-if ( !defined( 'WPSHOP_VERSION' ) ) {
4
-	die( __('Access is not allowed by this way', 'wpshop') );
3
+if (!defined('WPSHOP_VERSION')) {
4
+	die(__('Access is not allowed by this way', 'wpshop'));
5 5
 }
6 6
 
7 7
 /**
@@ -19,59 +19,59 @@  discard block
 block discarded – undo
19 19
 * @package wpshop
20 20
 * @subpackage librairies
21 21
 */
22
-class wpshop_notices{
22
+class wpshop_notices {
23 23
 
24 24
 	/** Notice the user to install the plugin */
25 25
 	public static function sale_shop_notice() {
26
-		$plug_version = substr( WPSHOP_VERSION, 0, 5 );
26
+		$plug_version = substr(WPSHOP_VERSION, 0, 5);
27 27
 
28 28
 
29
-		$notice_display_user_option = get_user_meta( get_current_user_id(), '_wps_hide_notice_messages_indicator', true);
29
+		$notice_display_user_option = get_user_meta(get_current_user_id(), '_wps_hide_notice_messages_indicator', true);
30 30
 
31 31
 		$notice = '';
32 32
 		$messages_to_hide = '';
33 33
 		/* Check that the user has already choose a payment method */
34
-		$paymentMethod = get_option( 'wps_payment_mode' );
34
+		$paymentMethod = get_option('wps_payment_mode');
35 35
 		$no_payment_mode_configurated = true;
36
-		if ( !empty($paymentMethod ) && !empty($paymentMethod['mode']) ) {
37
-			foreach( $paymentMethod['mode'] as $k => $pm ) {
38
-				if ( !empty($pm['active'] ) ) {
36
+		if (!empty($paymentMethod) && !empty($paymentMethod['mode'])) {
37
+			foreach ($paymentMethod['mode'] as $k => $pm) {
38
+				if (!empty($pm['active'])) {
39 39
 					$no_payment_mode_configurated = false;
40 40
 				}
41 41
 			}
42 42
 		}
43 43
 
44
-		if( $no_payment_mode_configurated ) {
45
-			$notice .= '<li>' . __('Payment method are missing', 'wpshop') . '&nbsp;<a href="' . admin_url('options-general.php?page='.WPSHOP_URL_SLUG_OPTION.'#wpshop_payments_option') . '" class="button-primary wpshop_missing_parameters_button" >' . __('Choose a payment method', 'wpshop') . '</a></li>';
44
+		if ($no_payment_mode_configurated) {
45
+			$notice .= '<li>' . __('Payment method are missing', 'wpshop') . '&nbsp;<a href="' . admin_url('options-general.php?page=' . WPSHOP_URL_SLUG_OPTION . '#wpshop_payments_option') . '" class="button-primary wpshop_missing_parameters_button" >' . __('Choose a payment method', 'wpshop') . '</a></li>';
46 46
 		}
47 47
 
48 48
 		/* Check that the user has already choose a payment method */
49 49
 		$emails = get_option('wpshop_emails', array());
50
-		if(empty($emails)) {
51
-			$notice .= '<li>' . __('Shop emails are misssing', 'wpshop') . '&nbsp;<a href="' . admin_url('options-general.php?page='.WPSHOP_URL_SLUG_OPTION.'#wpshop_emails_option') . '" class="button-primary wpshop_missing_parameters_button" >' . __('Configure shop emails', 'wpshop') . '</a></li>';
50
+		if (empty($emails)) {
51
+			$notice .= '<li>' . __('Shop emails are misssing', 'wpshop') . '&nbsp;<a href="' . admin_url('options-general.php?page=' . WPSHOP_URL_SLUG_OPTION . '#wpshop_emails_option') . '" class="button-primary wpshop_missing_parameters_button" >' . __('Configure shop emails', 'wpshop') . '</a></li>';
52 52
 		}
53 53
 
54 54
 
55
-		$current_theme_option = get_option( 'current_theme' );
56
-		if ( !empty($cuurent_theme_option) && $cuurent_theme_option == 'SlickShop mini' && ( empty($notice_display_user_option) || !array_key_exists('SLICKSHOP', $notice_display_user_option) ) )  {
57
-			$notice .= '<li>' .__('Some changes on templates files have been made on WPSHOP 1.3.6.3. You must download Slickshop on <a href="http://www.wpshop.fr/myaccount/">your account on WPSHOP.FR</a>', 'wpshop').'</li>';
55
+		$current_theme_option = get_option('current_theme');
56
+		if (!empty($cuurent_theme_option) && $cuurent_theme_option == 'SlickShop mini' && (empty($notice_display_user_option) || !array_key_exists('SLICKSHOP', $notice_display_user_option))) {
57
+			$notice .= '<li>' . __('Some changes on templates files have been made on WPSHOP 1.3.6.3. You must download Slickshop on <a href="http://www.wpshop.fr/myaccount/">your account on WPSHOP.FR</a>', 'wpshop') . '</li>';
58 58
 			$messages_to_hide .= 'SLICKSHOP,';
59 59
 		}
60 60
 
61
-		$install = !empty( $_GET[ 'install' ] ) ? sanitize_text_field( $_GET[ 'install' ] ) : '';
61
+		$install = !empty($_GET['install']) ? sanitize_text_field($_GET['install']) : '';
62 62
 
63
-		if(!empty($notice) && ( empty( $install ) ) ) {
64
-			$notice='<p>'.__('You configure your shop to be a sale shop. But some configuration are missing for this type of shop using', 'wpshop').'</p><ul>'.$notice.'</ul>';
65
-			if ( !empty($messages_to_hide) ) {
66
-				$notice .= '<button class="wps_hide_notice_message button-secondary" id="wps_hide_notice_message">' .__('Hide this message', 'wpshop'). '</button>';
67
-				$notice .= '<input type="hidden" id="hide_messages_indicator" value="' .$messages_to_hide. '"/>';
63
+		if (!empty($notice) && (empty($install))) {
64
+			$notice = '<p>' . __('You configure your shop to be a sale shop. But some configuration are missing for this type of shop using', 'wpshop') . '</p><ul>' . $notice . '</ul>';
65
+			if (!empty($messages_to_hide)) {
66
+				$notice .= '<button class="wps_hide_notice_message button-secondary" id="wps_hide_notice_message">' . __('Hide this message', 'wpshop') . '</button>';
67
+				$notice .= '<input type="hidden" id="hide_messages_indicator" value="' . $messages_to_hide . '"/>';
68 68
 			}
69 69
 			self::admin_notice_container($notice, 'wpshop_shop_sale_type_notice');
70 70
 		}
71 71
 	}
72 72
 
73 73
 	/**		*/
74
-	public static function admin_notice_container($message, $container_class = ''){
74
+	public static function admin_notice_container($message, $container_class = '') {
75 75
 		?>
76 76
 		<div class="updated wpshop_admin_notice <?php echo $container_class; ?>" id="<?php echo $container_class; ?>" >
77 77
 			<h3><?php _e('Configure my shop', 'wpshop') ?></h3>
Please login to merge, or discard this patch.
includes/librairies/HTML2PDF/_tcpdf_5.0.002/config/lang/ger.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 /**
3 3
 * Plugin database options
4 4
 *
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.
includes/librairies/HTML2PDF/_tcpdf_5.0.002/config/lang/eng.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 /**
3 3
 * Plugin database options
4 4
 *
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.
includes/librairies/HTML2PDF/_tcpdf_5.0.002/config/lang/bra.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 /**
3 3
 * Plugin database options
4 4
 *
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.
includes/librairies/HTML2PDF/_tcpdf_5.0.002/config/lang/ita.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 /**
3 3
 * Plugin database options
4 4
 *
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.
includes/librairies/HTML2PDF/_tcpdf_5.0.002/fonts/msungstdlight.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 /**
3 3
 * Plugin database options
4 4
 *
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.
includes/librairies/HTML2PDF/_tcpdf_5.0.002/fonts/helveticabi.php 2 patches
Spacing   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -1,33 +1,33 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
  // core font definition file for TCPDF (www.tcpdf.org)
3
-$type='core';
4
-$dw=556;
5
-$cw=array(0=>278,1=>278,2=>278,3=>278,4=>278,5=>278,6=>278,7=>278,8=>278,9=>278,
6
-10=>278,11=>278,12=>278,13=>278,14=>278,15=>278,16=>278,17=>278,18=>278,19=>278,
7
-20=>278,21=>278,22=>278,23=>278,24=>278,25=>278,26=>278,27=>278,28=>278,29=>278,
8
-30=>278,31=>278,32=>278,33=>333,34=>474,35=>556,36=>556,37=>889,38=>722,39=>238,
9
-40=>333,41=>333,42=>389,43=>584,44=>278,45=>333,46=>278,47=>278,48=>556,49=>556,
10
-50=>556,51=>556,52=>556,53=>556,54=>556,55=>556,56=>556,57=>556,58=>333,59=>333,
11
-60=>584,61=>584,62=>584,63=>611,64=>975,65=>722,66=>722,67=>722,68=>722,69=>667,
12
-70=>611,71=>778,72=>722,73=>278,74=>556,75=>722,76=>611,77=>833,78=>722,79=>778,
13
-80=>667,81=>778,82=>722,83=>667,84=>611,85=>722,86=>667,87=>944,88=>667,89=>667,
14
-90=>611,91=>333,92=>278,93=>333,94=>584,95=>556,96=>333,97=>556,98=>611,99=>556,
15
-100=>611,101=>556,102=>333,103=>611,104=>611,105=>278,106=>278,107=>556,108=>278,
16
-109=>889,110=>611,111=>611,112=>611,113=>611,114=>389,115=>556,116=>333,117=>611,
17
-118=>556,119=>778,120=>556,121=>556,122=>500,123=>389,124=>280,125=>389,126=>584,
18
-127=>350,128=>556,129=>350,130=>278,131=>556,132=>500,133=>1000,134=>556,135=>556,
19
-136=>333,137=>1000,138=>667,139=>333,140=>1000,141=>350,142=>611,143=>350,144=>350,
20
-145=>278,146=>278,147=>500,148=>500,149=>350,150=>556,151=>1000,152=>333,153=>1000,
21
-154=>556,155=>333,156=>944,157=>350,158=>500,159=>667,160=>278,161=>333,162=>556,
22
-163=>556,164=>556,165=>556,166=>280,167=>556,168=>333,169=>737,170=>370,171=>556,
23
-172=>584,173=>333,174=>737,175=>333,176=>400,177=>584,178=>333,179=>333,180=>333,
24
-181=>611,182=>556,183=>278,184=>333,185=>333,186=>365,187=>556,188=>834,189=>834,
25
-190=>834,191=>611,192=>722,193=>722,194=>722,195=>722,196=>722,197=>722,198=>1000,
26
-199=>722,200=>667,201=>667,202=>667,203=>667,204=>278,205=>278,206=>278,207=>278,
27
-208=>722,209=>722,210=>778,211=>778,212=>778,213=>778,214=>778,215=>584,216=>778,
28
-217=>722,218=>722,219=>722,220=>722,221=>667,222=>667,223=>611,224=>556,225=>556,
29
-226=>556,227=>556,228=>556,229=>556,230=>889,231=>556,232=>556,233=>556,234=>556,
30
-235=>556,236=>278,237=>278,238=>278,239=>278,240=>611,241=>611,242=>611,243=>611,
31
-244=>611,245=>611,246=>611,247=>584,248=>611,249=>611,250=>611,251=>611,252=>611,
32
-253=>556,254=>611,255=>556);
3
+$type = 'core';
4
+$dw = 556;
5
+$cw = array(0=>278, 1=>278, 2=>278, 3=>278, 4=>278, 5=>278, 6=>278, 7=>278, 8=>278, 9=>278,
6
+10=>278, 11=>278, 12=>278, 13=>278, 14=>278, 15=>278, 16=>278, 17=>278, 18=>278, 19=>278,
7
+20=>278, 21=>278, 22=>278, 23=>278, 24=>278, 25=>278, 26=>278, 27=>278, 28=>278, 29=>278,
8
+30=>278, 31=>278, 32=>278, 33=>333, 34=>474, 35=>556, 36=>556, 37=>889, 38=>722, 39=>238,
9
+40=>333, 41=>333, 42=>389, 43=>584, 44=>278, 45=>333, 46=>278, 47=>278, 48=>556, 49=>556,
10
+50=>556, 51=>556, 52=>556, 53=>556, 54=>556, 55=>556, 56=>556, 57=>556, 58=>333, 59=>333,
11
+60=>584, 61=>584, 62=>584, 63=>611, 64=>975, 65=>722, 66=>722, 67=>722, 68=>722, 69=>667,
12
+70=>611, 71=>778, 72=>722, 73=>278, 74=>556, 75=>722, 76=>611, 77=>833, 78=>722, 79=>778,
13
+80=>667, 81=>778, 82=>722, 83=>667, 84=>611, 85=>722, 86=>667, 87=>944, 88=>667, 89=>667,
14
+90=>611, 91=>333, 92=>278, 93=>333, 94=>584, 95=>556, 96=>333, 97=>556, 98=>611, 99=>556,
15
+100=>611, 101=>556, 102=>333, 103=>611, 104=>611, 105=>278, 106=>278, 107=>556, 108=>278,
16
+109=>889, 110=>611, 111=>611, 112=>611, 113=>611, 114=>389, 115=>556, 116=>333, 117=>611,
17
+118=>556, 119=>778, 120=>556, 121=>556, 122=>500, 123=>389, 124=>280, 125=>389, 126=>584,
18
+127=>350, 128=>556, 129=>350, 130=>278, 131=>556, 132=>500, 133=>1000, 134=>556, 135=>556,
19
+136=>333, 137=>1000, 138=>667, 139=>333, 140=>1000, 141=>350, 142=>611, 143=>350, 144=>350,
20
+145=>278, 146=>278, 147=>500, 148=>500, 149=>350, 150=>556, 151=>1000, 152=>333, 153=>1000,
21
+154=>556, 155=>333, 156=>944, 157=>350, 158=>500, 159=>667, 160=>278, 161=>333, 162=>556,
22
+163=>556, 164=>556, 165=>556, 166=>280, 167=>556, 168=>333, 169=>737, 170=>370, 171=>556,
23
+172=>584, 173=>333, 174=>737, 175=>333, 176=>400, 177=>584, 178=>333, 179=>333, 180=>333,
24
+181=>611, 182=>556, 183=>278, 184=>333, 185=>333, 186=>365, 187=>556, 188=>834, 189=>834,
25
+190=>834, 191=>611, 192=>722, 193=>722, 194=>722, 195=>722, 196=>722, 197=>722, 198=>1000,
26
+199=>722, 200=>667, 201=>667, 202=>667, 203=>667, 204=>278, 205=>278, 206=>278, 207=>278,
27
+208=>722, 209=>722, 210=>778, 211=>778, 212=>778, 213=>778, 214=>778, 215=>584, 216=>778,
28
+217=>722, 218=>722, 219=>722, 220=>722, 221=>667, 222=>667, 223=>611, 224=>556, 225=>556,
29
+226=>556, 227=>556, 228=>556, 229=>556, 230=>889, 231=>556, 232=>556, 233=>556, 234=>556,
30
+235=>556, 236=>278, 237=>278, 238=>278, 239=>278, 240=>611, 241=>611, 242=>611, 243=>611,
31
+244=>611, 245=>611, 246=>611, 247=>584, 248=>611, 249=>611, 250=>611, 251=>611, 252=>611,
32
+253=>556, 254=>611, 255=>556);
33 33
 ?>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.
includes/librairies/HTML2PDF/_tcpdf_5.0.002/fonts/stsongstdlight.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 /**
3 3
 * Plugin database options
4 4
 *
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.
includes/librairies/HTML2PDF/_tcpdf_5.0.002/fonts/helvetica.php 2 patches
Spacing   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -1,33 +1,33 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
  // core font definition file for TCPDF (www.tcpdf.org)
3
-$type='core';
4
-$dw=556;
5
-$cw=array(0=>278,1=>278,2=>278,3=>278,4=>278,5=>278,6=>278,7=>278,8=>278,9=>278,
6
-10=>278,11=>278,12=>278,13=>278,14=>278,15=>278,16=>278,17=>278,18=>278,19=>278,
7
-20=>278,21=>278,22=>278,23=>278,24=>278,25=>278,26=>278,27=>278,28=>278,29=>278,
8
-30=>278,31=>278,32=>278,33=>278,34=>355,35=>556,36=>556,37=>889,38=>667,39=>191,
9
-40=>333,41=>333,42=>389,43=>584,44=>278,45=>333,46=>278,47=>278,48=>556,49=>556,
10
-50=>556,51=>556,52=>556,53=>556,54=>556,55=>556,56=>556,57=>556,58=>278,59=>278,
11
-60=>584,61=>584,62=>584,63=>556,64=>1015,65=>667,66=>667,67=>722,68=>722,69=>667,
12
-70=>611,71=>778,72=>722,73=>278,74=>500,75=>667,76=>556,77=>833,78=>722,79=>778,
13
-80=>667,81=>778,82=>722,83=>667,84=>611,85=>722,86=>667,87=>944,88=>667,89=>667,
14
-90=>611,91=>278,92=>278,93=>278,94=>469,95=>556,96=>333,97=>556,98=>556,99=>500,
15
-100=>556,101=>556,102=>278,103=>556,104=>556,105=>222,106=>222,107=>500,108=>222,
16
-109=>833,110=>556,111=>556,112=>556,113=>556,114=>333,115=>500,116=>278,117=>556,
17
-118=>500,119=>722,120=>500,121=>500,122=>500,123=>334,124=>260,125=>334,126=>584,
18
-127=>350,128=>556,129=>350,130=>222,131=>556,132=>333,133=>1000,134=>556,135=>556,
19
-136=>333,137=>1000,138=>667,139=>333,140=>1000,141=>350,142=>611,143=>350,144=>350,
20
-145=>222,146=>222,147=>333,148=>333,149=>350,150=>556,151=>1000,152=>333,153=>1000,
21
-154=>500,155=>333,156=>944,157=>350,158=>500,159=>667,160=>278,161=>333,162=>556,
22
-163=>556,164=>556,165=>556,166=>260,167=>556,168=>333,169=>737,170=>370,171=>556,
23
-172=>584,173=>333,174=>737,175=>333,176=>400,177=>584,178=>333,179=>333,180=>333,
24
-181=>556,182=>537,183=>278,184=>333,185=>333,186=>365,187=>556,188=>834,189=>834,
25
-190=>834,191=>611,192=>667,193=>667,194=>667,195=>667,196=>667,197=>667,198=>1000,
26
-199=>722,200=>667,201=>667,202=>667,203=>667,204=>278,205=>278,206=>278,207=>278,
27
-208=>722,209=>722,210=>778,211=>778,212=>778,213=>778,214=>778,215=>584,216=>778,
28
-217=>722,218=>722,219=>722,220=>722,221=>667,222=>667,223=>611,224=>556,225=>556,
29
-226=>556,227=>556,228=>556,229=>556,230=>889,231=>500,232=>556,233=>556,234=>556,
30
-235=>556,236=>278,237=>278,238=>278,239=>278,240=>556,241=>556,242=>556,243=>556,
31
-244=>556,245=>556,246=>556,247=>584,248=>611,249=>556,250=>556,251=>556,252=>556,
32
-253=>500,254=>556,255=>500);
3
+$type = 'core';
4
+$dw = 556;
5
+$cw = array(0=>278, 1=>278, 2=>278, 3=>278, 4=>278, 5=>278, 6=>278, 7=>278, 8=>278, 9=>278,
6
+10=>278, 11=>278, 12=>278, 13=>278, 14=>278, 15=>278, 16=>278, 17=>278, 18=>278, 19=>278,
7
+20=>278, 21=>278, 22=>278, 23=>278, 24=>278, 25=>278, 26=>278, 27=>278, 28=>278, 29=>278,
8
+30=>278, 31=>278, 32=>278, 33=>278, 34=>355, 35=>556, 36=>556, 37=>889, 38=>667, 39=>191,
9
+40=>333, 41=>333, 42=>389, 43=>584, 44=>278, 45=>333, 46=>278, 47=>278, 48=>556, 49=>556,
10
+50=>556, 51=>556, 52=>556, 53=>556, 54=>556, 55=>556, 56=>556, 57=>556, 58=>278, 59=>278,
11
+60=>584, 61=>584, 62=>584, 63=>556, 64=>1015, 65=>667, 66=>667, 67=>722, 68=>722, 69=>667,
12
+70=>611, 71=>778, 72=>722, 73=>278, 74=>500, 75=>667, 76=>556, 77=>833, 78=>722, 79=>778,
13
+80=>667, 81=>778, 82=>722, 83=>667, 84=>611, 85=>722, 86=>667, 87=>944, 88=>667, 89=>667,
14
+90=>611, 91=>278, 92=>278, 93=>278, 94=>469, 95=>556, 96=>333, 97=>556, 98=>556, 99=>500,
15
+100=>556, 101=>556, 102=>278, 103=>556, 104=>556, 105=>222, 106=>222, 107=>500, 108=>222,
16
+109=>833, 110=>556, 111=>556, 112=>556, 113=>556, 114=>333, 115=>500, 116=>278, 117=>556,
17
+118=>500, 119=>722, 120=>500, 121=>500, 122=>500, 123=>334, 124=>260, 125=>334, 126=>584,
18
+127=>350, 128=>556, 129=>350, 130=>222, 131=>556, 132=>333, 133=>1000, 134=>556, 135=>556,
19
+136=>333, 137=>1000, 138=>667, 139=>333, 140=>1000, 141=>350, 142=>611, 143=>350, 144=>350,
20
+145=>222, 146=>222, 147=>333, 148=>333, 149=>350, 150=>556, 151=>1000, 152=>333, 153=>1000,
21
+154=>500, 155=>333, 156=>944, 157=>350, 158=>500, 159=>667, 160=>278, 161=>333, 162=>556,
22
+163=>556, 164=>556, 165=>556, 166=>260, 167=>556, 168=>333, 169=>737, 170=>370, 171=>556,
23
+172=>584, 173=>333, 174=>737, 175=>333, 176=>400, 177=>584, 178=>333, 179=>333, 180=>333,
24
+181=>556, 182=>537, 183=>278, 184=>333, 185=>333, 186=>365, 187=>556, 188=>834, 189=>834,
25
+190=>834, 191=>611, 192=>667, 193=>667, 194=>667, 195=>667, 196=>667, 197=>667, 198=>1000,
26
+199=>722, 200=>667, 201=>667, 202=>667, 203=>667, 204=>278, 205=>278, 206=>278, 207=>278,
27
+208=>722, 209=>722, 210=>778, 211=>778, 212=>778, 213=>778, 214=>778, 215=>584, 216=>778,
28
+217=>722, 218=>722, 219=>722, 220=>722, 221=>667, 222=>667, 223=>611, 224=>556, 225=>556,
29
+226=>556, 227=>556, 228=>556, 229=>556, 230=>889, 231=>500, 232=>556, 233=>556, 234=>556,
30
+235=>556, 236=>278, 237=>278, 238=>278, 239=>278, 240=>556, 241=>556, 242=>556, 243=>556,
31
+244=>556, 245=>556, 246=>556, 247=>584, 248=>611, 249=>556, 250=>556, 251=>556, 252=>556,
32
+253=>500, 254=>556, 255=>500);
33 33
 ?>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /**
3 5
  * Fichier de définition du modèle des taxinomies / File for term model definition
4 6
  *
Please login to merge, or discard this patch.