57 |
Element.addClassName('a_template', 'tab_selected'); |
Element.addClassName('a_template', 'tab_selected'); |
58 |
$('div_template').style.visibility = "visible"; |
$('div_template').style.visibility = "visible"; |
59 |
Logger.debug("switched to template editor"); |
Logger.debug("switched to template editor"); |
60 |
$('template_content').focus(); |
var c = $('template_content'); |
61 |
|
if (c) c.focus(); |
62 |
return false; |
return false; |
63 |
} |
} |
64 |
|
|
68 |
Element.addClassName('a_css', 'tab_selected'); |
Element.addClassName('a_css', 'tab_selected'); |
69 |
$('div_css').style.visibility = "visible"; |
$('div_css').style.visibility = "visible"; |
70 |
Logger.debug("switched to CSS editor"); |
Logger.debug("switched to CSS editor"); |
71 |
$('css_content').focus(); |
var c = $('css_content'); |
72 |
|
if (c) c.focus(); |
73 |
return false; |
return false; |
74 |
} |
} |
75 |
|
|
140 |
|
|
141 |
// Position.clone('div_template', 'div_css'); |
// Position.clone('div_template', 'div_css'); |
142 |
|
|
143 |
|
edit_template(); |
144 |
|
|
145 |
// load css editor |
// load css editor |
146 |
load_css(); |
load_css(); |
147 |
|
|