mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
Little cleanup of theme-handler and e107v4a theme.xml.
This commit is contained in:
parent
92f05cec19
commit
aaa44df1b1
@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $
|
||||
| $Revision: 1.21 $
|
||||
| $Date: 2009-07-06 08:54:25 $
|
||||
| $Revision: 1.22 $
|
||||
| $Date: 2009-07-06 09:17:27 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -470,20 +470,21 @@ class themeHandler{
|
||||
|
||||
$text = "<div style='text-align:center;margin-left:auto;margin-right:auto'>
|
||||
<table class='adminlist'>
|
||||
|
||||
<tr><td colspan='2'><h1>".$theme['name']."</h1></td></tr>
|
||||
<tr><td><b>".TPVLAN_11."</b></td><td>".$theme['version']."</td>
|
||||
<td class='first last' rowspan='6' style='text-align:center;width:25%'>$newpreview </td></tr>";
|
||||
|
||||
$text .= "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_4."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>";
|
||||
$text .= "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_5."</b>:</td><td style='vertical-align:top'>".$website."</td></tr>";
|
||||
$text .= "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_6."</b>:</td><td style='vertical-align:top'>".$theme['date']."</td></tr>";
|
||||
$text .= "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_49."</b>:</td>
|
||||
$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_5."</b>:</td><td style='vertical-align:top'>".$website."</td></tr>";
|
||||
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_6."</b>:</td><td style='vertical-align:top'>".$theme['date']."</td></tr>";
|
||||
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_49."</b>:</td>
|
||||
<td style='vertical-align:top'>XHTML ";
|
||||
$text .= ($theme['xhtmlcompliant']) ? ADMIN_TRUE_ICON : "X";
|
||||
$text .= " CSS ";
|
||||
$text .= ($theme['csscompliant']) ? ADMIN_TRUE_ICON : "X";
|
||||
$text .= "</td></tr>";
|
||||
$text .= "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_7."</b>:</td><td style='vertical-align:top'>".$theme['info']."</td></tr>
|
||||
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_7."</b>:</td><td style='vertical-align:top'>".$theme['info']."</td></tr>
|
||||
";
|
||||
|
||||
if($mode == 1)
|
||||
@ -507,8 +508,8 @@ class themeHandler{
|
||||
<tr>";
|
||||
$itext .= ($mode == 1) ? "<td class='fcaption' style='width:15%;text-align:center;vertical-align:top;'>".TPVLAN_55."</td>" : "";
|
||||
$itext .= "
|
||||
<td class='fcaption' style='width:30%'>".TPVLAN_52."</td>
|
||||
<td class='fcaption' style='width:30%'>".TPVLAN_53."</td>
|
||||
<td class='fcaption' style='width:20%'>".TPVLAN_52."</td>
|
||||
<td class='fcaption' style='width:35%'>".TPVLAN_53."</td>
|
||||
<td class='fcaption' style='text-align:center;width:100px'>".TPVLAN_54."</td>
|
||||
</tr>\n";
|
||||
|
||||
@ -559,7 +560,7 @@ class themeHandler{
|
||||
<table class='adminlist' style='width:100%' >
|
||||
<tr>
|
||||
<td class='fcaption center' style='width:15%'>".TPVLAN_55."</td>
|
||||
<td class='fcaption' style='width:30%'>".TPVLAN_52."</td>
|
||||
<td class='fcaption' style='width:20%'>".TPVLAN_52."</td>
|
||||
<td class='fcaption left'>".TPVLAN_7."</td>
|
||||
</tr>\n";
|
||||
|
||||
@ -675,7 +676,7 @@ class themeHandler{
|
||||
{
|
||||
$text .= ADMIN_FALSE_ICON."<a href='".e_ADMIN."plugin.php'>".$plug."</a>";
|
||||
}
|
||||
|
||||
$text .= " ";
|
||||
}
|
||||
|
||||
return $text;
|
||||
@ -764,7 +765,7 @@ class themeHandler{
|
||||
global $pref, $e107cache, $ns;
|
||||
$pref['admincss'] = $_POST['admincss'];
|
||||
$pref['adminstyle'] = $_POST['adminstyle'];
|
||||
|
||||
|
||||
|
||||
$e107cache->clear_sys();
|
||||
save_prefs();
|
||||
|
@ -4,14 +4,15 @@
|
||||
<description>Classic e107 theme</description>
|
||||
<compliance xhtml="true" css="true"/>
|
||||
<layouts>
|
||||
<layout name='3_column' title='3 Columns' preview='preview.jpg' previewFull='preview_full.png' requiredPlugins='chatbox' default='true' >
|
||||
<layout name='3_column' title='3 Columns' preview='preview.jpg' previewFull='preview_full.png' requiredPlugins='chatbox_menu,poll' default='true' >
|
||||
<menuPresets>
|
||||
<area id='1' >
|
||||
<menu name='login' />
|
||||
<menu name='compliance' />
|
||||
<menu name='online' userclass='E_UC_MEMBER' />
|
||||
</area>
|
||||
<area id='2'>
|
||||
<menu name='online' userclass='E_UC_ADMIN' />
|
||||
<menu name='poll' />
|
||||
<menu name='powered_by' />
|
||||
<menu name='sitebutton' />
|
||||
</area>
|
||||
@ -24,7 +25,7 @@
|
||||
<menu name='online' />
|
||||
</area>
|
||||
<area id='2'>
|
||||
|
||||
<menu name='powered_by' />
|
||||
</area>
|
||||
</menuPresets>
|
||||
</layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user