Pārlūkot izejas kodu

Enhanced Theme: Remove redundant app_languages include (fixes issue with Domain Selector).

Nate Jones 10 gadi atpakaļ
vecāks
revīzija
c46efef966
1 mainītis faili ar 0 papildinājumiem un 7 dzēšanām
  1. 0 7
      themes/enhanced/template.php

+ 0 - 7
themes/enhanced/template.php

@@ -1126,13 +1126,6 @@ if (strlen($_SESSION['message']) > 0) {
 	<?php
 	<?php
 	//logged in show the domains block
 	//logged in show the domains block
 	if (strlen($_SESSION["username"]) > 0 && permission_exists("domain_select") && count($_SESSION['domains']) > 1) {
 	if (strlen($_SESSION["username"]) > 0 && permission_exists("domain_select") && count($_SESSION['domains']) > 1) {
-
-		//add multi-lingual support
-		require_once "themes/enhanced/app_languages.php";
-		foreach($text as $key => $value) {
-			$text[$key] = $value[$_SESSION['domain']['language']['code']];
-		}
-
 		?>
 		?>
 		<div id="domains_container">
 		<div id="domains_container">
 			<input type="hidden" id="domains_visible" value="0">
 			<input type="hidden" id="domains_visible" value="0">