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 340 | Zeile 340 |
---|
$properties = unserialize($theme['properties']); $xml = "<?xml version=\"1.0\" encoding=\"{$lang->settings['charset']}\"?".">\r\n";
|
$properties = unserialize($theme['properties']); $xml = "<?xml version=\"1.0\" encoding=\"{$lang->settings['charset']}\"?".">\r\n";
|
$xml .= "<theme name=\"".$theme['name']."\" version=\"".$mybb->version_code."\">\r\n";
| $xml .= "<theme name=\"".htmlspecialchars_uni($theme['name'])."\" version=\"".$mybb->version_code."\">\r\n";
|
$xml .= "\t<properties>\r\n"; foreach($properties as $property => $value) {
| $xml .= "\t<properties>\r\n"; foreach($properties as $property => $value) {
|
Zeile 1103 | Zeile 1103 |
---|
$stylesheets[basename($file)] = $stylesheet2; }
|
$stylesheets[basename($file)] = $stylesheet2; }
|
$this_stylesheet = $stylesheets[$stylesheet['cachefile']];
| if(!array_key_exists($stylesheet['cachefile'], $stylesheets) && array_key_exists("css.php?stylesheet=".$stylesheet['tid'], $stylesheets)) { $stylesheet['cachefile'] = "css.php?stylesheet=".$stylesheet['tid']; } $this_stylesheet = $stylesheets[$stylesheet['cachefile']];
|
unset($stylesheets); if($mybb->request_method == "post")
| unset($stylesheets); if($mybb->request_method == "post")
|
Zeile 1155 | Zeile 1160 |
---|
// Update Stylesheet $update_array = array( 'name' => $db->escape_string($mybb->input['name']),
|
// Update Stylesheet $update_array = array( 'name' => $db->escape_string($mybb->input['name']),
|
'attachedto' => $db->escape_string(implode('|', $attached)), 'lastmodified' => TIME_NOW
| 'attachedto' => $db->escape_string(implode('|', $attached))
|
); if($stylesheet['name'] != $mybb->input['name'])
| ); if($stylesheet['name'] != $mybb->input['name'])
|
Zeile 1169 | Zeile 1173 |
---|
// If the name changed, re-cache our stylesheet if($stylesheet['name'] != $mybb->input['name']) {
|
// If the name changed, re-cache our stylesheet if($stylesheet['name'] != $mybb->input['name']) {
|
| $db->update_query("themestylesheets", array('lastmodified' => TIME_NOW), "sid='{$stylesheet['sid']}'", 1);
|
if(!cache_stylesheet($theme['tid'], str_replace('/', '', $mybb->input['name']), $theme['stylesheet'])) { $db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$stylesheet['sid']}"), "sid='{$stylesheet['sid']}'", 1);
| if(!cache_stylesheet($theme['tid'], str_replace('/', '', $mybb->input['name']), $theme['stylesheet'])) { $db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$stylesheet['sid']}"), "sid='{$stylesheet['sid']}'", 1);
|
Zeile 1207 | Zeile 1212 |
---|
else { $page->output_alert($lang->sprintf($lang->stylesheet_inherited, $stylesheet_parent));
|
else { $page->output_alert($lang->sprintf($lang->stylesheet_inherited, $stylesheet_parent));
|
} }
| } }
|
$applied_to = $this_stylesheet['applied_to']; unset($this_stylesheet);
| $applied_to = $this_stylesheet['applied_to']; unset($this_stylesheet);
|
Zeile 1244 | Zeile 1249 |
---|
$count = 0; if(is_array($applied_to) && $applied_to['global'][0] != "global")
|
$count = 0; if(is_array($applied_to) && $applied_to['global'][0] != "global")
|
{ $check_actions = ""; $global_checked[2] = "checked=\"checked\""; $global_checked[1] = "";
| { $check_actions = ""; $global_checked[2] = "checked=\"checked\""; $global_checked[1] = "";
|
foreach($applied_to as $name => $actions) { $short_name = substr($name, 0, -4);
| foreach($applied_to as $name => $actions) { $short_name = substr($name, 0, -4);
|
Zeile 1258 | Zeile 1263 |
---|
if($actions[0] != "global") { $action_list = implode(',', $actions);
|
if($actions[0] != "global") { $action_list = implode(',', $actions);
|
}
| }
|
if($actions[0] == "global") { $global_action_checked[1] = "checked=\"checked\"";
| if($actions[0] == "global") { $global_action_checked[1] = "checked=\"checked\"";
|
Zeile 1366 | Zeile 1371 |
---|
// Shows the page where you can actually edit a particular selector or the whole stylesheet if($mybb->input['action'] == "edit_stylesheet" && (!$mybb->input['mode'] || $mybb->input['mode'] == "simple"))
|
// Shows the page where you can actually edit a particular selector or the whole stylesheet if($mybb->input['action'] == "edit_stylesheet" && (!$mybb->input['mode'] || $mybb->input['mode'] == "simple"))
|
{ // Fetch the theme we want to edit this stylesheet in $query = $db->simple_select("themes", "*", "tid='".intval($mybb->input['tid'])."'"); $theme = $db->fetch_array($query); if(!$theme['tid']) { flash_message($lang->error_invalid_theme, 'error'); admin_redirect("index.php?module=style/themes"); } $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); // Does the theme not exist? if(!$stylesheet['sid']) { flash_message($lang->error_invalid_stylesheet, 'error'); admin_redirect("index.php?module=style/themes"); }
| { // Fetch the theme we want to edit this stylesheet in $query = $db->simple_select("themes", "*", "tid='".intval($mybb->input['tid'])."'"); $theme = $db->fetch_array($query); if(!$theme['tid']) { flash_message($lang->error_invalid_theme, 'error'); admin_redirect("index.php?module=style/themes"); } $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); // Does the theme not exist? if(!$stylesheet['sid']) { flash_message($lang->error_invalid_stylesheet, 'error'); admin_redirect("index.php?module=style/themes"); }
|
if($mybb->request_method == "post") { $sid = $stylesheet['sid'];
| if($mybb->request_method == "post") { $sid = $stylesheet['sid'];
|
Zeile 1442 | Zeile 1447 |
---|
// Cache the stylesheet to the file if(!cache_stylesheet($theme['tid'], $stylesheet['name'], $new_stylesheet))
|
// Cache the stylesheet to the file if(!cache_stylesheet($theme['tid'], $stylesheet['name'], $new_stylesheet))
|
{
| {
|
$db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$sid}"), "sid='{$sid}'", 1); }
| $db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$sid}"), "sid='{$sid}'", 1); }
|
Zeile 1489 | Zeile 1494 |
---|
flash_message($lang->error_cannot_parse, 'error'); admin_redirect("index.php?module=style/themes&action=edit_stylesheet&tid={$theme['tid']}&file=".htmlspecialchars_uni($stylesheet['name'])."&mode=advanced"); exit;
|
flash_message($lang->error_cannot_parse, 'error'); admin_redirect("index.php?module=style/themes&action=edit_stylesheet&tid={$theme['tid']}&file=".htmlspecialchars_uni($stylesheet['name'])."&mode=advanced"); exit;
|
} // Fetch list of all of the stylesheets for this theme $file_stylesheets = unserialize($theme['stylesheets']); $stylesheets = array(); $inherited_load = array(); // Now we loop through the list of stylesheets for each file foreach($file_stylesheets as $file => $action_stylesheet) { if($file == 'inherited') { continue; } foreach($action_stylesheet as $action => $style) { foreach($style as $stylesheet2) { $stylesheets[$stylesheet2]['applied_to'][$file][] = $action; if(is_array($file_stylesheets['inherited'][$file."_".$action]) && in_array($stylesheet2, array_keys($file_stylesheets['inherited'][$file."_".$action]))) { $stylesheets[$stylesheet2]['inherited'] = $file_stylesheets['inherited'][$file."_".$action]; foreach($file_stylesheets['inherited'][$file."_".$action] as $value) { $inherited_load[] = $value; } } } } } foreach($stylesheets as $file => $stylesheet2) { if(is_array($stylesheet2['inherited'])) { foreach($stylesheet2['inherited'] as $inherited_file => $tid) { $stylesheet2['inherited'][basename($inherited_file)] = $tid; unset($stylesheet2['inherited'][$inherited_file]); } } $stylesheets[basename($file)] = $stylesheet2; unset($stylesheets[$file]); } $this_stylesheet = $stylesheets[$stylesheet['name']];
| } // Fetch list of all of the stylesheets for this theme $file_stylesheets = unserialize($theme['stylesheets']); $stylesheets = array(); $inherited_load = array(); // Now we loop through the list of stylesheets for each file foreach($file_stylesheets as $file => $action_stylesheet) { if($file == 'inherited') { continue; } foreach($action_stylesheet as $action => $style) { foreach($style as $stylesheet2) { $stylesheets[$stylesheet2]['applied_to'][$file][] = $action; if(is_array($file_stylesheets['inherited'][$file."_".$action]) && in_array($stylesheet2, array_keys($file_stylesheets['inherited'][$file."_".$action]))) { $stylesheets[$stylesheet2]['inherited'] = $file_stylesheets['inherited'][$file."_".$action]; foreach($file_stylesheets['inherited'][$file."_".$action] as $value) { $inherited_load[] = $value; } } } } } foreach($stylesheets as $file => $stylesheet2) { if(is_array($stylesheet2['inherited'])) { foreach($stylesheet2['inherited'] as $inherited_file => $tid) { $stylesheet2['inherited'][basename($inherited_file)] = $tid; unset($stylesheet2['inherited'][$inherited_file]); } } $stylesheets[basename($file)] = $stylesheet2; unset($stylesheets[$file]); } $this_stylesheet = $stylesheets[$stylesheet['name']];
|
unset($stylesheets); $page->extra_header .= "
| unset($stylesheets); $page->extra_header .= "
|
Zeile 1777 | 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 1825 | Zeile 1833 |
---|
// Need to refetch new stylesheet as it was modified $query = $db->simple_select("themestylesheets", "stylesheet", "sid='{$stylesheet['sid']}'"); $stylesheet['stylesheet'] = $db->fetch_field($query, 'stylesheet');
|
// Need to refetch new stylesheet as it was modified $query = $db->simple_select("themestylesheets", "stylesheet", "sid='{$stylesheet['sid']}'"); $stylesheet['stylesheet'] = $db->fetch_field($query, 'stylesheet');
|
}
| }
|
$form = new Form("index.php?module=style/themes&action=edit_stylesheet&mode=advanced", "post", "edit_stylesheet"); echo $form->generate_hidden_field("tid", $mybb->input['tid'])."\n"; echo $form->generate_hidden_field("file", htmlspecialchars_uni($mybb->input['file']))."\n";
| $form = new Form("index.php?module=style/themes&action=edit_stylesheet&mode=advanced", "post", "edit_stylesheet"); echo $form->generate_hidden_field("tid", $mybb->input['tid'])."\n"; echo $form->generate_hidden_field("file", htmlspecialchars_uni($mybb->input['file']))."\n";
|
Zeile 1835 | Zeile 1843 |
---|
$table->construct_cell($form->generate_text_area('stylesheet', $stylesheet['stylesheet'], array('id' => 'stylesheet', 'style' => 'width: 99%;', 'class' => 'codepress css', 'rows' => '30'))); $table->construct_row(); $table->output("{$lang->full_stylesheet_for} ".htmlspecialchars_uni($stylesheet['name']));
|
$table->construct_cell($form->generate_text_area('stylesheet', $stylesheet['stylesheet'], array('id' => 'stylesheet', 'style' => 'width: 99%;', 'class' => 'codepress css', 'rows' => '30'))); $table->construct_row(); $table->output("{$lang->full_stylesheet_for} ".htmlspecialchars_uni($stylesheet['name']));
|
|
|
$buttons[] = $form->generate_reset_button($lang->reset); $buttons[] = $form->generate_submit_button($lang->save_changes, array('id' => 'save', 'name' => 'save')); $buttons[] = $form->generate_submit_button($lang->save_changes_and_close, array('id' => 'save_close', 'name' => 'save_close'));
|
$buttons[] = $form->generate_reset_button($lang->reset); $buttons[] = $form->generate_submit_button($lang->save_changes, array('id' => 'save', 'name' => 'save')); $buttons[] = $form->generate_submit_button($lang->save_changes_and_close, array('id' => 'save_close', 'name' => 'save_close'));
|
|
|
$form->output_submit_wrapper($buttons);
$form->end();
|
$form->output_submit_wrapper($buttons);
$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 1855 | Zeile 1865 |
---|
} }); </script>";
|
} }); </script>";
|
| }
|
$page->output_footer(); }
if($mybb->input['action'] == "delete_stylesheet")
|
$page->output_footer(); }
if($mybb->input['action'] == "delete_stylesheet")
|
{ // Fetch the theme we want to edit this stylesheet in $query = $db->simple_select("themes", "*", "tid='".intval($mybb->input['tid'])."'"); $theme = $db->fetch_array($query);
| { // Fetch the theme we want to edit this stylesheet in $query = $db->simple_select("themes", "*", "tid='".intval($mybb->input['tid'])."'"); $theme = $db->fetch_array($query);
|
if(!$theme['tid']) {
| if(!$theme['tid']) {
|
Zeile 1953 | Zeile 1964 |
---|
$inherited_load[] = $value; } }
|
$inherited_load[] = $value; } }
|
} } }
| } } }
|
foreach($stylesheets as $file => $stylesheet2) {
| foreach($stylesheets as $file => $stylesheet2) {
|
Zeile 1970 | Zeile 1981 |
---|
$stylesheets[basename($file)] = $stylesheet2; unset($stylesheets[$file]);
|
$stylesheets[basename($file)] = $stylesheet2; unset($stylesheets[$file]);
|
}
| }
|
if($mybb->request_method == "post") { if(!$mybb->input['name'])
| if($mybb->request_method == "post") { if(!$mybb->input['name'])
|
Zeile 1989 | Zeile 2000 |
---|
$query = $db->simple_select("themestylesheets", "stylesheet", "name='".$db->escape_string($mybb->input['import'])."' AND tid IN ({$parent_list})", array('limit' => 1, 'order_by' => 'tid', 'order_dir' => 'desc')); $stylesheet = $db->fetch_field($query, "stylesheet");
|
$query = $db->simple_select("themestylesheets", "stylesheet", "name='".$db->escape_string($mybb->input['import'])."' AND tid IN ({$parent_list})", array('limit' => 1, 'order_by' => 'tid', 'order_dir' => 'desc')); $stylesheet = $db->fetch_field($query, "stylesheet");
|
}
| }
|
else { // Custom stylesheet
| else { // Custom stylesheet
|
Zeile 2024 | Zeile 2035 |
---|
$attached[] = $attached_to; }
|
$attached[] = $attached_to; }
|
} }
| } }
|
// Add Stylesheet $insert_array = array(
| // Add Stylesheet $insert_array = array(
|
Zeile 2042 | Zeile 2053 |
---|
if(!cache_stylesheet($theme['tid'], str_replace('/', '', $mybb->input['name']), $stylesheet)) { $db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$sid}"), "sid='{$sid}'", 1);
|
if(!cache_stylesheet($theme['tid'], str_replace('/', '', $mybb->input['name']), $stylesheet)) { $db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$sid}"), "sid='{$sid}'", 1);
|
}
| }
|
// Update the CSS file list for this theme update_theme_stylesheet_list($theme['tid']);
| // Update the CSS file list for this theme update_theme_stylesheet_list($theme['tid']);
|
Zeile 2053 | Zeile 2064 |
---|
flash_message($lang->success_stylesheet_added, 'success'); admin_redirect("index.php?module=style/themes&action=edit_stylesheet&tid={$mybb->input['tid']}&sid={$sid}&file=".urlencode($mybb->input['name'])); }
|
flash_message($lang->success_stylesheet_added, 'success'); admin_redirect("index.php?module=style/themes&action=edit_stylesheet&tid={$mybb->input['tid']}&sid={$sid}&file=".urlencode($mybb->input['name'])); }
|
}
| }
|
|
|
$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 2114 | Zeile 2128 |
---|
{ $add_checked[2] = "checked=\"checked\""; $add_checked[1] = "";
|
{ $add_checked[2] = "checked=\"checked\""; $add_checked[1] = "";
|
} } else {
| } } else {
|
$mybb->input['name'] = $stylesheet['name']; }
| $mybb->input['name'] = $stylesheet['name']; }
|
Zeile 2171 | Zeile 2185 |
---|
$form_container = new FormContainer(); $form_container->output_row("", "", "<span style=\"float: right;\"><a href=\"\" id=\"delete_img_{$count}\"><img src=\"styles/{$page->style}/images/icons/cross.gif\" alt=\"{$lang->delete}\" title=\"{$lang->delete}\" /></a></span>{$lang->file} ".$form->generate_text_box("attached_{$count}", $name, array('id' => "attached_{$count}", 'style' => 'width: 200px;')), "attached_{$count}");
|
$form_container = new FormContainer(); $form_container->output_row("", "", "<span style=\"float: right;\"><a href=\"\" id=\"delete_img_{$count}\"><img src=\"styles/{$page->style}/images/icons/cross.gif\" alt=\"{$lang->delete}\" title=\"{$lang->delete}\" /></a></span>{$lang->file} ".$form->generate_text_box("attached_{$count}", $name, array('id' => "attached_{$count}", 'style' => 'width: 200px;')), "attached_{$count}");
|
|
|
$form_container->output_row("", "", $specific_file); $specific_files .= "<div id=\"attached_form_{$count}\">".$form_container->end(true)."</div><div id=\"attach_box_{$count}\"></div>";
| $form_container->output_row("", "", $specific_file); $specific_files .= "<div id=\"attached_form_{$count}\">".$form_container->end(true)."</div><div id=\"attach_box_{$count}\"></div>";
|
Zeile 2243 | Zeile 2257 |
---|
<dt><label style=\"display: block;\"><input type=\"radio\" name=\"add_type\" value=\"2\" {$add_checked[2]} class=\"adds_check\" onclick=\"checkAction('add');\" style=\"vertical-align: middle;\" /> <strong>{$lang->write_own}</strong></label></dt> <span id=\"add_2\" class=\"adds\"><br />".$form->generate_text_area('stylesheet', $mybb->input['stylesheet'], array('id' => 'stylesheet', 'style' => 'width: 99%;', 'class' => 'codepress css', 'rows' => '30'))."</span> </dl>";
|
<dt><label style=\"display: block;\"><input type=\"radio\" name=\"add_type\" value=\"2\" {$add_checked[2]} class=\"adds_check\" onclick=\"checkAction('add');\" style=\"vertical-align: middle;\" /> <strong>{$lang->write_own}</strong></label></dt> <span id=\"add_2\" class=\"adds\"><br />".$form->generate_text_area('stylesheet', $mybb->input['stylesheet'], array('id' => 'stylesheet', 'style' => 'width: 99%;', 'class' => 'codepress css', 'rows' => '30'))."</span> </dl>";
|
|
|
$form_container->output_row("", "", $actions); $form_container->end();
| $form_container->output_row("", "", $actions); $form_container->end();
|
Zeile 2252 | 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 2263 | 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">
|