fml fixes
This commit is contained in:
		@@ -137,6 +137,7 @@ class CustomUI {
 | 
				
			|||||||
			$domDocument = new \DOMDocument('1.0', $this->encoding);
 | 
								$domDocument = new \DOMDocument('1.0', $this->encoding);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		$xmlElement = $domDocument->createElement($this->tagName);
 | 
							$xmlElement = $domDocument->createElement($this->tagName);
 | 
				
			||||||
 | 
							$domDocument->appendChild($xmlElement);
 | 
				
			||||||
		$settings = $this->getSettings();
 | 
							$settings = $this->getSettings();
 | 
				
			||||||
		foreach ($settings as $setting => $value) {
 | 
							foreach ($settings as $setting => $value) {
 | 
				
			||||||
			if ($value === null) continue;
 | 
								if ($value === null) continue;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -404,7 +404,7 @@ if (Event.Control.HasClass(\"" . self::CLASS_PAGER . "\")) {
 | 
				
			|||||||
	 */
 | 
						 */
 | 
				
			||||||
	private function getProfileLabels() {
 | 
						private function getProfileLabels() {
 | 
				
			||||||
		$profileScript = "
 | 
							$profileScript = "
 | 
				
			||||||
if (Event.Control.HasClass(\"" . self::CLASS_PROFILE . "\") {
 | 
					if (Event.Control.HasClass(\"" . self::CLASS_PROFILE . "\")) {
 | 
				
			||||||
	declare Login = LocalUser.Login;
 | 
						declare Login = LocalUser.Login;
 | 
				
			||||||
	foreach (ControlClass in Event.Control.ControlClasses) {
 | 
						foreach (ControlClass in Event.Control.ControlClasses) {
 | 
				
			||||||
		declare ClassParts = TextLib::Split(\"-\", ControlClass);
 | 
							declare ClassParts = TextLib::Split(\"-\", ControlClass);
 | 
				
			||||||
@@ -426,7 +426,7 @@ if (Event.Control.HasClass(\"" . self::CLASS_PROFILE . "\") {
 | 
				
			|||||||
	 */
 | 
						 */
 | 
				
			||||||
	private function getMapInfoLabels() {
 | 
						private function getMapInfoLabels() {
 | 
				
			||||||
		$mapInfoScript = "
 | 
							$mapInfoScript = "
 | 
				
			||||||
if (Event.Control.HasClass(\"" . self::CLASS_MAPINFO . "\") {
 | 
					if (Event.Control.HasClass(\"" . self::CLASS_MAPINFO . "\")) {
 | 
				
			||||||
	ShowCurChallengeCard();
 | 
						ShowCurChallengeCard();
 | 
				
			||||||
}";
 | 
					}";
 | 
				
			||||||
		$mapInfoLabels = Builder::getLabelImplementationBlock(self::LABEL_MOUSECLICK, $mapInfoScript);
 | 
							$mapInfoLabels = Builder::getLabelImplementationBlock(self::LABEL_MOUSECLICK, $mapInfoScript);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user