diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php
index 985e3bb9f..df83c2800 100644
--- a/e107_handlers/theme_handler.php
+++ b/e107_handlers/theme_handler.php
@@ -91,7 +91,7 @@ class themeHandler
}
else
{
- $mes->addError("Could not change site theme."); // TODO LAN
+ $mes->addError(TPVLAN_86);
}
}
@@ -516,7 +516,7 @@ class themeHandler
// check for cURL
if(!function_exists(curl_init))
{
- $mes->addWarning("cURL is currently required to use this feature. Contact your webhosting provider to enable cURL"); // TODO LAN?
+ $mes->addWarning(TPVLAN_79);
}
// auth
@@ -662,7 +662,7 @@ class themeHandler
}
else
{
- $mes->addInfo("No Themes found which match your search criteria");
+ $mes->addInfo(TPVLAN_80);
}
$indicators = '
@@ -686,16 +686,6 @@ class themeHandler
-
-
-
-
-
-
-
-
-
-
function showThemes($mode = 'main')
{
global $pref;
@@ -828,8 +818,8 @@ class themeHandler
$website = ($theme['website'] ? "".$theme['website']."" : "");
$preview = "".($theme['preview'] ? "
" : "
")."";
$description = vartrue($theme['description'],'');
- $compat = (intval($theme['compatibility']) == 2) ? "".number_format($theme['compatibility'], 1, '.','')." Recommended!": vartrue(number_format($theme['compatibility'], 1, '.',''),'1.0');
- $price = (!empty($theme['price'])) ? " ".$theme['price']."" : "Free";
+ $compat = (intval($theme['compatibility']) == 2) ? "".number_format($theme['compatibility'], 1, '.','')." ".TPVLAN_78."": vartrue(number_format($theme['compatibility'], 1, '.',''),'1.0');
+ $price = (!empty($theme['price'])) ? " ".$theme['price']."" : "".TPVLAN_77."";
$text = "";
@@ -839,9 +829,9 @@ class themeHandler
$text .= $website ? "".TPVLAN_5.": | ".$website." |
" : "";
$text .= $theme['date'] ? "".TPVLAN_6.": | ".$theme['date']." |
" : "";
$text .= $compat ? "".TPVLAN_57.": | ".$compat." |
" : "";
- $text .= "Price: | ".$price." |
";
+ $text .= "".TPVLAN_75.": | ".$price." |
";
- $text .= $description ? "Description: | ".$description." |
" : "";
+ $text .= $description ? "".LAN_DESCRIPTION.": | ".$description." |
" : "";
// $text .= "".TPVLAN_49.": |
@@ -853,7 +843,7 @@ class themeHandler
if(vartrue($theme['category']))
{
- $text .= "
Category | ".$theme['category']." |
";
+ $text .= "".LAN_CATEGORY." | ".$theme['category']." |
";
}
@@ -869,11 +859,11 @@ class themeHandler
";
- $itext .= ($mode == 1) ? "Default | " : "";
+ $itext .= ($mode == 1) ? "".TPVLAN_55." | " : "";
$itext .= "
- Title |
- Requirements |
- Menu Preset |
+ ".LAN_TITLE." |
+ ".TPVLAN_78." |
+ ".TPVLAN_54." |
\n";
foreach ($theme['layouts'] as $key=>$val)
@@ -1004,7 +994,7 @@ class themeHandler
{
$mes = e107::getMessage();
- $mes->addDebug("Rendering Theme Config");
+ $mes->addDebug(TPVLAN_87);
$this->loadThemeConfig();
@@ -1090,7 +1080,7 @@ class themeHandler
$d = http_build_query($theme,false,'&');
$url = e_SELF."?src=".base64_encode($d);
$id = $frm->name2id($theme['name']);
- $LAN_DOWNLOAD = ($theme['price'] > 0) ? "Buy/Download" : "Download";
+ $LAN_DOWNLOAD = ($theme['price'] > 0) ? LAN_PURCHASE."/".LAN_DOWN_THEME : LAN_DOWN_THEME;
/*
if($this->mp->hasAuthKey())
@@ -1129,7 +1119,7 @@ class themeHandler
$previewPath = $theme['livedemo'];
}
- $price = (!empty($theme['price'])) ? "".$theme['price']."" : "".Free."";
+ $price = (!empty($theme['price'])) ? "".$theme['price']."" : "".TPVLAN_76."";
}
|