Projects
Kolab:3.4
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 81
View file
roundcubemail-plugins-kolab-3.2-csrf.patch
Added
@@ -0,0 +1,53 @@ +diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js +index f2ece35..86b651e 100644 +--- a/plugins/calendar/calendar_ui.js ++++ b/plugins/calendar/calendar_ui.js +@@ -1937,9 +1937,10 @@ function rcube_calendar_ui(settings) + rcmail.gettext('expandattendeegroup','libcalendaring') + '</a>'; + } + ++ var img_src = rcmail.assets_path('program/resources/blank.gif'); + var html = '<td class="role">' + select + '</td>' + + '<td class="name">' + dispname + '</td>' + +- '<td class="availability"><img src="./program/resources/blank.gif" class="availabilityicon ' + avail + '" data-email="' + data.email + '" alt="" /></td>' + ++ '<td class="availability"><img src="' + img_src + '" class="availabilityicon ' + avail + '" data-email="' + data.email + '" alt="" /></td>' + + '<td class="confirmstate"><span class="' + String(data.status).toLowerCase() + '" title="' + Q(tooltip) + '">' + Q(data.status || '') + '</span></td>' + + (data.cutype != 'RESOURCE' ? '<td class="invite">' + (organizer || readonly || !invbox ? '' : invbox) + '</td>' : '') + + '<td class="options">' + (organizer || readonly ? '' : dellink) + '</td>'; +diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js +index 7eb3600..494eb20 100644 +--- a/plugins/kolab_files/kolab_files.js ++++ b/plugins/kolab_files/kolab_files.js +@@ -143,7 +143,7 @@ function kolab_files_init() + sort_col: 'name', + sort_reverse: false, + search_threads: rcmail.env.search_threads, +- resources_dir: 'program/resources', ++ resources_dir: rcmail.assets_path('program/resources'), + supported_mimetypes: rcmail.env.file_mimetypes + }); + +@@ -1840,7 +1840,8 @@ function kolab_files_ui() + // otherwise the form will be posted to a new window + if (document.all) { + var html = '<iframe id="'+frame_name+'" name="'+frame_name+'"' +- + ' src="program/resources/blank.gif" style="width:0;height:0;visibility:hidden;"></iframe>'; ++ + ' src="' + rcmail.assets_path('program/resources/blank.gif') + '"' ++ + ' style="width:0;height:0;visibility:hidden;"></iframe>'; + document.body.insertAdjacentHTML('BeforeEnd', html); + } + // for standards-compliant browsers +diff --git a/plugins/kolab_notes/notes.js b/plugins/kolab_notes/notes.js +index 5a9e05f..1f9de89 100644 +--- a/plugins/kolab_notes/notes.js ++++ b/plugins/kolab_notes/notes.js +@@ -351,7 +351,7 @@ function rcube_kolab_notes_ui(settings) + selector: '#notecontent', + theme: 'modern', + language: settings.editor.lang, +- content_css: 'program/js/tinymce/roundcube/content.css?v1', ++ content_css: rcmail.assets_path('program/js/tinymce/roundcube/content.css?v2'), + plugins: 'autolink charmap code link paste tabfocus searchreplace table textcolor', + toolbar: 'bold italic underline | alignleft aligncenter alignright alignjustify ' + + '| bullist numlist outdent indent blockquote | forecolor backcolor fontselect fontsizeselect ' +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.