Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2600 Rev 2614
Line 10... Line 10...
10
import com.google.gwt.json.client.JSONObject;
10
import com.google.gwt.json.client.JSONObject;
11
import com.google.gwt.json.client.JSONParser;
11
import com.google.gwt.json.client.JSONParser;
12
import com.google.gwt.json.client.JSONValue;
12
import com.google.gwt.json.client.JSONValue;
13
import com.google.gwt.user.client.Window;
13
import com.google.gwt.user.client.Window;
14
import com.google.gwt.user.client.Window.Location;
14
import com.google.gwt.user.client.Window.Location;
-
 
15
import com.sun.org.apache.bcel.internal.generic.RETURN;
Line 15... Line 16...
15
 
16
 
16
/**
17
/**
17
 * Classe chargeant certains paramètres de configuration à partir d'un fichier
18
 * Classe chargeant certains paramètres de configuration à partir d'un fichier
18
 * javascript (config.js)
19
 * javascript (config.js)
Line 72... Line 73...
72
	private static String wikiDescriptionChampsEtendusRestUrl = "";
73
	private static String wikiDescriptionChampsEtendusRestUrl = "";
Line 73... Line 74...
73
	
74
	
Line 74... Line 75...
74
	private static String wikiDescriptionChampsEtendusRestUrlOptions = "";
75
	private static String wikiDescriptionChampsEtendusRestUrlOptions = "";
-
 
76
	
-
 
77
	private static String wikiDescriptionChampsEtendusUrlOptionsPageTpl = "";
-
 
78
	
-
 
79
	private static String langueDefaut = "";
Line 75... Line 80...
75
	
80
	
76
	private static String wikiDescriptionChampsEtendusUrlOptionsPageTpl = "";
81
	private static String languesDisponibles = "";
77
 
82
 
78
	/**
83
	/**
Line 147... Line 152...
147
			"wikiDescriptionChampsEtendusRestUrlOptions");
152
			"wikiDescriptionChampsEtendusRestUrlOptions");
Line 148... Line 153...
148
			
153
			
149
			wikiDescriptionChampsEtendusUrlOptionsPageTpl = Dictionary.getDictionary("configuration").get(
154
			wikiDescriptionChampsEtendusUrlOptionsPageTpl = Dictionary.getDictionary("configuration").get(
Line -... Line 155...
-
 
155
			"wikiDescriptionChampsEtendusUrlOptionsPageTpl");
-
 
156
			
-
 
157
			langueDefaut = Dictionary.getDictionary("configuration").get("langueDefaut");
-
 
158
			
150
			"wikiDescriptionChampsEtendusUrlOptionsPageTpl");
159
			languesDisponibles = Dictionary.getDictionary("configuration").get("languesDisponibles");
151
			
160
			
152
			// Pour test, l'activation de l'ajout des champs étendus est activable ou désactivable par 
161
			// Pour test, l'activation de l'ajout des champs étendus est activable ou désactivable par 
153
			// l'url 
162
			// l'url 
154
			if(Location.getParameter("activerSaisieChampsEtendus") != null) {
163
			if(Location.getParameter("activerSaisieChampsEtendus") != null) {
Line 299... Line 308...
299
	}
308
	}
Line 300... Line 309...
300
	
309
	
301
	public static String getWikiDescriptionChampsEtendusUrlOptionsPageTpl() {
310
	public static String getWikiDescriptionChampsEtendusUrlOptionsPageTpl() {
302
		return wikiDescriptionChampsEtendusUrlOptionsPageTpl;
311
		return wikiDescriptionChampsEtendusUrlOptionsPageTpl;
-
 
312
	}
-
 
313
	
-
 
314
	
-
 
315
	public static String getLangueDefaut() {
-
 
316
		return langueDefaut;
-
 
317
	}
-
 
318
	
-
 
319
	public static String getLanguesDisponibles() {
-
 
320
		return languesDisponibles;
303
	}
321
	}