mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 18:30:53 +02:00
xhtml fixes
This commit is contained in:
@@ -10,9 +10,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $
|
||||||
| $Revision: 1.41 $
|
| $Revision: 1.42 $
|
||||||
| $Date: 2009-07-25 07:54:34 $
|
| $Date: 2009-08-06 22:27:47 $
|
||||||
| $Author: marj_nl_fr $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -626,14 +626,15 @@ class themeHandler{
|
|||||||
$text .= "
|
$text .= "
|
||||||
<div id='core-thememanager-configure'>
|
<div id='core-thememanager-configure'>
|
||||||
<table cellpadding='0' cellspacing='0' class='adminform'>
|
<table cellpadding='0' cellspacing='0' class='adminform'>
|
||||||
<colgroup span='2'>
|
<colgroup span='3'>
|
||||||
<col class='col-label' />
|
<col class='col-label' />
|
||||||
<col class='col-control' />
|
<col class='col-control' />
|
||||||
|
<col class='col-control' />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>".TPVLAN_11."</b></td>
|
<td><b>".TPVLAN_11."</b></td>
|
||||||
<td>".$theme['version']."</td>
|
<td>".$theme['version']."</td>
|
||||||
<td class='first last' rowspan='6' style='text-align:center;width:25%'>$newpreview </td>
|
<td class='center middle' rowspan='6' style='text-align:center; vertical-align:middle;width:25%'>".$newpreview."</td>
|
||||||
</tr>";
|
</tr>";
|
||||||
|
|
||||||
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_4."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>";
|
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_4."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>";
|
||||||
@@ -649,7 +650,7 @@ class themeHandler{
|
|||||||
$text .= "</td></tr>";
|
$text .= "</td></tr>";
|
||||||
|
|
||||||
|
|
||||||
if($mode == 1)
|
if($mode == 1) // site theme..
|
||||||
{
|
{
|
||||||
|
|
||||||
$text .= "
|
$text .= "
|
||||||
@@ -681,7 +682,7 @@ class themeHandler{
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($mode==1) // New in 0.8 ----
|
if($mode==1) // New in 0.8 ---- site theme.
|
||||||
{
|
{
|
||||||
|
|
||||||
$itext = "<tr>
|
$itext = "<tr>
|
||||||
@@ -783,19 +784,20 @@ class themeHandler{
|
|||||||
</tr>\n";
|
</tr>\n";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
foreach($theme['css'] as $css)
|
foreach($theme['css'] as $css)
|
||||||
{
|
{
|
||||||
|
$text2 = "";
|
||||||
|
|
||||||
if($mode == 1 && substr($css['name'],0,6)=="admin_")
|
if($mode == 1 && substr($css['name'],0,6)=="admin_")
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$text .= "<tr>\n";
|
|
||||||
if($mode == 2)
|
if($mode == 2)
|
||||||
{
|
{
|
||||||
if (!$css['nonadmin']) {
|
if (!$css['nonadmin']) {
|
||||||
$text .= "
|
$text2 = "
|
||||||
<td class='center'>
|
<td class='center'>
|
||||||
<input type='radio' name='admincss' value='".$css['name']."' ".($pref['admincss'] == $css['name'] || (!$pref['admincss'] && $css['name'] == "style.css") ? " checked='checked'" : "")." />
|
<input type='radio' name='admincss' value='".$css['name']."' ".($pref['admincss'] == $css['name'] || (!$pref['admincss'] && $css['name'] == "style.css") ? " checked='checked'" : "")." />
|
||||||
</td>
|
</td>
|
||||||
@@ -808,7 +810,7 @@ class themeHandler{
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
$text .= "
|
$text2 = "
|
||||||
<td class='center'>
|
<td class='center'>
|
||||||
<input type='radio' name='themecss' value='".$css['name']."' ".($pref['themecss'] == $css['name'] || (!$pref['themecss'] && $css['name'] == "style.css") ? " checked='checked'" : "")." />
|
<input type='radio' name='themecss' value='".$css['name']."' ".($pref['themecss'] == $css['name'] || (!$pref['themecss'] && $css['name'] == "style.css") ? " checked='checked'" : "")." />
|
||||||
</td>
|
</td>
|
||||||
@@ -816,7 +818,9 @@ class themeHandler{
|
|||||||
</td>
|
</td>
|
||||||
<td>".($css['info'] ? $css['info'] : ($css['name'] == "style.css" ? TPVLAN_23 : TPVLAN_24))."</td>\n";
|
<td>".($css['info'] ? $css['info'] : ($css['name'] == "style.css" ? TPVLAN_23 : TPVLAN_24))."</td>\n";
|
||||||
}
|
}
|
||||||
$text .= "</tr>";
|
|
||||||
|
$text .= ($text2) ? "<tr>".$text2."</tr>" : "";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$text .= "</table></td></tr>";
|
$text .= "</table></td></tr>";
|
||||||
|
Reference in New Issue
Block a user