Subversion Repositories Applications.projet

Rev

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

Rev 359 Rev 394
Line 231... Line 231...
231
 
231
 
232
		if ($short) {
232
		if ($short) {
233
			$outstr = preg_replace("/<.*>/", '', $outstr);
233
			$outstr = preg_replace("/<.*>/", '', $outstr);
234
			$outstr = preg_replace("/[\"']/", '', $outstr);
234
			$outstr = preg_replace("/[\"']/", '', $outstr);
-
 
235
		}
-
 
236
 
-
 
237
		$points_sep = explode('.',$outstr);
-
 
238
		if(count($points_sep) > 2) {
-
 
239
			$outstr = implode('.', array_slice($points_sep,0,count($points_sep) - 2));
-
 
240
			$outstr = rtrim($outstr, '.').'...';
235
		}
241
		}
236
		return trim($outstr);
242
		return trim($outstr);
Line 237... Line 243...
237
	}
243
	}
238
 
244