-
".$newpreview."
-
".$theme['name']." ".$theme['version']."
-
\n\n\n".$main_icon.$admin_icon.$info_icon.$preview_icon."\n\n
-
\n".$this->renderThemeInfo($theme)."
+ $text = "
+
".$newpreview."
+
".$theme['name']." ".$theme['version']."
+
\n\n\n".$main_icon.$admin_icon.$info_icon.$preview_icon."\n\n
+
\n".$this->renderThemeInfo($theme)."
";
return $text;
@@ -720,17 +726,17 @@ class themeHandler
".TPVLAN_11." |
".$theme['version']." |
- ".$newpreview." |
+ ".$newpreview." |
";
- $text .= "
".TPVLAN_4.": | ".$author." |
";
- $text .= "
".TPVLAN_5.": | ".$website." |
";
- $text .= "
".TPVLAN_6.": | ".$theme['date']." |
";
+ $text .= "
".TPVLAN_4.": | ".$author." |
";
+ $text .= "
".TPVLAN_5.": | ".$website." |
";
+ $text .= "
".TPVLAN_6.": | ".$theme['date']." |
";
- $text .= "
".TPVLAN_7.": | ".$theme['info']." |
";
- $text .= "
".LAN_CATEGORY.": | ".$theme['category']." |
";
- $text .= "
".TPVLAN_49.": |
- ";
+ $text .= " |
".TPVLAN_7.": | ".$theme['info']." |
";
+ $text .= "
".LAN_CATEGORY.": | ".$theme['category']." |
";
+ $text .= "
".TPVLAN_49.": |
+ ";
$text .= ($theme['xhtmlcompliant']) ? "W3C XHTML ".$theme['xhtmlcompliant'] : "Not Specified";
$text .= ($theme['csscompliant']) ? " & CSS ".$theme['csscompliant'] : "";
$text .= " |
";
@@ -741,8 +747,8 @@ class themeHandler
$text .= "
- ".TPVLAN_53." |
- ";
+ | ".TPVLAN_53." |
+ ";
if(varset($theme['plugins']))
{
@@ -758,8 +764,8 @@ class themeHandler
$text .= "
|
- ".TPVLAN_30." |
-
+ | ".TPVLAN_30." |
+
".TPVLAN_28."
".TPVLAN_29."
|
@@ -771,14 +777,14 @@ class themeHandler
{
$itext = "
- ".TPVLAN_50.": |
-
+ | ".TPVLAN_50.": |
+
-
-
-
-
+
+
+
+
";
$itext .= ($mode == 1) ? "".TPVLAN_55." | " : "";
@@ -807,7 +813,7 @@ class themeHandler
";
}
- $itext .= "";
+ $itext .= " | ";
$itext .= ($val['@attributes']['previewFull']) ? "" : "";
$itext .= $val['@attributes']['title'];
$itext .= ($val['@attributes']['previewFull']) ? "" : "";
@@ -835,9 +841,9 @@ class themeHandler
$itext .= " |
- ";
+ | ";
// Default
- $itext .= ($pref['sitetheme_deflayout'] != $key) ? $custompage_diz." | ";
@@ -854,7 +860,7 @@ class themeHandler
}
- // $itext .= !$mode ? " ".TPVLAN_8.": | ".$previewbutton.$selectmainbutton.$selectadminbutton." | " : "";
+ // $itext .= !$mode ? "".TPVLAN_8.": | ".$previewbutton.$selectmainbutton.$selectadminbutton." | " : "";
if($mode == 2)
{
@@ -887,12 +893,12 @@ class themeHandler
if(array_key_exists("multipleStylesheets", $theme) && $mode)
{
$text .= "
- ".TPVLAN_22.": |
-
-
+ ".TPVLAN_22.": |
+
+
- ".TPVLAN_55." |
- ".TPVLAN_52." |
+ ".TPVLAN_55." |
+ ".TPVLAN_52." |
".TPVLAN_7." |
";
@@ -984,7 +990,7 @@ class themeHandler
function renderPlugins($pluginOpts)
{
- global $frm,$sql;
+ global $frm, $sql;
// if there is 1 entry, then it's not the same array.
$tmp = (varset($pluginOpts['plugin'][1])) ? $pluginOpts['plugin'] : $pluginOpts;
@@ -1123,7 +1129,7 @@ class themeHandler
function setAdminTheme()
{
- global $pref,$e107cache,$ns,$emessage;
+ global $pref, $e107cache, $ns, $emessage;
$themeArray = $this->getThemes("id");
$pref['admintheme'] = $themeArray[$this->id];
$pref['admincss'] = file_exists(e_THEME.$pref['admintheme'].'/admin_style.css') ? 'admin_style.css' : 'style.css';
@@ -1135,13 +1141,13 @@ class themeHandler
$this->theme_adminlog('02', $pref['admintheme'].', '.$pref['admincss']);
}
- // $ns->tablerender("Admin Message", "
".TPVLAN_40." '".$themeArray[$this -> id]."'. ");
+ // $ns->tablerender("Admin Message", "
".TPVLAN_40." '".$themeArray[$this -> id]."'. ");
// $this->showThemes('admin');
}
function setStyle()
{
- global $pref,$e107cache,$ns,$sql,$emessage;
+ global $pref, $e107cache, $ns, $sql, $emessage;
//TODO adminlog
e107::getConfig()->setPosted('themecss', $_POST['themecss'])->setPosted('image_preload', $_POST['image_preload'])->setPosted('sitetheme_deflayout',
$_POST['layout_default']);
@@ -1157,14 +1163,14 @@ class themeHandler
function setAdminStyle()
{
- global $pref,$e107cache,$ns,$emessage;
+ global $pref, $e107cache, $ns, $emessage;
/*$pref['admincss'] = $_POST['admincss'];
$pref['adminstyle'] = $_POST['adminstyle'];
$e107cache->clear_sys();
if(save_prefs())
{
$emessage->add(TPVLAN_43, E_MESSAGE_SUCCESS);
- $this->theme_adminlog('04',$pref['adminstyle'].', '.$pref['admincss']);
+ $this->theme_adminlog('04', $pref['adminstyle'].', '.$pref['admincss']);
}
else
{
@@ -1208,7 +1214,7 @@ class themeHandler
{
return;
}
- global $pref,$admin_log;
+ global $pref, $admin_log;
// if (!varset($pref['admin_log_log']['admin_banlist'],0)) return;
$admin_log->log_event('THEME_'.$msg_num, $woffle, E_LOG_INFORMATIVE, '');
}
@@ -1245,7 +1251,7 @@ class themeHandler
$themeArray['csscompliant'] = ($css == "true" ? "2.1" : false);
/* preg_match('/CUSTOMPAGES(\s*?=\s*?)("|\')(.*?)("|\');/si', $themeContents, $match);
- $themeArray['custompages'] = array_filter(explode(" ",$match[3]));*/
+ $themeArray['custompages'] = array_filter(explode(" ", $match[3]));*/
$themeContentsArray = explode("\n", $themeContents);
| | |