mirror of
https://github.com/e107inc/e107.git
synced 2025-09-01 10:23:53 +02:00
Changed "Required plugins" in Theme Manager, to "Suggested Plugins". If required, the theme creator can make mention of it. For everything else, they are optional
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
function e107v4a_process()
|
||||
{
|
||||
global $theme_pref;
|
||||
$theme_pref['something'] = $_POST['e1074a_something'];
|
||||
$theme_pref['something2'] = $_POST['e1074a_something2'];
|
||||
$theme_pref['example'] = $_POST['e1074a_example'];
|
||||
$theme_pref['example2'] = $_POST['e1074a_example2'];
|
||||
save_prefs('theme');
|
||||
return "Custom Settings Saved Successfully";
|
||||
}
|
||||
@@ -16,11 +16,11 @@ function e107v4a_config()
|
||||
{
|
||||
global $theme_pref;
|
||||
|
||||
$var[0]['caption'] = "This is a sample theme configuration page";
|
||||
$var[0]['html'] = "<input type='text' name='e1074a_something' value='".$theme_pref['something']."' />";
|
||||
$var[0]['caption'] = "Sample configuration field";
|
||||
$var[0]['html'] = "<input type='text' name='e1074a_example' value='".$theme_pref['example']."' />";
|
||||
|
||||
$var[1]['caption'] = "Another Example";
|
||||
$var[1]['html'] = "<input type='text' name='e1074a_something2' value='".$theme_pref['something2']."' />";
|
||||
$var[1]['html'] = "<input type='text' name='e1074a_example' value='".$theme_pref['example2']."' />";
|
||||
|
||||
return $var;
|
||||
}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<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_menu,poll' default='true' >
|
||||
<layout name='3_column' title='3 Columns' preview='preview.jpg' previewFull='preview_full.png' plugins='chatbox_menu,poll' default='true' >
|
||||
<menuPresets>
|
||||
<area id='1' >
|
||||
<menu name='login' />
|
||||
@@ -25,7 +25,7 @@
|
||||
<menu name='online' />
|
||||
</area>
|
||||
<area id='2'>
|
||||
<menu name='powered_by' />
|
||||
<menu name='powered_by' />
|
||||
</area>
|
||||
</menuPresets>
|
||||
</layout>
|
||||
|
Reference in New Issue
Block a user