Zeile 168 | Zeile 168 |
---|
// Convert to mods site version codes $search_version = ($major_version_code/100).'x';
|
// Convert to mods site version codes $search_version = ($major_version_code/100).'x';
|
$contents = fetch_remote_file("http://community.mybb.com/xmlbrowse.php?type=themes&version={$search_version}{$keywords}{$url_page}", $post_data);
| $contents = fetch_remote_file("https://community.mybb.com/xmlbrowse.php?type=themes&version={$search_version}{$keywords}{$url_page}", $post_data);
|
if(!$contents) {
| if(!$contents) {
|
Zeile 214 | Zeile 214 |
---|
); $result['download_url']['value'] = htmlspecialchars_uni(html_entity_decode($result['download_url']['value']));
|
); $result['download_url']['value'] = htmlspecialchars_uni(html_entity_decode($result['download_url']['value']));
|
$table->construct_cell("<img src=\"http://community.mybb.com/{$result['thumbnail']['value']}\" alt=\"{$lang->theme_thumbnail}\" title=\"{$lang->theme_thumbnail}\"/>", array("class" => "align_center", "width" => 100));
| $table->construct_cell("<img src=\"https://community.mybb.com/{$result['thumbnail']['value']}\" alt=\"{$lang->theme_thumbnail}\" title=\"{$lang->theme_thumbnail}\"/>", array("class" => "align_center", "width" => 100));
|
$table->construct_cell("<strong>{$result['name']['value']}</strong><br /><small>{$result['description']['value']}</small><br /><i><small>{$lang->created_by} {$result['author']['value']}</small></i>");
|
$table->construct_cell("<strong>{$result['name']['value']}</strong><br /><small>{$result['description']['value']}</small><br /><i><small>{$lang->created_by} {$result['author']['value']}</small></i>");
|
$table->construct_cell("<strong><a href=\"http://community.mybb.com/{$result['download_url']['value']}\" target=\"_blank\">{$lang->download}</a></strong>", array("class" => "align_center"));
| $table->construct_cell("<strong><a href=\"https://community.mybb.com/{$result['download_url']['value']}\" target=\"_blank\" rel=\"noopener\">{$lang->download}</a></strong>", array("class" => "align_center"));
|
$table->construct_row(); } }
| $table->construct_row(); } }
|
Zeile 286 | Zeile 286 |
---|
// Recommended themes = Default; Otherwise search results & pagination if($mybb->request_method == "post") {
|
// Recommended themes = Default; Otherwise search results & pagination if($mybb->request_method == "post") {
|
$table->output("<span style=\"float: right;\"><small><a href=\"http://community.mybb.com/mods.php?action=browse&category=themes\" target=\"_blank\">{$lang->browse_all_themes}</a></small></span>".$lang->sprintf($lang->browse_results_for_mybb, $mybb->version));
| $table->output("<span style=\"float: right;\"><small><a href=\"https://community.mybb.com/mods.php?action=browse&category=themes\" target=\"_blank\" rel=\"noopener\">{$lang->browse_all_themes}</a></small></span>".$lang->sprintf($lang->browse_results_for_mybb, $mybb->version));
|
} else {
|
} else {
|
$table->output("<span style=\"float: right;\"><small><a href=\"http://community.mybb.com/mods.php?action=browse&category=themes\" target=\"_blank\">{$lang->browse_all_themes}</a></small></span>".$lang->sprintf($lang->recommended_themes_for_mybb, $mybb->version));
| $table->output("<span style=\"float: right;\"><small><a href=\"https://community.mybb.com/mods.php?action=browse&category=themes\" target=\"_blank\" rel=\"noopener\">{$lang->browse_all_themes}</a></small></span>".$lang->sprintf($lang->recommended_themes_for_mybb, $mybb->version));
|
}
echo "<br />".draw_admin_pagination($mybb->input['page'], 15, $tree['results']['attributes']['total'], "index.php?module=style-themes&action=browse{$keywords}&page={page}");
| }
echo "<br />".draw_admin_pagination($mybb->input['page'], 15, $tree['results']['attributes']['total'], "index.php?module=style-themes&action=browse{$keywords}&page={page}");
|
Zeile 614 | Zeile 614 |
---|
{ if(strpos($filename, 'css.php?stylesheet=') !== false) {
|
{ if(strpos($filename, 'css.php?stylesheet=') !== false) {
|
$style['sid'] = (integer)str_replace('css.php?stylesheet=', '', $filename);
| $style['sid'] = (int)str_replace('css.php?stylesheet=', '', $filename);
|
$filename = $theme_stylesheets[$style['sid']]; } else
| $filename = $theme_stylesheets[$style['sid']]; } else
|
Zeile 756 | Zeile 756 |
---|
{ $query = $db->simple_select("themes", "COUNT(tid) as numthemes", "name = '".$db->escape_string($mybb->get_input('name'))."'"); $numthemes = $db->fetch_field($query, 'numthemes');
|
{ $query = $db->simple_select("themes", "COUNT(tid) as numthemes", "name = '".$db->escape_string($mybb->get_input('name'))."'"); $numthemes = $db->fetch_field($query, 'numthemes');
|
|
|
if($numthemes) { $errors[] = $lang->error_theme_already_exists;
| if($numthemes) { $errors[] = $lang->error_theme_already_exists;
|
Zeile 766 | Zeile 766 |
---|
if(!$errors) { $properties = my_unserialize($theme['properties']);
|
if(!$errors) { $properties = my_unserialize($theme['properties']);
|
$sid = $properties['sid'];
| $sid = $properties['templateset'];
|
$nprops = null; if($mybb->input['duplicate_templates']) {
| $nprops = null; if($mybb->input['duplicate_templates']) {
|
Zeile 1010 | Zeile 1010 |
---|
while($cachefile = $db->fetch_array($query)) { @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$cachefile['cachefile']}");
|
while($cachefile = $db->fetch_array($query)) { @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$cachefile['cachefile']}");
|
| $filename_min = str_replace('.css', '.min.css', $cachefile['cachefile']); @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$filename_min}");
|
} @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/index.html");
$db->delete_query("themestylesheets", "tid='{$theme['tid']}'");
|
} @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/index.html");
$db->delete_query("themestylesheets", "tid='{$theme['tid']}'");
|
|
|
// Update the CSS file list for this theme update_theme_stylesheet_list($theme['tid'], $theme, true);
$db->update_query("users", array('style' => 0), "style='{$theme['tid']}'");
|
// Update the CSS file list for this theme update_theme_stylesheet_list($theme['tid'], $theme, true);
$db->update_query("users", array('style' => 0), "style='{$theme['tid']}'");
|
@rmdir(MYBB_ROOT."cache/themes/theme{$theme['tid']}/");
$children = make_child_theme_list($theme['tid']); $child_tid = $children[0];
| @rmdir(MYBB_ROOT."cache/themes/theme{$theme['tid']}/");
|
|
|
$db->update_query("themes", array('pid' => $theme['pid']), "tid='{$child_tid}'");
| $children = (array)make_child_theme_list($theme['tid']); $child_tids = array();
foreach($children as $child_tid) { if($child_tid != 0) { $child_tids[] = $child_tid; } }
if(!empty($child_tids)) { $db->update_query("themes", array('pid' => $theme['pid']), "tid IN (".implode(',', $child_tids).")"); }
|
$db->delete_query("themes", "tid='{$theme['tid']}'", 1);
| $db->delete_query("themes", "tid='{$theme['tid']}'", 1);
|
Zeile 1092 | Zeile 1106 |
---|
}
$theme_properties = my_unserialize($theme['properties']);
|
}
$theme_properties = my_unserialize($theme['properties']);
|
if($theme_properties['disporder'])
| if(is_array($theme_properties['disporder']))
|
{ $properties['disporder'] = $theme_properties['disporder'];
|
{ $properties['disporder'] = $theme_properties['disporder'];
|
| } else { $errors[] = $lang->error_no_display_order;
|
}
$allowedgroups = array();
| }
$allowedgroups = array();
|
Zeile 1140 | Zeile 1158 |
---|
}
if($update_array['pid'])
|
}
if($update_array['pid'])
|
{
| {
|
$query = $db->simple_select("themes", "tid", "tid='".$update_array['pid']."'"); $parent_check = $db->fetch_field($query, "tid"); if(!$parent_check)
| $query = $db->simple_select("themes", "tid", "tid='".$update_array['pid']."'"); $parent_check = $db->fetch_field($query, "tid"); if(!$parent_check)
|
Zeile 1171 | Zeile 1189 |
---|
$plugins->run_hooks("admin_style_themes_edit_commit");
$db->update_query("themes", $update_array, "tid='{$theme['tid']}'");
|
$plugins->run_hooks("admin_style_themes_edit_commit");
$db->update_query("themes", $update_array, "tid='{$theme['tid']}'");
|
| update_theme_stylesheet_list($theme['tid']);
|
if($theme['def'] == 1) {
| if($theme['def'] == 1) {
|
Zeile 1181 | Zeile 1200 |
---|
log_admin_action($theme['tid'], htmlspecialchars_uni($theme['name']));
flash_message($lang->success_theme_properties_updated, 'success');
|
log_admin_action($theme['tid'], htmlspecialchars_uni($theme['name']));
flash_message($lang->success_theme_properties_updated, 'success');
|
admin_redirect("index.php?module=style-themes&action=edit&tid={$theme['tid']}"); }
| admin_redirect("index.php?module=style-themes&action=edit&tid={$theme['tid']}"); }
|
}
// Fetch list of all of the stylesheets for this theme
| }
// Fetch list of all of the stylesheets for this theme
|
Zeile 1259 | Zeile 1278 |
---|
foreach($theme_stylesheets as $stylesheet => $properties) { if(is_array($properties))
|
foreach($theme_stylesheets as $stylesheet => $properties) { if(is_array($properties))
|
{
| {
|
$order = (int)$mybb->input['disporder'][$properties['sid']];
$orders[$properties['name']] = $order; }
|
$order = (int)$mybb->input['disporder'][$properties['sid']];
$orders[$properties['name']] = $order; }
|
}
| }
|
asort($orders, SORT_NUMERIC);
// Save the orders in the theme properties $properties = my_unserialize($theme['properties']); $properties['disporder'] = $orders;
|
asort($orders, SORT_NUMERIC);
// Save the orders in the theme properties $properties = my_unserialize($theme['properties']); $properties['disporder'] = $orders;
|
|
|
$update_array = array( "properties" => $db->escape_string(my_serialize($properties)) );
|
$update_array = array( "properties" => $db->escape_string(my_serialize($properties)) );
|
|
|
$db->update_query("themes", $update_array, "tid = '{$theme['tid']}'");
if($theme['def'] == 1)
| $db->update_query("themes", $update_array, "tid = '{$theme['tid']}'");
if($theme['def'] == 1)
|
Zeile 1285 | Zeile 1304 |
---|
// normalize for consistency update_theme_stylesheet_list($theme['tid'], false, true);
|
// normalize for consistency update_theme_stylesheet_list($theme['tid'], false, true);
|
|
|
flash_message($lang->success_stylesheet_order_updated, 'success'); admin_redirect("index.php?module=style-themes&action=edit&tid={$theme['tid']}"); }
| flash_message($lang->success_stylesheet_order_updated, 'success'); admin_redirect("index.php?module=style-themes&action=edit&tid={$theme['tid']}"); }
|
Zeile 1337 | Zeile 1356 |
---|
foreach($stylesheets as $filename => $style) { if(strpos($filename, 'css.php?stylesheet=') !== false)
|
foreach($stylesheets as $filename => $style) { if(strpos($filename, 'css.php?stylesheet=') !== false)
|
{ $style['sid'] = (integer)str_replace('css.php?stylesheet=', '', $filename);
| { $style['sid'] = (int)str_replace('css.php?stylesheet=', '', $filename);
|
$filename = $theme_stylesheets[$style['sid']]; }
| $filename = $theme_stylesheets[$style['sid']]; }
|
Zeile 1355 | Zeile 1374 |
---|
{ if(strpos($filename, 'css.php?stylesheet=') !== false) {
|
{ if(strpos($filename, 'css.php?stylesheet=') !== false) {
|
$style['sid'] = (integer)str_replace('css.php?stylesheet=', '', $filename);
| $style['sid'] = (int)str_replace('css.php?stylesheet=', '', $filename);
|
$filename = $theme_stylesheets[$style['sid']]; } else
| $filename = $theme_stylesheets[$style['sid']]; } else
|
Zeile 1392 | Zeile 1411 |
---|
foreach($inherited_ary as $tid => $file) { if(isset($applied_to_count) && $count == $applied_to_count && $count != 0)
|
foreach($inherited_ary as $tid => $file) { if(isset($applied_to_count) && $count == $applied_to_count && $count != 0)
|
{ $sep = " {$lang->and} "; }
| { $sep = " {$lang->and} "; }
|
$inherited .= $sep.$file; $sep = $lang->comma;
| $inherited .= $sep.$file; $sep = $lang->comma;
|
Zeile 1527 | Zeile 1546 |
---|
echo $form->generate_hidden_field("tid", $theme['tid']); $form_container = new FormContainer($lang->edit_theme_properties); $form_container->output_row($lang->name." <em>*</em>", $lang->name_desc_edit, $form->generate_text_box('name', $theme['name'], array('id' => 'name')), 'name');
|
echo $form->generate_hidden_field("tid", $theme['tid']); $form_container = new FormContainer($lang->edit_theme_properties); $form_container->output_row($lang->name." <em>*</em>", $lang->name_desc_edit, $form->generate_text_box('name', $theme['name'], array('id' => 'name')), 'name');
|
|
|
$options = build_theme_array($theme['tid']); $form_container->output_row($lang->parent_theme." <em>*</em>", $lang->parent_theme_desc, $form->generate_select_box('pid', $options, $theme['pid'], array('id' => 'pid')), 'pid');
|
$options = build_theme_array($theme['tid']); $form_container->output_row($lang->parent_theme." <em>*</em>", $lang->parent_theme_desc, $form->generate_select_box('pid', $options, $theme['pid'], array('id' => 'pid')), 'pid');
|
$options = array();
| $options = array();
|
$query = $db->simple_select("usergroups", "gid, title", "gid != '1'", array('order_by' => 'title')); $options['all'] = $lang->all_user_groups; while($usergroup = $db->fetch_array($query)) { $options[(int)$usergroup['gid']] = $usergroup['title'];
|
$query = $db->simple_select("usergroups", "gid, title", "gid != '1'", array('order_by' => 'title')); $options['all'] = $lang->all_user_groups; while($usergroup = $db->fetch_array($query)) { $options[(int)$usergroup['gid']] = $usergroup['title'];
|
}
| }
|
$form_container->output_row($lang->allowed_user_groups, $lang->allowed_user_groups_desc, $form->generate_select_box('allowedgroups[]', $options, explode(",", $theme['allowedgroups']), array('id' => 'allowedgroups', 'multiple' => true, 'size' => 5)), 'allowedgroups');
|
$form_container->output_row($lang->allowed_user_groups, $lang->allowed_user_groups_desc, $form->generate_select_box('allowedgroups[]', $options, explode(",", $theme['allowedgroups']), array('id' => 'allowedgroups', 'multiple' => true, 'size' => 5)), 'allowedgroups');
|
$options = array();
| $options = array();
|
$query = $db->simple_select("templatesets", "*", "", array('order_by' => 'title')); while($templateset = $db->fetch_array($query)) {
| $query = $db->simple_select("templatesets", "*", "", array('order_by' => 'title')); while($templateset = $db->fetch_array($query)) {
|
Zeile 1553 | Zeile 1572 |
---|
if($dh = @opendir($editor_theme_root)) { while($dir = readdir($dh))
|
if($dh = @opendir($editor_theme_root)) { while($dir = readdir($dh))
|
{
| {
|
if($dir == ".svn" || $dir == "." || $dir == ".." || is_dir($editor_theme_root.$dir) || get_extension($editor_theme_root.$dir) != 'css') { continue;
| if($dir == ".svn" || $dir == "." || $dir == ".." || is_dir($editor_theme_root.$dir) || get_extension($editor_theme_root.$dir) != 'css') { continue;
|
Zeile 1603 | Zeile 1622 |
---|
$buttons = array(); $buttons[] = $form->generate_submit_button($lang->save_theme_properties);
|
$buttons = array(); $buttons[] = $form->generate_submit_button($lang->save_theme_properties);
|
$form->output_submit_wrapper($buttons); $form->end();
| $form->output_submit_wrapper($buttons); $form->end();
|
$page->output_footer(); }
|
$page->output_footer(); }
|
|
|
if($mybb->input['action'] == "stylesheet_properties") { // Fetch the theme we want to edit this stylesheet in $query = $db->simple_select("themes", "*", "tid='".$mybb->get_input('tid', MyBB::INPUT_INT)."'"); $theme = $db->fetch_array($query);
|
if($mybb->input['action'] == "stylesheet_properties") { // Fetch the theme we want to edit this stylesheet in $query = $db->simple_select("themes", "*", "tid='".$mybb->get_input('tid', MyBB::INPUT_INT)."'"); $theme = $db->fetch_array($query);
|
|
|
if(!$theme['tid'] || $theme['tid'] == 1) { flash_message($lang->error_invalid_theme, 'error');
|
if(!$theme['tid'] || $theme['tid'] == 1) { flash_message($lang->error_invalid_theme, 'error');
|
admin_redirect("index.php?module=style-themes"); }
$plugins->run_hooks("admin_style_themes_stylesheet_properties");
| admin_redirect("index.php?module=style-themes"); }
$plugins->run_hooks("admin_style_themes_stylesheet_properties");
|
$parent_list = make_parent_theme_list($theme['tid']); $parent_list = implode(',', $parent_list); if(!$parent_list) { $parent_list = 1; }
|
$parent_list = make_parent_theme_list($theme['tid']); $parent_list = implode(',', $parent_list); if(!$parent_list) { $parent_list = 1; }
|
|
|
$query = $db->simple_select("themestylesheets", "*", "name='".$db->escape_string($mybb->input['file'])."' AND tid IN ({$parent_list})", array('order_by' => 'tid', 'order_dir' => 'desc', 'limit' => 1)); $stylesheet = $db->fetch_array($query);
| $query = $db->simple_select("themestylesheets", "*", "name='".$db->escape_string($mybb->input['file'])."' AND tid IN ({$parent_list})", array('order_by' => 'tid', 'order_dir' => 'desc', 'limit' => 1)); $stylesheet = $db->fetch_array($query);
|
Zeile 1638 | Zeile 1657 |
---|
{ flash_message($lang->error_invalid_stylesheet, 'error'); admin_redirect("index.php?module=style-themes");
|
{ flash_message($lang->error_invalid_stylesheet, 'error'); admin_redirect("index.php?module=style-themes");
|
}
| }
|
// Fetch list of all of the stylesheets for this theme $stylesheets = fetch_theme_stylesheets($theme);
| // Fetch list of all of the stylesheets for this theme $stylesheets = fetch_theme_stylesheets($theme);
|
Zeile 1673 | Zeile 1692 |
---|
if($theme['tid'] != $stylesheet['tid']) { $stylesheet['sid'] = copy_stylesheet_to_theme($stylesheet, $theme['tid']);
|
if($theme['tid'] != $stylesheet['tid']) { $stylesheet['sid'] = copy_stylesheet_to_theme($stylesheet, $theme['tid']);
|
}
| }
|
$attached = array(); if($mybb->input['attach'] == 1)
| $attached = array(); if($mybb->input['attach'] == 1)
|
Zeile 1690 | Zeile 1709 |
---|
$attached_id = (int)str_replace('attached_', '', $id);
if($mybb->input['action_'.$attached_id] == 1)
|
$attached_id = (int)str_replace('attached_', '', $id);
if($mybb->input['action_'.$attached_id] == 1)
|
{
| {
|
// We have custom actions for attached files $actions_list = $mybb->input['action_list_'.$attached_id];
|
// We have custom actions for attached files $actions_list = $mybb->input['action_list_'.$attached_id];
|
}
| }
|
if($actions_list) {
| if($actions_list) {
|
Zeile 1707 | Zeile 1726 |
---|
else if($mybb->input['attach'] == 2) { if(!is_array($mybb->input['color']))
|
else if($mybb->input['attach'] == 2) { if(!is_array($mybb->input['color']))
|
{
| {
|
$errors[] = $lang->error_no_color_picked; } else
| $errors[] = $lang->error_no_color_picked; } else
|
Zeile 1738 | Zeile 1757 |
---|
$update_d = true;
$db->update_query("themestylesheets", array('lastmodified' => TIME_NOW), "sid='{$stylesheet['sid']}'", 1);
|
$update_d = true;
$db->update_query("themestylesheets", array('lastmodified' => TIME_NOW), "sid='{$stylesheet['sid']}'", 1);
|
if(!cache_stylesheet($theme['tid'], str_replace('/', '', $mybb->input['name']), $theme['stylesheet']))
| if(!cache_stylesheet($theme['tid'], str_replace('/', '', $mybb->input['name']), $stylesheet['stylesheet']))
|
{ $db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$stylesheet['sid']}"), "sid='{$stylesheet['sid']}'", 1); } @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$stylesheet['cachefile']}");
|
{ $db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$stylesheet['sid']}"), "sid='{$stylesheet['sid']}'", 1); } @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$stylesheet['cachefile']}");
|
| $filename_min = str_replace('.css', '.min.css', $stylesheet['cachefile']); @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$filename_min}");
|
}
// Update the CSS file list for this theme
| }
// Update the CSS file list for this theme
|
Zeile 2231 | Zeile 2253 |
---|
$form->output_submit_wrapper($buttons);
|
$form->output_submit_wrapper($buttons);
|
echo '<script type="text/javascript" src="./jscripts/themes.js?ver=1804"></script>';
| echo '<script type="text/javascript" src="./jscripts/themes.js?ver=1808"></script>';
|
echo '<script type="text/javascript">
$(document).ready(function() {
| echo '<script type="text/javascript">
$(document).ready(function() {
|
Zeile 2330 | Zeile 2352 |
---|
if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
<link href="./jscripts/codemirror/lib/codemirror.css" rel="stylesheet"> <link href="./jscripts/codemirror/theme/mybb.css?ver=1804" rel="stylesheet"> <link href="./jscripts/codemirror/addon/dialog/dialog-mybb.css" rel="stylesheet"> <script src="./jscripts/codemirror/lib/codemirror.js"></script> <script src="./jscripts/codemirror/mode/css/css.js"></script> <script src="./jscripts/codemirror/addon/dialog/dialog.js"></script> <script src="./jscripts/codemirror/addon/search/searchcursor.js"></script> <script src="./jscripts/codemirror/addon/search/search.js"></script>
| <link href="./jscripts/codemirror/lib/codemirror.css?ver=1813" rel="stylesheet"> <link href="./jscripts/codemirror/theme/mybb.css?ver=1813" rel="stylesheet"> <link href="./jscripts/codemirror/addon/dialog/dialog-mybb.css?ver=1813" rel="stylesheet"> <script src="./jscripts/codemirror/lib/codemirror.js?ver=1813"></script> <script src="./jscripts/codemirror/mode/css/css.js?ver=1813"></script> <script src="./jscripts/codemirror/addon/dialog/dialog.js?ver=1813"></script> <script src="./jscripts/codemirror/addon/search/searchcursor.js?ver=1813"></script> <script src="./jscripts/codemirror/addon/search/search.js?ver=1813"></script>
|
'; }
| '; }
|
Zeile 2458 | Zeile 2480 |
---|
{ $db->delete_query("themestylesheets", "sid='{$stylesheet['sid']}'", 1); @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$stylesheet['cachefile']}");
|
{ $db->delete_query("themestylesheets", "sid='{$stylesheet['sid']}'", 1); @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$stylesheet['cachefile']}");
|
| $filename_min = str_replace('.css', '.min.css', $stylesheet['cachefile']); @unlink(MYBB_ROOT."cache/themes/theme{$theme['tid']}/{$filename_min}");
|
// Update the CSS file list for this theme update_theme_stylesheet_list($theme['tid'], $theme, true);
| // Update the CSS file list for this theme update_theme_stylesheet_list($theme['tid'], $theme, true);
|
Zeile 2603 | Zeile 2628 |
---|
if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
<link href="./jscripts/codemirror/lib/codemirror.css" rel="stylesheet"> <link href="./jscripts/codemirror/theme/mybb.css?ver=1804" rel="stylesheet"> <link href="./jscripts/codemirror/addon/dialog/dialog-mybb.css" rel="stylesheet"> <script src="./jscripts/codemirror/lib/codemirror.js"></script> <script src="./jscripts/codemirror/mode/css/css.js"></script> <script src="./jscripts/codemirror/addon/dialog/dialog.js"></script> <script src="./jscripts/codemirror/addon/search/searchcursor.js"></script> <script src="./jscripts/codemirror/addon/search/search.js"></script>
| <link href="./jscripts/codemirror/lib/codemirror.css?ver=1813" rel="stylesheet"> <link href="./jscripts/codemirror/theme/mybb.css?ver=1813" rel="stylesheet"> <link href="./jscripts/codemirror/addon/dialog/dialog-mybb.css?ver=1813" rel="stylesheet"> <script src="./jscripts/codemirror/lib/codemirror.js?ver=1813"></script> <script src="./jscripts/codemirror/mode/css/css.js?ver=1813"></script> <script src="./jscripts/codemirror/addon/dialog/dialog.js?ver=1813"></script> <script src="./jscripts/codemirror/addon/search/searchcursor.js?ver=1813"></script> <script src="./jscripts/codemirror/addon/search/search.js?ver=1813"></script>
|
'; }
| '; }
|
Zeile 2873 | Zeile 2898 |
---|
});</script>'; }
|
});</script>'; }
|
echo '<script type="text/javascript" src="./jscripts/themes.js?ver=1804"></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"> $(function() {
| echo '<script type="text/javascript" src="./jscripts/theme_properties.js"></script>'; echo '<script type="text/javascript"> $(function() {
|