WebDAV disabled
This commit is contained in:
parent
b16414c1f4
commit
aef55090c5
@ -207,13 +207,20 @@
|
||||
|
||||
<p>
|
||||
<%= content_tag :label, l(:label_webdav) %>
|
||||
<% webdav_disabled = Redmine::Plugin.installed?(:easy_extensions) && EasyHostingServices::EasyMultiTenancy.activated? %>
|
||||
<%= select_tag 'settings[dmsf_webdav]',
|
||||
options_for_select([
|
||||
[l(:select_option_deactivated), nil],
|
||||
[l(:select_option_activated), '1']],
|
||||
selected: @settings['dmsf_webdav']) %>
|
||||
selected: @settings['dmsf_webdav'],
|
||||
disabled: webdav_disabled) %>
|
||||
<em class="info">
|
||||
<%= l(:note_webdav, protocol: Setting.protocol, domain: Setting.host_name).html_safe %> <%= l(:label_default) %>: <%= l(:select_option_activated) %>
|
||||
<% if webdav_disabled %>
|
||||
<%= l(:note_webdav_disabled) %>
|
||||
<% else %>
|
||||
<%= l(:note_webdav, protocol: Setting.protocol, domain: Setting.host_name).html_safe %>
|
||||
<%= l(:label_default) %>: <%= l(:select_option_activated) %>
|
||||
<% end %>
|
||||
</em>
|
||||
</p>
|
||||
|
||||
|
||||
@ -413,6 +413,8 @@ cs:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: Adresář není prázdný.
|
||||
label_scroll_down: Posunout se dolů
|
||||
note_webdav_disabled: WebDAV je zablokovaný. Kontaktujte administrátora.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -412,6 +412,8 @@ de:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: Der Ordner ist nich leer.
|
||||
label_scroll_down: Runterscrollen
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ en:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ es:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ fr:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -412,6 +412,8 @@ hu:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ it: # Italian strings thx 2 Matteo Arceci!
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ ja:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -412,6 +412,8 @@ ko:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ nl:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ pl:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ pt-BR:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ ru:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Плагин WebDAV программы Total Commander
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ sl:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -412,6 +412,8 @@ zh-TW:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -413,6 +413,8 @@ zh:
|
||||
dmsf_webdav_ignore_1b_file_for_authentication_info: Total Commander WebDAV plugin
|
||||
|
||||
text_not_empty: The folder is not empty.
|
||||
label_scroll_down: Scroll down
|
||||
note_webdav_disabled: WebDAV is disabled. Contact the administrator.
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
2
init.rb
2
init.rb
@ -45,7 +45,7 @@ Redmine::Plugin.register :redmine_dmsf do
|
||||
'dmsf_index_database' => File.expand_path('dmsf_index', Rails.root),
|
||||
'dmsf_stemming_lang' => 'english',
|
||||
'dmsf_stemming_strategy' => 'STEM_NONE',
|
||||
'dmsf_webdav' => '1',
|
||||
'dmsf_webdav' => (Redmine::Plugin.installed?(:easy_extensions) && EasyHostingServices::EasyMultiTenancy.activated?) ? nil : '1',
|
||||
'dmsf_display_notified_recipients' => nil,
|
||||
'dmsf_global_title_format' => '',
|
||||
'dmsf_columns' => %w(title size modified version workflow author),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user