--- a/app/soc/views/helper/widgets.py Sat Feb 07 20:39:08 2009 +0000
+++ b/app/soc/views/helper/widgets.py Sat Feb 07 20:40:48 2009 +0000
@@ -62,10 +62,24 @@
{% endblock %}
"""
+ features1 = ("bold,italic,underline,strikethrough,|,"
+ "forecolor,backcolor,blockquote,|"
+ ",justifyleft,justifycenter,justifyright,justifyfull,|,"
+ "fontselect, fontsizeselect,formatselect")
+
+ features2 = ("newdocument,|,bullist,numlist,|,outdent,indent,|,undo,redo,|"
+ ",link,unlink,anchor,image,cleanup,help,code,hr,removeformat,visualaid,|,"
+ "sub,sup,|,charmap,"
+ "")
+
DEF_MCE_SETTINGS = {'mode': "exact",
- 'theme': "simple",
+ 'theme': "advanced",
+ 'theme_advanced_buttons1': features1,
+ 'theme_advanced_buttons2': features2,
+ 'theme_advanced_buttons3': '',
'theme_advanced_toolbar_location': "top",
- 'theme_advanced_toolbar_align': "center"}
+ 'theme_advanced_toolbar_align': "left"}
+
TINY_MCE_HTML_FMT = u'''\
<textarea %(attrs)s>%(value)s</textarea>
--- a/app/soc/views/models/document.py Sat Feb 07 20:39:08 2009 +0000
+++ b/app/soc/views/models/document.py Sat Feb 07 20:40:48 2009 +0000
@@ -86,7 +86,7 @@
new_params['create_extra_dynafields'] = {
'content': forms.fields.CharField(
- widget=helper.widgets.TinyMCE(attrs={'rows':10, 'cols':40})),
+ widget=helper.widgets.TinyMCE(attrs={'rows': 25, 'cols': 100})),
'scope_path': forms.fields.CharField(widget=forms.HiddenInput,
required=True),
'prefix': forms.fields.CharField(widget=helper.widgets.ReadOnlyInput(),
--- a/app/soc/views/models/presence.py Sat Feb 07 20:39:08 2009 +0000
+++ b/app/soc/views/models/presence.py Sat Feb 07 20:40:48 2009 +0000
@@ -79,7 +79,6 @@
help_text=soc.models.work.Work.link_id.help_text),
}
-
patterns = []
page_name = "Home"