diff --git a/view/theme/dispy/icons.png b/view/theme/dispy/icons.png index 43228bb9d..b016fe33b 100644 Binary files a/view/theme/dispy/icons.png and b/view/theme/dispy/icons.png differ diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index 245957808..eab3af700 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -81,6 +81,17 @@ tinyMCE.init({ } } ); + var file_uploader = new window.AjaxUpload( + 'wall-file-upload', + { action: 'wall_attach/$nickname', + name: 'userfile', + onSubmit: function(file,ext) { $('#profile-rotator').show(); }, + onComplete: function(file,response) { + tinyMCE.execCommand('mceInsertRawHTML',false,response); + $('#profile-rotator').hide(); + } + } + ); $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { var selstr; $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { diff --git a/view/theme/dispy/jot.tpl b/view/theme/dispy/jot.tpl index ab121db31..f87b6fbb3 100644 --- a/view/theme/dispy/jot.tpl +++ b/view/theme/dispy/jot.tpl @@ -26,8 +26,11 @@
-
-
+
+ +
+
+
diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index 5cedf4118..36702b3e8 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -815,9 +815,9 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} .pause { background-position: -110px -20px;} .play { background-position: -130px -20px;} .pencil { background-position: -150px -20px;} -.small-pencil{ background-position: -170px -20px;} +.small-pencil { background-position: -170px -20px;} .recycle { background-position: -190px -20px;} -.remote-link{ background-position: -210px -20px;} +.remote-link { background-position: -210px -20px;} .share { background-position: -230px -20px;} .tools { background-position: -50px -40px;} @@ -825,7 +825,9 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} .unlock { background-position: -90px -40px;} .video { background-position: -110px -40px;} .youtube { background-position: -130px -40px;} - + +.attach { background-position: -190px -40px;} +.language { background-position: -210px -40px;} .attachtype { display: block; width: 20px; height: 23px;