Zeile 1456 | Zeile 1456 |
---|
// It's a file: ++$count;
|
// It's a file: ++$count;
|
| $name = htmlspecialchars_uni($name);
|
if($actions[0] != "global") {
|
if($actions[0] != "global") {
|
| $actions = array_map('htmlspecialchars_uni', $actions);
|
$name = "{$name} ({$lang->actions}: ".implode(',', $actions).")"; }
| $name = "{$name} ({$lang->actions}: ".implode(',', $actions).")"; }
|
Zeile 1624 | Zeile 1628 |
---|
$page->output_footer(); }
|
$page->output_footer(); }
|
|
|
if($mybb->input['action'] == "stylesheet_properties") { // Fetch the theme we want to edit this stylesheet in
| if($mybb->input['action'] == "stylesheet_properties") { // Fetch the theme we want to edit this stylesheet in
|
Zeile 1680 | Zeile 1684 |
---|
if(get_extension($mybb->input['name']) != "css") { // Does not end with '.css'
|
if(get_extension($mybb->input['name']) != "css") { // Does not end with '.css'
|
$errors[] = $lang->sprintf($lang->error_missing_stylesheet_extension, $mybb->input['name']);
| $errors[] = $lang->sprintf( $lang->error_missing_stylesheet_extension, htmlspecialchars_uni($mybb->input['name']) );
|
}
if(!$errors)
| }
if(!$errors)
|
Zeile 1988 | Zeile 1995 |
---|
echo <<<EOF
|
echo <<<EOF
|
<script type="text/javascript" src="./jscripts/theme_properties.js"></script>
| <script type="text/javascript" src="./jscripts/theme_properties.js?ver=1820"></script>
|
<script type="text/javascript"> <!--- themeProperties.setup('{$count}');
| <script type="text/javascript"> <!--- themeProperties.setup('{$count}');
|
Zeile 2253 | Zeile 2260 |
---|
echo '<script type="text/javascript" src="./jscripts/themes.js?ver=1808"></script>'; echo '<script type="text/javascript">
|
echo '<script type="text/javascript" src="./jscripts/themes.js?ver=1808"></script>'; echo '<script type="text/javascript">
|
$(document).ready(function() {
| $(function() {
|
//<![CDATA[ ThemeSelector.init("./index.php?module=style-themes&action=xmlhttp_stylesheet", "./index.php?module=style-themes&action=edit_stylesheet", $("#selector"), $("#stylesheet"), "'.htmlspecialchars_uni($mybb->input['file']).'", $("#selector_form"), "'.$mybb->input['tid'].'"); lang.saving = "'.$lang->saving.'";
| //<![CDATA[ ThemeSelector.init("./index.php?module=style-themes&action=xmlhttp_stylesheet", "./index.php?module=style-themes&action=edit_stylesheet", $("#selector"), $("#stylesheet"), "'.htmlspecialchars_uni($mybb->input['file']).'", $("#selector_form"), "'.$mybb->input['tid'].'"); lang.saving = "'.$lang->saving.'";
|
Zeile 2896 | Zeile 2903 |
---|
}
echo '<script type="text/javascript" src="./jscripts/themes.js?ver=1808"></script>';
|
}
echo '<script type="text/javascript" src="./jscripts/themes.js?ver=1808"></script>';
|
echo '<script type="text/javascript" src="./jscripts/theme_properties.js"></script>';
| echo '<script type="text/javascript" src="./jscripts/theme_properties.js?ver=1820"></script>';
|
echo '<script type="text/javascript"> $(function() { //<![CDATA[
| echo '<script type="text/javascript"> $(function() { //<![CDATA[
|