Subversion Repositories eFlore/Applications.cel

Rev

Rev 1670 | Rev 2585 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1670 Rev 1900
Line 174... Line 174...
174
		    			if (preg_match('/\[nn([0-9]+)\]/', $entree->title, $match)) {
174
		    			if (preg_match('/\[nn([0-9]+)\]/', $entree->title, $match)) {
175
		    				$item['nn'] = $match[1];
175
		    				$item['nn'] = $match[1];
176
		    				$item['eflore_url'] = $item['lien'] ;
176
		    				$item['eflore_url'] = $item['lien'] ;
177
		    			}
177
		    			}
Line 178... Line 178...
178
		    			
178
		    			
179
						// Récupération du GUID
179
						// Récupération du GUID - aaaaah c'est cracra si on change la config yatoukipett !! Satan is in this code !!!
180
						if (preg_match('/appli:cel-img:([0-9]+)[^.]+\.jpg$/', $entree->guid, $match)) {
180
						if (preg_match($this->config['photo']['motif_guid'], $entree->guid, $match)) {
181
		  					$item['guid'] = (int) $match[1];
181
		  					$item['guid'] = (int) $match[1];
182
						} else {
182
						} else {
183
							$item['guid'] = $entree->guid;
183
							$item['guid'] = $entree->guid;