aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_events.css3
-rwxr-xr-xview/tpl/event_form.tpl1
-rwxr-xr-xview/tpl/event_head.tpl5
3 files changed, 7 insertions, 2 deletions
diff --git a/view/css/mod_events.css b/view/css/mod_events.css
new file mode 100644
index 000000000..657eff082
--- /dev/null
+++ b/view/css/mod_events.css
@@ -0,0 +1,3 @@
+#event-desc-textarea, #event-location-textarea {
+ width: 400px;
+} \ No newline at end of file
diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl
index da4dda82e..eaf3f74fe 100755
--- a/view/tpl/event_form.tpl
+++ b/view/tpl/event_form.tpl
@@ -36,6 +36,7 @@
<div id="event-location-text">{{$l_text}}</div>
<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea>
+<br />
<input type="checkbox" name="share" value="1" id="event-share-checkbox" {{$sh_checked}} /> <div id="event-share-text">{{$sh_text}}</div>
<div id="event-share-break"></div>
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl
index b55025f65..e698c8c97 100755
--- a/view/tpl/event_head.tpl
+++ b/view/tpl/event_head.tpl
@@ -73,7 +73,7 @@
});
</script>
-
+{{if $editselect != 'none'}}
<script language="javascript" type="text/javascript"
src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
<script language="javascript" type="text/javascript">
@@ -81,7 +81,7 @@
tinyMCE.init({
theme : "advanced",
- mode : "textareas",
+ mode : "{{$editselect}}",
plugins : "bbcode,paste",
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
theme_advanced_buttons2 : "",
@@ -107,6 +107,7 @@
});
+ {{/if}}
$(document).ready(function() {