equal
deleted
inserted
replaced
15 'defaultPrefs':{'text':{'style':'text-modern-style'}, 'user' : {'name' : '','email' : ''},'general': {'animduration' : '0.4'},'comments': {'threadpad' : '1'},'layout': {'comments_col_width' : '25' /* out of 100 */}} |
15 'defaultPrefs':{'text':{'style':'text-modern-style'}, 'user' : {'name' : '','email' : ''},'general': {'animduration' : '0.4'},'comments': {'threadpad' : '1'},'layout': {'comments_col_width' : '25' /* out of 100 */}} |
16 }; |
16 }; |
17 |
17 |
18 //available text styles in c-text-styles.css |
18 //available text styles in c-text-styles.css |
19 //classname(key) : will be added to #textcontainer, name(value) : the name to display in style dropdown choice" |
19 //classname(key) : will be added to #textcontainer, name(value) : the name to display in style dropdown choice" |
20 gTextStyles = {'modern':gettext('modern'), 'classic':gettext('classic'), 'code':gettext('code')}; |
20 if (sv_custom_font) { |
|
21 gTextStyles = {'custom':gettext('custom'), 'modern':gettext('modern'), 'classic':gettext('classic'), 'code':gettext('code')}; |
|
22 } |
|
23 else { |
|
24 gTextStyles = {'modern':gettext('modern'), 'classic':gettext('classic'), 'code':gettext('code')}; |
|
25 } |
21 |
26 |
22 YUI( { |
27 YUI( { |
23 base :sv_media_url + "/js/lib/yui/" + c_yui_base + "/build/", |
28 base :sv_media_url + "/js/lib/yui/" + c_yui_base + "/build/", |
24 // filter: '{% if CLIENT_DEBUG %}debug{% else %}raw{% endif %}', |
29 // filter: '{% if CLIENT_DEBUG %}debug{% else %}raw{% endif %}', |
25 // filter :'raw', |
30 // filter :'raw', |