Zeile 18 | Zeile 18 |
---|
require_once MYBB_ADMIN_DIR."inc/functions_themes.php";
$page->extra_header .= "
|
require_once MYBB_ADMIN_DIR."inc/functions_themes.php";
$page->extra_header .= "
|
<script language=\"Javascript\" type=\"text/javascript\">
| <script type=\"text/javascript\">
|
//<![CDATA[ var save_changes_lang_string = '{$lang->save_changes_js}'; var delete_lang_string = '{$lang->delete}';
| //<![CDATA[ var save_changes_lang_string = '{$lang->save_changes_js}'; var delete_lang_string = '{$lang->delete}';
|
Zeile 1782 | Zeile 1782 |
---|
$this_stylesheet = $stylesheets[$stylesheet['name']]; unset($stylesheets);
|
$this_stylesheet = $stylesheets[$stylesheet['name']]; unset($stylesheets);
|
$page->extra_header .= '
| if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
<link type="text/css" href="./jscripts/codepress/languages/codepress-css.css" rel="stylesheet" id="cp-lang-style" /> <script type="text/javascript" src="./jscripts/codepress/codepress.js"></script> <script type="text/javascript"> CodePress.language = \'css\'; </script>';
|
<link type="text/css" href="./jscripts/codepress/languages/codepress-css.css" rel="stylesheet" id="cp-lang-style" /> <script type="text/javascript" src="./jscripts/codepress/codepress.js"></script> <script type="text/javascript"> CodePress.language = \'css\'; </script>';
|
| }
|
$page->add_breadcrumb_item(htmlspecialchars_uni($theme['name']), "index.php?module=style/themes&action=edit&tid={$mybb->input['tid']}"); $page->add_breadcrumb_item("{$lang->editing} ".htmlspecialchars_uni($stylesheet['name']), "index.php?module=style/themes&action=edit_stylesheet&tid={$mybb->input['tid']}&file=".htmlspecialchars_uni($mybb->input['file'])."&mode=advanced");
| $page->add_breadcrumb_item(htmlspecialchars_uni($theme['name']), "index.php?module=style/themes&action=edit&tid={$mybb->input['tid']}"); $page->add_breadcrumb_item("{$lang->editing} ".htmlspecialchars_uni($stylesheet['name']), "index.php?module=style/themes&action=edit_stylesheet&tid={$mybb->input['tid']}&file=".htmlspecialchars_uni($mybb->input['file'])."&mode=advanced");
|
Zeile 1849 | Zeile 1852 |
---|
$form->end();
|
$form->end();
|
echo "<script language=\"Javascript\" type=\"text/javascript\">
| if($admin_options['codepress'] != 0) { echo "<script type=\"text/javascript\">
|
Event.observe('edit_stylesheet', 'submit', function() { if($('stylesheet_cp')) {
| Event.observe('edit_stylesheet', 'submit', function() { if($('stylesheet_cp')) {
|
Zeile 1860 | Zeile 1865 |
---|
} }); </script>";
|
} }); </script>";
|
| }
|
$page->output_footer(); }
| $page->output_footer(); }
|
Zeile 2060 | Zeile 2066 |
---|
} }
|
} }
|
$page->extra_header .= '
| if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
<link type="text/css" href="./jscripts/codepress/languages/codepress-css.css" rel="stylesheet" id="cp-lang-style" /> <script type="text/javascript" src="./jscripts/codepress/codepress.js"></script> <script type="text/javascript"> CodePress.language = \'css\'; </script>';
|
<link type="text/css" href="./jscripts/codepress/languages/codepress-css.css" rel="stylesheet" id="cp-lang-style" /> <script type="text/javascript" src="./jscripts/codepress/codepress.js"></script> <script type="text/javascript"> CodePress.language = \'css\'; </script>';
|
| }
|
$page->add_breadcrumb_item(htmlspecialchars_uni($theme['name']), "index.php?module=style/themes&action=edit&tid={$mybb->input['tid']}");
|
$page->add_breadcrumb_item(htmlspecialchars_uni($theme['name']), "index.php?module=style/themes&action=edit&tid={$mybb->input['tid']}");
|
$page->add_breadcrumb_item("Add Stylesheet");
| $page->add_breadcrumb_item($lang->add_stylesheet);
|
$page->output_header("{$lang->themes} - {$lang->add_stylesheet}");
| $page->output_header("{$lang->themes} - {$lang->add_stylesheet}");
|
Zeile 2146 | Zeile 2155 |
---|
$action_list = ""; if($actions[0] != "global")
|
$action_list = ""; if($actions[0] != "global")
|
{
| {
|
$action_list = implode(',', $actions); }
| $action_list = implode(',', $actions); }
|
Zeile 2257 | Zeile 2266 |
---|
$form->output_submit_wrapper($buttons);
|
$form->output_submit_wrapper($buttons);
|
echo "<script language=\"Javascript\" type=\"text/javascript\">
| if($admin_options['codepress'] != 0) { echo "<script type=\"text/javascript\">
|
Event.observe('add_stylesheet', 'submit', function() { if($('stylesheet_cp')) {
| Event.observe('add_stylesheet', 'submit', function() { if($('stylesheet_cp')) {
|
Zeile 2268 | Zeile 2279 |
---|
} }); </script>\n";
|
} }); </script>\n";
|
| }
|
echo '<script type="text/javascript" src="./jscripts/themes.js"></script>'; echo '<script type="text/javascript">
| echo '<script type="text/javascript" src="./jscripts/themes.js"></script>'; echo '<script type="text/javascript">
|