@ -1341,6 +1341,7 @@ class rcube_sieve_engine
$txtarea = new html_textarea(array(
'id' => 'rawfiltersettxt',
'name' => 'rawsetcontent',
'class' => 'form-control',
'rows' => '15'
));
@ -1364,7 +1365,7 @@ class rcube_sieve_engine
'enctype' => 'multipart/form-data',
), $out);
return $attrib['close-form'] ? $out : str_replace('/</form>', '', $out);
return str_replace('</form>', '', $out);
}
function filterset_form($attrib)
@ -63,7 +63,7 @@
<ul class="toolbarmenu listing" id="filtersetmenu-menu" role="menu" aria-labelledby="aria-label-setactions">
<roundcube:button type="link-menuitem" command="plugin.managesieve-setadd" label="managesieve.filtersetadd" class="create" classAct="create active" />
<roundcube:if condition="env:raw_sieve_editor != false" />
<roundcube:button type="link-menuitem" command="plugin.managesieve-seteditraw" label="managesieve.filterseteditraw" class="edit" classAct="edit active" data-hidden="small" />
<roundcube:button type="link-menuitem" command="plugin.managesieve-seteditraw" label="managesieve.filterseteditraw" class="edit" classAct="edit active" />
<roundcube:endif />
<roundcube:button type="link-menuitem" command="plugin.managesieve-setact" label="managesieve.filtersetswitch" class="status" classAct="status active" />
<roundcube:button type="link-menuitem" command="plugin.managesieve-setdel" label="managesieve.filtersetdel" class="delete" classAct="delete active" />
@ -2,8 +2,8 @@
<h1 class="voice"><roundcube:label name="managesieve.filterseteditraw" /></h1>
<div class="formcontent">
<roundcube:object name="filterseteditraw" class="propform raweditor" />
<div class="formcontent raweditor">
<roundcube:object name="filterseteditraw" /></form>
</div>
<div class="formbuttons">