rewrite settings, respect disabled_actions config
parent
742c66370e
commit
01bebe2ed4
@ -1,4 +1,6 @@
|
||||
Roundcube Webmail Swipe
|
||||
=======================
|
||||
|
||||
* Created plugin
|
||||
* Respect dont_override config
|
||||
* Respect disabled_actions config
|
||||
* Created plugin
|
@ -1,54 +1,29 @@
|
||||
<div id="swipeoptions-menu" class="popupmenu propform" role="dialog" aria-labelledby="aria-label-listoptions" data-options-menuname="messagelistmenu" data-options-menuid="listoptions-menu" data-listselection-class="withselection">
|
||||
<fieldset class="swipe">
|
||||
<legend><roundcube:label name="swipe.swipeactions" /></legend>
|
||||
<div class="form-group row">
|
||||
<label for="swipeoptions-left" class="col-form-label col-sm-4"><roundcube:label name="swipe.swipeleft" /></label>
|
||||
<div class="col-sm-8">
|
||||
<select id="swipeoptions-left" name="swipe_left" class="form-control">
|
||||
<option value="none"><roundcube:label name="none" /></option>
|
||||
<option value="read"><roundcube:label name="swipe.markasread" /></option>
|
||||
<option value="flagged"><roundcube:label name="swipe.markasflagged" /></option>
|
||||
<option value="delete"><roundcube:label name="delete" /></option>
|
||||
<option value="forward"><roundcube:label name="forward" /></option>
|
||||
<option value="reply"><roundcube:label name="reply" /></option>
|
||||
<option value="replyall"><roundcube:label name="replyall" /></option>
|
||||
<option value="move"><roundcube:label name="moveto" /></option>
|
||||
<option value="select"><roundcube:label name="select" /></option>
|
||||
<roundcube:if condition="env:archive_folder" />
|
||||
<option value="archive"><roundcube:label name="archive.buttontext" /></option>
|
||||
<roundcube:endif />
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="swipeoptions-right" class="col-form-label col-sm-4"><roundcube:label name="swipe.swiperight" /></label>
|
||||
<div class="col-sm-8">
|
||||
<select id="swipeoptions-right" name="swipe_right" class="form-control">
|
||||
<option value="none"><roundcube:label name="none" /></option>
|
||||
<option value="read"><roundcube:label name="swipe.markasread" /></option>
|
||||
<option value="flagged"><roundcube:label name="swipe.markasflagged" /></option>
|
||||
<option value="delete"><roundcube:label name="delete" /></option>
|
||||
<option value="forward"><roundcube:label name="forward" /></option>
|
||||
<option value="reply"><roundcube:label name="reply" /></option>
|
||||
<option value="replyall"><roundcube:label name="replyall" /></option>
|
||||
<option value="move"><roundcube:label name="moveto" /></option>
|
||||
<option value="select"><roundcube:label name="select" /></option>
|
||||
<roundcube:if condition="env:archive_folder" />
|
||||
<option value="archive"><roundcube:label name="archive.buttontext" /></option>
|
||||
<roundcube:endif />
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="swipeoptions-down" class="col-form-label col-sm-4"><roundcube:label name="swipe.swipedown" /></label>
|
||||
<div class="col-sm-8">
|
||||
<select id="swipeoptions-down" name="swipe_down" class="form-control">
|
||||
<option value="none"><roundcube:label name="none" /></option>
|
||||
<option value="checkmail"><roundcube:label name="checkmail" /></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="swipe">
|
||||
<legend><roundcube:label name="swipe.swipeactions" /></legend>
|
||||
<roundcube:if condition="!in_array('swipe_actions.messagelist.left', (array)config:dont_override)" />
|
||||
<div class="form-group row">
|
||||
<label for="swipeoptions-left" class="col-form-label col-sm-4"><roundcube:label name="swipe.swipeleft" /></label>
|
||||
<div class="col-sm-8">
|
||||
<roundcube:object name="swipeoptionslist" fieldname="swipe_left" id="swipeoptions-left" class="form-control" axis="horizontal" />
|
||||
</div>
|
||||
</div>
|
||||
<roundcube:endif />
|
||||
<roundcube:if condition="!in_array('swipe_actions.messagelist.right', (array)config:dont_override)" />
|
||||
<div class="form-group row">
|
||||
<label for="swipeoptions-right" class="col-form-label col-sm-4"><roundcube:label name="swipe.swiperight" /></label>
|
||||
<div class="col-sm-8">
|
||||
<roundcube:object name="swipeoptionslist" fieldname="swipe_right" id="swipeoptions-right" class="form-control" axis="horizontal" />
|
||||
</div>
|
||||
</div>
|
||||
<roundcube:endif />
|
||||
<roundcube:if condition="!in_array('swipe_actions.messagelist.down', (array)config:dont_override)" />
|
||||
<div class="form-group row">
|
||||
<label for="swipeoptions-down" class="col-form-label col-sm-4"><roundcube:label name="swipe.swipedown" /></label>
|
||||
<div class="col-sm-8">
|
||||
<roundcube:object name="swipeoptionslist" fieldname="swipe_down" id="swipeoptions-down" class="form-control" axis="vertical" />
|
||||
</div>
|
||||
</div>
|
||||
<roundcube:endif />
|
||||
</fieldset>
|
||||
</div>
|
Loading…
Reference in New Issue