';
		if($links_xml = simplexml_load_file(self::LINKS_FILE)){
			$links = $links_xml->label;
			foreach($links as $label){
				echo '
'.$label['id'].'
						 
						
';
			}
		}else{
			echo 'Can\'t find '.self::LINKS_FILE;
		}
		echo '
 ';
	}
	
	private function setParams($params){
		$this->params = $params;
	}
	
	public static function start($params){
		$links = new links($params);
	}
	
	public function setLink($link){
		// Saving the position and z-index of the note:
		$xmla = simplexml_load_file('../'.self::LINKS_FILE);
		$path = $xmla->xpath("//item[@id='weather']"); 
		$path[0]->x = $x;
		
		$xmla->asXML('../'.AccueilModules::CONFIG_FILE);
		
		echo "ok";
	}
	
	public static function updateConfig($updated){
		foreach ($updated as $what=>$withWhat){
			if(in_array($what, self::$paramsList)){
				call_user_func(array(get_class(), "set".ucfirst($what)), $withWhat);
			}
		}
	}
}