diff options
author | till <till@php.net> | 2010-03-20 14:20:01 +0000 |
---|---|---|
committer | till <till@php.net> | 2010-03-20 14:20:01 +0000 |
commit | 63a3dc5fde5a3ceed4f03c19c5015aab19050bee (patch) | |
tree | 50aafccdad5fe36c59f10d194298c35f046afd2f /plugins/managesieve/skins/default/templates/filteredit.html | |
parent | 0f8ff20ae2e8c949d58b9ca02bda95e388f7d142 (diff) |
moved plugins
Diffstat (limited to 'plugins/managesieve/skins/default/templates/filteredit.html')
-rw-r--r-- | plugins/managesieve/skins/default/templates/filteredit.html | 117 |
1 files changed, 0 insertions, 117 deletions
diff --git a/plugins/managesieve/skins/default/templates/filteredit.html b/plugins/managesieve/skins/default/templates/filteredit.html deleted file mode 100644 index 81c6e6bc6..000000000 --- a/plugins/managesieve/skins/default/templates/filteredit.html +++ /dev/null @@ -1,117 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title><roundcube:object name="pagetitle" /></title> -<roundcube:include file="/includes/links.html" /> -<link rel="stylesheet" type="text/css" href="/this/managesieve.css" /> -</head> -<body class="iframe"> - -<script type="text/javascript"> - -function header_select(id) -{ - var obj = document.getElementById('header'+id); - - if (obj.value == 'size') - { - document.getElementById('rule_size' + id).style.display = 'inline'; - document.getElementById('rule_op' + id).style.display = 'none'; - document.getElementById('rule_target' + id).style.display = 'none'; - document.getElementById('custom_header' + id).style.display = 'none'; - } - else - { - if (obj.value != '...') - document.getElementById('custom_header' + id).style.display = 'none'; - else - document.getElementById('custom_header' + id).style.display = 'inline'; - - document.getElementById('rule_size' + id).style.display = 'none'; - document.getElementById('rule_op' + id).style.display = 'inline'; - rule_op_select(id); - } -} - -function rule_op_select(id) -{ - var obj = document.getElementById('rule_op'+id); - - if (obj.value == 'exists' || obj.value == 'notexists') - { - document.getElementById('rule_target' + id).style.display = 'none'; - } - else - { - document.getElementById('rule_target' + id).style.display = 'inline'; - } -} - -function action_type_select(id) -{ - var obj = document.getElementById('action_type'+id); - - if (obj.value == 'fileinto') - { - document.getElementById('action_mailbox' + id).style.display = 'inline'; - document.getElementById('action_target' + id).style.display = 'none'; - document.getElementById('action_target_area' + id).style.display = 'none'; - document.getElementById('action_vacation' + id).style.display = 'none'; - } - else if (obj.value == 'redirect') - { - document.getElementById('action_target' + id).style.display = 'inline'; - document.getElementById('action_mailbox' + id).style.display = 'none'; - document.getElementById('action_target_area' + id).style.display = 'none'; - document.getElementById('action_vacation' + id).style.display = 'none'; - } - else if (obj.value.match(/^reject|ereject$/)) - { - document.getElementById('action_target_area' + id).style.display = 'inline'; - document.getElementById('action_vacation' + id).style.display = 'none'; - document.getElementById('action_target' + id).style.display = 'none'; - document.getElementById('action_mailbox' + id).style.display = 'none'; - } - else if (obj.value == 'vacation') - { - document.getElementById('action_vacation' + id).style.display = 'inline'; - document.getElementById('action_target_area' + id).style.display = 'none'; - document.getElementById('action_target' + id).style.display = 'none'; - document.getElementById('action_mailbox' + id).style.display = 'none'; - } - else // discard, keep, stop - { - document.getElementById('action_target_area' + id).style.display = 'none'; - document.getElementById('action_vacation' + id).style.display = 'none'; - document.getElementById('action_target' + id).style.display = 'none'; - document.getElementById('action_mailbox' + id).style.display = 'none'; - } -} - -function rule_join_radio(value) -{ - document.getElementById('rules').style.display = (value=='any' ? 'none' : 'block'); -} -</script> - -<div id="filter-title" class="boxtitle"><roundcube:label name="managesieve.filterdef" /></div> - -<div id="filter-form"> -<roundcube:object name="filterform" /> - -<div id="footer"> -<div class="footerleft"> -<roundcube:button command="plugin.managesieve-save" type="input" class="button mainaction" label="save" /> -</div> -<div class="footerright"> -<label for="disabled"><roundcube:label name="managesieve.filterdisabled" /></label> -<input type="checkbox" id="disabled" name="_disabled" value="1" /> -</div> -</div> - -</form> -</div> - - -</body> -</html> |