diff options
author | Aleksander Machniak <alec@alec.pl> | 2021-11-14 12:17:23 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2021-11-14 12:17:23 +0300 |
commit | 27f5fccaa71c3ba1a4e76455bc1b13f351dd11c6 (patch) | |
tree | 5d48b041fd7d773beb65229873ae12a29a432480 /skins | |
parent | 28b635175090666f8d9f68a55ae11091ec00b0b6 (diff) |
Moved the Classic skin to its own repository (#8271)
https://github.com/roundcube/classic
Diffstat (limited to 'skins')
114 files changed, 0 insertions, 7830 deletions
diff --git a/skins/classic/README b/skins/classic/README deleted file mode 100644 index 4aea5fb90..000000000 --- a/skins/classic/README +++ /dev/null @@ -1,23 +0,0 @@ -ROUNDCUBE WEBMAIL DEFAULT SKIN -============================== - -This skin package contains the current development theme of the Roundcube -Webmail software. It can be used, modified and redistributed according to -the terms described in the LICENSE section. - -For information about building or modifying Roundcube skins please visit -https://github.com/roundcube/roundcubemail/wiki/Skins - -The theme uses icons originally designed by Stephen Horlander and Kevin Gerich -for Mozilla.org. In case of redistribution giving credit to these artwork -creators is mandatory. - - -LICENSE -------- -The contents of this folder are subject to the Creative Commons -Attribution-ShareAlike License. It is allowed to copy, distribute, -transmit and to adapt the work by keeping credits to the original -autors in the README file. -See http://creativecommons.org/licenses/by-sa/3.0/ for details. - diff --git a/skins/classic/addressbook.css b/skins/classic/addressbook.css deleted file mode 100644 index 91e675ff3..000000000 --- a/skins/classic/addressbook.css +++ /dev/null @@ -1,534 +0,0 @@ -/***** Roundcube|Mail address book task styles *****/ - -#abooktoolbar -{ - position: absolute; - top: 45px; - left: 225px; - height: 35px; -} - -#abooktoolbar a -{ - padding-right: 10px; -} - -#abooktoolbar a.button, -#abooktoolbar a.buttonPas { - display: block; - float: left; - width: 32px; - height: 32px; - padding: 0; - margin: 0 5px; - overflow: hidden; - background: url(images/abook_toolbar.png) 0 0 no-repeat transparent; - opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ -} - -#abooktoolbar a.buttonPas { - opacity: 0.35; -} - -#abooktoolbar a.addcontactSel { - background-position: 0 -32px; -} - -#abooktoolbar a.compose { - background-position: -32px 0; -} - -#abooktoolbar a.composeSel { - background-position: -32px -32px; -} - -#abooktoolbar a.print { - background: url(images/mail_toolbar.png) 0 0 no-repeat transparent; - background-position: -256px 0; -} - -#abooktoolbar a.printSel { - background: url(images/mail_toolbar.png) 0 0 no-repeat transparent; - background-position: -256px -32px; -} - -#abooktoolbar a.delete { - background-position: -64px 0; -} - -#abooktoolbar a.deleteSel { - background-position: -64px -32px; -} - -#abooktoolbar a.import { - background-position: -96px 0; -} - -#abooktoolbar a.importSel { - background-position: -96px -32px; -} - -#abooktoolbar a.export { - background-position: -128px 0; -} - -#abooktoolbar a.exportSel { - background-position: -128px -32px; -} - -#abooktoolbar a.exportAll { - background-position: -128px 0; -} - -#abooktoolbar a.exportAllSel { - background-position: -128px -32px; -} - -#abooktoolbar a.search { - background-position: -170px 0; -} - -#abooktoolbar a.searchSel { - background-position: -170px -32px; -} - -#abooktoolbar a.contactmenu { - background: url(images/mail_toolbar.png) 0 0 no-repeat transparent; - background-position: -320px 0; - width: 34px; -} - -#contactmenu li a -{ - background: url(images/contactactions.png) no-repeat 7px 0; - background-position: 7px 20px; -} - -#contactmenu li a.qrcode -{ - background-position: 7px -39px; -} - -#contactmenu li a.assigngroup -{ - background-position: 7px 0; -} - -#contactmenu li a.removegroup -{ - background-position: 7px -19px; -} - -#contactmenu li a.movelink -{ - background: url(images/messageactions.png) no-repeat 7px 0; - background-position: 6px -160px; -} - -#contactmenu li a.copylink -{ - background: url(images/messageactions.png) no-repeat 7px 0; - background-position: 6px -142px; -} - -#abookcountbar -{ - margin-top: 4px; - margin-left: 4px; - min-width: 250px; -} - -#addressscreen -{ - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 205px; -} - -#directorylistbox -{ - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 195px; - border: 1px solid #999999; - background-color: #F9F9F9; - overflow: hidden; -} - -#addresslist -{ - position: absolute; - top: 0; - bottom: 0; - border: 1px solid #999999; - background-color: #F9F9F9; - overflow: hidden; -} - -#contactgroupslist -{ - border-top: 1px solid #999; -} - -#addresslist -{ - left: 0px; - width: 280px; -} - -#directorylist li a, -#savedsearchlist li a, -#addressbook-selector li a, -#contactgroup-selector li a -{ - cursor: default; - display: block; - padding-left: 25px; - padding-top: 2px; - padding-bottom: 2px; - height: 16px; - text-decoration: none; - white-space: nowrap; - background-image: url(images/icons/folders.png); - background-position: 5px -108px; - background-repeat: no-repeat; -} - -#directorylist ul li a -{ - padding-left: 45px; - background-position: 22px -108px; -} - -#directorylist ul ul li a -{ - padding-left: 62px; - background-position: 39px -108px; -} - -#directorylist ul ul ul li a -{ - padding-left: 79px; - background-position: 39px -108px; -} - -#directorylist li.contactgroup a -{ - background-position: 5px -143px; -} - -#directorylist ul li.contactgroup a -{ - background-position: 22px -143px; -} - -#directorylist ul ul li.contactgroup a -{ - background-position: 39px -143px; -} - -#directorylist ul ul ul li.contactgroup a -{ - background-position: 56px -143px; -} - -#savedsearchlist li.contactsearch a -{ - background-position: 6px -162px; -} - -#addressbook-selector li a.addressbook -{ - padding-left: 25px; -} - -#addressbook-selector li a.contactgroup -{ - padding-left: 45px !important; - background-position: 25px -143px; -} - -#contactgroup-selector li a -{ - padding-left: 25px; - background-position: 5px -143px; -} - -#contacts-table -{ - width: 100%; - table-layout: fixed; -} - -#contacts-table tbody td -{ - cursor: default; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; -} - -/* This padding-left should be equal to the focused border-left + the focused padding-left */ -#contacts-table thead tr td:first-child, -#contacts-table tbody tr td:first-child { - border-left: 0; - padding-left: 8px; -} - -/* because of border-collapse, we make the left border twice what we want it to be - half will be hidden to the left */ -#contacts-table tbody tr.focused > td:first-child { - border-left: 2px solid #d4d4d4; - padding-left: 6px; -} - -#contacts-table tbody tr.selected.focused > td:first-child { - border-left: 1px solid #ccc; - padding-left: 7px; -} - -#contacts-table .contact.readonly td -{ - font-style: italic; -} - -#contacts-table td.name -{ - width: 95%; -} - -#contacts-table td.action -{ - width: 12px; - padding: 0px 6px 0 4px; - text-align: right; -} - -#contacts-table td.action a -{ - font-size: 16px; - font-weight: bold; - font-style: normal; - text-decoration: none; - color: #333; -} - -#contacts-table .selected td.action a -{ - color: #fff; -} - -#contacts-box -{ - position: absolute; - top: 0px; - left: 290px; - right: 0px; - bottom: 0px; - border: 1px solid #999999; - overflow: hidden; -} - -body.iframe, -#contact-frame -{ - background-color: #F2F2F2; - border: none; - min-height: 100%; /* Chrome 14 bug */ -} - -#contacttabs -{ - position: relative; - padding-bottom: 12px; -} - -#contacttabs div.tabsbar { - top: 0; - left: 2px; -} - -#contacttabs fieldset.tabbed { - position: relative; - top: 22px; - min-height: 5em; -} - -#contacthead -{ - margin-bottom: 1em; - border: 0; - padding: 0; -} - -#contacthead > legend -{ - display: none; -} - -#contacthead .names span.namefield, -#contacthead .names input -{ - font-size: 140%; -} - -#contacthead .displayname span.namefield -{ - font-size: 120%; -} - -#contacthead span.nickname:before, -#contacthead span.nickname:after, -#contacthead input.ff_nickname:before, -#contacthead input.ff_nickname:after -{ - content: '"'; -} - -#contacthead input -{ - margin-right: 6px; - margin-bottom: 0.2em; -} - -#contacthead .names input, -#contacthead .addnames input -{ - width: 180px; -} - -#contacthead input.ff_prefix, -#contacthead input.ff_suffix -{ - width: 90px; -} - -#contacthead .addnames input.ff_name -{ - width: 374px; -} - -#contactphoto -{ - float: right; - width: 60px; - margin-left: 3em; - margin-right: 4px; -} - -#contactpic -{ - width: 60px; - min-height: 60px; - border: 1px solid #ccc; - background: white; -} - -#contactpic img { - max-width: 60px; - max-height: 80px; -} - -#contactpic.droptarget.hover { - background-color: #f0f0ee; - box-shadow: 0 0 5px 0 #999; - -moz-box-shadow: 0 0 5px 0 #999; - -o-box-shadow: 0 0 5px 0 #999; -} - -#contactphoto .formlinks -{ - margin-top: 0.5em; - text-align: center; -} - -fieldset.contactfieldgroup -{ - border: 0; - margin: 0.5em 0; - padding: 0.2em 2px; -} - -fieldset.contactfieldgroupmulti -{ - padding: 0.5em 2px; -} - -fieldset.contactfieldgroup legend -{ - font-size: 0.9em; -} - -.contactfieldgroup .row -{ - position: relative; - margin: 0.2em 0; -} - -.contactfieldgroup .contactfieldlabel -{ - position: absolute; - top: 0; - left: 2px; - width: 110px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - color: #666; - font-weight: bold; -} - -.contactfieldgroup .contactfieldlabel select -{ - width: 100%; - background: none; - border: 0; - color: #666; - font-weight: bold; - padding-left: 0; -} - -.contactfieldgroup .contactfieldcontent -{ - padding-left: 120px; - min-height: 1em; - line-height: 1.3em; -} - -.contactfieldgroup .contactfield { - line-height: 1.3em; -} - -.contactcontrolleraddress .contactfieldcontent input { - margin-bottom: 0.1em; -} - -.contactfieldcontent .contactfieldbutton { - vertical-align: middle; - margin-left: 0.5em; -} - -#upload-form -{ - padding: 6px; -} - -#upload-form div -{ - padding: 2px; -} - -#sourcename -{ - color: #666; - font-size: 10px; - margin: -5px 0 8px 2px; -} - -#contact-title -{ - /* fixes issue where tabs were overlapping box title when scrolling */ - z-index: 10; -} diff --git a/skins/classic/common.css b/skins/classic/common.css deleted file mode 100644 index 56f86074b..000000000 --- a/skins/classic/common.css +++ /dev/null @@ -1,1662 +0,0 @@ -/***** Roundcube|Mail basic styles *****/ - -body -{ - font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; - margin: 8px; - background-color: #F6F6F6; - color: #000; - font-size: 12px; -} - -body.iframe -{ - margin: 20px 0 0 0; - background-color: #FFF; -} - -body.extwin -{ - margin: 10px; -} - -select, input, textarea, button -{ - font-size: inherit; - font-family: inherit; -} - -th -{ - font-weight: normal; -} - -h3 -{ - font-size: 18px; -} - -a, a:active, a:visited -{ - color: #000; - outline: none; -} - -a.button, a.button:visited, a.tab, a.tab:visited, a.axislist -{ - color: #000; - text-decoration: none; -} - -a.tab -{ - width: 80px; - display: block; - text-align: center; -} - -a.disabled -{ - color: #999; - text-decoration: none; - cursor: default; -} - -hr -{ - height: 1px; - background-color: #666; - border-style: none; -} - -input[type="text"], -input[type="email"], -input[type="button"], -input[type="password"], -button, -textarea -{ - border: 1px solid #666; - color: #333; - background-color: #FFF; -} - -button, input, textarea -{ - color: black; - padding: 1px 3px; -} - -input.placeholder, -textarea.placeholder, -input:-moz-placeholder, -textarea:-moz-placeholder -{ - color: #aaa; -} - -button, -input.button -{ - height: 20px; - color: #333333; - font-size: 12px; - padding-left: 8px; - padding-right: 8px; - background: url(images/buttons/bg.gif) repeat-x #f0f0f0; - border: 1px solid #a4a4a4; -} - -button:hover, -input.button:hover -{ - color: black; -} - -button[disabled], -button[disabled]:hover, -input.button[disabled], -input.button[disabled]:hover -{ - color: #aaa; - border-color: #ccc; -} - -button.mainaction, -input.mainaction -{ - font-weight: bold; - border: 1px solid #999; -} - -img -{ - border: 0; -} - -.alttext -{ - font-size: 11px; -} - -.hint -{ - color: #666; - font-size: 11px; -} - -.formlinks a, -.formlinks a:visited -{ - color: #CC0000; - font-size: 11px; - text-decoration: none; -} - -.formlinks a.disabled, -.formlinks a.disabled:visited -{ - color: #999999; -} - -.voice -{ - display: none; -} - -.noselect -{ - user-select: none; - -moz-user-select: none; - -khtml-user-select: none; - -ms-user-select: none; - -webkit-user-select: none; -} - -/* fixes vertical alignment of checkboxes and labels */ -label input, -label span -{ - vertical-align: middle; -} - -ul.proplist -{ - padding: 0; - margin: 0; - list-style: none; -} - - -/** common user interface objects */ - -#mainscreen -{ - position: absolute; - top: 85px; - right: 20px; - bottom: 20px; - left: 20px; -} - -.extwin #mainscreen -{ - top: 43px; -} - -body > #logo -{ - margin-left: 12px; - cursor: pointer; -} - -#taskbar -{ - position: absolute; - top: 0px; - right: 0px; - height: 24px; - left: 250px; - background: url(images/taskbar.png) top right no-repeat; - padding: 10px 6px 5px 0px; - text-align: right; - white-space: nowrap; - z-index: 2; -} - -#taskbar a -{ - font-size: 11px; - color: #666666; - text-decoration: none; - padding: 6px 12px 6px 26px; - background: url(images/taskicons.gif) no-repeat; -} - -#taskbar a:hover -{ - color: #333333; -} - -#taskbar a.button-mail -{ - background-position: 0 0; -} - -#taskbar a.button-addressbook -{ - background-position: 0 -25px; -} - -#taskbar a.button-settings -{ - background-position: 0 -50px; -} - -#taskbar a.button-logout -{ - background-position: 0 -75px; -} - -body > #message -{ - position: absolute; - display: none; - top: -1px; - margin-left: -225px; - left: 50%; - z-index: 5000; - opacity: 0.85; -} - -body > #message div -{ - width: 400px; - margin: 0px; - min-height: 22px; - padding: 8px 10px 8px 46px; -} - -body > #message div.notice, -body > #messagebody .part-notice, -body > #mainscreen #messagebody .part-notice, -#message-objects div.notice -{ - background: url(images/display/icons.png) 6px 3px no-repeat; - background-color: #F7FDCB; - border: 1px solid #C2D071; -} - -body > #message div.error, -body > #message div.warning, -#message-objects div.warning, -#message-objects div.error -{ - background: url(images/display/icons.png) 6px -97px no-repeat; - background-color: #EF9398; - border: 1px solid #DC5757; -} - -body > #message div.confirmation, -#message-objects div.confirmation -{ - background: url(images/display/icons.png) 6px -47px no-repeat; - background-color: #A6EF7B; - border: 1px solid #76C83F; -} - -body > #message div.loading, -body > #message div.uploading, -#message-objects div.loading -{ - background: url(images/display/loading.gif) 6px 3px no-repeat; - background-color: #EBEBEB; - border: 1px solid #CCCCCC; -} - -body > #message div.voice -{ - position: absolute; - top: -1000px; - clip: rect(0 0 0 0); -} - -body > #message a -{ - cursor: pointer; - text-decoration: underline; -} - -body.extwin #closelink -{ - position: absolute; - top: 5px; - right: 20px; - text-align: right; - z-index:100; -} - -.box -{ - border: 1px solid #999; -} - -.boxtitle -{ - height: 12px !important; - padding: 3px 10px 4px 5px; - border-bottom: 1px solid #999; - color: #333; - font-size: 11px; - font-weight: bold; - overflow: hidden; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - white-space: nowrap; - background: url(images/listheader.gif) top left repeat-x #CCC; -} - -.boxtitle .rightalign -{ - float: right; -} - -body.iframe .boxtitle -{ - position: fixed; - top: 0; - left: 0; - width: 100%; -} - -.boxcontent -{ - padding: 15px 10px 10px 10px; - background-color: #F2F2F2; -} - -.boxcontent .boxwarning -{ - margin: 0 0 10px; - display: block; - min-height: 22px; - background: url(images/display/icons.png) #EF9398 6px -95px no-repeat; - border: 1px solid #DC5757; - padding: 8px 10px 8px 46px; -} - -.boxcontent .boxinformation -{ - margin: 0 0 10px; - display: block; - min-height: 22px; - background: url(images/display/icons.png) #ddd 6px 4px no-repeat; - border: 1px solid #888; - padding: 8px 10px 8px 46px; -} - -.boxcontent table td.title -{ - color: #666; - padding-right: 10px; -} - -.boxlistcontent -{ - position: absolute; - top: 20px; - bottom: 22px; - left: 0; - right: 0; - width: 100%; - overflow-y: auto; - overflow-x: hidden; -} - -.boxsubject -{ - position: absolute; - top: 0px; - left: 0px; - right: 0px; - overflow: hidden; - height: 22px; - border-bottom: 1px solid #999; - background: url(images/listheader.gif) top left repeat-x #CCC; -} - -.boxfooter -{ - position: absolute; - bottom: 0px; - left: 0px; - right: 0px; - overflow: hidden; - height: 22px; - border-top: 1px solid #999; - background: url(images/listheader.gif) top left repeat-x #CCC; -} - -.boxfooter a.button, -.boxfooter a.buttonPas -{ - display: block; - float: left; - width: 34px; - height: 22px; - padding: 0px; - margin: 0; - overflow: hidden; - background: url(images/icons/groupactions.png) 0 0 no-repeat transparent; - opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ -} - -.boxfooter a.groupactions -{ - background-position: 0 -26px; -} - -.boxfooter a.delgroup { - background-position: 0 -49px; -} - -.boxfooter a.buttonPas -{ - opacity: 0.35; -} - -.pagenav span -{ - color: #444; - font-size: 11px; - text-shadow: white 1px 1px; - white-space: nowrap; -} - -.pagenav a.button, -.pagenav a.buttonPas -{ - display: block; - float: left; - width: 11px; - height: 11px; - padding: 0; - margin: 1px; - overflow: hidden; - background: url(images/pagenav.gif) 0 0 no-repeat transparent; - opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ -} - -.pagenav a.buttonPas { - opacity: 0.35; -} - -.pagenav a.firstpageSel { - background-position: 0 -11px; -} - -.pagenav a.prevpage { - background-position: -11px 0; -} - -.pagenav a.prevpageSel { - background-position: -11px -11px; -} - -.pagenav a.nextpage { - background-position: -22px 0; -} - -.pagenav a.nextpageSel { - background-position: -22px -11px; -} - -.pagenav a.lastpage { - background-position: -33px 0; -} - -.pagenav a.lastpageSel { - background-position: -33px -11px; -} - -#rcmcountdisplay -{ - float: left; - margin-right: 10px; -} - -#countcontrols #pagejumper -{ - margin: 0 5px; - float: right; - text-align: center; - padding: 0; - cursor: default; - font-size: 10px; -} - -.toolbarseparator { - display: block; - float: left; - width: 5px; - height: 32px; - padding: 0; - margin: 0 5px; - overflow: hidden; - background: url(images/abook_toolbar.png) -162px 0 no-repeat transparent; - opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ -} - -.splitter -{ - user-select: none; - -moz-user-select: none; - -khtml-user-select: none; - position: absolute; - background: url(images/dimple.png) center no-repeat; -} - -.splitter-h -{ - cursor: n-resize; cursor: row-resize; - background-position: center 2px; -} - -.splitter-v -{ - cursor: e-resize; cursor: col-resize; - background-position: 2px center; -} - -.popupmenu -{ - position: absolute; - top: 32px; - left: 90px; - width: auto; - max-height: 70%; - overflow: -moz-scrollbars-vertical; - overflow-y: auto; - display: none; - background-color: #fff; - background-color: rgba(255, 255, 255, 0.95); - border: 1px solid #999; - padding: 4px; - z-index: 240; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - box-shadow: 1px 1px 12px #999; - -moz-box-shadow: 1px 1px 12px #999; - -webkit-box-shadow: #999 1px 1px 12px; -} - -.popupmenu ul -{ - margin: -4px 0; - padding: 0; - list-style: none; -} - -.popupmenu ul li -{ - font-size: 11px; - white-space: nowrap; - min-width: 100px; - margin: 3px -4px; -} - -.popupmenu li a, -.popupmenu li label -{ - display: block; - color: #a0a0a0; - padding: 3px 16px 3px 10px; - text-decoration: none; - min-height: 14px; - line-height: 14px; - background: transparent; -} - -.popupmenu li label.comment -{ - color: #999; - font-style: italic; - padding-top: 4px; - padding-bottom: 3px; -} - -.popupmenu li a.active, -.popupmenu li a.active:active, -.popupmenu li a.active:visited -{ - color: #333; - cursor: pointer; -} - -.popupmenu li a.active:hover, -.popupmenu.selectable li a.selected:hover -{ - color: #fff; - background-color: #c00; -} - -.popupmenu li.block input -{ - float: left; -} - -.popupmenu.selectable li a.selected -{ - background: url(images/messageicons.png) 2px -372px no-repeat; -} - -.popupmenu.selectable li a -{ - padding-left: 20px; -} - -.darkbg -{ - background-color: #F2F2F2 !important; -} - -.dropbutton, -.dropbutton span -{ - float: left; - height: 32px; -} - -.dropbutton:hover -{ -/* background: url(images/dbutton.png) 0 0 no-repeat transparent; */ -} - -.dropbutton span -{ - width: 9px; - background: url(images/dbutton.png) -53px 0 no-repeat transparent; -} - -.dropbutton span:hover -{ - cursor: pointer; - background-position: -74px 0; -} - -img.uploading -{ - width: 16px; - height: 16px; -} - -.popup label > input { - margin-left: 10px; -} - -.ui-dialog iframe { - width: 100%; - height: 100%; - border: 0; -} - -.ui-dialog-content.iframe { - padding: 0 !important; - overflow: hidden !important; -} - - -/***** common table settings ******/ - -table.records-table thead tr th, -table.records-table thead tr td -{ - height: 20px; - padding: 0px 4px 0px 4px; - vertical-align: middle; - border-bottom: 1px solid #999999; - color: #333333; - background: url(images/listheader.gif) top left repeat-x #CCC; - font-size: 11px; - font-weight: bold; - text-align: left; -} - -table.records-table tbody tr td -{ - height: 16px; - padding: 2px 4px 2px 4px; - font-size: 11px; - white-space: nowrap; - border-bottom: 1px solid #EBEBEB; - overflow: hidden; - text-align: left; - outline: none; -} - -table.records-table tr -{ - background-color: #FFFFFF; -} - -table.records-table tr.selected td -{ - color: #FFFFFF; - background-color: #CC3333; -} - -table.records-table tr.selected td a -{ - color: #FFFFFF; -} - -table.records-table tr.focused td -{ -} - -table.records-table tr.unfocused td -{ - color: #FFFFFF; - background-color: #929292; -} - -ul.treelist li -{ - position: relative; -} - -ul.treelist li div.treetoggle -{ - position: absolute; - left: 8px; - top: 2px; - width: 14px; - height: 16px; - cursor: pointer; -} - -ul.treelist ul li div.treetoggle -{ - left: 25px; -} - -ul.treelist ul ul li div.treetoggle -{ - left: 42px; -} - -ul.treelist li div.collapsed -{ - background: url(images/icons/collapsed.png) bottom right no-repeat; -} - -ul.treelist li div.expanded -{ - background: url(images/icons/expanded.png) bottom right no-repeat; -} - -ul.treelist, -ul.treelist li ul -{ - list-style: none; - margin: 0; - padding: 0; - background-color: #FFFFFF; -} - -ul.treelist li ul -{ - border-top: 1px solid #EBEBEB; -} - -ul.treelist li -{ - display: block; - font-size: 11px; - border-bottom: 1px solid #EBEBEB; - white-space: nowrap; - overflow: hidden; -} - -ul.treelist li a -{ - cursor: default; - display: block; - padding-left: 25px; - padding-top: 2px; - padding-bottom: 2px; - height: 16px; - line-height: 16px; - text-decoration: none; - white-space: nowrap; -} - -ul.treelist li ul li a -{ - padding-left: 45px; -} - -ul.treelist ul ul li a -{ - padding-left: 65px; -} - -ul.treelist li ul li:last-child -{ - border-bottom: 0; -} - -ul.treelist li.selected > a, -ul.treelist li.selected > div a -{ - color: #FFF; - font-weight: bold; - background-color: #929292; -} - -ul.treelist li.droptarget -{ - background-color: #FFFFA6; -} - -/***** folders list *****/ - -.folderlist li ul li:last-child -{ - border-bottom: 0 none; -} - -.folderlist li.inbox a -{ - background-position: 5px -18px; -} - -.folderlist li.drafts a -{ - background-position: 5px -36px; -} - -.folderlist li.sent a -{ - background-position: 5px -53px; -} - -.folderlist li.junk a -{ - background-position: 5px -72px; -} - -.folderlist li.trash a -{ - background-position: 5px -180px; -} - -.folderlist li.trash.empty a -{ - background-position: 5px -90px; -} - -.folderlist li a -{ - cursor: default; - display: block; - position: relative; - padding-left: 25px; - padding-top: 2px; - padding-bottom: 2px; - text-decoration: none; - height: 15px; - background: url(images/icons/folders.png) 5px 1px no-repeat; -} - -.folderlist li.virtual > a -{ - color: #666; -} - -.folderlist li.selected, -.folderlist li.droptarget li.selected -{ - background-color: #929292; -} - -.folderlist li.selected > a, -.folderlist li.droptarget li.selected a -{ - color: #FFF; - font-weight: bold; -} - -.folderlist li.droptarget -{ - background-color: #FFFFA6; -} - -/* styles for nested folders */ -.folderlist ul { - list-style: none; - padding: 0; - margin: 0; - border-top: 1px solid #EBEBEB; - background-color: #FFF; - font-weight: normal; -} - -.folderlist li.mailbox ul li a { - padding-left: 40px; /* 24 + 1 x 16 */ - background-position: 20px 1px; /* 4 + 1 x 16 */ -} -.folderlist li.mailbox ul li div.treetoggle { - left: 23px !important; -} - -.folderlist li.mailbox ul ul li.mailbox a { - padding-left: 56px; /* 2x */ - background-position: 36px 1px; -} -.folderlist li.mailbox ul ul li div.treetoggle { - left: 39px !important; -} - -.folderlist li.mailbox ul ul ul li.mailbox a { - padding-left: 72px; /* 3x */ - background-position: 52px 1px; -} -.folderlist li.mailbox ul ul ul li div.treetoggle { - left: 55px !important; -} - -.folderlist li.mailbox ul ul ul ul li.mailbox a { - padding-left: 88px; /* 4x */ - background-position: 68px 1px; -} -.folderlist li.mailbox ul ul ul ul li div.treetoggle { - left: 71px !important; -} - -/* indent folders on levels > 4 */ -.folderlist li.mailbox ul ul ul ul ul li { - padding-left: 16px; -} -.folderlist li.mailbox ul ul ul ul ul li div.treetoggle { - left: 87px !important; -} - -.folderlist li.mailbox ul li.drafts a -{ - background-position: 21px -36px; -} - -.folderlist li.mailbox ul li.sent a -{ - background-position: 21px -53px; -} - -.folderlist li.mailbox ul li.junk a -{ - background-position: 21px -72px; -} - -.folderlist li.mailbox ul li.trash a -{ - background-position: 21px -180px; -} - -.folderlist li.mailbox ul li.trash.empty a -{ - background-position: 21px -90px; -} - - -/***** mac-style quicksearch field *****/ - -div.searchbox, -#quicksearchbar -{ - position: relative; - width: 190px; - height: 20px; - text-align: right; - background: url(images/searchfield.gif) top left no-repeat; -} - -#quicksearchbar -{ - position: absolute; - top: 55px; - right: 10px; -} - -#searchreset, -div.searchbox a.searchreset -{ - position: absolute; - top: 3px; - right: 12px; - text-decoration: none; -} - -#searchmenulink, -div.searchbox a.searchmenu, -div.searchbox a.searchicon -{ - position: absolute; - top: 3px; - right: 168px; -} - -div.searchbox a.searchreset -{ - display: block; - width: 14px; - height: 14px; - overflow: hidden; - white-space: nowrap; - text-indent: 50000px; - background: url(images/icons/reset.gif) top left no-repeat; -} - -div.searchbox a.searchicon -{ - display: inline-block; - width: 16px; - height: 16px; - overflow: hidden; - background: url(images/icons/glass.png) top left no-repeat; -} - -#quicksearchbar img -{ - vertical-align: middle; -} - -#quicksearchbox, -div.searchbox > input -{ - position: absolute; - top: 2px; - left: 24px; - width: 140px; - height: 15px; - font-size: 11px; - padding: 0px; - border: none; - outline: none; -} - -.propform div.prop -{ - margin-bottom: 0.5em; -} - -.propform div.prop.block label -{ - display: block; - margin-bottom: 2px; -} - -.propform div.prop.block input, -.propform div.prop.block textarea -{ - width: 97%; -} - -.formcontainer -{ - background-color: #f2f2f2; -} - -.formcontent table { - width: 100%; -} - -.formcontent input, -.formcontent textarea { - width: 95%; -} - -.listsearchbox -{ - border-bottom: solid 1px #ddd; - padding: 2px 4px 1px; - display: none; - background-color: #f2f2f2; -} - -.listsearchbox a.iconbutton.reset -{ - background: url(images/icons/reset.gif) no-repeat 0 0; - width: 13px; - height: 13px; - text-indent: 50000px; - position: absolute; - top: 3px; - left: 165px; - overflow: hidden; -} - -/***** roundcube webmail pre-defined classes *****/ - -#rcmversion -{ - position: absolute; - bottom: 10px; - right: 20px; - text-align: right; - white-space: nowrap; - font-size: 8pt; - color: #999; -} - -#rcmdraglayer -{ - min-width: 300px; - width: auto !important; - width: 300px; - border: 1px solid #999999; - background-color: #fff; - padding-left: 8px; - padding-right: 8px; - padding-top: 3px; - padding-bottom: 3px; - font-size: 11px; - white-space: nowrap; - opacity: 0.82; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - box-shadow: 1px 1px 12px #999; - -moz-box-shadow: 1px 1px 12px #999; - -webkit-box-shadow: #999 1px 1px 12px; -} - -.draglayercopy:before -{ - position: absolute; - bottom: -5px; - left: -6px; - content: " "; - width: 14px; - height: 14px; - background: url(images/messageactions.png) -2px -128px no-repeat; -} - -a.rcmContactAddress -{ - text-decoration: none; -} - -a.rcmContactAddress:hover -{ - text-decoration: underline; -} - -#rcmKSearchpane -{ - background-color: #F9F9F9; - border: 1px solid #CCCCCC; -} - -#rcmKSearchpane ul -{ - margin: 0px; - padding: 2px; - list-style-image: none; - list-style-type: none; -} - -#rcmKSearchpane ul li -{ - display: block; - height: 16px; - font-size: 11px; - padding-left: 6px; - padding-top: 2px; - padding-right: 6px; - white-space: nowrap; - cursor: pointer; -} - -#rcmKSearchpane ul li.selected, -#pagejump-selector ul li.selected -{ - color: #ffffff; - background-color: #CC3333; -} - -#login-form -{ - margin-left: auto; - margin-right: auto; - margin-top: 50px; - width: 400px; - border: 1px solid #999; -} - -#login-form table td.title -{ - text-align: right; - white-space: nowrap; -} - -#login-form table -{ - width: 1%; - margin: auto; -} - -#login-form table td.input input -{ - width: 200px; -} - -#login-bottomline -{ - width: 400px; - margin: 5em auto; - font-size: 85%; - text-align: center; - color: #666; -} - -#login-noscriptwarning -{ - margin: 2em auto 0 auto; - width: 400px; - color: #cf2734; - font-weight: bold; -} - -.disabled, -a.disabled -{ - color: #999; -} - -font.bold -{ - font-weight: bold; -} - -#login-form .formbuttons -{ - text-align: center; -} - -/***** onclick menu list *****/ - -ul.toolbarmenu -{ - margin: -4px 0 -4px 0; - padding: 0; - list-style: none; -} - -ul.toolbarmenu li -{ - font-size: 11px; - white-space: nowrap; - min-width: 130px; - margin: 2px -4px; -} - -ul.toolbarmenu li a -{ - display: block; - color: #a0a0a0; - padding: 3px 12px 3px 28px; - text-decoration: none; - min-height: 14px; - line-height: 14px; -} - -ul.toolbarmenu li a.active, -ul.toolbarmenu li a.active:active, -ul.toolbarmenu li a.active:visited -{ - color: #333; -} - -ul.toolbarmenu li input -{ - vertical-align: middle; -} - -ul.toolbarmenu li hr -{ - color: #ccc; - width: 130px; - height: 1px; - margin: 2px 1px 2px 1px; -} - -ul.toolbarmenu li img -{ - float: left; - margin: 0 2px; -} - -div.popupmenu ul li.separator_below, -ul.toolbarmenu li.separator_below -{ - border-bottom: 1px solid #ccc; - margin-bottom: 2px; - padding-bottom: 2px; -} - -div.popupmenu ul li.separator_above, -ul.toolbarmenu li.separator_above -{ - border-top: 1px solid #ccc; - margin-top: 2px; - padding-top: 2px; -} - -#searchmenu -{ - width: 160px; -} - -#searchmenu ul.toolbarmenu -{ - margin: 0; -} - -#searchmenu ul.toolbarmenu li -{ - margin: 1px 4px 1px; -} - -#searchmenu ul.toolbarmenu li label -{ - padding: 2px 0; - color: black; -} - -#searchmenu ul.toolbarmenu li label.comment -{ - color: #999; -} - -#searchmenu select -{ - width: 100%; -} - -#pagejump-selector -{ - max-height: 250px; - overflow-x: hidden; -} - -#pagejump-selector ul li -{ - min-width: 45px; - padding: 2px 5px; - cursor: default; -} - - -/*** folder selector ***/ - -#folder-selector li a -{ - padding: 0; -} - -#folder-selector li span -{ - background: url(images/icons/folders.png) no-repeat 6px 0; - display: block; - height: 15px; - min-height: 14px; - padding: 2px 4px 2px 28px; - overflow: hidden; - max-width: 120px; - text-overflow: ellipsis; -} - -#folder-selector li a.virtual -{ - color: #A0A0A0; -} - -#folder-selector li a.active:hover span -{ - color: white; -} - -#folder-selector li.inbox span -{ - background-position: 6px -18px; -} -#folder-selector li.drafts span -{ - background-position: 6px -37px; -} -#folder-selector li.sent span -{ - background-position: 6px -54px; -} -#folder-selector li.trash span -{ - background-position: 6px -91px; -} -#folder-selector li.junk span -{ - background-position: 6px -73px; -} - - -/***** tabbed interface elements *****/ - -div.tabsbar, -#tabsbar -{ - position: absolute; - top: 50px; - left: 220px; - right: 20px; - height: 22px; - border-bottom: 1px solid #999999; - white-space: nowrap; -} - -div.tabsbar -{ - top: 35px; - left: 12px; - right: 12px; -} - -span.tablink, -span.tablink-selected -{ - float: left; - height: 23px !important; - height: 22px; - overflow: hidden; - background: url(images/tabs-left.gif) top left no-repeat; -} - -span.tablink -{ - cursor: pointer; -} - -span.tablink-selected -{ - cursor: default; - background-position: 0px -23px; -} - -span.tablink a, -span.tablink-selected a -{ - display: inline-block; - padding: 5px 10px 0 5px; - margin-left: 5px; - height: 23px; - color: #555555; - max-width: 185px; - text-decoration: none; - overflow: hidden; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - background: url(images/tabs-right.gif) top right no-repeat; -} - -span.tablink-selected a -{ - cursor: inherit; - color: #000000; - background-position: right -23px; -} - -fieldset -{ - margin-bottom: 1em; - border: 1px solid #999999; - padding: 4px 8px 9px 8px; -} - -legend -{ - color: #999999; -} - -fieldset.tabbed -{ - margin-top: 22px; - padding-top: 12px; -} - -.quota_text { - text-align: center; - font-size: 10px; - color: #666; - border: 1px solid #999; - cursor: default; -} -.quota_bg { background-color: white; } -.quota_high { background: url(images/quota-colors.png) repeat-x 0 -28px #f90509; } -.quota_mid { background: url(images/quota-colors.png) repeat-x 0 -14px #e3e909; } -.quota_low { background: url(images/quota-colors.png) repeat-x 0 0px #05f905; } -.quota_text_high { color: white; } -.quota_text_mid { color: #666; } -.quota_text_low { color: #666; } - -table.quota-info { - border-spacing: 0; - border-collapse: collapse; - table-layout: fixed; - margin: 2px; -} - -table.quota-info td, -table.quota-info th { - border: 1px solid #999; - padding: 2px 3px; - text-align: center; - min-width: 80px; - color: #333; - font-size: 11px; -} - -table.quota-info th { - font-weight: bold; - background-color: #ddd; -} - -table.quota-info td.name { - text-align: left; -} - -table.quota-info td.root { - font-style: italic; -} - -/********** TinyMCE styles **********/ - -div.tox .tox-toolbar, -div.tox .tox-toolbar__overflow, -div.tox .tox-toolbar__primary { - background-color: #f0f0f0; -} - -div.tox .tox-toolbar__primary { - border: 0; -} - -div.tox div.tox-dialog-wrap__backdrop { - background: #aaa; - opacity: .3; -} - -div.tox div.tox-dialog { - box-shadow: 1px 1px 18px #666; - border-width: 0; -} - -#image-selector.droptarget { - background: url(images/filedrop.png) center bottom no-repeat; -} - -#image-selector.droptarget.hover { - background-color: #F0F0EE; -} - -/** PGP key import dialog **/ -.pgpkeyimport div.key { - position: relative; - margin-bottom: 2px; - padding: 1em 1em 5px; - background-color: #ebebeb; -} - -.pgpkeyimport div.key.revoked, -.pgpkeyimport div.key.disabled { - color: #a0a0a0; -} - -.pgpkeyimport div.key label { - display: inline-block; - margin-right: 0.5em; -} - -.pgpkeyimport div.key label:after { - content: ":"; -} - -.pgpkeyimport div.key label + a, -.pgpkeyimport div.key label + span { - display: inline-block; - margin-right: 2em; - white-space: nowrap; -} - -.pgpkeyimport div.key label + a { - font-weight: bold; -} - -.pgpkeyimport ul.uids { - margin: 5px 1em 0 1em; - padding: 0; -} - -.pgpkeyimport li.uid { - border: 0; - padding: 2px; -} - -.pgpkeyimport div.key button.importkey { - position: absolute; - top: 0.8em; - right: 0.8em; - padding: 2px 6px; -} - -.pgpkeyimport div.key button[disabled] { - display: none; -} diff --git a/skins/classic/embed.css b/skins/classic/embed.css deleted file mode 100644 index 6d2c63c6a..000000000 --- a/skins/classic/embed.css +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Roundcube webmail "embedded" stylesheets - * - * Copyright (c) 2013, The Roundcube Dev Team - * - * The contents are subject to the Creative Commons Attribution-ShareAlike - * License. It is allowed to copy, distribute, transmit and to adapt the work - * by keeping credits to the original autors in the README file. - * See http://creativecommons.org/licenses/by-sa/3.0/ for details. - */ - -.rcmail-inline-message { - font-family: sans-serif; - font-size: 14px; - color: #000; - margin-bottom: .8em; - min-height: 30px; - padding: 10px 10px 6px 46px; - background: url(images/display/icons.png) 6px 3px no-repeat #F7FDCB; - border: 1px solid #C2D071; -} - -.rcmail-inline-warning { - background-position: 6px -92px; -} - -.rcmail-inline-message > button { - margin-left: 1em; - vertical-align: baseline; -} - -.rcmail-inline-message em { - font-size: 90%; - color: #666; -} - -.rcmail-inline-buttons { - margin-bottom: 0; -} diff --git a/skins/classic/functions.js b/skins/classic/functions.js deleted file mode 100644 index bc92f2dfc..000000000 --- a/skins/classic/functions.js +++ /dev/null @@ -1,1118 +0,0 @@ -/** - * Roundcube functions for default skin interface - * - * @licstart The following is the entire license notice for the - * JavaScript code in this file. - * - * Copyright (c) The Roundcube Dev Team - * - * The JavaScript code in this page is free software: you can redistribute it - * and/or modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * @licend The above is the entire license notice - * for the JavaScript code in this file. - */ - -/** - * Settings - */ - -function rcube_init_settings_tabs() -{ - var el, cl, container = $('#tabsbar'), - last_tab = $('span', container).last(), - tab = '#settingstabpreferences', - action = window.rcmail && rcmail.env.action ? rcmail.env.action : null; - - // move About tab to the end - if (last_tab && last_tab.attr('id') != 'settingstababout' && (el = $('#settingstababout'))) { - cl = el.clone(true); - el.remove(); - last_tab.after(cl); - } - - // get selected tab - if (action) - tab = '#settingstab' + (action.indexOf('identity')>0 ? 'identities' : action.replace(/\./g, '')); - - $(tab).addClass('tablink-selected'); - $('a', tab).removeAttr('onclick').click(function() { return false; }); -} - -// Fieldsets-to-tabs converter -// Warning: don't place "caller" <script> inside page element (id) -function rcube_init_tabs(id, current) -{ - var content = $('#'+id), - fs = content.children('fieldset'); - - if (!fs.length) - return; - - current = current ? current : 0; - - // create tabs container (if not exists) - var tabs = content.find('.tabsbar'); - if (!tabs.length) - tabs = $('<div>').addClass('tabsbar').appendTo(content); - - // convert fieldsets into tabs - fs.each(function(idx) { - var tab, a, elm = $(this), legend = elm.children('legend'); - - // skip invisible or already initialized fieldsets - if (!elm.is(':visible') || elm.hasClass('tabbed')) - return; - - // create a tab - a = $('<a>').text(legend.text()).attr('href', '#'); - tab = $('<span>').attr({'id': 'tab'+idx, 'class': 'tablink'}) - .click(function() { rcube_show_tab(id, idx); return false }) - - // remove legend - legend.remove(); - // style fieldset - elm.addClass('tabbed'); - // style selected tab - if (idx == current) - tab.addClass('tablink-selected'); - - // add the tab to container - tab.append(a).appendTo(tabs); - }); - - // hide not selected tabs - fs.each(function(idx) { if (idx != current) $(this).hide(); }); -} - -function rcube_show_tab(id, index) -{ - var fs = $('#'+id).children('fieldset'); - - fs.each(function(idx) { - // Show/hide fieldset (tab content) - $(this)[index==idx ? 'show' : 'hide'](); - // Select/unselect tab - $('#tab'+idx).toggleClass('tablink-selected', idx==index); - }); -} - -/** - * Mail UI - */ - -function rcube_mail_ui() -{ - this.popups = { - markmenu: {id:'markmessagemenu'}, - replyallmenu: {id:'replyallmenu'}, - forwardmenu: {id:'forwardmenu', editable:1}, - searchmenu: {id:'searchmenu', editable:1}, - messagemenu: {id:'messagemenu'}, - attachmentmenu: {id:'attachmentmenu'}, - dragmenu: {id:'dragmenu', sticky:1}, - groupmenu: {id:'groupoptionsmenu', above:1}, - mailboxmenu: {id:'mailboxoptionsmenu', above:1}, - composemenu: {id:'composeoptionsmenu', editable:1, overlap:1}, - spellmenu: {id:'spellmenu'}, - responsesmenu: {id:'responsesmenu'}, - // toggle: #1486823, #1486930 - uploadmenu: {id:'attachment-form', editable:1, above:1, toggle:!bw.ie&&!bw.linux }, - uploadform: {id:'upload-form', editable:1, toggle:!bw.ie&&!bw.linux } - }; - - var obj; - for (var k in this.popups) { - obj = $('#'+this.popups[k].id) - if (obj.length) - this.popups[k].obj = obj; - else { - delete this.popups[k]; - } - } -} - -rcube_mail_ui.prototype = { - -show_popup: function(popup, show, config) -{ - var obj; - // auto-register menu object - if (!this.popups[popup] && (obj = $('#'+popup)) && obj.length) - this.popups[popup] = $.extend(config, {id: popup, obj: obj}); - - if (typeof this[popup] == 'function') - return this[popup](show); - else - return this.show_popupmenu(popup, show); -}, - -show_popupmenu: function(popup, show) -{ - var obj = this.popups[popup].obj, - above = this.popups[popup].above, - ref = $(this.popups[popup].link ? this.popups[popup].link : rcube_find_object(popup+'link')); - - if (typeof show == 'undefined') - show = obj.is(':visible') ? false : true; - else if (this.popups[popup].toggle && show && this.popups[popup].obj.is(':visible') ) - show = false; - - if (show && ref.length) { - var parent = ref.parent(), - win = $(window), - pos = parent.hasClass('dropbutton') ? parent.offset() : ref.offset(); - - if (!above && pos.top + ref.height() + obj.height() > win.height()) - above = true; - if (pos.left + obj.width() > win.width()) - pos.left = win.width() - obj.width() - 30; - - obj.css({ left:pos.left, top:(pos.top + (above ? -obj.height() : ref.height())) }); - } - - obj[show?'show':'hide'](); -}, - -dragmenu: function(show) -{ - this.popups.dragmenu.obj[show?'show':'hide'](); -}, - -forwardmenu: function(show) -{ - $("input[name='forwardtype'][value="+(rcmail.env.forward_attachment ? 1 : 0)+"]", this.popups.forwardmenu.obj) - .prop('checked', true); - this.show_popupmenu('forwardmenu', show); -}, - -uploadmenu: function(show) -{ - if (typeof show == 'object') // called as event handler - show = false; - - // clear upload form - if (!show) { - try { $('#attachment-form form')[0].reset(); } - catch(e){} // ignore errors - } - - if (rcmail.mailvelope_editor) - return; - - this.show_popupmenu('uploadmenu', show); - - if (!document.all && this.popups.uploadmenu.obj.is(':visible')) - $('#attachment-form input[type=file]').click(); -}, - -searchmenu: function(show) -{ - var obj = this.popups.searchmenu.obj, - ref = rcube_find_object('searchmenulink'); - - if (typeof show == 'undefined') - show = obj.is(':visible') ? false : true; - - if (show && ref) { - var pos = $(ref).offset(); - obj.css({left:pos.left, top:(pos.top + ref.offsetHeight + 2)}); - - if (rcmail.env.search_mods) { - var n, all, - list = $('input:checkbox[name="s_mods[]"]', obj), - mbox = rcmail.env.mailbox, - mods = rcmail.env.search_mods, - scope = rcmail.env.search_scope || 'base'; - - if (rcmail.env.task == 'mail') { - mods = mods[mbox] ? mods[mbox] : mods['*']; - all = 'text'; - $('input:radio[name="s_scope"]').prop('checked', false).filter('#s_scope_'+scope).prop('checked', true); - } - else { - all = '*'; - } - - if (mods[all]) - list.map(function() { - this.checked = true; - this.disabled = this.value != all; - }); - else { - list.prop('disabled', false).prop('checked', false); - for (n in mods) - $('#s_mod_' + n).prop('checked', true); - } - } - } - obj[show?'show':'hide'](); -}, - -set_searchmod: function(elem) -{ - var all, m, task = rcmail.env.task, - mods = rcmail.env.search_mods || {}, - mbox = rcmail.env.mailbox, - scope = $('input[name="s_scope"]:checked').val(); - - if (task == 'mail') { - if (!mods[mbox]) - mods[mbox] = rcube_clone_object(mods['*']); - m = mods[mbox]; - all = 'text'; - } - else { //addressbook - m = mods; - all = '*'; - } - - if (!elem.checked) - delete(m[elem.value]); - else - m[elem.value] = 1; - - // mark all fields - if (elem.value == all) { - $('input:checkbox[name="s_mods[]"]').not(elem).map(function() { - this.checked = true; - if (elem.checked) { - this.disabled = true; - delete m[this.value]; - } - else { - this.disabled = false; - m[this.value] = 1; - } - }); - } - - rcmail.set_searchmods(m); -}, - -show_listmenu: function(p) -{ - var self = this, buttons = {}, $dialog = $('#listmenu'); - - // close the dialog - if ($dialog.is(':visible')) { - $dialog.dialog('close', p.originalEvent); - return; - } - - // set form values - $('input[name="sort_col"][value="'+rcmail.env.sort_col+'"]').prop('checked', true); - $('input[name="sort_ord"][value="DESC"]').prop('checked', rcmail.env.sort_order == 'DESC'); - $('input[name="sort_ord"][value="ASC"]').prop('checked', rcmail.env.sort_order != 'DESC'); - $('input[name="view"][value="thread"]').prop('checked', rcmail.env.threading ? true : false); - $('input[name="view"][value="list"]').prop('checked', rcmail.env.threading ? false : true); - - // set checkboxes - $('input[name="list_col[]"]').each(function() { - $(this).prop('checked', $.inArray(this.value, rcmail.env.listcols) != -1); - }); - - $.each(['widescreen', 'desktop', 'list'], function() { - $('input[name="layout"][value="' + this + '"]').prop('checked', rcmail.env.layout == this); - }); - $('#listoptions-columns', $dialog)[rcmail.env.layout == 'widescreen' ? 'hide' : 'show'](); - - buttons[rcmail.gettext('save')] = function(e) { - $dialog.dialog('close', e); - self.save_listmenu(); - }; - - $dialog.dialog({ - modal: true, - resizable: false, - closeOnEscape: true, - title: null, - open: function(e) { - var maxheight = 0; - $('#listmenu fieldset').each(function() { - var height = $(this).height(); - if (height > maxheight) { - maxheight = height; - } - }).css("min-height", maxheight+"px").height(maxheight); - - setTimeout(function() { $dialog.find('a, input:not(:disabled)').not('[aria-disabled=true]').first().focus(); }, 100); - }, - close: function(e) { - $dialog.dialog('destroy').hide(); - if (e.originalEvent && rcube_event.is_keyboard(e.originalEvent)) - $('#listmenulink').focus(); - }, - buttons: buttons, - minWidth: 500, - width: $dialog.width()+20 - }).show(); -}, - -save_listmenu: function() -{ - var sort = $('input[name="sort_col"]:checked').val(), - ord = $('input[name="sort_ord"]:checked').val(), - thread = $('input[name="view"]:checked').val(), - layout = $('input[name="layout"]:checked').val(), - cols = $('input[name="list_col[]"]:checked') - .map(function(){ return this.value; }).get(); - - rcmail.set_list_options(cols, sort, ord, thread == 'thread' ? 1 : 0, layout); -}, - -spellmenu: function(show) -{ - var link, li, - lang = rcmail.spellcheck_lang(), - menu = this.popups.spellmenu.obj, - ul = $('ul', menu); - - if (!ul.length) { - ul = $('<ul>'); - - for (i in rcmail.env.spell_langs) { - li = $('<li>'); - link = $('<a href="#"></a>').text(rcmail.env.spell_langs[i]) - .addClass('active').data('lang', i) - .click(function() { - rcmail.spellcheck_lang_set($(this).data('lang')); - }); - - link.appendTo(li); - li.appendTo(ul); - } - - ul.appendTo(menu); - } - - // select current language - $('li', ul).each(function() { - var el = $('a', this); - if (el.data('lang') == lang) - el.addClass('selected'); - else if (el.hasClass('selected')) - el.removeClass('selected'); - }); - - this.show_popupmenu('spellmenu', show); -}, - -show_attachmentmenu: function(elem, event) -{ - var id = elem.parentNode.id.replace(/^attach/, ''); - - $.each(['open', 'download', 'rename'], function() { - var action = this; - $('#attachmenu' + action).off('click').attr('onclick', '').click(function(e) { - return rcmail.command(action + '-attachment', id, this); - }); - }); - - this.popups.attachmentmenu.link = elem; - rcmail.command('menu-open', {menu: 'attachmentmenu', id: id}, elem, event); -}, - -menu_open: function(p) -{ - if (p && p.name == 'messagelistmenu') - this.show_listmenu(); -}, - -body_mouseup: function(e) -{ - var target = e.target; ref = this; - - $.each(this.popups, function(i, popup) { - if (popup.obj.is(':visible') && target != rcube_find_object(i + 'link') - && !popup.toggle - && target != popup.obj.get(0) // check if scroll bar was clicked (#1489832) - && (!popup.editable || !ref.target_overlaps(target, popup.id)) - && (!popup.sticky || !rcube_mouse_is_over(e, rcube_find_object(popup.id))) - && !$(target).is('.folder-selector-link') && !$(target).children('.folder-selector-link').length - ) { - window.setTimeout('rcmail_ui.show_popup("'+i+'",false);', 50); - } - }); -}, - -target_overlaps: function (target, elementid) -{ - var element = rcube_find_object(elementid); - while (target.parentNode) { - if (target.parentNode == element) - return true; - target = target.parentNode; - } - return false; -}, - -body_keydown: function(e) -{ - if (e.keyCode == 27) { - for (var k in this.popups) { - if (this.popups[k].obj.is(':visible')) - this.show_popup(k, false); - } - } -}, - -// Mail view layout initialization and change handler -set_layout: function(p) -{ - var layout = p ? p.new_layout : rcmail.env.layout, - top = $('#mailcontframe'), - bottom = $('#mailpreviewframe'); - - if (p) - $('#mailrightcontainer').removeClass().addClass(layout); - - if (!this.mailviewsplitv) { - this.mailviewsplitv = new rcube_splitter({id:'mailviewsplitterv', p1: 'mailleftcontainer', p2: 'mailrightcontainer', - orientation: 'v', relative: true, start: 165, callback: rcube_render_mailboxlist }); - this.mailviewsplitv.init(); - } - - $('#mailviewsplitter')[layout == 'desktop' ? 'show' : 'hide'](); - $('#mailviewsplitter2')[layout == 'widescreen' ? 'show' : 'hide'](); - $('#mailpreviewframe')[layout != 'list' ? 'show' : 'hide'](); - rcmail.env.contentframe = layout == 'list' ? null : 'messagecontframe'; - - if (layout == 'widescreen') { - $('#countcontrols').detach().appendTo($('#messagelistheader')); - top.css({height: 'auto', width: 400}); - bottom.css({top: 0, left: 410, height: 'auto'}).show(); - if (!this.mailviewsplit2) { - this.mailviewsplit2 = new rcube_splitter({id:'mailviewsplitter2', p1: 'mailcontframe', p2: 'mailpreviewframe', - orientation: 'v', relative: true, start: 405}); - this.mailviewsplit2.init(); - } - else - this.mailviewsplit2.resize(); - } - else if (layout == 'desktop') { - top.css({height: 200, width: '100%'}); - bottom.css({left: 0, top: 210, height: 'auto'}).show(); - if (!this.mailviewsplit) { - this.mailviewsplit = new rcube_splitter({id:'mailviewsplitter', p1: 'mailcontframe', p2: 'mailpreviewframe', - orientation: 'h', relative: true, start: 205}); - this.mailviewsplit.init(); - } - else - this.mailviewsplit.resize(); - } - else { // layout == 'list' - top.css({height: 'auto', width: '100%'}); - bottom.hide(); - } - - if (p && p.old_layout == 'widescreen') { - $('#countcontrols').detach().appendTo($('#messagelistfooter')); - } -}, - - -/* Message composing */ -init_compose_form: function() -{ - var f, v, field, fields = ['cc', 'bcc', 'replyto', 'followupto'], - div = document.getElementById('compose-div'), - headers_div = document.getElementById('compose-headers-div'); - - // Show input elements with non-empty value - for (f=0; f<fields.length; f++) { - v = fields[f]; field = $('#_'+v); - if (field.length) { - field.on('change', {v:v}, function(e) { if (this.value) rcmail_ui.show_header_form(e.data.v); }); - if (field.val() != '') - rcmail_ui.show_header_form(v); - } - } - - // prevent from form data loss when pressing ESC key in IE - if (bw.ie) { - var form = rcube_find_object('form'); - form.onkeydown = function (e) { - if (rcube_event.get_keycode(e) == 27) - rcube_event.cancel(e); - }; - } - - $(window).resize(function() { - rcmail_ui.resize_compose_body(); - }); - - $('#compose-container').resize(function() { - rcmail_ui.resize_compose_body(); - }); - - div.style.top = (parseInt(headers_div.offsetHeight, 10) + 3) + 'px'; - $(window).resize(); - - // fixes contacts-table position when there's more than one addressbook - $('#contacts-table').css('top', $('#directorylist').height() + 24 + 'px'); - - // contacts search submit - $('#quicksearchbox').keydown(function(e) { - if (rcube_event.get_keycode(e) == 13) - rcmail.command('search'); - }); -}, - -resize_compose_body: function() -{ - var div = $('#compose-div .boxlistcontent'), - w = div.width() - 6, - h = div.height() - 2, - x = bw.ie || bw.opera ? 4 : 0; - - $('#compose-body_ifr').width(w + 6).height(h - 1 - $('div.tox-toolbar').height()); - $('#compose-body').width(w-x).height(h); - $('#googie_edit_layer').width(w).height(h); -}, - -resize_compose_body_ev: function() -{ - window.setTimeout(function(){rcmail_ui.resize_compose_body();}, 100); -}, - -show_header_form: function(id) -{ - var row, s, - link = document.getElementById(id + '-link'); - - if ((s = this.next_sibling(link))) - s.style.display = 'none'; - else if ((s = this.prev_sibling(link))) - s.style.display = 'none'; - - link.style.display = 'none'; - - if ((row = document.getElementById('compose-' + id))) { - var div = document.getElementById('compose-div'), - headers_div = document.getElementById('compose-headers-div'); - $(row).show(); - div.style.top = (parseInt(headers_div.offsetHeight, 10) + 3) + 'px'; - this.resize_compose_body(); - } - - return false; -}, - -hide_header_form: function(id) -{ - var row, ns, - link = document.getElementById(id + '-link'), - parent = link.parentNode, - links = parent.getElementsByTagName('a'); - - link.style.display = ''; - - for (var i=0; i<links.length; i++) - if (links[i].style.display != 'none') - for (var j=i+1; j<links.length; j++) - if (links[j].style.display != 'none') - if ((ns = this.next_sibling(links[i]))) { - ns.style.display = ''; - break; - } - - document.getElementById('_' + id).value = ''; - - if ((row = document.getElementById('compose-' + id))) { - var div = document.getElementById('compose-div'), - headers_div = document.getElementById('compose-headers-div'); - row.style.display = 'none'; - div.style.top = (parseInt(headers_div.offsetHeight, 10) + 1) + 'px'; - this.resize_compose_body(); - } - - return false; -}, - -next_sibling: function(elm) -{ - var ns = elm.nextSibling; - while (ns && ns.nodeType == 3) - ns = ns.nextSibling; - return ns; -}, - -prev_sibling: function(elm) -{ - var ps = elm.previousSibling; - while (ps && ps.nodeType == 3) - ps = ps.previousSibling; - return ps; -}, - -enable_command: function(p) -{ - if (p.command == 'reply-list' && rcmail.env.reply_all_mode == 1) { - var label = rcmail.gettext(p.status ? 'replylist' : 'replyall'); - $('a.button.replyAll').attr('title', label); - } - else if (p.command == 'compose-encrypted') { - // show the toolbar button for Mailvelope - $('#messagetoolbar a.encrypt').parent().show(); - } - else if (p.command == 'compose-encrypted-signed') { - // enable selector for encrypt and sign - $('#encryptionmenulink').show(); - } -}, - -folder_search_init: function(container) -{ - // animation to unfold list search box - $('.boxtitle a.search', container).click(function(e) { - var title = $('.boxtitle', container), - box = $('.listsearchbox', container), - dir = box.is(':visible') ? -1 : 1, - height = 24 + ($('select', box).length ? 24 : 0); - - box.slideToggle({ - duration: 160, - progress: function(animation, progress) { - if (dir < 0) progress = 1 - progress; - $('.boxlistcontent', container).css('top', (title.outerHeight() + height * progress) + 'px'); - }, - complete: function() { - box.toggleClass('expanded'); - if (box.is(':visible')) { - box.find('input[type=text]').focus(); - } - else { - $('a.reset', box).click(); - } - // TODO: save state in cookie - } - }); - - return false; - }); -} - -}; - -/** - * Roundcube generic layer (floating box) class - * - * @constructor - */ -function rcube_layer(id, attributes) -{ - this.name = id; - - // create a new layer in the current document - this.create = function(arg) - { - var l = (arg.x) ? arg.x : 0, - t = (arg.y) ? arg.y : 0, - w = arg.width, - h = arg.height, - z = arg.zindex, - vis = arg.vis, - parent = arg.parent, - obj = document.createElement('DIV'); - - obj.id = this.name; - obj.style.position = 'absolute'; - obj.style.visibility = (vis) ? (vis==2) ? 'inherit' : 'visible' : 'hidden'; - obj.style.left = l+'px'; - obj.style.top = t+'px'; - if (w) - obj.style.width = w.toString().match(/\%$/) ? w : w+'px'; - if (h) - obj.style.height = h.toString().match(/\%$/) ? h : h+'px'; - if (z) - obj.style.zIndex = z; - - if (parent) - parent.appendChild(obj); - else - document.body.appendChild(obj); - - this.elm = obj; - }; - - // create new layer - if (attributes != null) { - this.create(attributes); - this.name = this.elm.id; - } - else // just refer to the object - this.elm = document.getElementById(id); - - if (!this.elm) - return false; - - - // ********* layer object properties ********* - - this.css = this.elm.style; - this.event = this.elm; - this.width = this.elm.offsetWidth; - this.height = this.elm.offsetHeight; - this.x = parseInt(this.elm.offsetLeft); - this.y = parseInt(this.elm.offsetTop); - this.visible = (this.css.visibility=='visible' || this.css.visibility=='show' || this.css.visibility=='inherit') ? true : false; - - - // ********* layer object methods ********* - - // move the layer to a specific position - this.move = function(x, y) - { - this.x = x; - this.y = y; - this.css.left = Math.round(this.x)+'px'; - this.css.top = Math.round(this.y)+'px'; - }; - - // change the layers width and height - this.resize = function(w,h) - { - this.css.width = w+'px'; - this.css.height = h+'px'; - this.width = w; - this.height = h; - }; - - // show or hide the layer - this.show = function(a) - { - if(a == 1) { - this.css.visibility = 'visible'; - this.visible = true; - } - else if(a == 2) { - this.css.visibility = 'inherit'; - this.visible = true; - } - else { - this.css.visibility = 'hidden'; - this.visible = false; - } - }; - - // write new content into a Layer - this.write = function(cont) - { - this.elm.innerHTML = cont; - }; - -}; - -/** - * Scroller - * - * @deprecated Use treelist widget - */ -function rcmail_scroller(list, top, bottom) -{ - var ref = this; - - this.list = $(list); - this.top = $(top); - this.bottom = $(bottom); - this.step_size = 6; - this.step_time = 20; - this.delay = 500; - - this.top - .mouseenter(function() { ref.ts = window.setTimeout(function() { ref.scroll('down'); }, ref.delay); }) - .mouseout(function() { if (ref.ts) window.clearTimeout(ref.ts); }); - - this.bottom - .mouseenter(function() { ref.ts = window.setTimeout(function() { ref.scroll('up'); }, ref.delay); }) - .mouseout(function() { if (ref.ts) window.clearTimeout(ref.ts); }); - - this.scroll = function(dir) - { - var ref = this, size = this.step_size; - - if (!rcmail.drag_active) - return; - - if (dir == 'down') - size *= -1; - - this.list.get(0).scrollTop += size; - this.ts = window.setTimeout(function() { ref.scroll(dir); }, this.step_time); - }; -}; - -// Abbreviate mailbox names to fit width of the container -function rcube_render_mailboxlist() -{ - var list = $('#mailboxlist > li > a, #mailboxlist ul:visible > li > a'); - - // it's too slow with really big number of folders - if (list.length > 100) - return; - - list.each(function() { - var elem = $(this), - text = elem.data('text'); - - if (!text) { - text = elem.text().replace(/\s+\([0-9]+\)$/, ''); - elem.data('text', text); - } - - if (text.length < 6) - return; - - var abbrev = fit_string_to_size(text, elem, elem.width() - elem.children('span.unreadcount').width() - 16); - if (abbrev != text) - elem.attr('title', text); - elem.contents().filter(function(){ return (this.nodeType == 3); }).get(0).data = abbrev; - }); -}; - -// inspired by https://gist.github.com/24261/7fdb113f1e26111bd78c0c6fe515f6c0bf418af5 -function fit_string_to_size(str, elem, len) -{ - var w, span, $span, result = str, ellip = '...'; - - if (!rcmail.env.tmp_span) { - // it should be appended to elem to use the same css style - // but for performance reasons we'll append it to body (once) - span = $('<b>').css({visibility: 'hidden', padding: '0px', - 'font-family': elem.css('font-family'), - 'font-size': elem.css('font-size')}) - .appendTo($('body', document)).get(0); - rcmail.env.tmp_span = span; - } - else { - span = rcmail.env.tmp_span; - } - - $span = $(span); - $span.text(result); - - // on first run, check if string fits into the length already. - w = span.offsetWidth; - if (w > len) { - var cut = Math.max(1, Math.floor(str.length * ((w - len) / w) / 2)), - mid = Math.floor(str.length / 2), - offLeft = mid, - offRight = mid; - - while (true) { - offLeft = mid - cut; - offRight = mid + cut; - $span.text(str.substring(0,offLeft) + ellip + str.substring(offRight)); - - // break loop if string fits size - if (offLeft < 3 || span.offsetWidth) - break; - - cut++; - } - - // build resulting string - result = str.substring(0,offLeft) + ellip + str.substring(offRight); - } - - return result; -}; - -function update_quota(data) -{ - percent_indicator(rcmail.gui_objects.quotadisplay, data); - - if (data.table) { - var menu = $('#quotamenu'); - - if (!menu.length) - menu = $('<div id="quotamenu" class="popupmenu">').appendTo($('body')); - - menu.html(data.table); - $('#quotaimg').css('cursor', 'pointer').off('click').on('click', function(e) { - return rcmail.command('menu-open', 'quotamenu', e.target, e); - }); - } -}; - -// percent (quota) indicator -function percent_indicator(obj, data) -{ - if (!data || !obj) - return false; - - var limit_high = 80, - limit_mid = 55, - width = data.width ? data.width : rcmail.env.indicator_width ? rcmail.env.indicator_width : 100, - height = data.height ? data.height : rcmail.env.indicator_height ? rcmail.env.indicator_height : 14, - quota = data.percent ? Math.abs(parseInt(data.percent)) : 0, - quota_width = parseInt(quota / 100 * width), - pos = $(obj).position(); - - // workarounds for Opera and Webkit bugs - pos.top = Math.max(0, pos.top); - pos.left = Math.max(0, pos.left); - - rcmail.env.indicator_width = width; - rcmail.env.indicator_height = height; - - // overlimit - if (quota_width > width) { - quota_width = width; - quota = 100; - } - - if (data.title) - data.title = rcmail.get_label('quota') + ': ' + data.title; - - // main div - var main = $('<div>'); - main.css({position: 'absolute', top: pos.top, left: pos.left, - width: width + 'px', height: height + 'px', zIndex: 100, lineHeight: height + 'px'}) - .attr('title', data.title).addClass('quota_text').html(quota + '%'); - // used bar - var bar1 = $('<div>'); - bar1.css({position: 'absolute', top: pos.top + 1, left: pos.left + 1, - width: quota_width + 'px', height: height + 'px', zIndex: 99}); - // background - var bar2 = $('<div>'); - bar2.css({position: 'absolute', top: pos.top + 1, left: pos.left + 1, - width: width + 'px', height: height + 'px', zIndex: 98}) - .addClass('quota_bg'); - - if (quota >= limit_high) { - main.addClass(' quota_text_high'); - bar1.addClass('quota_high'); - } - else if(quota >= limit_mid) { - main.addClass(' quota_text_mid'); - bar1.addClass('quota_mid'); - } - else { - main.addClass(' quota_text_low'); - bar1.addClass('quota_low'); - } - - // replace quota image - $(obj).html('').append(bar1).append(bar2).append(main); - // update #quotaimg title - $('#quotaimg').attr('title', data.title); -}; - -function attachment_menu_append(item) -{ - if ($(item).is('.no-menu')) - return; - - $(item).append( - $('<a class="drop"></a>').on('click keypress', function(e) { - if (e.type != 'keypress' || e.which == 13) { - rcmail_ui.show_attachmentmenu(this, e); - return false; - } - }) - ); -}; - -// Optional parameters used by TinyMCE -var rcmail_editor_settings = {}; - -var rcmail_ui; - -function rcube_init_mail_ui() -{ - rcmail_ui = new rcube_mail_ui(); - - $(document.body).mouseup(function(e) { rcmail_ui.body_mouseup(e); }) - .mousedown(function(e) { rcmail_ui.body_keydown(e); }); - - rcmail.addEventListener('init', function() { - if (rcmail.env.quota_content) - update_quota(rcmail.env.quota_content); - rcmail.addEventListener('setquota', update_quota); - - rcube_webmail.set_iframe_events({mouseup: function(e) { return rcmail_ui.body_mouseup(e); }}); - - if (rcmail.env.task == 'mail') { - rcmail.addEventListener('enable-command', 'enable_command', rcmail_ui) - .addEventListener('menu-open', 'menu_open', rcmail_ui) - .addEventListener('aftersend-attachment', 'uploadmenu', rcmail_ui) - .addEventListener('aftertoggle-editor', 'resize_compose_body_ev', rcmail_ui) - .addEventListener('afterbounce', function(){ rcmail_ui.show_popup('forwardmenu', false); }) - .gui_object('dragmenu', 'dragmenu'); - - if (rcmail.gui_objects.mailboxlist) { - rcmail.treelist.addEventListener('expand', rcube_render_mailboxlist); - rcmail.addEventListener('responseaftermark', rcube_render_mailboxlist) - .addEventListener('responseaftergetunread', rcube_render_mailboxlist) - .addEventListener('responseaftercheck-recent', rcube_render_mailboxlist) - .addEventListener('responseafterrefresh', rcube_render_mailboxlist) - .addEventListener('afterimport-messages', function(){ rcmail_ui.show_popup('uploadform', false); }); - } - - rcmail.init_pagejumper('#pagejumper'); - - // fix message list header on window resize (#1490213) - if (bw.ie && rcmail.message_list) - $(window).resize(function() { - setTimeout(function() { rcmail.message_list.resize(); }, 10); - }); - - if (rcmail.env.action == 'list' || !rcmail.env.action) { - rcmail.addEventListener('layout-change', 'set_layout', rcmail_ui); - rcmail_ui.set_layout(); - } - else if (rcmail.env.action == 'compose') { - rcmail_ui.init_compose_form(); - rcmail.addEventListener('compose-encrypted', function(e) { - $("a.button.encrypt")[(e.active ? 'addClass' : 'removeClass')]('selected'); - $("select[name='editorSelector']").prop('disabled', e.active); - $('a.button.attach, a.button.responses, a.button.attach, #uploadmenulink')[(e.active ? 'addClass' : 'removeClass')]('buttonPas disabled'); - $('#responseslist a.insertresponse')[(e.active ? 'removeClass' : 'addClass')]('active'); - }); - rcmail.addEventListener('fileappended', function(e) { - if (e.attachment.complete) - attachment_menu_append(e.item); - }); - - // add menu link for each attachment - $('#attachmentslist > li').each(function() { - attachment_menu_append(this); - }); - } - else if (rcmail.env.action == 'show' || rcmail.env.action == 'preview') { - // add menu link for each attachment - $('#attachment-list > li[id^="attach"]').each(function() { - attachment_menu_append(this); - }); - - $(window).resize(function() { - if (!$('#attachment-list > li[id^="attach"]').length) - $('#attachment-list').hide(); - - var mvlpe = $('#messagebody.mailvelope'); - if (mvlpe.length) { - var content = $('#messageframe'), - h = (content.length ? content.height() + content.offset().top - 25 : $(this).height()) - mvlpe.offset().top - 20; - mvlpe.height(h); - } - }); - } - } - else if (rcmail.env.task == 'addressbook') { - rcmail.addEventListener('afterupload-photo', function(){ rcmail_ui.show_popup('uploadform', false); }) - .gui_object('dragmenu', 'dragmenu'); - } - else if (rcmail.env.task == 'settings') { - if (rcmail.env.action == 'folders') { - rcmail_ui.folder_search_init($('#folder-manager')); - } - - $('#mainscreen > #prefs-title').detach().prependTo($('#mainscreen > .box')); - } - }); -} - diff --git a/skins/classic/googiespell.css b/skins/classic/googiespell.css deleted file mode 100644 index 922189a7b..000000000 --- a/skins/classic/googiespell.css +++ /dev/null @@ -1,126 +0,0 @@ -/***** modified styles for GoogieSpell *****/ - -.googie_window { - font-size: 11px; - width: 185px; -} - -.googie_edit_layer { - background-color: #ffffff; - padding: 1px 3px; - font-size: 9pt; - font-family: monospace; -} - -.googie_edit_layer span { - font-family: monospace; -} - -.googie_list { - width: 100%; - margin: 0; - padding: 0; -} - -.googie_list li { - font-size: 11px; - cursor: pointer; - list-style-type: none; -} - -.googie_list form { - padding: 3px; -} - -.googie_list_onhover { - color: #FFFFFF; - background-color: #CC3333; -} - -.googie_list_onout { - background-color: #fff; -} - -.googie_list_selected { - background-color: #cccccc; - font-weight: bold; -} - -.googie_list_close { - font-size: 11px; - color: #b91414; -} - -.googie_list_onhover .googie_list_close { - color: #FFFFFF; -} - -.googie_list_revert { - font-size: 11px; - color: #b91414; -} - -.googie_list_revert:hover { - color: #fff; -} - -.googie_link { - color: #b91414; - text-decoration: underline; - cursor: pointer; - font-size: 9pt; - font-family: monospace; -} - -.googie_check_spelling_link { - color: #CC0000; - font-size: 11px; - text-decoration: none; - cursor: pointer; -} - -.googie_check_spelling_link:hover { - text-decoration: underline; -} - -.googie_no_style { - text-decoration: none; -} - -.googie_check_spelling_ok, -.googie_resume_editing { - color: green; - font-size: 11px; - cursor: pointer; -} - -.googie_check_spelling_ok:hover, -.googie_resume_editing:hover { - text-decoration: underline; -} - -.googie_lang_3d_click img { - vertical-align: middle; - border-top: 1px solid #555; - border-left: 1px solid #555; - border-right: 1px solid #b1b1b1; - border-bottom: 1px solid #b1b1b1; -} - -.googie_lang_3d_on img { - vertical-align: middle; - border-top: 1px solid #b1b1b1; - border-left: 1px solid #b1b1b1; - border-right: 1px solid #555; - border-bottom: 1px solid #555; -} - -.googie_ok_button { - background: url(images/googiespell/ok.gif) no-repeat center center transparent; - width: 32px; - height: 16px; - cursor: pointer; - margin: 0 5px; - text-indent: -5000px; - border: 0 !important; -} diff --git a/skins/classic/images/abook_toolbar.png b/skins/classic/images/abook_toolbar.png Binary files differdeleted file mode 100644 index 7bb324fb6..000000000 --- a/skins/classic/images/abook_toolbar.png +++ /dev/null diff --git a/skins/classic/images/buttons/add_act.png b/skins/classic/images/buttons/add_act.png Binary files differdeleted file mode 100644 index b7454ebdf..000000000 --- a/skins/classic/images/buttons/add_act.png +++ /dev/null diff --git a/skins/classic/images/buttons/add_pas.png b/skins/classic/images/buttons/add_pas.png Binary files differdeleted file mode 100644 index e79b60e35..000000000 --- a/skins/classic/images/buttons/add_pas.png +++ /dev/null diff --git a/skins/classic/images/buttons/add_sel.png b/skins/classic/images/buttons/add_sel.png Binary files differdeleted file mode 100644 index 41224cd43..000000000 --- a/skins/classic/images/buttons/add_sel.png +++ /dev/null diff --git a/skins/classic/images/buttons/bg.gif b/skins/classic/images/buttons/bg.gif Binary files differdeleted file mode 100644 index 45d31058b..000000000 --- a/skins/classic/images/buttons/bg.gif +++ /dev/null diff --git a/skins/classic/images/cleardot.png b/skins/classic/images/cleardot.png Binary files differdeleted file mode 100644 index ac576dd6e..000000000 --- a/skins/classic/images/cleardot.png +++ /dev/null diff --git a/skins/classic/images/contactactions.png b/skins/classic/images/contactactions.png Binary files differdeleted file mode 100644 index 8eda5388f..000000000 --- a/skins/classic/images/contactactions.png +++ /dev/null diff --git a/skins/classic/images/contactgroup.png b/skins/classic/images/contactgroup.png Binary files differdeleted file mode 100644 index 47ed73743..000000000 --- a/skins/classic/images/contactgroup.png +++ /dev/null diff --git a/skins/classic/images/contactpic.png b/skins/classic/images/contactpic.png Binary files differdeleted file mode 100644 index 4cc4dd0c6..000000000 --- a/skins/classic/images/contactpic.png +++ /dev/null diff --git a/skins/classic/images/dbutton.png b/skins/classic/images/dbutton.png Binary files differdeleted file mode 100644 index 47007111e..000000000 --- a/skins/classic/images/dbutton.png +++ /dev/null diff --git a/skins/classic/images/dimple.png b/skins/classic/images/dimple.png Binary files differdeleted file mode 100644 index cb2bca2e0..000000000 --- a/skins/classic/images/dimple.png +++ /dev/null diff --git a/skins/classic/images/display/icons.gif b/skins/classic/images/display/icons.gif Binary files differdeleted file mode 100644 index e6dfb1bc6..000000000 --- a/skins/classic/images/display/icons.gif +++ /dev/null diff --git a/skins/classic/images/display/icons.png b/skins/classic/images/display/icons.png Binary files differdeleted file mode 100644 index d62db7179..000000000 --- a/skins/classic/images/display/icons.png +++ /dev/null diff --git a/skins/classic/images/display/loading.gif b/skins/classic/images/display/loading.gif Binary files differdeleted file mode 100644 index 62d100a7e..000000000 --- a/skins/classic/images/display/loading.gif +++ /dev/null diff --git a/skins/classic/images/display/loading_blue.gif b/skins/classic/images/display/loading_blue.gif Binary files differdeleted file mode 100644 index 21556f322..000000000 --- a/skins/classic/images/display/loading_blue.gif +++ /dev/null diff --git a/skins/classic/images/favicon.ico b/skins/classic/images/favicon.ico Binary files differdeleted file mode 100644 index 9f8c78300..000000000 --- a/skins/classic/images/favicon.ico +++ /dev/null diff --git a/skins/classic/images/filedrop.png b/skins/classic/images/filedrop.png Binary files differdeleted file mode 100644 index 224a1b5d9..000000000 --- a/skins/classic/images/filedrop.png +++ /dev/null diff --git a/skins/classic/images/googiespell/change_lang.gif b/skins/classic/images/googiespell/change_lang.gif Binary files differdeleted file mode 100644 index 0ed3edc08..000000000 --- a/skins/classic/images/googiespell/change_lang.gif +++ /dev/null diff --git a/skins/classic/images/googiespell/indicator.gif b/skins/classic/images/googiespell/indicator.gif Binary files differdeleted file mode 100644 index b556bb00f..000000000 --- a/skins/classic/images/googiespell/indicator.gif +++ /dev/null diff --git a/skins/classic/images/googiespell/ok.gif b/skins/classic/images/googiespell/ok.gif Binary files differdeleted file mode 100644 index 04727e28d..000000000 --- a/skins/classic/images/googiespell/ok.gif +++ /dev/null diff --git a/skins/classic/images/googiespell/spellc.gif b/skins/classic/images/googiespell/spellc.gif Binary files differdeleted file mode 100644 index 6ed936090..000000000 --- a/skins/classic/images/googiespell/spellc.gif +++ /dev/null diff --git a/skins/classic/images/icons/attachment.png b/skins/classic/images/icons/attachment.png Binary files differdeleted file mode 100644 index 6f967472c..000000000 --- a/skins/classic/images/icons/attachment.png +++ /dev/null diff --git a/skins/classic/images/icons/blank.gif b/skins/classic/images/icons/blank.gif Binary files differdeleted file mode 100644 index 7dd464ea3..000000000 --- a/skins/classic/images/icons/blank.gif +++ /dev/null diff --git a/skins/classic/images/icons/collapsed.png b/skins/classic/images/icons/collapsed.png Binary files differdeleted file mode 100644 index 977635f6c..000000000 --- a/skins/classic/images/icons/collapsed.png +++ /dev/null diff --git a/skins/classic/images/icons/columnpicker.gif b/skins/classic/images/icons/columnpicker.gif Binary files differdeleted file mode 100644 index eb38642eb..000000000 --- a/skins/classic/images/icons/columnpicker.gif +++ /dev/null diff --git a/skins/classic/images/icons/delete.png b/skins/classic/images/icons/delete.png Binary files differdeleted file mode 100644 index f139b3d02..000000000 --- a/skins/classic/images/icons/delete.png +++ /dev/null diff --git a/skins/classic/images/icons/deleted.png b/skins/classic/images/icons/deleted.png Binary files differdeleted file mode 100644 index 529e162da..000000000 --- a/skins/classic/images/icons/deleted.png +++ /dev/null diff --git a/skins/classic/images/icons/dot.png b/skins/classic/images/icons/dot.png Binary files differdeleted file mode 100644 index 08f6586e9..000000000 --- a/skins/classic/images/icons/dot.png +++ /dev/null diff --git a/skins/classic/images/icons/down_small.gif b/skins/classic/images/icons/down_small.gif Binary files differdeleted file mode 100644 index 89a28481b..000000000 --- a/skins/classic/images/icons/down_small.gif +++ /dev/null diff --git a/skins/classic/images/icons/expanded.png b/skins/classic/images/icons/expanded.png Binary files differdeleted file mode 100644 index 07227297e..000000000 --- a/skins/classic/images/icons/expanded.png +++ /dev/null diff --git a/skins/classic/images/icons/extwin.png b/skins/classic/images/icons/extwin.png Binary files differdeleted file mode 100644 index c0e0833a1..000000000 --- a/skins/classic/images/icons/extwin.png +++ /dev/null diff --git a/skins/classic/images/icons/flagged.png b/skins/classic/images/icons/flagged.png Binary files differdeleted file mode 100644 index 27234b974..000000000 --- a/skins/classic/images/icons/flagged.png +++ /dev/null diff --git a/skins/classic/images/icons/folders.png b/skins/classic/images/icons/folders.png Binary files differdeleted file mode 100644 index d60ee1c24..000000000 --- a/skins/classic/images/icons/folders.png +++ /dev/null diff --git a/skins/classic/images/icons/forwarded.png b/skins/classic/images/icons/forwarded.png Binary files differdeleted file mode 100644 index 364f986c9..000000000 --- a/skins/classic/images/icons/forwarded.png +++ /dev/null diff --git a/skins/classic/images/icons/forwarded_replied.png b/skins/classic/images/icons/forwarded_replied.png Binary files differdeleted file mode 100644 index ccc5d3207..000000000 --- a/skins/classic/images/icons/forwarded_replied.png +++ /dev/null diff --git a/skins/classic/images/icons/glass.png b/skins/classic/images/icons/glass.png Binary files differdeleted file mode 100644 index a11db7517..000000000 --- a/skins/classic/images/icons/glass.png +++ /dev/null diff --git a/skins/classic/images/icons/glass_roll.png b/skins/classic/images/icons/glass_roll.png Binary files differdeleted file mode 100644 index 15c16289a..000000000 --- a/skins/classic/images/icons/glass_roll.png +++ /dev/null diff --git a/skins/classic/images/icons/groupactions.png b/skins/classic/images/icons/groupactions.png Binary files differdeleted file mode 100644 index 259499ef7..000000000 --- a/skins/classic/images/icons/groupactions.png +++ /dev/null diff --git a/skins/classic/images/icons/html.png b/skins/classic/images/icons/html.png Binary files differdeleted file mode 100644 index 5a373aec6..000000000 --- a/skins/classic/images/icons/html.png +++ /dev/null diff --git a/skins/classic/images/icons/minus.gif b/skins/classic/images/icons/minus.gif Binary files differdeleted file mode 100644 index 4ec02c87a..000000000 --- a/skins/classic/images/icons/minus.gif +++ /dev/null diff --git a/skins/classic/images/icons/plus.gif b/skins/classic/images/icons/plus.gif Binary files differdeleted file mode 100644 index 3d0d762a8..000000000 --- a/skins/classic/images/icons/plus.gif +++ /dev/null diff --git a/skins/classic/images/icons/rename.png b/skins/classic/images/icons/rename.png Binary files differdeleted file mode 100644 index 5e90543cd..000000000 --- a/skins/classic/images/icons/rename.png +++ /dev/null diff --git a/skins/classic/images/icons/replied.png b/skins/classic/images/icons/replied.png Binary files differdeleted file mode 100644 index 675c51602..000000000 --- a/skins/classic/images/icons/replied.png +++ /dev/null diff --git a/skins/classic/images/icons/reset.gif b/skins/classic/images/icons/reset.gif Binary files differdeleted file mode 100644 index a9a53d569..000000000 --- a/skins/classic/images/icons/reset.gif +++ /dev/null diff --git a/skins/classic/images/icons/silhouette.png b/skins/classic/images/icons/silhouette.png Binary files differdeleted file mode 100644 index df5f9b742..000000000 --- a/skins/classic/images/icons/silhouette.png +++ /dev/null diff --git a/skins/classic/images/icons/sort.gif b/skins/classic/images/icons/sort.gif Binary files differdeleted file mode 100644 index e3dd806f9..000000000 --- a/skins/classic/images/icons/sort.gif +++ /dev/null diff --git a/skins/classic/images/icons/text.png b/skins/classic/images/icons/text.png Binary files differdeleted file mode 100644 index 8f0cd711b..000000000 --- a/skins/classic/images/icons/text.png +++ /dev/null diff --git a/skins/classic/images/icons/unflagged.png b/skins/classic/images/icons/unflagged.png Binary files differdeleted file mode 100644 index 904d16c84..000000000 --- a/skins/classic/images/icons/unflagged.png +++ /dev/null diff --git a/skins/classic/images/icons/unread.png b/skins/classic/images/icons/unread.png Binary files differdeleted file mode 100644 index bf50f08b1..000000000 --- a/skins/classic/images/icons/unread.png +++ /dev/null diff --git a/skins/classic/images/icons/unread_children.png b/skins/classic/images/icons/unread_children.png Binary files differdeleted file mode 100644 index fe4157fca..000000000 --- a/skins/classic/images/icons/unread_children.png +++ /dev/null diff --git a/skins/classic/images/icons/up_small.gif b/skins/classic/images/icons/up_small.gif Binary files differdeleted file mode 100644 index 40deb891f..000000000 --- a/skins/classic/images/icons/up_small.gif +++ /dev/null diff --git a/skins/classic/images/listheader.gif b/skins/classic/images/listheader.gif Binary files differdeleted file mode 100644 index ab5d6714b..000000000 --- a/skins/classic/images/listheader.gif +++ /dev/null diff --git a/skins/classic/images/mail_footer.png b/skins/classic/images/mail_footer.png Binary files differdeleted file mode 100644 index a52c74bb0..000000000 --- a/skins/classic/images/mail_footer.png +++ /dev/null diff --git a/skins/classic/images/mail_toolbar.png b/skins/classic/images/mail_toolbar.png Binary files differdeleted file mode 100644 index 1c6747ae1..000000000 --- a/skins/classic/images/mail_toolbar.png +++ /dev/null diff --git a/skins/classic/images/messageactions.png b/skins/classic/images/messageactions.png Binary files differdeleted file mode 100644 index 4b6fba916..000000000 --- a/skins/classic/images/messageactions.png +++ /dev/null diff --git a/skins/classic/images/messageicons.png b/skins/classic/images/messageicons.png Binary files differdeleted file mode 100644 index 4622a2423..000000000 --- a/skins/classic/images/messageicons.png +++ /dev/null diff --git a/skins/classic/images/pagenav.gif b/skins/classic/images/pagenav.gif Binary files differdeleted file mode 100644 index 3ee809349..000000000 --- a/skins/classic/images/pagenav.gif +++ /dev/null diff --git a/skins/classic/images/quota-colors.png b/skins/classic/images/quota-colors.png Binary files differdeleted file mode 100644 index fa3201405..000000000 --- a/skins/classic/images/quota-colors.png +++ /dev/null diff --git a/skins/classic/images/quota.png b/skins/classic/images/quota.png Binary files differdeleted file mode 100644 index fe99aeba8..000000000 --- a/skins/classic/images/quota.png +++ /dev/null diff --git a/skins/classic/images/roundcube_logo.png b/skins/classic/images/roundcube_logo.png Binary files differdeleted file mode 100644 index fa2ed0a67..000000000 --- a/skins/classic/images/roundcube_logo.png +++ /dev/null diff --git a/skins/classic/images/searchfield.gif b/skins/classic/images/searchfield.gif Binary files differdeleted file mode 100644 index 756a17e47..000000000 --- a/skins/classic/images/searchfield.gif +++ /dev/null diff --git a/skins/classic/images/tabs-left.gif b/skins/classic/images/tabs-left.gif Binary files differdeleted file mode 100644 index 609b474a7..000000000 --- a/skins/classic/images/tabs-left.gif +++ /dev/null diff --git a/skins/classic/images/tabs-right.gif b/skins/classic/images/tabs-right.gif Binary files differdeleted file mode 100644 index b7ab4e3c8..000000000 --- a/skins/classic/images/tabs-right.gif +++ /dev/null diff --git a/skins/classic/images/taskbar.png b/skins/classic/images/taskbar.png Binary files differdeleted file mode 100644 index 438588feb..000000000 --- a/skins/classic/images/taskbar.png +++ /dev/null diff --git a/skins/classic/images/taskicons.gif b/skins/classic/images/taskicons.gif Binary files differdeleted file mode 100644 index a9ec3fb7b..000000000 --- a/skins/classic/images/taskicons.gif +++ /dev/null diff --git a/skins/classic/images/taskicons.png b/skins/classic/images/taskicons.png Binary files differdeleted file mode 100644 index b01bf8a42..000000000 --- a/skins/classic/images/taskicons.png +++ /dev/null diff --git a/skins/classic/images/tree.gif b/skins/classic/images/tree.gif Binary files differdeleted file mode 100644 index c78f15ef5..000000000 --- a/skins/classic/images/tree.gif +++ /dev/null diff --git a/skins/classic/images/watermark.gif b/skins/classic/images/watermark.gif Binary files differdeleted file mode 100644 index 4a4beb4f8..000000000 --- a/skins/classic/images/watermark.gif +++ /dev/null diff --git a/skins/classic/includes/header.html b/skins/classic/includes/header.html deleted file mode 100644 index 08d777af0..000000000 --- a/skins/classic/includes/header.html +++ /dev/null @@ -1,2 +0,0 @@ -<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" onclick="location.href='./?_page=1'" /> -<roundcube:object name="message" id="message" /> diff --git a/skins/classic/includes/links.html b/skins/classic/includes/links.html deleted file mode 100644 index 7366546cb..000000000 --- a/skins/classic/includes/links.html +++ /dev/null @@ -1,10 +0,0 @@ -<link rel="index" href="$__comm_path" /> -<roundcube:object name="meta" /> -<roundcube:object name="links" /> -<link rel="stylesheet" type="text/css" href="/common.css" /> -<roundcube:if condition="in_array(env:task, array('mail', 'addressbook', 'settings'))" /> -<link rel="stylesheet" type="text/css" href="/<roundcube:var name="env:task" />.css" /> -<roundcube:endif /> -<roundcube:if condition="browser:safari" /> -<link rel="stylesheet" type="text/css" href="/safari.css" /> -<roundcube:endif /> diff --git a/skins/classic/includes/messagetoolbar.html b/skins/classic/includes/messagetoolbar.html deleted file mode 100644 index 416e52266..000000000 --- a/skins/classic/includes/messagetoolbar.html +++ /dev/null @@ -1,70 +0,0 @@ -<div id="messagetoolbar"> -<roundcube:if condition="template:name == 'message' && env:extwin" /> -<roundcube:button command="close" type="link" class="button back" classAct="button back" classSel="button backSel" title="close" content=" " /> -<roundcube:elseif condition="template:name == 'message'" /> -<roundcube:button command="list" type="link" class="button back" classAct="button back" classSel="button backSel" title="backtolist" content=" " /> -<roundcube:else /> -<roundcube:button command="checkmail" type="link" class="button checkmail" classAct="button checkmail" classSel="button checkmailSel" title="checkmail" content=" " /> -<roundcube:endif /> -<roundcube:button command="compose" type="link" class="button compose" classAct="button compose" classSel="button composeSel" title="writenewmessage" content=" " /> -<roundcube:button command="reply" type="link" class="buttonPas reply" classAct="button reply" classSel="button replySel" title="replytomessage" content=" " /> -<span class="dropbutton"> -<roundcube:button command="reply-all" type="link" class="buttonPas replyAll" classAct="button replyAll" classSel="button replyAllSel" title="replytoallmessage" content=" " /> -<span id="replyallmenulink" onclick="rcmail_ui.show_popup('replyallmenu');return false"></span> -</span> -<span class="dropbutton"> -<roundcube:button command="forward" type="link" class="buttonPas forward" classAct="button forward" classSel="button forwardSel" title="forwardmessage" content=" " /> -<span id="forwardmenulink" onclick="rcmail_ui.show_popup('forwardmenu');return false"></span> -</span> -<roundcube:button command="delete" type="link" class="buttonPas delete" classAct="button delete" classSel="button deleteSel" title="deletemessage" content=" " /> -<roundcube:if condition="template:name == 'message'" /> - <roundcube:button command="move" type="link" class="buttonPas move" classAct="button move" classSel="button moveSel" label="move" title="moveto" content=" " data-menu-pos="bottom" /> - <roundcube:button command="print" type="link" class="buttonPas print" classAct="button print" classSel="button printSel" label="print" title="printmessage" content=" " /> -<roundcube:endif /> -<roundcube:container name="toolbar" id="messagetoolbar" /> -<roundcube:button name="markmenulink" id="markmenulink" type="link" class="button markmessage" title="markmessages" onclick="rcmail_ui.show_popup('markmenu');return false" content=" " /> -<roundcube:button name="messagemenulink" id="messagemenulink" type="link" class="button messagemenu" title="moreactions" onclick="rcmail_ui.show_popup('messagemenu');return false" content=" " /> -</div> - -<div id="forwardmenu" class="popupmenu"> - <ul id="forwardmenumenu"> - <roundcube:button type="link-menuitem" command="forward-inline" label="forwardinline" prop="sub" classAct="forwardlink active" class="forwardlink" /> - <roundcube:button type="link-menuitem" command="forward-attachment" label="forwardattachment" prop="sub" classAct="forwardattachmentlink active" class="forwardattachmentlink" /> - <roundcube:button type="link-menuitem" command="bounce" label="bouncemsg" prop="sub" classAct="bouncelink active" class="bouncelink" /> - <roundcube:container name="forwardmenu" id="forwardmenumenu" /> - </ul> -</div> - -<div id="replyallmenu" class="popupmenu"> - <ul id="replyallmenumenu"> - <roundcube:button type="link-menuitem" command="reply-all" label="replyall" prop="sub" classAct="replyalllink active" class="replyalllink" /> - <roundcube:button type="link-menuitem" command="reply-list" label="replylist" prop="sub" classAct="replylistlink active" class="replylistlink" /> - <roundcube:container name="replyallmenu" id="replyallmenumenu" /> - </ul> -</div> - -<div id="messagemenu" class="popupmenu"> - <ul class="toolbarmenu" id="messagemenumenu"> - <roundcube:button type="link-menuitem" class="printlink" command="print" label="printmessage" classAct="printlink active" /> - <roundcube:button type="link-menuitem" class="downloadlink" command="download" label="emlsave" classAct="downloadlink active" /> - <roundcube:button type="link-menuitem" class="editlink" command="edit" prop="new" label="editasnew" classAct="editlink active" /> - <roundcube:button type="link-menuitem" class="movelink" command="move" label="moveto" classAct="movelink active" innerclass="folder-selector-link" /> - <roundcube:button type="link-menuitem" class="copylink" command="copy" label="copyto" classAct="copylink active" innerclass="folder-selector-link" /> - <roundcube:button type="link-menuitem" class="sourcelink" command="viewsource" label="viewsource" classAct="sourcelink active" menuitem-class="separator_below" /> - <roundcube:button type="link-menuitem" class="openlink" command="open" label="openinextwin" target="_blank" classAct="openlink active" /> - <roundcube:container name="messagemenu" id="messagemenumenu" /> - </ul> -</div> - -<div id="markmessagemenu" class="popupmenu"> - <ul class="toolbarmenu" id="markmessagemenumenu"> - <roundcube:button type="link-menuitem" command="mark" prop="read" label="markread" classAct="readlink active" class="readlink" /> - <roundcube:button type="link-menuitem" command="mark" prop="unread" label="markunread" classAct="unreadlink active" class="unreadlink" /> - <roundcube:button type="link-menuitem" command="mark" prop="flagged" label="markflagged" classAct="flaggedlink active" class="flaggedlink" /> - <roundcube:button type="link-menuitem" command="mark" prop="unflagged" label="markunflagged" classAct="unflaggedlink active" class="unflaggedlink" /> - <roundcube:if condition="config:flag_for_deletion && !config:skip_deleted" /> - <roundcube:button type="link-menuitem" command="mark" prop="undelete" label="markundeleted" classAct="undeletedlink active" class="undeletedlink" /> - <roundcube:endif /> - <roundcube:container name="markmenu" id="markmessagemenumenu" /> - </ul> -</div> diff --git a/skins/classic/includes/settingstabs.html b/skins/classic/includes/settingstabs.html deleted file mode 100644 index a47db2274..000000000 --- a/skins/classic/includes/settingstabs.html +++ /dev/null @@ -1,6 +0,0 @@ -<div id="tabsbar"> -<roundcube:object name="settingstabs" class="tablink" selClass="tablink-selected" /> -<roundcube:container name="tabs" id="tabsbar" /> -<span id="settingstababout" class="tablink"><roundcube:button command="about" type="link" label="about" title="about" class="tablink" /></span> -<script type="text/javascript"> if (window.rcmail) rcmail.add_onload(rcube_init_settings_tabs); </script> -</div> diff --git a/skins/classic/includes/taskbar.html b/skins/classic/includes/taskbar.html deleted file mode 100644 index 9e2cdc4bd..000000000 --- a/skins/classic/includes/taskbar.html +++ /dev/null @@ -1,7 +0,0 @@ -<div id="taskbar"> -<roundcube:button command="mail" type="link" label="mail" class="button-mail" /> -<roundcube:button command="addressbook" type="link" label="contacts" class="button-addressbook" /> -<roundcube:container name="taskbar" id="taskbar" /> -<roundcube:button command="settings" type="link" label="settings" class="button-settings" /> -<roundcube:button command="logout" type="link" label="logout" class="button-logout" /> -</div>
\ No newline at end of file diff --git a/skins/classic/mail.css b/skins/classic/mail.css deleted file mode 100644 index 64ad5e9ef..000000000 --- a/skins/classic/mail.css +++ /dev/null @@ -1,1906 +0,0 @@ -/***** Roundcube|Mail mail task styles *****/ - - -#messagetoolbar -{ - position: absolute; - top: 47px; - left: 205px; - right: 10px; - height: 35px; - min-width: 650px; - white-space: nowrap; -/* border: 1px solid #cccccc; */ -} - -.extwin #messagetoolbar -{ - top: 5px; - left: 20px; -} - -#messagetoolbar a, -#messagetoolbar select -{ - display: block; - float: left; - padding-right: 10px; -} - -#messagetoolbar a.button, -#messagetoolbar a.buttonPas { - display: block; - float: left; - width: 32px; - height: 32px; - padding: 0; - margin: 0 5px; - overflow: hidden; - background: url(images/mail_toolbar.png) 0 0 no-repeat transparent; - opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ -} - -#messagetoolbar a.buttonPas { - opacity: 0.35; -} - -#messagetoolbar a.button.selected { - background-color: #ddd; - margin-left: 4px; - margin-right: 4px; - margin-top: -1px; - border: 1px solid #ccc; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; -} - -#messagetoolbar a.checkmailSel { - background-position: 0 -32px; -} - -#messagetoolbar a.back { - background-position: -32px 0; -} - -#messagetoolbar a.backSel { - background-position: -32px -32px; -} - -#messagetoolbar a.compose { - background-position: -64px 0; -} - -#messagetoolbar a.composeSel { - background-position: -64px -32px; -} - -#messagetoolbar a.reply { - background-position: -96px 0; -} - -#messagetoolbar a.replySel { - background-position: -96px -32px; -} - -#messagetoolbar a.replyAll { - background-position: -128px 0; -} - -#messagetoolbar a.replyAllSel { - background-position: -128px -32px; -} - -#messagetoolbar a.forward { - background-position: -160px 0; -} - -#messagetoolbar a.forwardSel { - background-position: -160px -32px; -} - -#messagetoolbar a.delete { - background-position: -192px 0; -} - -#messagetoolbar a.deleteSel { - background-position: -192px -32px; -} - -#messagetoolbar a.print { - background-position: -256px 0; -} - -#messagetoolbar a.printSel { - background-position: -256px -32px; -} - -#messagetoolbar a.markmessage { - background-position: -288px 0; -} - -#messagetoolbar a.messagemenu { - background-position: -320px 0; - width: 34px; -} - -#messagetoolbar a.spellcheck { - background-position: -418px 0; -} - -#messagetoolbar a.spellcheckSel { - background-position: -418px -32px; -} - -#messagetoolbar a.attach { - background-position: -386px 0; -} - -#messagetoolbar a.attachSel { - background-position: -386px -32px; -} - -#messagetoolbar a.insertsig { - background-position: -482px 0; -} - -#messagetoolbar a.insertsigSel { - background-position: -482px -32px; -} - -#messagetoolbar a.savedraft { - background-position: -354px 0; -} - -#messagetoolbar a.savedraftSel { - background-position: -354px -32px; -} - -#messagetoolbar a.send { - background-position: -450px 0; -} - -#messagetoolbar a.sendSel { - background-position: -450px -32px; -} - -#messagetoolbar a.move { - background-position: -580px 0; -} - -#messagetoolbar a.moveSel { - background-position: -580px -32px; -} - -#messagetoolbar a.download { - background-position: -514px 0; -} - -#messagetoolbar a.downloadSel { - background-position: -514px -32px; -} - -#messagetoolbar a.responses { - background-position: -548px 0; -} - -#messagetoolbar a.encrypt { - background-position: -612px 0; -} - -#messagetoolbar a.encryptSel { - background-position: -612px -32px; -} - -#messagemenu li a.active:hover, -#attachmentmenu li a.active:hover, -#markmessagemenu li a.active:hover -{ - color: #fff; - background-color: #c00; -} - -#messagemenu li a, -#attachmentmenu li a -{ - background: url(images/messageactions.png) no-repeat 7px 0; - background-position: 7px 20px; -} - -#messagemenu li a.printlink -{ - background-position: 7px 1px; -} - -#messagemenu li a.downloadlink, -#attachmentmenu li a.downloadlink -{ - background-position: 7px -17px; -} - -#attachmentmenu li a.renamelink -{ - background-position: 6px -69px; -} - -#messagemenu li a.sourcelink -{ - background-position: 7px -34px; -} - -#messagemenu li a.openlink, -#attachmentmenu li a.openlink -{ - background-position: 7px -52px; -} - -#messagemenu li a.editlink -{ - background-position: 6px -70px; -} - -#messagemenu li a.movelink -{ - background-position: 6px -160px; -} - -#messagemenu li a.copylink -{ - background-position: 6px -142px; -} - -#markmessagemenu li a, -#compose-attachments li a.delete, -#compose-attachments li a.cancelupload -{ - background: url(images/messageicons.png) no-repeat; -} - -#markmessagemenu li a.readlink -{ - background-position: 7px -51px; -} - -#markmessagemenu li a.unreadlink -{ - background-position: 7px -118px; -} - -#markmessagemenu li a.flaggedlink -{ - background-position: 7px -153px; -} - -#markmessagemenu li a.unflaggedlink -{ - background-position: 7px -135px; -} - -#markmessagemenu li a.undeletedlink -{ - background-position: 7px -1000px; /* todo */ -} - -#searchfilter -{ - white-space: nowrap; - position: absolute; - right: 198px; - vertical-align: middle; -} - -#searchfilter label -{ - font-size: 11px; -} - -#mailleftcontainer -{ - position: absolute; - top: 0; - left: 0; - bottom: 0; - width: 160px; -} - -#mailrightcontainer -{ - position: absolute; - top: 0; - left: 170px; - bottom: 0; - right: 0; - min-width: 600px; -} - -#mailrightcontent -{ - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; -} - -#messagepartcontainer -{ - position: absolute; - top: 0; - left: 170px; - right: 0; - bottom: 0; -} - -#messagepartheader -{ - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 160px; - border: 1px solid #999999; - background-color: #F9F9F9; - overflow: hidden; -} - -#messagepartheader table -{ - width: 100%; - table-layout: fixed; -} - -#messagepartheader table td -{ - text-overflow: ellipsis; -} - -#messagepartheader table td.title -{ - width: 60px; -} - -#mailcontframe -{ - position: absolute; - width: 100%; - top: 0; - bottom: 0; - border: 1px solid #999999; - background-color: #F9F9F9; - overflow: hidden; -} - -#mailpreviewframe -{ - position: absolute; - right: 0; - left: 0; - top: 205px; - bottom: 0px; - border: 1px solid #999999; - background-color: #F9F9F9; - display: none; -} - -#messagecontframe -{ - position: relative; - top: 0px; - left: 0px; - right: 0px; - bottom: 0px; - width: 100%; - height: 100%; - min-height: 100%; /* Chrome 14 bug */ -} - -#messagepartframe -{ - width: 100%; - height: 100%; - min-height: 100%; /* Chrome 14 bug */ - border: 1px solid #999999; - background-color: #fff; -} - - -/** mailbox list styles */ - -#mailboxlist-container -{ - position: absolute; - top: 0; - left: 0; - width: 100%; - bottom: 0; - border: 1px solid #999; - background-color: #F9F9F9; -} - -#mailboxlist -{ - position:relative; - height: auto; - margin: 0px; - padding: 0px; - list-style-image: none; - list-style-type: none; - overflow: hidden; - white-space: nowrap; - background-color: #FFF; -} - -#mailboxlist li.unread -{ - font-weight: bold; -} - -#mailboxlist li.recent > a -{ - color: #0066FF; -} - -#listcontrols -{ - position: relative; - white-space: nowrap; - line-height: 22px; - padding: 0 4px; - width: auto; - min-width: 300px; -} - -#listcontrols a, -#listcontrols span -{ - display: block; - float: left; - font-size: 11px; -} - -#listcontrols span input -{ - vertical-align: middle; -} - -#listcontrols a.button, -#listcontrols a.buttonPas -{ - display: block; - float: left; - width: 15px; - height: 15px; - padding: 0; - margin-top: 4px; - margin-right: 2px; - overflow: hidden; - background: url(images/mail_footer.png) 0 0 no-repeat transparent; - opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ -} - -#listcontrols a.buttonPas -{ - opacity: 0.35; -} - -#listcontrols a.all { - background-position: -30px 0; -} - -#listcontrols a.allsel { - background-position: -30px -15px; -} - -#listcontrols a.page { - background-position: -135px 0; -} - -#listcontrols a.pagesel { - background-position: -135px -15px; -} - -#listcontrols a.unread { - background-position: -45px 0; -} - -#listcontrols a.unreadsel { - background-position: -45px -15px; -} - -#listcontrols a.invert { - background-position: -60px 0; -} - -#listcontrols a.invertsel { - background-position: -60px -15px; -} - -#listcontrols a.none { - background-position: -75px 0; -} - -#listcontrols a.nonesel { - background-position: -75px -15px; -} - -#listcontrols a.expand-all { - background-position: -90px 0; -} - -#listcontrols a.expand-allsel { - background-position: -90px -15px; -} - -#listcontrols a.collapse-all { - background-position: -105px 0; -} - -#listcontrols a.collapse-allsel { - background-position: -105px -15px; -} - -#listcontrols a.expand-unread { - background-position: -120px 0; -} - -#listcontrols a.expand-unreadsel { - background-position: -120px -15px; -} - -#countcontrols -{ - position: absolute; - top: 4px; - right: 4px; - white-space: nowrap; - font-size: 11px; - line-height: 14px; -} - -#countcontrols a.button, -#countcontrols a.buttonPas -{ - float: right; -} - - -/** message list styles */ - -body.messagelist -{ - margin: 0px; - background-color: #F9F9F9; -} - -table.messagelist -{ - width: 100%; - display: table; - table-layout: fixed; - border-spacing: 0; - z-index: 1; -} - -table.messagelist.fixedcopy -{ - z-index: 2; -} - -.messagelist thead tr th, -.messagelist thead tr td -{ - height: 20px; - padding: 0 4px 0 2px; - vertical-align: middle; - border-bottom: 1px solid #999999; - color: #333333; - background: url(images/listheader.gif) top left repeat-x #CCC; - font-size: 11px; - font-weight: bold; - text-align: left; -} - -.messagelist thead tr > .sortedASC, -.messagelist thead tr > .sortedDESC -{ - background-position: 0 -26px; -} - -.messagelist thead tr > .sortedASC a -{ - background: url(images/icons/sort.gif) right 0 no-repeat; -} - -.messagelist thead tr > .sortedDESC a -{ - background: url(images/icons/sort.gif) right -14px no-repeat; -} - -.messagelist thead tr a -{ - display: block; - width: auto !important; - width: 100%; - color: #333333; - text-decoration: none; -} - -.messagelist thead tr > .size.sortedASC a, -.messagelist thead tr > .size.sortedDESC a -{ - padding-right: 18px; -} - -.messagelist thead tr > .subject -{ - padding-left: 18px; - width: 99%; -} - -.messagelist tbody tr th, -.messagelist tbody tr td -{ - height: 20px; - padding: 0; - font-size: 11px; - overflow: hidden; - vertical-align: middle; - white-space: nowrap; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - border-bottom: 1px solid #EBEBEB; - cursor: default; - outline: none; -} - -.messagelist tbody tr td a -{ - color: #000; - text-decoration: none; - white-space: nowrap; - cursor: inherit; -} - -.messagelist td img -{ - vertical-align: middle; - display: inline-block; -} - -.messagelist tbody tr td.flag, -.messagelist tbody tr td.status, -.messagelist tbody tr td.subject span.status -{ - cursor: pointer; -} - -.messagelist tr .flag span, -.messagelist tr .status span, -.messagelist tr .attachment span, -.messagelist tr .priority span -{ - display: block; - width: 15px; - text-indent: -5000px; - overflow: hidden; -} - -.messagelist tr td div.collapsed, -.messagelist tr td div.expanded, -.messagelist tr > .threads .listmenu, -.messagelist tr .attachment span.attachment, -.messagelist tr .attachment span.report, -.messagelist tr .attachment span.encrypted, -.messagelist tr > .priority span.priority, -.messagelist tr > .priority span.prio1, -.messagelist tr > .priority span.prio2, -.messagelist tr > .priority span.prio3, -.messagelist tr > .priority span.prio4, -.messagelist tr > .priority span.prio5, -.messagelist tr .flag span.flagged, -.messagelist tr .flag span.unflagged, -.messagelist tr:hover .flag span.unflagged, -.messagelist tr > .status span.status, -.messagelist tr > .status span.msgicon, -.messagelist tr > .status span.deleted, -.messagelist tr > .status span.unread, -.messagelist tr > .status span.unreadchildren, -.messagelist tr > .subject span.msgicon, -.messagelist tr > .subject span.deleted, -.messagelist tr > .subject span.unread, -.messagelist tr > .subject span.replied, -.messagelist tr > .subject span.forwarded, -.messagelist tr > .subject span.unreadchildren -{ - display: inline-block; - vertical-align: middle; - height: 17px; - width: 15px; - background: url(images/messageicons.png) center no-repeat; -} - -.messagelist tr .attachment span.attachment -{ - background-position: 0 -170px; -} - -.messagelist tr .attachment span.report -{ - background-position: 0 -255px; -} - -.messagelist tr .attachment span.encrypted -{ - background-position: 0 -418px; -} - -.messagelist tr > .priority span.priority -{ - background-position: 0 -309px; -} - -.messagelist tr > .priority span.prio5 -{ - background-position: 0 -358px; -} - -.messagelist tr > .priority span.prio4 -{ - background-position: 0 -340px; -} - -.messagelist tr > .priority span.prio3 -{ - background-position: 0 -324px; -} - -.messagelist tr > .priority span.prio2 -{ - background-position: 0 -309px; -} - -.messagelist tr > .priority span.prio1 -{ - background-position: 0 -290px; -} - -.messagelist tr .flag span.flagged -{ - background-position: 0 -153px; -} - -.messagelist tr:hover .flag span.unflagged -{ - background-position: 0 -136px; -} - -.messagelist tr.flaggedroot .flag span, -.messagelist tr.flaggedroot .flag span.unflagged -{ - background-position: 0 -136px; -} - -.messagelist tr > .subject span.msgicon, -.messagelist tr > .subject span.unreadchildren -{ - background-position: 0 -51px; - margin: 0 2px; -} - -.messagelist tr > .subject span.replied -{ - background-position: 0 -85px; -} - -.messagelist tr > .subject span.forwarded -{ - background-position: 0 -68px; -} - -.messagelist tr > .subject span.replied.forwarded -{ - background-position: 0 -102px; -} - -.messagelist tr > .status span.msgicon, -.messagelist tr .flag span.unflagged, -.messagelist tr > .status span.unreadchildren -{ - background-position: 0 18px; /* no icon */ -} - -.messagelist tr > .status span.msgicon:hover -{ - background-position: 0 -272px; -} - -.messagelist tr > .status span.deleted, -.messagelist tr > .subject span.deleted -{ - background-position: 0 -187px; -} - -.messagelist tr > .status span.status, -.messagelist tr > .status span.unread, -.messagelist tr > .subject span.unread -{ - background-position: 0 -119px; -} - -.messagelist tr td div.collapsed -{ - background-position: 0 -221px; - cursor: pointer; -} - -.messagelist tr td div.expanded -{ - background-position: 0 -204px; - cursor: pointer; -} - -.messagelist tr > .threads .listmenu -{ - background-position: 0 -238px; - cursor: pointer; - overflow: hidden; - text-indent: -5000px; - display: block; -} - -.messagelist tbody tr td.subject -{ - width: 99%; -} - -.messagelist tbody tr td.subject a -{ - cursor: default; - vertical-align: middle; /* #1487091 */ -} - -/* thread parent message with unread children */ -.messagelist tbody tr.unroot td.subject a -{ - text-decoration: underline; -} - -.messagelist tr > .attachment, -.messagelist tr > .threads, -.messagelist tr > .status, -.messagelist tr > .flag, -.messagelist tr > .priority -{ - width: 17px; - padding: 0 0 0 2px; -} - -.messagelist tr > .size -{ - width: 60px; - text-align: right; - padding: 0 2px; -} - -.messagelist tr > .fromto, -.messagelist tr > .from, -.messagelist tr > .to, -.messagelist tr > .cc, -.messagelist tr > .replyto -{ - width: 180px; - padding: 0 2px; -} - -.messagelist tr > .date -{ - width: 135px; - padding: 0 2px; -} - -.messagelist tr > .folder -{ - width: 135px; -} - -.messagelist tr > .hidden -{ - display: none; -} - -.messagelist tr.message -{ - background-color: #FFF; -} - -.messagelist tr.unread -{ - font-weight: bold; - background-color: #FFFFFF; -} - -.messagelist tr.flagged td, -.messagelist tr.flagged td a -{ - color: #CC0000; -} - -/* This padding-left minus the focused padding left should be half of the focused border-left */ -.messagelist thead tr th:first-child, -.messagelist thead tr td:first-child, -.messagelist tbody tr td:first-child { - border-left: 0; - padding-left: 6px; -} - -/* because of border-collapse, we make the left border twice what we want it to be - half will be hidden to the left */ -.messagelist tbody tr.focused > td:first-child { - border-left: 2px solid #d4d4d4; - padding-left: 4px; -} - -.messagelist tbody tr.selected.focused > td:first-child { - border-left: 2px solid #ccc; - padding-left: 5px; -} - -.messagelist tr.selected td -{ - color: #FFFFFF; - background-color: #929292; -} - -.messagelist.focus tr.selected td -{ - background-color: #CC3333; -} - -.messagelist tr.selected td a -{ - color: #FFFFFF; -} - -.messagelist tr.deleted td, -.messagelist tr.deleted td a -{ - color: #CCCCCC; -} - -#listmenu -{ - padding: 6px; - max-height: none; -} - -#listmenu legend -{ - color: #999999; -} - -#listmenu fieldset -{ - border: 1px solid #999999; - margin: 0 5px; - float: left; -} - -#listmenu div -{ - padding: 8px 0 3px 0; - text-align: center; - clear: both; -} - -/***** tree indicators *****/ - -td span.branch div -{ - float: left; - height: 16px; -} - -td span.branch div.tree -{ - height: 17px; - width: 15px; - background: url(images/tree.gif) 0px 0px no-repeat; -} - -td span.branch div.l1 -{ - background-position: 0px 0px; /* L */ -} - -td span.branch div.l2 -{ - background-position: -30px 0px; /* | */ -} - -td span.branch div.l3 -{ - background-position: -15px 0px; /* |- */ -} - - -/** message view styles */ - -#messageframe -{ - position: absolute; - top: 0; - left: 180px; - right: 0; - bottom: 0; - border: 1px solid #999; - background-color: #FFF; - overflow: auto; - z-index: 1; -} - -.extwin #messageframe -{ - left: 0; -} - -div.messageheaderbox -{ - margin: -14px 8px 0px 8px; - border: 1px solid #ccc; -} - -table.headers-table -{ - width: 100%; - background-color: #EBEBEB; -} - -#messagebody #full-headers, -#messagebody table.headers-table -{ - width: auto; - margin: 6px 8px; - background-color: #F4F4F4; -} - -#messagebody.mailvelope { - padding: 10px 8px; -} - -#messagebody table.headers-table -{ - margin: 16px 6px 6px 6px; -} - -div.message-partheaders + div.message-part -{ - border-top: 0; - padding-top: 4px; -} - -table.headers-table tr td -{ - font-size: 11px; - border-bottom:1px solid #FFFFFF; -} - -table.headers-table tr td.header-title -{ - width: 1%; - color: #666666; - font-weight: bold; - text-align: right; - white-space: nowrap; - padding: 0 4px 0 8px; -} - -table.headers-table tr td.header -{ - width: 99%; -} - -table.headers-table tr td.subject -{ - font-weight: bold; -} - -table.headers-table tr td.header span -{ - white-space: nowrap; -} - -#attachment-list -{ - margin: 0; - padding: 0 4px 0 8px; - min-height: 16px; - list-style-image: none; - list-style-type: none; - background: url(images/icons/attachment.png) 4px 2px no-repeat #DFDFDF; -} - -#messageframe #attachment-list -{ - border-bottom: 1px solid #ccc; -} - -.messageheaderbox #attachment-list -{ - border-top: 1px solid #ccc; -} - -#attachment-list:after -{ - content: "."; - display: block; - height: 0; - font-size: 0; - clear: both; - visibility: hidden; -} - -#attachment-list li -{ - float: left; - height: 18px; - font-size: 11px; - padding: 2px 0px 0px 15px; - white-space: nowrap; -} - -#attachment-list li a -{ - text-decoration: none; -} - -#attachment-list li a:hover -{ - text-decoration: underline; -} - -#attachment-list li a.drop { - background: url(images/icons/down_small.gif) no-repeat center 6px; - width: 12px; - height: 16px; - cursor: pointer; - padding: 0; - margin-left: 3px; - display: inline-block; - vertical-align: middle; -} - -#messagebody -{ - position:relative; - padding-bottom: 10px; - background-color: #FFFFFF; -} - -div.message-part, -div.message-htmlpart -{ - padding: 10px 8px; - border-top: 1px solid #ccc; -/* overflow: hidden; */ -} - -#messagebody div:first-child -{ - border-top: 0; -} - -div.message-part a, -div.message-htmlpart a -{ - color: #0000CC; -} - -div.message-part div.pre -{ - margin: 0px; - padding: 0px; - font-family: monospace; - font-size: 12px; -} - -div.message-part span.sig -{ - color: #666666; -} - -div.message-part blockquote -{ - color: blue; - border-left: 2px solid blue; - border-right: 2px solid blue; - background-color: #F6F6F6; - margin: 2px 0; - padding: 0 0.4em; - overflow: hidden; - text-overflow: ellipsis; -} - -div.message-part blockquote blockquote -{ - color: green; - border-left: 2px solid green; - border-right: 2px solid green; -} - -div.message-part blockquote blockquote blockquote -{ - color: #990000; - border-left: 2px solid #bb0000; - border-right: 2px solid #bb0000; -} - -#messagebody span.part-notice -{ - display: block; -} - -#message-objects div, -#messagebody span.part-notice -{ - margin: 8px; - min-height: 20px; - padding: 10px 10px 6px 46px; -} - -#message-objects div a, -#messagebody span.part-notice a -{ - color: #666666; - padding-left: 10px; -} - -#message-objects div a:hover, -#messagebody span.part-notice a:hover -{ - color: #333333; -} - -#messagebody fieldset.image-attachment { - border: 0; - border-top: 1px solid #ccc; - margin: 1em 1em 0 1em; -} - -#messagebody fieldset.image-attachment p > img -{ - max-width: 80%; -} - -#messagebody legend.image-filename -{ - color: #999; - font-size: 0.9em; -} - -#messagebody p.image-attachment -{ - margin: 0 1em; - padding: 1em; - border-top: 1px solid #ccc; -} - -#messagebody p.image-attachment a.image-link -{ - float: left; - margin-right: 2em; - min-width: 160px; - min-height: 60px; - text-align: center; -} - -#messagebody p.image-attachment .image-filename -{ - display: block; - font-weight: bold; - line-height: 1.6em; -} - -#messagebody p.image-attachment .image-filesize -{ - font-size: 11px; - padding-right: 1em; -} - -#messagebody p.image-attachment .attachment-links a -{ - margin-right: 0.6em; - color: #cc0000; - font-size: 11px; - text-decoration: none; -} - -#messagebody p.image-attachment .attachment-links a:hover -{ - text-decoration: underline; -} - -#messagelinks -{ - position: absolute; - top: 8px; - right: 10px; - height: 16px; - text-align: right; -} - -#messageframe #messagelinks -{ - top: 2px; - right: 2px; -} - -#compose-headers #openextwinlink -{ - position: absolute; - height: 15px; - top: 4px; - right: 2px; -} - -#full-headers -{ - color: #666666; - text-align: center; - padding: 2px 6px; - border-bottom: 1px solid #ccc; - background-color: #EBEBEB; -} - -.messageheaderbox #full-headers -{ - border-bottom: 0; -} - -div.more-headers -{ - cursor: pointer; - height: 8px; - border-bottom: 0; -} - -div.show-headers -{ - background: url(images/icons/down_small.gif) no-repeat center; -} - -div.hide-headers -{ - background: url(images/icons/up_small.gif) no-repeat center; -} - -#headers-source -{ - margin: 2px 0; - padding: 0.5em; - height: 145px; - background: white; - overflow: auto; - font-size: 11px; - border: 1px solid #CCC; - display: none; - text-align: left; - color: #333; -} - - -/** message compose styles */ - -#compose-container -{ - position: absolute; - top: 0; - left: 205px; - right: 0; - bottom: 0; - margin: 0; -} - -#compose-div -{ - position: absolute; - top: 85px; - right: 0; - left: 0; - bottom: 0; - margin: 0; -} - -#compose-body-div -{ - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 175px; - border: 1px solid #999; -} - -#compose-body-div .tox-tinymce { - border: 0 !important; - width: 100% !important; -} - -#compose-div .boxlistcontent -{ - bottom: 23px; -} - -#compose-body -{ - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - margin: 0; - font-size: 9pt; - font-family: monospace; - resize: none; - border: none; - outline: none; -} - -#compose-headers -{ - width: 100%; -} - -#compose-headers td.editfield -{ - padding-right: 8px; - width: 95%; -} - -#compose-headers td.top -{ - vertical-align: top; -} - -#compose-headers td.title, -#compose-subject td.title -{ - width: 80px !important; - font-size: 11px; - font-weight: bold; - padding-right: 10px; - white-space: nowrap; - color: #666; -} - -#compose-headers td textarea, -#compose-headers td input -{ - resize: none; - width: 100%; - border: 1px solid #999; -} - -#compose-headers td textarea -{ - height: 32px; -} - -input.from_address -{ - width: 80% !important; -} - -#compose-cc, -#compose-bcc, -#compose-replyto, -#compose-followupto -{ - display: none; -} - -#bounceheaders td.editfield { - width: 95%; -} - -#compose-editorfooter -{ - position: absolute; - right: 5px; - bottom: 0; - text-align: right; - line-height: 20px; -} - -#compose-editorfooter label -{ - font-size: 11px; - font-weight: bold; - color: #666; -} - -#compose-buttons -{ - position: absolute; - left: 5px; - bottom: 1px; - width: auto; -} - -#compose-contacts -{ - position: absolute; - top: 0; - left: 0; - bottom: 0; - width: 195px; - border: 1px solid #999; - background-color: #F9F9F9; -} - -#compose-attachments -{ - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #999; - background-color: #F9F9F9; -} - -#compose-attachments.droptarget.hover -{ - background-color: #F0F0EE; - box-shadow: 0 0 5px 0 #999; - -moz-box-shadow: 0 0 5px 0 #999; - -o-box-shadow: 0 0 5px 0 #999; -} - -#compose-attachments ul -{ - margin: 0px; - padding: 0px; - background-color: #FFF; - list-style-image: none; - list-style-type: none; -} - -#compose-attachments ul li -{ - position: relative; - height: 18px; - line-height: 16px; - font-size: 11px; - padding: 2px 16px 1px 2px; - border-bottom: 1px solid #EBEBEB; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; -} - -#compose-attachments li a.delete, -#compose-attachments li a.cancelupload -{ - text-indent: -5000px; - width: 17px; - height: 16px; - padding-bottom: 2px; - display: inline-block; - text-decoration: none; - vertical-align: middle; - background-position: 0px -392px; -} - -#compose-attachments li img -{ - vertical-align: middle; -} - -#compose-attachments li span -{ - line-height: 18px; - vertical-align: middle; -} - -#compose-attachments li a.drop { - background: url(images/icons/down_small.gif) no-repeat center 8px; - width: 16px; - height: 22px; - cursor: pointer; - display: block; - position: absolute; - right: 0; - top: 0; -} - -#upload-form, -#attachment-form -{ - padding: 6px; -} - -#upload-form div, -#attachment-form div -{ - padding: 2px; -} - -#upload-form div.buttons, -#attachment-form div.buttons -{ - margin-top: 4px; -} - -#quota -{ - position: absolute; - top: 3px; - right: 8px; - width: 100px; -} - -#quotaimg -{ - position: absolute; - top: 3px; - right: 6px; - z-index: 101; -} - -/* addressbook in compose - copy from addressbook.css */ - -#directorylist -{ - list-style: none; - margin: 0; - padding: 0; - background-color: #FFFFFF; -} - -#directorylist li -{ - display: block; - font-size: 11px; - background: url(images/icons/folders.png) 5px -108px no-repeat; - border-bottom: 1px solid #EBEBEB; - white-space: nowrap; -} - -#directorylist li a -{ - cursor: default; - display: block; - padding-left: 25px; - padding-top: 2px; - padding-bottom: 2px; - text-decoration: none; - white-space: nowrap; - height: 15px; -} - -#directorylist li.selected -{ - background-color: #929292; - border-bottom: 1px solid #898989; -} - -#directorylist li.selected a -{ - color: #FFF; - font-weight: bold; -} - -#contacts-table -{ - width: 100%; - table-layout: fixed; -} - -#contacts-table tbody td -{ - cursor: default; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; -} - -#contacts-table td span.email -{ - display: inline; - color: #ccc; - font-style: italic; - margin-left: 0.5em; -} - -#abookcountbar -{ - margin-top: 4px; - margin-left: 4px; - position: absolute; - margin-right: 5px; - right: 0; - top: 0; -} - -#abookactions -{ - position: absolute; - text-underline: none; -} - -#abookactions a -{ - font-weight: bold; - line-height: 22px; - height: 22px; - width: auto; - margin: 0; - padding-left: 5px; - padding-right: 5px; - text-shadow: 1px 1px white; - background: url("images/icons/groupactions.png") no-repeat right -70px; -} - -#abookactions a.disabled -{ - color: #999; -} - -#compose-contacts .searchbox -{ - top: 2px; - left: 7px; -} - -#compose-contacts #directorylist -{ - width: 100%; - top: 23px; - position: absolute; - border-top: 1px solid #eee; -} - -#compose-contacts #contacts-table -{ - top: 45px; - position: absolute; -} - -/**** Styles for widescreen (3-column) view ****/ - -.widescreen #mailview-top { - bottom: 0; - width: 400px; - height: auto; -} - -.widescreen #mailview-bottom { - left: 412px; - top:0; - border: 1px solid #a3a3a3; -} - -#messagelistheader, -.widescreen #messagelistfooter #countcontrols, -.widescreen .messagelist > thead, -.widescreen .messagelist .branch, -.widescreen table.fixedcopy { - display: none; -} - -#messagelistcontainer { - top: 0; -} - -.widescreen #messagelistcontainer { - top: 21px; - overflow-x: hidden; -} - -.widescreen #mailpreviewframe { - top: 0; -} - -.widescreen #messagelistheader { - display: block; - top: 0; - white-space: nowrap; - border-top: 0; - border-bottom: 1px solid #999; - height: 20px; -} - -.widescreen #messagelistheader .listmenu { - display: inline-block; - vertical-align: middle; - line-height: 16px; - width: 15px; - background: url(images/messageicons.png) 4px -236px no-repeat; - cursor: pointer; - overflow: hidden; - text-indent: -5000px; - padding: 2px 4px; -} - -.widescreen .messagelist td { - border-left: 0; - vertical-align: top; - padding: 3px 1px 1px !important; -} - -.widescreen .messagelist td.subject { - width: 99%; - white-space: wrap; - position: relative; /* for span.date positioning in Firefox */ -} - -.widescreen .messagelist td.threads { - width: 14px; - vertical-align: middle; -} - -.widescreen .messagelist td.flags { - width: 20px; -} - -.widescreen .messagelist td.subject span { - line-height: 16px; -} - -.widescreen .messagelist td.subject span.date { - right: 2px; - top: 3px; - position: absolute; - color: #666; -} - -.widescreen .messagelist td.subject span.fromto { - padding-left: 18px; - display: block; - margin-right: 90px; - overflow: hidden; - text-overflow: ellipsis; - color: #666; -} - -.widescreen .messagelist td.subject span.size { - display: none; -} - -.widescreen .messagelist tr.flagged td.subject span.date, -.widescreen .messagelist tr.flagged td.subject span.fromto { - color: #ff0000; -} - -.widescreen .messagelist tr.selected td.subject span.date, -.widescreen .messagelist tr.selected td.subject span.fromto { - color: #fff; -} - -.widescreen .messagelist tr.deleted td.subject span.date, -.widescreen .messagelist tr.deleted td.subject span.fromto { - color: #ccc; -} - -.widescreen .messagelist td.subject span.subject { - clear: both; - display: block; - font-size: 13px; - overflow: hidden; - text-overflow: ellipsis; -} - -.widescreen .messagelist td.flags span { - width: 20px; - height: 18px; - display: block; -} - -.widescreen .messagelist td.flags span.flag { - cursor: pointer; -} - -.widescreen .messagelist tr td.subject span.msgicon, -.widescreen .messagelist tr td.subject span.unreadchildren { - width: 18px; - margin: 0; -} diff --git a/skins/classic/meta.json b/skins/classic/meta.json deleted file mode 100644 index 5cbdf9494..000000000 --- a/skins/classic/meta.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "Classic", - "author": "The Roundcube Dev Team", - "license": "Creative Commons Attribution-ShareAlike", - "license-url": "http://creativecommons.org/licenses/by-sa/3.0/" -}
\ No newline at end of file diff --git a/skins/classic/print.css b/skins/classic/print.css deleted file mode 100644 index 4d7fb246e..000000000 --- a/skins/classic/print.css +++ /dev/null @@ -1,225 +0,0 @@ -/***** Roundcube|Mail message print styles *****/ - -body -{ - font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; - background-color: #ffffff; - color: #000000; - margin: 2mm; -} - -body, td, th, div, p -{ - font-size: 9pt; - color: #000000; -} - -h3 -{ - font-size: 18px; - color: #000000; -} - -a, a:active, a:visited -{ - color: #000000; -} - -body > #logo -{ - float: right; - margin: 0 5mm 3mm 5mm; -} - -table.headers-table -{ - table-layout: fixed; - margin-top: 14px; -} - -table.headers-table tr td -{ - font-size: 9pt; -} - -table.headers-table td.header-title -{ - color: #666666; - font-weight: bold; - text-align: right; - vertical-align: top; - padding-right: 4mm; - white-space: nowrap; -} - -table.headers-table tr td.subject -{ - width: 90%; - font-weight: bold; -} - -#attachment-list -{ - margin-top: 3mm; - padding-top: 3mm; - border-top: 1pt solid #cccccc; -} - -#attachment-list li -{ - font-size: 9pt; -} - -#attachment-list li a -{ - text-decoration: none; -} - -#attachment-list li a:hover -{ - text-decoration: underline; -} - -#messagebody -{ - position: relative; - margin-top: 5mm; - border-top: none; -} - -div.message-part -{ - padding: 2mm; - margin-top: 5mm; - margin-bottom: 5mm; - border-top: 1pt solid #cccccc; -} - -div.message-part a -{ - color: #0000CC; -} - -div.message-part div.pre -{ - margin: 0; - padding: 0; - font-family: monospace; - font-size: 12px; -} - -div.message-part blockquote -{ - color: blue; - border-left: 2px solid blue; - border-right: 2px solid blue; - background-color: #F6F6F6; - margin: 2px 0; - padding: 0 0.4em; -} - -div.message-part blockquote blockquote -{ - color: green; - border-left: 2px solid green; - border-right: 2px solid green; -} - -div.message-part blockquote blockquote blockquote -{ - color: #990000; - border-left: 2px solid #bb0000; - border-right: 2px solid #bb0000; -} - -p.image-attachment -{ - position: relative; - padding: 1em; - border-top: 1px solid #ccc; -} - -p.image-attachment a.image-link -{ - float: left; - display: block; - margin-right: 2em; - min-width: 160px; - min-height: 60px; - text-align: center; -} - -p.image-attachment .image-filename -{ - display: block; - line-height: 1.6em; -} - -p.image-attachment .attachment-links -{ - display: none; -} - -/* contact print */ -#contact-details fieldset { - color: #666; - border: 1px solid #999; - margin-top: 5px; -} - -#contact-details fieldset.contactfieldgroup { - border: 0; - padding: 0; - margin: 0; -} - -#contact-details div.row { - padding: 2px 0; -} - -#contact-details .contactfieldlabel { - display: inline-block; - vertical-align: top; - width: 150px; - overflow: hidden; - text-overflow: ellipsis; -} - -#contact-details .contactfieldcontent { - display: inline-block; - vertical-align: top; - font-weight: bold; -} - -#contact-details #contactphoto { - float: left; - margin: 5px 15px 5px 3px; - width: 112px; - border: 0; - padding: 0; -} - -#contact-details #contactpic { - width: 112px; - background: white; -} - -#contact-details #contactpic img { - max-width: 112px; - visibility: inherit; -} - -#contact-details #contacthead { - border: 0; - margin: 0 16em 0 0; - padding: 0; -} - -#contact-details #contacthead > legend { - display: none; -} - -#contact-details #contacthead .names span.namefield { - font-size: 140%; - font-weight: bold; -} diff --git a/skins/classic/safari.css b/skins/classic/safari.css deleted file mode 100644 index a1be85ab4..000000000 --- a/skins/classic/safari.css +++ /dev/null @@ -1,22 +0,0 @@ -body -{ - height: 100%; -} - -html>body*#messagelist[id$="messagelist"]:not([class="none"]) { width: 99.8%; } -html>body*#messagelist[id$="messagelist"]:not([class="none"]) tr td.flag, -html>body*#messagelist[id$="messagelist"]:not([class="none"]) tr td.icon { width: 20px; } -html>body*input[type$="file"]:not([class="none"]) { background-color: transparent; border: 0; } - -div.message-part pre, -div.message-htmlpart pre, -div.message-part div.pre -{ - word-wrap: break-word; -} - -#messagelist thead tr td, -#messagelist tbody tr td -{ - height: 18px; -} diff --git a/skins/classic/settings.css b/skins/classic/settings.css deleted file mode 100644 index fe49e231e..000000000 --- a/skins/classic/settings.css +++ /dev/null @@ -1,292 +0,0 @@ -/***** Roundcube|Mail settings task styles *****/ - -#rcmfd_timezone -{ - width: 300px; -} - -#folder-manager.droptarget -{ - border: 1px solid #CC3333; - background-color: #FFFFA6; -} - -#folderlist-title a.iconbutton.search { - background: url(images/icons/glass.png) no-repeat 0 0; - cursor: pointer; - position: absolute; - right: 4px; - top: 2px; - width: 16px; - text-indent: 50000px; -} - -.listsearchbox select { - width: 100%; - margin: 1px 0; -} - -#identities-table, -#responses-table, -#sections-table -{ - width: 100%; - table-layout: fixed; -} - -#identities-table tbody tr td, -#responses-table tbody tr td, -#sections-table tbody tr td -{ - cursor: default; -} - -#identities-table tbody tr.readonly td -{ - font-style: italic; -} - -#subscription-table li.root -{ - font-size: 5%; - line-height: 5px; - height: 5px; - padding: 2px; -} - -#subscription-table li input { - position: absolute; - right: 0; - top: 2px; -} - -#subscription-table li a { - padding-right: 20px; - overflow: hidden; - text-overflow: ellipsis; -} - -#folder-box, -#prefs-box, -#identity-box, -#response-box -{ - position: absolute; - top: 0; - right: 0; - bottom: 0; - border: 1px solid #999999; - overflow: hidden; - background-color: #F2F2F2; -} - -#identity-details table td.title, -#response-details table td.title, -#folder-details table td.title -{ - font-weight: bold; - text-align: right; - width: 1%; - white-space: nowrap; -} - -#response-details table td.title -{ - text-align: left; - vertical-align: top; - width: 140px; - padding-top: 5px; -} - -#bottomboxes -{ - position: absolute; - width: 600px; - height: 95px; - left: 0; - bottom: 0; -} - -#identities-list, -#responses-list, -#folder-manager, -#sectionslist -{ - position: absolute; - top: 0; - left: 0; - bottom: 0; - border: 1px solid #999999; - background-color: #F9F9F9; - overflow: hidden; -} - -body.iframe, -#prefs-frame, -#folder-frame, -#identity-frame, -#response-frame -{ - background-color: #F2F2F2; - border: none; - min-height: 100%; /* Chrome 14 bug */ -} - -#prefs-title, -#folder-title, -#identity-title, -#response-title -{ - /* fixes issue where tabs were overlapping box title when scrolling */ - z-index: 10; -} - -#formfooter -{ - width: 100%; -} - -.footerleft -{ - padding-left: 10px; -} - -#formfooter .footerleft -{ - padding: 0 2px 10px; - white-space: nowrap; - float: left; -} - -#formfooter .footerright -{ - padding: 0 2px 10px; - white-space: nowrap; - text-align: right; - float: right; -} - -#formfooter .footerindent -{ - padding: 10px 0; - margin-left: 155px; -} - -#quota -{ - position: absolute; - top: 3px; - right: 8px; - width: 100px; -} - -#quotaimg -{ - position: absolute; - top: 3px; - right: 6px; - z-index: 101; -} - -#rcmfd_signature -{ - font-family: monospace; -} - -div.readtext -{ - width: 42em; - padding: 20px; -} - -#license -{ - min-height: 200px; - padding-bottom: 2em; - background: url(images/watermark.gif) no-repeat center; -} - -#license .sysname -{ - font-size: 18px; - font-weight: bold; -} - -#license .copyright -{ - font-weight: bold; -} - -#license .license, -#license .links -{ - margin-top: 1.5em; -} - -.skinselection -{ - display: block; - white-space: nowrap; - margin: 0.3em 0; -} - -.skinselection span -{ - display: inline-block; - vertical-align: middle; - padding-right: 1em; -} - -.skinselection .skinname -{ - font-weight: bold; -} - -.skinselection .skinlicense, -.skinselection .skinlicense a -{ - color: #999; - font-style: italic; - text-decoration: none; -} - -.skinselection .skinlicense a:hover -{ - text-decoration: underline; -} - -img.skinthumbnail -{ - width: 64px; - height: 64px; - border: 1px solid #999; - background: #fff; -} - -#pluginlist -{ - border: 1px solid #999; - width: 100%; -} - -#pluginlist td.version -{ - text-align: center; -} - -div.crop -{ - overflow: auto; -} - -#rcmfd_signature -{ - width: 99%; - min-width: 390px; -} - -#rcmfd_signature_toolbar1 td, -#rcmfd_signature_toolbar2 td -{ - width: auto; -} diff --git a/skins/classic/splitter.js b/skins/classic/splitter.js deleted file mode 100644 index 848a53722..000000000 --- a/skins/classic/splitter.js +++ /dev/null @@ -1,228 +0,0 @@ -/** - * Roundcube splitter GUI class - * - * @licstart The following is the entire license notice for the - * JavaScript code in this file. - * - * Copyright (c) The Roundcube Dev Team - * - * The JavaScript code in this page is free software: you can redistribute it - * and/or modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * @licend The above is the entire license notice - * for the JavaScript code in this file. - * - * @constructor - */ -function rcube_splitter(attrib) -{ - this.p1id = attrib.p1; - this.p2id = attrib.p2; - this.id = attrib.id ? attrib.id : this.p1id + '_' + this.p2id + '_splitter'; - this.orientation = attrib.orientation; - this.horizontal = (this.orientation == 'horizontal' || this.orientation == 'h'); - this.pos = attrib.start ? attrib.start * 1 : 0; - this.relative = attrib.relative ? true : false; - this.drag_active = false; - this.callback = attrib.callback; - - var me = this; - - this.init = function() - { - this.p1 = document.getElementById(this.p1id); - this.p2 = document.getElementById(this.p2id); - - // create and position the handle for this splitter - this.p1pos = this.relative ? $(this.p1).position() : $(this.p1).offset(); - this.p2pos = this.relative ? $(this.p2).position() : $(this.p2).offset(); - - if (this.horizontal) { - var top = this.p1pos.top + this.p1.offsetHeight; - this.layer = new rcube_layer(this.id, {x: 0, y: top, height: 10, - width: '100%', vis: 1, parent: this.p1.parentNode}); - } - else { - var left = this.p1pos.left + this.p1.offsetWidth; - this.layer = new rcube_layer(this.id, {x: left, y: 0, width: 10, - height: '100%', vis: 1, parent: this.p1.parentNode}); - } - - this.elm = this.layer.elm; - this.elm.className = 'splitter '+(this.horizontal ? 'splitter-h' : 'splitter-v'); - this.elm.unselectable = 'on'; - - // add the mouse event listeners - $(this.elm).mousedown(onDragStart); - - // Update splitter position and elements with on window resize - $(window).resize(function(e) { if (e.target === window) me.resize(); }); - if (bw.ie) - $(window).resize(onResize); - - // read saved position from cookie - var cookie = rcmail.get_cookie(this.id); - if (cookie && !isNaN(cookie)) { - this.pos = parseFloat(cookie); - this.resize(); - } - else if (this.pos) { - this.resize(); - this.set_cookie(); - } - }; - - /** - * Set size and position of all DOM objects - * according to the saved splitter position - */ - this.resize = function() - { - if (this.horizontal) { - var lh = this.layer.height; - this.p1.style.height = Math.floor(this.pos - this.p1pos.top - lh / 2) + 'px'; - this.p2.style.top = Math.ceil(this.pos + lh / 2) + 'px'; - this.layer.move(this.layer.x, Math.round(this.pos - lh / 2 + 1)); - if (bw.ie) { - var new_height = parseInt(this.p2.parentNode.offsetHeight, 10) - parseInt(this.p2.style.top, 10); - this.p2.style.height = (new_height > 0 ? new_height : 0) + 'px'; - } - } - else { - var max_width = $(window).width() - $(this.p1).offset().left - 150, - pos = Math.min(this.pos, max_width); - - this.p1.style.width = Math.floor(pos - this.p1pos.left - this.layer.width / 2) + 'px'; - this.p2.style.left = Math.ceil(pos + this.layer.width / 2) + 'px'; - this.layer.move(Math.round(pos - this.layer.width / 2 + 1), this.layer.y); - if (bw.ie) { - var new_width = parseInt(this.p2.parentNode.offsetWidth, 10) - parseInt(this.p2.style.left, 10) ; - this.p2.style.width = (new_width > 0 ? new_width : 0) + 'px'; - } - } - $(this.p2).resize(); - $(this.p1).resize(); - }; - - /** - * Handler for mousedown events - */ - function onDragStart(e) - { - me.drag_active = true; - - // disable text selection while dragging the splitter - if (bw.konq || bw.chrome || bw.safari) - document.body.style.webkitUserSelect = 'none'; - - me.p1pos = me.relative ? $(me.p1).position() : $(me.p1).offset(); - me.p2pos = me.relative ? $(me.p2).position() : $(me.p2).offset(); - - // start listening to mousemove events - $(document).on('mousemove.' + me.id, onDrag).on('mouseup.' + me.id, onDragStop); - - // enable dragging above iframes - $('iframe').each(function() { - $('<div class="iframe-splitter-fix"></div>') - .css({background: '#fff', - width: this.offsetWidth+'px', height: this.offsetHeight+'px', - position: 'absolute', opacity: '0.001', zIndex: 1000 - }) - .css($(this).offset()) - .appendTo('body'); - }); - }; - - /** - * Handler for mousemove events - */ - function onDrag(e) - { - if (!me.drag_active) - return false; - - // with timing events dragging action is more responsive - window.clearTimeout(me.ts); - me.ts = window.setTimeout(function() { onDragAction(e); }, 1); - - return false; - }; - - function onDragAction(e) - { - var pos = rcube_event.get_mouse_pos(e); - - if (me.relative) { - var parent = $(me.p1.parentNode).offset(); - pos.x -= parent.left; - pos.y -= parent.top; - } - - if (me.horizontal) { - if (((pos.y - me.layer.height * 1.5) > me.p1pos.top) && ((pos.y + me.layer.height * 1.5) < (me.p2pos.top + me.p2.offsetHeight))) { - me.pos = pos.y; - me.resize(); - } - } - else if (((pos.x - me.layer.width * 1.5) > me.p1pos.left) && ((pos.x + me.layer.width * 1.5) < (me.p2pos.left + me.p2.offsetWidth))) { - me.pos = pos.x; - me.resize(); - } - - me.p1pos = me.relative ? $(me.p1).position() : $(me.p1).offset(); - me.p2pos = me.relative ? $(me.p2).position() : $(me.p2).offset(); - }; - - /** - * Handler for mouseup events - */ - function onDragStop(e) - { - me.drag_active = false; - - // resume the ability to highlight text - if (bw.konq || bw.chrome || bw.safari) - document.body.style.webkitUserSelect = 'auto'; - - // cancel the listening for drag events - $(document).off('.' + me.id); - - // remove temp divs - $('div.iframe-splitter-fix').remove(); - - me.set_cookie(); - - if (typeof me.callback == 'function') - me.callback(me); - - return bw.safari ? true : rcube_event.cancel(e); - }; - - /** - * Handler for window resize events - */ - function onResize(e) - { - if (me.horizontal) { - var new_height = parseInt(me.p2.parentNode.offsetHeight, 10) - parseInt(me.p2.style.top, 10); - me.p2.style.height = (new_height > 0 ? new_height : 0) +'px'; - } - else { - var new_width = parseInt(me.p2.parentNode.offsetWidth, 10) - parseInt(me.p2.style.left, 10); - me.p2.style.width = (new_width > 0 ? new_width : 0) + 'px'; - } - }; - - /** - * Saves splitter position in cookie - */ - this.set_cookie = function() - { - var exp = new Date(); - exp.setYear(exp.getFullYear() + 1); - rcmail.set_cookie(this.id, this.pos, exp); - }; - -} // end class rcube_splitter diff --git a/skins/classic/templates/about.html b/skins/classic/templates/about.html deleted file mode 100644 index e6eb55508..000000000 --- a/skins/classic/templates/about.html +++ /dev/null @@ -1,37 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body> - -<roundcube:if condition="!request:_framed" /> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> -<roundcube:include file="/includes/settingstabs.html" /> - -<div id="mainscreen" class="box darkbg crop"> -<roundcube:endif /> - -<div class="readtext"> -<div id="license"> -<roundcube:object name="aboutcontent" /> -<h2 class="sysname">Roundcube Webmail <roundcube:object name="version" /></h2> -<p class="copyright"><roundcube:object name="copyright" /></p> -<p class="license"><roundcube:object name="license" /></p> -<p class="links"><roundcube:object name="supportlink" label="support" target="_blank" /></p> -</div> - -<h3><roundcube:label name="installedplugins" /></h3> -<roundcube:object name="pluginlist" id="pluginlist" class="records-table" cellspacing="0" /> - -</div> - -<roundcube:if condition="!request:_framed" /> -</div> -<roundcube:endif /> - -</body> -</html> diff --git a/skins/classic/templates/addressbook.html b/skins/classic/templates/addressbook.html deleted file mode 100644 index 1a31251a5..000000000 --- a/skins/classic/templates/addressbook.html +++ /dev/null @@ -1,145 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/splitter.js"></script> -<script type="text/javascript" src="/functions.js"></script> -<style type="text/css"> -#addresslist { width: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter-5 : 245" />px; } -#contacts-box { left: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />px; } -#directorylistbox { width: <roundcube:exp expression="!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd-5 : 195" />px; } -#addressscreen { left: <roundcube:exp expression="!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd+5 : 205" />px; } -</style> - -</head> -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> - -<div id="abooktoolbar"> -<roundcube:button command="add" type="link" class="buttonPas addcontact" classAct="button addcontact" classSel="button addcontactSel" title="newcontact" content=" " /> -<roundcube:button command="compose" type="link" class="buttonPas compose" classAct="button compose" classSel="button composeSel" title="composeto" content=" " /> -<roundcube:button command="print" type="link" class="buttonPas print" classAct="button print" classSel="button printSel" label="print" title="printcontact" content=" " /> -<roundcube:button command="delete" type="link" class="buttonPas delete" classAct="button delete" classSel="button deleteSel" title="deletecontact" content=" " /> -<span class="toolbarseparator"> </span> -<roundcube:button command="import" type="link" class="buttonPas import" classAct="button import" classSel="button importSel" title="importcontacts" content=" " /> -<span class="dropbutton"> -<roundcube:button command="export" type="link" class="buttonPas export" classAct="button export" classSel="button exportSel" title="exportvcards" content=" " /> -<span id="exportmenulink" onclick="rcmail_ui.show_popup('exportmenu');return false"></span> -</span> -<roundcube:button command="advanced-search" type="link" class="buttonPas search" classAct="button search" classSel="button searchSel" title="advsearch" content=" " /> -<roundcube:container name="toolbar" id="abooktoolbar" /> -<roundcube:button name="contactmenulink" id="contactmenulink" type="link" class="button contactmenu" title="moreactions" onclick="rcmail_ui.show_popup('contactmenu');return false" content=" " /> -</div> - -<div id="quicksearchbar"> -<roundcube:button name="searchmenulink" id="searchmenulink" image="/images/icons/glass_roll.png" onclick="rcmail_ui.show_popup('searchmenu');return false" title="searchmod" width="16" height="16" /> -<roundcube:object name="searchform" id="quicksearchbox" /> -<roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" width="13" height="13" /> -</div> - -<div id="exportmenu" class="popupmenu"> - <ul> - <li><roundcube:button command="export" type="link" label="exportall" prop="sub" classAct="exportalllink active" class="exportalllink" /></li> - <li><roundcube:button command="export-selected" type="link" label="exportsel" prop="sub" classAct="exportsellink active" class="exportsellink" /></li> - </ul> -</div> - -<div id="searchmenu" class="popupmenu"> - <ul class="toolbarmenu"> - <li><label><input type="checkbox" name="s_mods[]" value="name" id="s_mod_name" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="name" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="firstname" id="s_mod_firstname" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="firstname" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="surname" id="s_mod_surname" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="surname" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="email" id="s_mod_email" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="email" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="*" id="s_mod_all" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="allfields" /></span></label></li> - </ul> -</div> - -<div id="contactmenu" class="popupmenu"> - <ul class="toolbarmenu" id="contactmenumenu"> - <roundcube:if condition="env:qrcode" /> - <roundcube:button type="link-menuitem" class="qrcode" command="qrcode" label="qrcode" classAct="qrcode active" /> - <roundcube:endif /> - <roundcube:button type="link-menuitem" class="assigngroup" command="group-assign-selected" label="groupassign" classAct="assigngroup active" innerclass="folder-selector-link" /> - <roundcube:button type="link-menuitem" class="removegroup" command="group-remove-selected" label="groupremove" classAct="removegroup active" /> - <roundcube:if condition="env:contact_move_enabled" /> - <roundcube:button type="link-menuitem" class="movelink" command="move" label="moveto" classAct="movelink active" innerclass="folder-selector-link" /> - <roundcube:endif /> - <roundcube:if condition="env:contact_copy_enabled" /> - <roundcube:button type="link-menuitem" class="copylink" command="copy" label="copyto" classAct="copylink active" innerclass="folder-selector-link" /> - <roundcube:endif /> - <roundcube:container name="contactmenu" id="contactmenumenu" /> - </ul> -</div> - -<div id="mainscreen"> - -<div id="directorylistbox"> -<div id="directorylist-title" class="boxtitle"><roundcube:label name="groups" /></div> -<div id="directorylist-content" class="boxlistcontent"> - <roundcube:object name="directorylist" id="directorylist" class="treelist" /> - <roundcube:object name="savedsearchlist" id="savedsearchlist" class="treelist" /> -</div> -<div id="directorylist-footer" class="boxfooter"> - <roundcube:button command="group-create" type="link" title="newgroup" class="buttonPas addgroup" classAct="button addgroup" content=" " /> - <roundcube:button name="groupmenulink" id="groupmenulink" type="link" title="moreactions" class="button groupactions" onclick="rcmail_ui.show_popup('groupmenu');return false" content=" " /> -</div> -</div> - -<div id="addressscreen"> - -<div id="addresslist"> -<roundcube:object name="addresslisttitle" label="contacts" tag="div" class="boxtitle" /> -<div class="boxlistcontent"> -<roundcube:object name="addresslist" id="contacts-table" class="records-table" cellspacing="0" summary="Contacts list" noheader="true" /> -</div> -<div class="boxfooter"> -<div id="abookcountbar" class="pagenav"> - <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstpage" content=" " /> - <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previouspage" content=" " /> - <roundcube:object name="recordsCountDisplay" style="padding:0 .5em; float:left" /> - <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextpage" content=" " /> - <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastpage" content=" " /> -</div> -</div> -</div> - -<script type="text/javascript"> - var addrviewsplit = new rcube_splitter({id:'addressviewsplitter', p1: 'addresslist', p2: 'contacts-box', orientation: 'v', relative: true, start: 250}); - rcmail.add_onload('addrviewsplit.init()'); - - var addrviewsplitd = new rcube_splitter({id:'addressviewsplitterd', p1: 'directorylistbox', p2: 'addressscreen', orientation: 'v', relative: true, start: 200}); - rcmail.add_onload('addrviewsplitd.init()'); -</script> - -<div id="contacts-box"> -<roundcube:object name="contentframe" id="contact-frame" width="100%" height="100%" frameborder="0" src="env:blankpage" /> -</div> - -</div> -</div> - -<div id="groupoptionsmenu" class="popupmenu"> - <ul> - <li><roundcube:button command="group-rename" type="link" label="grouprename" classAct="active" /></li> - <li><roundcube:button command="group-delete" type="link" label="groupdelete" classAct="active" /></li> - <li class="separator_above"><roundcube:button command="search-create" type="link" label="searchsave" classAct="active" /></li> - <li><roundcube:button command="search-delete" type="link" label="searchdelete" classAct="active" /></li> - <roundcube:container name="groupoptions" id="groupoptionsmenu" /> - </ul> -</div> - -<div id="dragmenu" class="popupmenu"> - <ul> - <li><roundcube:button command="move" type="link" onclick="return rcmail.drag_menu_action('move')" label="move" classAct="active" /></li> - <li><roundcube:button command="copy" type="link" onclick="return rcmail.drag_menu_action('copy')" label="copy" classAct="active" /></li> - </ul> -</div> - -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/bounce.html b/skins/classic/templates/bounce.html deleted file mode 100644 index 81ba7527b..000000000 --- a/skins/classic/templates/bounce.html +++ /dev/null @@ -1,42 +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> -<roundcube:include file="/includes/links.html" /> -</head> -<body class="iframe"> - -<div class="compose-headers-div boxcontent" id="bounceheaders" style="margin-top: -20px" role="region" aria-labelledby="aria-label-composeheaders"> -<h2 id="aria-label-composeheaders" class="voice"><roundcube:label name="arialabelmessageheaders" /></h2> -<roundcube:object name="bounceObjects" id="bounce-objects" /> -<roundcube:object name="composeFormHead" role="main" /> -<table id="compose-headers"><tbody> - <tr> - <td class="title"><label for="_from"><roundcube:label name="from" /></label></td> - <td class="editfield formlinks"> - <roundcube:object name="composeHeaders" part="from" form="form" id="_from" tabindex="1" /> - <a href="#identities" onclick="return rcmail.command('switch-task', 'settings/identities')" tabindex="1"><roundcube:label name="editidents" /></a> - </td> - </tr> - <tr> - <td class="title top"><label for="_to"><roundcube:label name="to" /></label></td> - <td class="editfield"><roundcube:object name="composeHeaders" part="to" form="form" id="_to" cols="70" rows="1" tabindex="1" /></td> - </tr> - <tr> - <td class="title top"><label for="_cc"><roundcube:label name="cc" /></label></td> - <td class="editfield"><roundcube:object name="composeHeaders" part="cc" form="form" id="_cc" cols="70" rows="1" tabindex="1" /></td> - </tr> - <tr> - <td class="title top"><label for="_bcc"><roundcube:label name="bcc" /></label></td> - <td class="editfield"><roundcube:object name="composeHeaders" part="bcc" form="form" id="_bcc" cols="70" rows="1" tabindex="1" /></td> - </tr> - <roundcube:if condition="!config:no_save_sent_messages" /> - <tr><td colspan="2" class="bounceopts"> - <label><roundcube:label name="savesentmessagein" /> <roundcube:object name="storetarget" maxlength="30" style="max-width:12em" tabindex="1" /></label> - </td></tr> - <roundcube:endif /> -</tbody></table> -</form> -</div> - -</body> -</html> diff --git a/skins/classic/templates/compose.html b/skins/classic/templates/compose.html deleted file mode 100644 index b7e06b007..000000000 --- a/skins/classic/templates/compose.html +++ /dev/null @@ -1,249 +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> -<roundcube:include file="/includes/links.html" /> -<roundcube:if condition="config:enable_spellcheck" /> -<link rel="stylesheet" type="text/css" href="/googiespell.css" /> -<roundcube:endif /> -<script type="text/javascript" src="/functions.js"></script> -<script type="text/javascript" src="/splitter.js"></script> -<style type="text/css"> -#compose-contacts { width: <roundcube:exp expression="!empty(cookie:composesplitterv1) ? cookie:composesplitterv1-5 : 195" />px; } -#compose-container { left: <roundcube:exp expression="!empty(cookie:composesplitterv1) ? cookie:composesplitterv1+5 : 205" />px; } -</style> -</head> -<roundcube:if condition="env:extwin" /> -<body class="extwin"> -<roundcube:object name="message" id="message" /> -<roundcube:else /> -<body> -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> -<roundcube:endif /> - -<div id="messagetoolbar"> -<roundcube:if condition="env:extwin" /> - <roundcube:button command="close" type="link" class="button back" classAct="button back" classSel="button backSel" title="close" content=" " /> -<roundcube:else /> - <roundcube:button command="list" type="link" class="button back" classAct="button back" classSel="button backSel" title="backtolist" content=" " /> -<roundcube:endif /> - <roundcube:button command="send" type="link" class="buttonPas send" classAct="button send" classSel="button sendSel" title="sendmessage" content=" " /> - <roundcube:button name="addattachment" type="link" class="button attach" classAct="button attach" classSel="button attachSel" title="addattachment" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " /> - <roundcube:button command="insert-sig" type="link" class="buttonPas insertsig" classAct="button insertsig" classSel="button insertsigSel" title="insertsignature" content=" " /> - <roundcube:button command="savedraft" type="link" class="buttonPas savedraft" classAct="button savedraft" classSel="button savedraftSel" title="savemessage" content=" " /> -<roundcube:if condition="!empty(env:spell_langs)" /> - <span class="dropbutton"> - <roundcube:button command="spellcheck" type="link" class="buttonPas spellcheck" classAct="button spellcheck" classSel="button spellcheckSel" title="checkspelling" content=" " /> - <span id="spellmenulink" onclick="rcmail_ui.show_popup('spellmenu');return false"></span> - </span> -<roundcube:endif /> - <a href="#responses" class="button responses" label="responses" title="<roundcube:label name='insertresponse' />" id="responsesmenulink" unselectable="on" onmousedown="return false" onclick="rcmail_ui.show_popup('responsesmenu');return false"> </a> - <span class="dropbutton" style="display:none"> - <roundcube:button command="compose-encrypted" type="link" class="buttonPas encrypt disabled" classAct="button encrypt" classSel="button encrypt" title="encryptmessagemailvelope" content=" " /> - <span id="encryptionmenulink" onclick="rcmail_ui.show_popup('encryptionmenu');return false" style="display:none"></span> - </span> - <roundcube:container name="toolbar" id="compose-toolbar" /> - <roundcube:button name="messageoptions" id="composemenulink" type="link" class="button messagemenu" title="messageoptions" onclick="rcmail_ui.show_popup('composemenu', true);return false" content=" " /> -</div> - -<roundcube:form name="form" method="post"> - -<div id="mainscreen"> - -<div id="compose-contacts"> -<div class="boxtitle"> - <roundcube:label name="contacts" /> - <div id="abookcountbar" class="pagenav"> - <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstpage" content=" " /> - <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previouspage" content=" " /> - <span style="float:left"> </span> - <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextpage" content=" " /> - <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastpage" content=" " /> - </div> -</div> -<div class="boxlistcontent"> - <div class="searchbox"> - <img id="searchmenulink" src="/images/icons/glass.png" width="16" height="16" /> - <roundcube:object name="searchform" id="quicksearchbox" form="true" tabindex="13" /> - <roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" width="13" height="13" /> - </div> - <roundcube:object name="addressbooks" id="directorylist" /> - <roundcube:object name="addresslist" id="contacts-table" class="records-table" cellspacing="0" noheader="true" /> -</div> -<div class="boxfooter"> - <div id="abookactions"> - <roundcube:button command="add-recipient" prop="to" type="link" title="to" class="button disabled" classAct="button" content="To &raquo;" /> - <roundcube:button command="add-recipient" prop="cc" type="link" title="cc" class="button disabled" classAct="button" content="Cc &raquo;" /> - <roundcube:button command="add-recipient" prop="bcc" type="link" title="bcc" class="button disabled" classAct="button" content="Bcc &raquo;" /> - <roundcube:container name="compose-contacts-toolbar" id="compose-contacts-toolbar" /> - </div> -</div> -</div> - -<script type="text/javascript"> - var composesplitv1 = new rcube_splitter({id:'composesplitterv1', p1: 'compose-contacts', p2: 'compose-container', orientation: 'v', relative: true, start: 200}); - rcmail.add_onload('composesplitv1.init()'); -</script> - -<div id="compose-container"> - <div id="compose-headers-div" style="width: 100%"> - <roundcube:object name="composeObjects" id="compose-objects" class="boxcontent" style="padding: 0; background: transparent" /> - <table border="0" cellspacing="0" cellpadding="1" id="compose-headers"> - <tr> - <td class="title"><label for="_from"><roundcube:label name="from" /></label></td> - <td class="editfield formlinks"> - <roundcube:object name="composeHeaders" part="from" form="form" id="_from" tabindex="1" /> - <a href="#identities" onclick="return rcmail.command('switch-task', 'settings/identities')"><roundcube:label name="editidents" /></a> - <roundcube:button command="extwin" image="/images/icons/extwin.png" width="15" height="15" title="openinextwin" id="openextwinlink" condition="!env:extwin" /> - </td> - </tr><tr> - <td class="title top"><label for="_to"><roundcube:label name="to" /></label></td> - <td class="editfield"><roundcube:object name="composeHeaders" part="to" form="form" id="_to" cols="70" rows="2" tabindex="2" /></td> - </tr><tr id="compose-cc"> - <td class="title top"> - <a href="#cc" onclick="return rcmail_ui.hide_header_form('cc');"><img src="/images/icons/minus.gif" alt="" width="13" height="11" title="<roundcube:label name='delete' />" /></a> - <label for="_cc"><roundcube:label name="cc" /></label> - </td> - <td class="editfield"><roundcube:object name="composeHeaders" part="cc" form="form" id="_cc" cols="70" rows="2" tabindex="3" /></td> - </tr><tr id="compose-bcc"> - <td class="title top"> - <a href="#bcc" onclick="return rcmail_ui.hide_header_form('bcc');"><img src="/images/icons/minus.gif" alt="" width="13" height="11" title="<roundcube:label name='delete' />" /></a> - <label for="_bcc"><roundcube:label name="bcc" /></label> - </td> - <td class="editfield"><roundcube:object name="composeHeaders" part="bcc" form="form" id="_bcc" cols="70" rows="2" tabindex="4" /></td> - </tr><tr id="compose-replyto"> - <td class="title top"> - <a href="#replyto" onclick="return rcmail_ui.hide_header_form('replyto');"><img src="/images/icons/minus.gif" alt="" width="13" height="11" title="<roundcube:label name='delete' />" /></a> - <label for="_replyto"><roundcube:label name="replyto" /></label> - </td> - <td class="editfield"><roundcube:object name="composeHeaders" part="replyto" form="form" id="_replyto" size="70" tabindex="5" /></td> - </tr><tr id="compose-followupto"> - <td class="title top"> - <a href="#followupto" onclick="return rcmail_ui.hide_header_form('followupto');"><img src="/images/icons/minus.gif" alt="" width="13" height="11" title="<roundcube:label name='delete' />" /></a> - <label for="_followupto"><roundcube:label name="followupto" /></label> - </td> - <td class="editfield"><roundcube:object name="composeHeaders" part="followupto" form="form" id="_followupto" size="70" tabindex="7" /></td> - </tr><tr> - <td></td> - <td class="formlinks"> - <a href="#cc" onclick="return rcmail_ui.show_header_form('cc')" id="cc-link"><roundcube:label name="addcc" /></a> - <span class="separator">|</span> - <a href="#bcc" onclick="return rcmail_ui.show_header_form('bcc')" id="bcc-link"><roundcube:label name="addbcc" /></a> - <span class="separator">|</span> - <a href="#reply-to" onclick="return rcmail_ui.show_header_form('replyto')" id="replyto-link"><roundcube:label name="addreplyto" /></a> - <span class="separator">|</span> - <a href="#followup-to" onclick="return rcmail_ui.show_header_form('followupto')" id="followupto-link"><roundcube:label name="addfollowupto" /></a> - </td> - </tr><tr> - <td class="title"><label for="compose-subject"><roundcube:label name="subject" /></label></td> - <td class="editfield"><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="8" /></td> - </tr> - </table> - </div> - <div id="compose-div"> - <div id="compose-body-div"> - <div id="compose-body-parent" class="boxlistcontent" style="overflow: hidden; top: 0"> - <roundcube:object name="composeBody" id="compose-body" form="form" cols="70" rows="20" tabindex="9" /> - </div> - <div class="boxfooter"> - <div id="compose-buttons"> - <roundcube:button type="input" command="send" class="button mainaction" label="sendmessage" tabindex="10" /> - <roundcube:button type="input" command="list" class="button" label="cancel" tabindex="11" /> - </div> - <div id="compose-editorfooter" class="pagenav"> - <roundcube:if condition="!in_array('htmleditor', (array)config:dont_override)" /> - <span> - <label><roundcube:label name="editortype" /></label> - <roundcube:object name="editorSelector" editorid="compose-body" tabindex="12" /> - </span> - <roundcube:endif /> - </div> - </div> - </div> -<script type="text/javascript"> - var composesplitv2 = new rcube_splitter({id:'composesplitterv2', p1: 'compose-body-div', p2: 'compose-attachments', orientation: 'v', relative: true, start: $('#compose-headers-div').width() - 175}); - rcmail.add_onload('composesplitv2.init()'); -</script> - <div id="compose-attachments"> - <div class="boxtitle"><roundcube:label name="attachments" /></div> - <div class="boxlistcontent"> - <roundcube:object name="composeAttachmentList" id="attachmentslist" loadingIcon="/images/display/loading_blue.gif" icon_pos="left" /> - </div> - <div class="boxfooter"> - <roundcube:button name="uploadmenulink" id="uploadmenulink" type="link" title="addattachment" class="button addgroup" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " /> - </div> - </div> - <roundcube:object name="fileDropArea" id="compose-attachments" /> - </div> -</div> - -</div> - -<div id="composeoptionsmenu" class="popupmenu"> - <table> - <roundcube:if condition="!in_array('mdn_default', (array)config:dont_override)" /> - <tr> - <td><label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" />:</label></td> - <td><roundcube:object name="mdnCheckBox" form="form" id="rcmcomposereceipt" /></td> - </tr> - <roundcube:endif /> - <roundcube:if condition="!in_array('dsn_default', (array)config:dont_override)" /> - <tr> - <td><label for="rcmcomposedsn"><roundcube:label name="dsn" />:</label></td> - <td><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /></td> - </tr> - <roundcube:endif /> - <tr> - <td><label for="rcmcomposekeepformatting"><roundcube:label name="keepformatting" />:</label></td> - <td><roundcube:object name="keepFormattingCheckBox" form="form" id="rcmcomposekeepformatting" /></td> - </tr> - <tr> - <td><label for="rcmcomposepriority"><roundcube:label name="priority" />:</label></td> - <td><roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" /></td> - </tr> - <roundcube:if condition="!config:no_save_sent_messages" /> - <tr> - <td><label><roundcube:label name="savesentmessagein" />:</label></td> - <td><roundcube:object name="storetarget" maxlength="30" /></td> - </tr> - <roundcube:endif /> - </table> -</div> - -<div id="responsesmenu" class="popupmenu"> - <ul id="textresponsesmenu"> - <li><label class="comment"><roundcube:label name="insertresponse" /></label></li> - <roundcube:object name="responseslist" id="responseslist" tagname="ul" itemclass="active" /> - <li><label class="comment"><roundcube:label name="manageresponses" /></label></li> - <roundcube:button name="responses" type="link-menuitem" label="editresponses" class="active" onclick="return rcmail.command('switch-task', 'settings/responses')" /> - </ul> -</div> - -<div id="spellmenu" class="popupmenu selectable"></div> - -</form> - -<roundcube:object name="composeAttachmentForm" id="attachment-form" attachmentFieldSize="40" class="popupmenu" /> - -<div id="attachmentmenu" class="popupmenu"> - <ul class="toolbarmenu"> - <li><roundcube:button command="open-attachment" id="attachmenuopen" type="link" label="open" class="openlink" classAct="openlink active" innerclass="openlink" /></li> - <li><roundcube:button command="download-attachment" id="attachmenudownload" type="link" label="download" class="downloadlink" classAct="downloadlink active" innerclass="downloadlink" /></li> - <li><roundcube:button command="rename-attachment" id="attachmenurename" type="link" label="rename" class="renamelink" classAct="renamelink active" innerclass="renamelink" /></li> - <roundcube:container name="attachmentmenu" id="attachmentmenu" /> - </ul> -</div> - -<div id="encryptionmenu" class="popupmenu"> - <ul> - <roundcube:button command="compose-encrypted" type="link-menuitem" label="encryptmessage" classAct="active" /> - <roundcube:button command="compose-encrypted-signed" type="link-menuitem" label="encryptandsign" classAct="active" /> - </ul> -</div> - -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/contact.html b/skins/classic/templates/contact.html deleted file mode 100644 index c6b569b30..000000000 --- a/skins/classic/templates/contact.html +++ /dev/null @@ -1,28 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body class="iframe"> - -<div id="contact-title" class="boxtitle"><roundcube:label name="contactproperties" /></div> -<div id="contact-details" class="boxcontent"> - <roundcube:if condition="strlen(env:sourcename)" /> - <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:var name="env:sourcename" /></div> - <roundcube:endif /> - - <div id="contactphoto"><roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" placeholderGroup="/images/contactgroup.png" /></div> - <roundcube:object name="contacthead" id="contacthead" /> - <div style="clear:both"></div> - <div id="contacttabs"> - <roundcube:object name="contactdetails" /> - </div> - <p> - <roundcube:button command="edit" type="input" class="button" label="editcontact" condition="!ENV:readonly" /> - </p> -</div> -<script type="text/javascript">rcube_init_tabs('contacttabs')</script> - -</body> -</html> diff --git a/skins/classic/templates/contactadd.html b/skins/classic/templates/contactadd.html deleted file mode 100644 index c9e67bfba..000000000 --- a/skins/classic/templates/contactadd.html +++ /dev/null @@ -1,43 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body class="iframe"> - -<div id="contact-title" class="boxtitle"><roundcube:label name="addcontact" /></div> -<div id="contact-details" class="boxcontent"> -<roundcube:form name="editform" method="post"> - <roundcube:if condition="strlen(env:sourcename)" /> - <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:object name="sourceselector" class="hint" id="sourceselect" /></div> - <roundcube:endif /> - <div id="contactphoto"> - <roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" /> - <div class="formlinks"> - <roundcube:button command="upload-photo" id="uploadformlink" type="link" label="addphoto" class="disabled" classAct="active" onclick="rcmail_ui.show_popup('uploadform', true);return false" condition="env:photocol" /><br/> - <roundcube:button command="delete-photo" type="link" label="delete" class="disabled" classAct="active" condition="env:photocol" /> - </div> - </div> - <roundcube:object name="contactedithead" id="contacthead" size="16" form="editform" /> - <div style="clear:both"></div> - <div id="contacttabs"> - <roundcube:object name="contacteditform" size="40" textareacols="60" deleteIcon="/images/icons/delete.png" form="editform" /> - </div> - <p> - <input type="button" value="<roundcube:label name="cancel" />" class="button" onclick="history.back()" /> - <roundcube:button command="save" type="input" class="button mainaction" label="save" /> - </p> -</form> -</div> - -<roundcube:object name="photoUploadForm" id="upload-form" size="30" class="popupmenu" /> -<roundcube:object name="fileDropArea" id="contactpic" /> - -<script type="text/javascript"> -rcube_init_tabs('contacttabs'); -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/contactedit.html b/skins/classic/templates/contactedit.html deleted file mode 100644 index e848575a1..000000000 --- a/skins/classic/templates/contactedit.html +++ /dev/null @@ -1,43 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body class="iframe"> - -<div id="contact-title" class="boxtitle"><roundcube:label name="editcontact" /></div> -<div id="contact-details" class="boxcontent"> -<roundcube:form name="editform" method="post"> - <roundcube:if condition="strlen(env:sourcename)" /> - <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:var name="env:sourcename" /></div> - <roundcube:endif /> - <div id="contactphoto"> - <roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" /> - <div class="formlinks"> - <roundcube:button command="upload-photo" id="uploadformlink" type="link" label="replacephoto" class="disabled" classAct="active" onclick="rcmail_ui.show_popup('uploadform', true);return false" condition="env:photocol" /><br/> - <roundcube:button command="delete-photo" type="link" label="delete" class="disabled" classAct="active" condition="env:photocol" /> - </div> - </div> - <roundcube:object name="contactedithead" id="contacthead" size="16" form="editform" /> - <div style="clear:both"></div> - <div id="contacttabs"> - <roundcube:object name="contacteditform" size="40" textareacols="60" deleteIcon="/images/icons/delete.png" form="editform" /> - </div> - <p> - <roundcube:button command="show" type="input" class="button" label="cancel" /> - <roundcube:button command="save" type="input" class="button mainaction" label="save" /> - </p> -</form> -</div> - -<roundcube:object name="photoUploadForm" id="upload-form" size="30" class="popupmenu" /> -<roundcube:object name="fileDropArea" id="contactpic" /> - -<script type="text/javascript"> -rcube_init_tabs('contacttabs'); -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/contactprint.html b/skins/classic/templates/contactprint.html deleted file mode 100644 index 49dbfdcc7..000000000 --- a/skins/classic/templates/contactprint.html +++ /dev/null @@ -1,20 +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> -<roundcube:object name="meta" /> -<roundcube:object name="links" /> -<link rel="stylesheet" type="text/css" href="/print.css" /> -</head> -<body> - -<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" logo-type="print" logo-match="all" /> - -<div id="contact-details"> - <div id="contactphoto"><roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" placeholderGroup="/images/contactgroup.png" /></div> - <roundcube:object name="contacthead" id="contacthead" /> - <div style="clear:both"></div> - <roundcube:object name="contactdetails" /> -</div> - -</body> -</html> diff --git a/skins/classic/templates/contactsearch.html b/skins/classic/templates/contactsearch.html deleted file mode 100644 index 4e6383b29..000000000 --- a/skins/classic/templates/contactsearch.html +++ /dev/null @@ -1,15 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body class="iframe"> - -<div class="boxcontent"> - <roundcube:object name="searchform" id="advsearchform" size=30 /> -</div> -<script type="text/javascript">rcube_init_tabs('advsearchform')</script> - -</body> -</html> diff --git a/skins/classic/templates/error.html b/skins/classic/templates/error.html deleted file mode 100644 index cc84a5c7f..000000000 --- a/skins/classic/templates/error.html +++ /dev/null @@ -1,15 +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> -<roundcube:include file="/includes/links.html" /> -</head> -<body> - -<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" /> - -<div style="width:400px; margin:60px auto;"> -$__page_content -</div> - -</body> -</html> diff --git a/skins/classic/templates/folderedit.html b/skins/classic/templates/folderedit.html deleted file mode 100644 index dbecd4df8..000000000 --- a/skins/classic/templates/folderedit.html +++ /dev/null @@ -1,25 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body class="iframe"> - -<div id="folder-title" class="boxtitle"><roundcube:label name="folderproperties" /></div> - -<div id="folder-details" class="boxcontent"> - <roundcube:object name="folderdetails" /> - <div id="formfooter"> - <div class="footerleft"> - <roundcube:if condition="!strlen(request:_mbox)" /> - <input type="button" value="<roundcube:label name="cancel" />" class="button" onclick="history.back()" /> - <roundcube:endif /> - <roundcube:button command="save" type="input" class="button mainaction" label="save" /> - </div> - </div> -</div> -<script type="text/javascript">rcube_init_tabs('folder-details > form')</script> - -</body> -</html> diff --git a/skins/classic/templates/folders.html b/skins/classic/templates/folders.html deleted file mode 100644 index 8d2b25439..000000000 --- a/skins/classic/templates/folders.html +++ /dev/null @@ -1,74 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -<script type="text/javascript" src="/splitter.js"></script> -<style type="text/css"> -#folder-manager { width: <roundcube:exp expression="!empty(cookie:folderviewsplitter) ? cookie:folderviewsplitter-5 : 295" />px; } -#folder-box { left: <roundcube:exp expression="!empty(cookie:folderviewsplitter) ? cookie:folderviewsplitter+5 : 305" />px; } -</style> -</head> -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> -<roundcube:include file="/includes/settingstabs.html" /> - -<div id="mainscreen"> - -<div id="folder-manager"> -<div id="folderlist-title" class="boxtitle"> - <roundcube:label name="folders" /> - <a href="#folders" class="iconbutton search" title="<roundcube:label name='findfolders' />" tabindex="0"><roundcube:label name='findfolders' /></a> -</div> -<div class="listsearchbox"> - <roundcube:object name="folderfilter" id="folderlist-filter" /> - <div class="searchbox" role="search"> - <input type="text" name="q" id="foldersearch" placeholder="<roundcube:label name='findfolders' />" /> - <a class="iconbutton searchicon"></a> - <roundcube:button command="reset-foldersearch" type="link" id="folderlistsearch-reset" class="iconbutton reset" title="resetsearch" width="13" height="13" /> - </div> -</div> -<div id="folderlist-content" class="boxlistcontent"> - <roundcube:object name="foldersubscription" id="subscription-table" - summary="Folder subscription table" class="treelist folderlist" /> -</div> -<div id="folderlist-footer" class="boxfooter"> - <roundcube:button command="create-folder" type="link" title="createfolder" class="buttonPas addgroup" classAct="button addgroup" content=" " /> - <roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="button groupactions" onclick="rcmail_ui.show_popup('mailboxmenu');return false" content=" " /> - - <roundcube:if condition="env:quota" /> - <img id="quotaimg" src="/images/quota.png" alt="" width="102" height="16" /> - <div id="quota"> - <roundcube:object name="quotaDisplay" display="image" width="100" height="14" id="quotadisplay" /> - </div> - <roundcube:endif /> -</div> -</div> - -<script type="text/javascript"> - var folderviewsplit = new rcube_splitter({id:'folderviewsplitter', p1: 'folder-manager', p2: 'folder-box', orientation: 'v', relative: true, start: 300 }); - rcmail.add_onload('folderviewsplit.init()'); -</script> - -<div id="folder-box"> - <roundcube:object name="contentframe" id="folder-frame" width="100%" height="100%" frameborder="0" src="env:blankpage" /> -</div> - -</div> - -<div id="mailboxoptionsmenu" class="popupmenu"> - <ul> - <li><roundcube:button type="link" command="delete-folder" label="delete" classAct="active" /></li> - <li><roundcube:button type="link" command="purge" label="empty" classAct="active" /></li> - <roundcube:container name="mailboxoptions" id="mailboxoptionsmenu" /> - </ul> -</div> - -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/identities.html b/skins/classic/templates/identities.html deleted file mode 100644 index 3be95ad6f..000000000 --- a/skins/classic/templates/identities.html +++ /dev/null @@ -1,43 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -<script type="text/javascript" src="/splitter.js"></script> -<style type="text/css"> -#identities-list { width: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter-5 : 295" />px; } -#identity-box { left: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305" />px; } -</style> - -</head> -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> -<roundcube:include file="/includes/settingstabs.html" /> - -<div id="mainscreen"> - -<div id="identities-list"> -<div id="identity-title" class="boxtitle"><roundcube:label name="identities" /></div> -<div class="boxlistcontent"> -<roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" noheader="true" editIcon="" /> -</div> -<div class="boxfooter"> -<roundcube:button command="add" type="link" title="newidentity" class="buttonPas addgroup" classAct="button addgroup" content=" " condition="config:identities_level:0<2" /><roundcube:button command="delete" type="link" title="delete" class="buttonPas delgroup" classAct="button delgroup" content=" " condition="config:identities_level:0<2" /> -</div> -</div> - -<script type="text/javascript"> - var identviewsplit = new rcube_splitter({id:'identviewsplitter', p1: 'identities-list', p2: 'identity-box', orientation: 'v', relative: true, start: 300 }); - rcmail.add_onload('identviewsplit.init()'); -</script> - -<div id="identity-box"> - <roundcube:object name="contentframe" id="identity-frame" width="100%" height="100%" frameborder="0" src="env:blankpage" /> -</div> - -</div> - -</body> -</html> diff --git a/skins/classic/templates/identityedit.html b/skins/classic/templates/identityedit.html deleted file mode 100644 index 33a48e32d..000000000 --- a/skins/classic/templates/identityedit.html +++ /dev/null @@ -1,35 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -<script type="text/javascript" src="/splitter.js"></script> -<style type="text/css"> -#identities-list { width: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter-5 : 295" />px; } -#identity-details { left: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305" />px; } -</style> - -</head> -<body class="iframe"> - -<div id="identity-title" class="boxtitle"><roundcube:object name="steptitle" /></div> - -<div id="identity-details" class="boxcontent"> - <roundcube:object name="identityform" id="identity-form" size="40" textareacols="70" textarearows="6" /> - - <script type="text/javascript"> - rcube_init_tabs('identity-form'); - rcmail.addEventListener('identity-encryption-show', function() { - rcube_init_tabs('identity-form'); - }); - </script> - - <div id="formfooter"> - <div class="footerleft"> - <roundcube:button command="save" type="input" class="button mainaction" label="save" /> - </div> - </div> -</div> - -</body> -</html> diff --git a/skins/classic/templates/importcontacts.html b/skins/classic/templates/importcontacts.html deleted file mode 100644 index 0f215d4d3..000000000 --- a/skins/classic/templates/importcontacts.html +++ /dev/null @@ -1,13 +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> -<roundcube:include file="/includes/links.html" /> -</head> -<body class="iframe"> - -<div class="boxcontent"> -<roundcube:object name="importstep" /> -</div> - -</body> -</html> diff --git a/skins/classic/templates/login.html b/skins/classic/templates/login.html deleted file mode 100644 index cc9b3e085..000000000 --- a/skins/classic/templates/login.html +++ /dev/null @@ -1,51 +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> -<roundcube:include file="/includes/links.html" /> -</head> -<body> - -<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" style="margin:0 11px" /> - -<roundcube:object name="message" id="message" /> - -<div id="login-form"> -<div class="boxtitle"><roundcube:label name="welcome" /></div> -<div class="boxcontent"> - -<roundcube:form name="form" method="post"> -<roundcube:object name="loginform" form="form" submit=true /> -</form> - -</div> -</div> - -<noscript> - <p id="login-noscriptwarning"><roundcube:label name="noscriptwarning" /></p> -</noscript> - -<div id="login-bottomline"> - <roundcube:var name="config:product_name" condition="config:display_product_info > 0"> <roundcube:object name="version" condition="config:display_product_info == 2" /> - <roundcube:if condition="config:support_url" /> - ● <a href="<roundcube:var name='config:support_url' />" target="_blank" class="support-link"><roundcube:label name="support" /></a> - <roundcube:endif /> - <roundcube:container name="loginfooter" id="bottomline" /> -</div> - -<roundcube:object name="preloader" images=" - /images/icons/folders.png - /images/mail_footer.png - /images/taskicons.gif - /images/display/loading.gif - /images/pagenav.gif - /images/mail_toolbar.png - /images/searchfield.gif - /images/messageicons.png - /images/icons/reset.gif - /images/abook_toolbar.png - /images/icons/groupactions.png - /images/watermark.gif -" /> - -</body> -</html> diff --git a/skins/classic/templates/mail.html b/skins/classic/templates/mail.html deleted file mode 100644 index 666adf606..000000000 --- a/skins/classic/templates/mail.html +++ /dev/null @@ -1,212 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/splitter.js"></script> -<script type="text/javascript" src="/functions.js"></script> -<style type="text/css"> -<roundcube:if condition="env:layout == 'widescreen'" /> -#mailcontframe { width: <roundcube:exp expression="!empty(cookie:mailviewsplitter2) ? cookie:mailviewsplitter2-5 : 395" />px; } -#mailpreviewframe { left: <roundcube:exp expression="!empty(cookie:mailviewsplitter2) ? cookie:mailviewsplitter2+5 : 405" />px; display: block; } -<roundcube:elseif condition="env:layout != 'list'" /> -#mailcontframe { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-5 : 195" />px; } -#mailpreviewframe { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 205" />px; display: block; } -<roundcube:endif /> -#mailleftcontainer { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 160" />px; } -#mailrightcontainer { left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170" />px; } -</style> -</head> -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> - -<div id="mainscreen"> -<div id="mailleftcontainer"> -<div id="mailboxlist-container"> -<div id="mailboxlist-title" class="boxtitle"><roundcube:label name="mailboxlist" /></div> -<div id="mailboxlist-content" class="boxlistcontent"> - <roundcube:object name="mailboxlist" id="mailboxlist" class="treelist folderlist" folder_filter="mail" /> -</div> -<div id="mailboxlist-footer" class="boxfooter"> - <roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="button groupactions" onclick="rcmail_ui.show_popup('mailboxmenu');return false" content=" " /> - -<roundcube:if condition="env:quota" /> -<img id="quotaimg" src="/images/quota.png" alt="" width="102" height="16" /> -<div id="quota"> - <roundcube:object name="quotaDisplay" display="image" width="100" height="14" id="quotadisplay" /> -</div> -<roundcube:endif /> - -</div> -</div> -</div> - -<div id="mailrightcontainer" class="<roundcube:var name="env:layout" />"> -<div id="mailrightcontent"> -<div id="mailcontframe"> -<div id="messagelistheader" class="boxfooter"><roundcube:object name="listmenulink" optionsmenuIcon="true" /></div> -<div id="messagelistcontainer" class="boxlistcontent"> -<roundcube:object name="messages" - id="messagelist" - class="messagelist fixedheader" - cellspacing="0" - columns="" - summary="Message list" - optionsmenuIcon="true" /> -</div> -<div id="messagelistfooter" class="boxfooter"> - <div id="listcontrols" class="pagenav"> - <span><roundcube:label name="select" />: </span> - <roundcube:button command="select-all" type="link" title="all" class="buttonPas all" classAct="button all" classSel="button allsel" content=" " /> - <roundcube:button command="select-all" type="link" prop="page" title="currpage" class="buttonPas page" classAct="button page" classSel="button pagesel" content=" " /> - <roundcube:button command="select-all" type="link" prop="unread" title="unread" class="buttonPas unread" classAct="button unread" classSel="button unreadsel" content=" " /> - <roundcube:button command="select-all" type="link" prop="invert" title="invert" class="buttonPas invert" classAct="button invert" classSel="button invertsel" content=" " /> - <roundcube:button command="select-none" type="link" title="none" class="buttonPas none" classAct="button none" classSel="button nonesel" content=" " /> - <roundcube:container name="listcontrols" id="listcontrols" /> - <roundcube:if condition="env:threads" /> - <span style="margin-left: 12px"><roundcube:label name="threads" />: </span> - <roundcube:button command="expand-all" type="link" title="expand-all" class="buttonPas expand-all" classAct="button expand-all" classSel="button expand-allsel" content=" " /> - <roundcube:button command="expand-unread" type="link" title="expand-unread" class="buttonPas expand-unread" classAct="button expand-unread" classSel="button expand-unreadsel" content=" " /> - <roundcube:button command="collapse-all" type="link" title="collapse-all" class="buttonPas collapse-all" classAct="button collapse-all" classSel="button collapse-allsel" content=" " /> - <roundcube:endif /> - </div> - <div id="countcontrols" class="pagenav"> - <roundcube:object name="messageCountDisplay" /> - <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastpage" content=" " /> - <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextpage" content=" " /> - <input id="pagejumper" class="pagejumper" type="text" size="3" disabled="disabled" title="<roundcube:label name="currpage" />" /> - <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previouspage" content=" " /> - <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstpage" content=" " /> - </div> -</div> -</div> - -<div id="mailpreviewframe"> -<roundcube:object name="contentframe" id="messagecontframe" width="100%" height="100%" frameborder="0" src="env:blankpage" /> -</div> - -</div> -</div> -</div> - -<roundcube:include file="/includes/messagetoolbar.html" /> - -<div id="searchmenu" class="popupmenu"> - <ul class="toolbarmenu"> - <li><label><input type="checkbox" name="s_mods[]" value="subject" id="s_mod_subject" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="subject" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="from" id="s_mod_from" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="from" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="to" id="s_mod_to" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="to" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="cc" id="s_mod_cc" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="cc" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="bcc" id="s_mod_bcc" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="bcc" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="body" id="s_mod_body" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="body" /></span></label></li> - <li><label><input type="checkbox" name="s_mods[]" value="text" id="s_mod_text" onclick="rcmail_ui.set_searchmod(this)" /> <span><roundcube:label name="msgtext" /></span></label></li> - <li><label class="comment"><roundcube:label name="date" /></label></li> - <li><roundcube:object name="searchinterval" id="s_interval" onchange="rcmail.set_searchinterval($(this).val())" /></li> - <li><label class="comment"><roundcube:label name="searchscope" /></label></li> - <li><label><input type="radio" name="s_scope" value="base" id="s_scope_base" onclick="rcmail.set_searchscope(this.value)" /> <span><roundcube:label name="currentfolder" /></span></label></li> - <li><label><input type="radio" name="s_scope" value="sub" id="s_scope_sub" onclick="rcmail.set_searchscope(this.value)" /> <span><roundcube:label name="subfolders" /></span></label></li> - <li><label><input type="radio" name="s_scope" value="all" id="s_scope_all" onclick="rcmail.set_searchscope(this.value)" /> <span><roundcube:label name="allfolders" /></span></label></li> - </ul> -</div> - -<div id="quicksearchbar"> -<div id="searchfilter"> - <label for="rcmlistfilter"><roundcube:label name="filter" /></label>: - <roundcube:object name="searchfilter" class="searchfilter" /> -</div> -<roundcube:button name="searchmenulink" id="searchmenulink" image="/images/icons/glass_roll.png" onclick="rcmail_ui.show_popup('searchmenu');return false" title="searchmod" width="16" height="16" /> -<roundcube:object name="searchform" id="quicksearchbox" /> -<roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" width="13" height="13" /> -</div> - -<div id="dragmenu" class="popupmenu"> - <ul> - <li><roundcube:button command="move" onclick="return rcmail.drag_menu_action('move')" label="move" classAct="active" /></li> - <li><roundcube:button command="copy" onclick="return rcmail.drag_menu_action('copy')" label="copy" classAct="active" /></li> - </ul> -</div> - -<div id="mailboxoptionsmenu" class="popupmenu"> - <ul> - <li><roundcube:button command="expunge" type="link" label="compact" classAct="active" /></li> - <li><roundcube:button command="purge" type="link" label="empty" classAct="active" /></li> - <li><roundcube:button command="mark-all-read" type="link" label="markallread" classAct="active" /></li> - <li class="separator_below"><roundcube:button command="import-messages" name="messageimport" type="link" classAct="active" label="importmessages" id="uploadformlink" onclick="if(rcmail.command_enabled('import-messages'))rcmail_ui.show_popup('uploadform', true); return false" /></li> - <li><roundcube:button command="folders" task="settings" type="link" label="managefolders" classAct="active" /></li> - <roundcube:container name="mailboxoptions" id="mailboxoptionsmenu" /> - </ul> -</div> - -<div id="listmenu" style="display: none"> -<roundcube:if condition="!in_array('layout', (array)config:dont_override)" /> -<fieldset id="listoptions-layout" class="floating"><legend><roundcube:label name="layout" /></legend> - <ul class="toolbarmenu"> - <li><label><input type="radio" name="layout" value="widescreen" /> <span><roundcube:label name="layoutwidescreen" /></span></label></li> - <li><label><input type="radio" name="layout" value="desktop" /> <span><roundcube:label name="layoutdesktop" /></span></label></li> - <li><label><input type="radio" name="layout" value="list" /> <span><roundcube:label name="layoutlist" /></span></label></li> - </ul> -</fieldset> -<roundcube:endif /> -<roundcube:if condition="env:threads" /> -<fieldset id="listoptions-view" class="thinbordered"><legend><roundcube:label name="listmode" /></legend> - <ul class="toolbarmenu"> - <li><label><input type="radio" name="view" value="list" id="view_default" /> <span><roundcube:label name="list" /></span></label></li> - <li><label><input type="radio" name="view" value="thread" id="view_thread" /> <span><roundcube:label name="threads" /></span></label></li> - </ul> -</fieldset> -<roundcube:endif /> -<roundcube:if condition="!in_array('list_cols', (array)config:dont_override)" /> -<fieldset id="listoptions-columns" class="thinbordered"><legend><roundcube:label name="listcolumns" /></legend> - <ul class="toolbarmenu"> - <li><label><input type="checkbox" name="list_col[]" value="threads" id="cols_threads" checked="checked" disabled="disabled" /> <span class="disabled"><roundcube:label name="threads" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="subject" id="cols_subject" checked="checked" disabled="disabled" /> <span class="disabled"><roundcube:label name="subject" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="fromto" id="cols_fromto" /> <span><roundcube:label name="fromto" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="from" id="cols_from" /> <span><roundcube:label name="from" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="to" id="cols_to" /> <span><roundcube:label name="to" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="replyto" id="cols_replyto" /> <span><roundcube:label name="replyto" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="cc" id="cols_cc" /> <span><roundcube:label name="cc" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="date" id="cols_date" /> <span><roundcube:label name="date" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="size" id="cols_size" /> <span><roundcube:label name="size" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="status" id="cols_status" /> <span><roundcube:label name="readstatus" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="attachment" id="cols_attachment" /> <span><roundcube:label name="attachment" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="flag" id="cols_flag" /> <span><roundcube:label name="flag" /></span></label></li> - <li><label><input type="checkbox" name="list_col[]" value="priority" id="cols_priority" /> <span><roundcube:label name="priority" /></span></label></li> - </ul> -</fieldset> -<roundcube:endif /> -<roundcube:if condition="!in_array('message_sort_col', (array)config:dont_override)" /> -<fieldset id="listoptions-sortcol" class="thinbordered"><legend><roundcube:label name="listsorting" /></legend> - <ul class="toolbarmenu"> - <li><label><input type="radio" name="sort_col" value="" id="sort_default" /> <span><roundcube:label name="nonesort" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="arrival" id="sort_arrival" /> <span><roundcube:label name="arrival" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="date" id="sort_date" /> <span><roundcube:label name="sentdate" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="subject" id="sort_subject" /> <span><roundcube:label name="subject" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="fromto" id="sort_fromto" /> <span><roundcube:label name="fromto" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="from" id="sort_from" /> <span><roundcube:label name="from" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="to" id="sort_to" /> <span><roundcube:label name="to" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="to" id="sort_replyto" /> <span><roundcube:label name="replyto" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="cc" id="sort_cc" /> <span><roundcube:label name="cc" /></span></label></li> - <li><label><input type="radio" name="sort_col" value="size" id="sort_size" /> <span><roundcube:label name="size" /></span></label></li> - </ul> -</fieldset> -<roundcube:endif /> -<roundcube:if condition="!in_array('message_sort_order', (array)config:dont_override)" /> -<fieldset id="listoptions-sortord" ><legend><roundcube:label name="listorder" /></legend> - <ul class="toolbarmenu"> - <li><label><input type="radio" name="sort_ord" value="ASC" id="sort_asc" /> <span><roundcube:label name="asc" /></span></label></li> - <li><label><input type="radio" name="sort_ord" value="DESC" id="sort_desc" /> <span><roundcube:label name="desc" /></span></label></li> - </ul> -</fieldset> -<roundcube:endif /> -<roundcube:container name="listoptions" id="listoptionsmenu" /> -</div> - -<roundcube:object name="messageimportform" id="upload-form" attachmentFieldSize="40" class="popupmenu" /> - -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/message.html b/skins/classic/templates/message.html deleted file mode 100644 index e34ec41e1..000000000 --- a/skins/classic/templates/message.html +++ /dev/null @@ -1,88 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/splitter.js"></script> -<script type="text/javascript" src="/functions.js"></script> -<style type="text/css"> -#mailboxlist-container { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 170" />px; } -#messageframe { left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 180" />px; } -</style> -</head> -<roundcube:if condition="env:extwin" /> -<body class="extwin"> -<roundcube:object name="message" id="message" /> -<roundcube:else /> -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> -<roundcube:endif /> - -<roundcube:include file="/includes/messagetoolbar.html" /> - -<div id="mainscreen"> -<roundcube:if condition="!env:extwin" /> -<div id="mailleftcontainer"> -<div id="mailboxlist-container"> -<div id="mailboxlist-title" class="boxtitle"><roundcube:label name="mailboxlist" /></div> -<div class="boxlistcontent"> - <roundcube:object name="mailboxlist" id="mailboxlist" class="treelist folderlist" folder_filter="mail" /> -</div> -<div class="boxfooter"></div> -</div> -</div> -<roundcube:else /> -<roundcube:object name="mailboxlist" folder_filter="mail" type="js" /> -<roundcube:endif /> - -<div id="messageframe"> -<div class="boxlistcontent" style="top:0; overflow-x:auto"> - <div id="messagelinks"> - <roundcube:if condition="env:optional_format=='text'" /> - <roundcube:button command="change-format" prop="text" image="/images/icons/text.png" width="15" height="15" title="changeformattext" id="changeformattext" /> - <roundcube:endif /> - <roundcube:if condition="env:optional_format=='html'" /> - <roundcube:button command="change-format" prop="html" image="/images/icons/html.png" width="15" height="15" title="changeformathtml" id="changeformathtml" /> - <roundcube:endif /> - </div> -<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" addicon="/images/icons/silhouette.png" summary="Message headers" /> -<roundcube:object name="messageFullHeaders" id="full-headers" /> -<roundcube:object name="messageAttachments" id="attachment-list" maxlength="50" /> -<roundcube:object name="messageObjects" id="message-objects" /> -<roundcube:object name="messageBody" id="messagebody" /> -</div> -<div class="boxfooter"> -<div id="countcontrols" class="pagenav"> - <roundcube:button command="lastmessage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastmessage" content=" " /> - <roundcube:button command="nextmessage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextmessage" content=" " /> - <roundcube:object name="messageCountDisplay" style="padding:0 .5em; float:right" /> - <roundcube:button command="previousmessage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previousmessage" content=" " /> - <roundcube:button command="firstmessage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstmessage" content=" " /> -</div> -</div> -</div> - -</div> - -<roundcube:if condition="!env:extwin" /> -<script type="text/javascript"> - var mailviewsplitv = new rcube_splitter({id:'mailviewsplitterv', p1: 'mailboxlist-container', p2: 'messageframe', orientation: 'v', relative: true, start: 165}); - rcmail.add_onload('mailviewsplitv.init()'); -</script> -<roundcube:endif /> - -<div id="attachmentmenu" class="popupmenu"> - <ul class="toolbarmenu"> - <li><roundcube:button command="open-attachment" id="attachmenuopen" type="link" label="open" class="openlink" classAct="openlink active" innerclass="openlink" /></li> - <li><roundcube:button command="download-attachment" id="attachmenudownload" type="link" label="download" class="downloadlink" classAct="downloadlink active" innerclass="downloadlink" /></li> - <roundcube:container name="attachmentmenu" id="attachmentmenu" /> - </ul> -</div> - -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/messageerror.html b/skins/classic/templates/messageerror.html deleted file mode 100644 index 200940e06..000000000 --- a/skins/classic/templates/messageerror.html +++ /dev/null @@ -1,68 +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> -<roundcube:include file="/includes/links.html" /> - -<roundcube:if condition="env:action!='show'" /> - -</head> -<body class="iframe" style="background-color:#F2F2F2;"> - -<div style="margin:20px auto; text-align:center"> -<img src="/images/watermark.gif" width="260" height="228" alt="" /> -</div> - -</body> - -<roundcube:else /> - -<script type="text/javascript" src="/splitter.js"></script> -<script type="text/javascript" src="/functions.js"></script> -<style type="text/css"> -#mailboxlist-container { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 170" />px; } -#messageframe { left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 180" />px; } -</style> -</head> - -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> - -<div id="messagetoolbar"> -<roundcube:button command="list" type="link" class="button back" classAct="button back" classSel="button backSel" title="backtolist" content=" " /> -<roundcube:button command="compose" type="link" class="button compose" classAct="button compose" classSel="button composeSel" title="writenewmessage" content=" " /> -</div> - -<div id="mainscreen"> -<div id="mailleftcontainer"> -<div id="mailboxlist-container"> -<div class="boxtitle"><roundcube:label name="mailboxlist" /></div> -<div class="boxlistcontent"> - <roundcube:object name="mailboxlist" id="mailboxlist" class="treelist" folder_filter="mail" /> -</div> -<div class="boxfooter"></div> -</div> -</div> - -<div id="messageframe" style="background-color:#F2F2F2;"> -<div style="margin:20px auto; text-align:center"> -<img src="/images/watermark.gif" width="260" height="228" alt="" /> -</div> -</div> - -</div> - -<script type="text/javascript"> - var mailviewsplitv = new rcube_splitter({id:'mailviewsplitterv', p1: 'mailboxlist-container', p2: 'messageframe', orientation: 'v', relative: true, start: 165}); - rcmail.add_onload('mailviewsplitv.init()'); -</script> - -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - -</body> -<roundcube:endif /> - -</html> diff --git a/skins/classic/templates/messagepart.html b/skins/classic/templates/messagepart.html deleted file mode 100644 index e866bb35a..000000000 --- a/skins/classic/templates/messagepart.html +++ /dev/null @@ -1,79 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/splitter.js"></script> -<script type="text/javascript" src="/functions.js"></script> -<style type="text/css"> -#messagepartheader { width: <roundcube:exp expression="!empty(cookie:mailpartsplitter) ? cookie:mailpartsplitter-5 : 170" />px; } -#messagepartcontainer { left: <roundcube:exp expression="!empty(cookie:mailpartsplitter) ? cookie:mailpartsplitter+5 : 180" />px; } -</style> -</head> -<body class="extwin"> -<roundcube:object name="message" id="message" /> - -<div id="messagetoolbar"> - <roundcube:button command="download" type="link" class="button download" classAct="button download" classSel="button downloadSel" title="download" content=" " /> - <roundcube:button command="print" type="link" class="button print" classAct="button print" classSel="button printSel" title="print" content=" " /> - <roundcube:container name="toolbar" id="messagetoolbar" /> - <roundcube:if condition="env:is_message" /> - <span class="toolbarseparator"> </span> - <roundcube:button command="reply" type="link" class="buttonPas reply" classAct="button reply" classSel="button replySel" title="replytomessage" content=" " /> - <span class="dropbutton"> - <roundcube:button command="reply-all" type="link" class="buttonPas replyAll" classAct="button replyAll" classSel="button replyAllSel" title="replytoallmessage" content=" " /> - <span id="replyallmenulink" onclick="rcmail_ui.show_popup('replyallmenu');return false"></span> - </span> - <span class="dropbutton"> - <roundcube:button command="forward" type="link" class="buttonPas forward" classAct="button forward" classSel="button forwardSel" title="forwardmessage" content=" " /> - <span id="forwardmenulink" onclick="rcmail_ui.show_popup('forwardmenu');return false"></span> - </span> - <roundcube:button name="messagemenulink" id="messagemenulink" type="link" class="button messagemenu" title="moreactions" onclick="rcmail_ui.show_popup('messagemenu');return false" content=" " /> - <roundcube:endif /> -</div> - -<div id="mainscreen"> - <div id="messagepartheader"> - <div class="boxtitle" /><roundcube:label name="properties" /></div> - <div class="boxlistcontent"> - <roundcube:object name="messagePartControls" class="records-table" cellspacing="0" /> - </div> - </div> - <div id="messagepartcontainer"> - <roundcube:object name="messagePartFrame" id="messagepartframe" width="100%" height="100%" /> - </div> -</div> - -<roundcube:if condition="env:is_message" /> -<div id="forwardmenu" class="popupmenu"> - <ul id="forwardmenumenu"> - <roundcube:button type="link-menuitem" command="forward-inline" label="forwardinline" prop="sub" classAct="forwardlink active" class="forwardlink" /> - <roundcube:button type="link-menuitem" command="forward-attachment" label="forwardattachment" prop="sub" classAct="forwardattachmentlink active" class="forwardattachmentlink" /> - <roundcube:container name="forwardmenu" id="forwardmenumenu" /> - </ul> -</div> - -<div id="replyallmenu" class="popupmenu"> - <ul id="replyallmenumenu"> - <roundcube:button type="link-menuitem" command="reply-all" label="replyall" prop="sub" classAct="replyalllink active" class="replyalllink" /> - <roundcube:button type="link-menuitem" command="reply-list" label="replylist" prop="sub" classAct="replylistlink active" class="replylistlink" /> - <roundcube:container name="replyallmenu" id="replyallmenumenu" /> - </ul> -</div> - -<div id="messagemenu" class="popupmenu"> - <ul class="toolbarmenu" id="messagemenumenu"> - <roundcube:button type="link-menuitem" class="editlink" command="edit" prop="new" label="editasnew" classAct="editlink active" /> - <roundcube:button type="link-menuitem" class="sourcelink" command="viewsource" label="viewsource" classAct="sourcelink active" /> - <roundcube:container name="messagemenu" id="messagemenumenu" /> - </ul> -</div> -<roundcube:endif /> - -<script type="text/javascript"> -var mailpartsplit = new rcube_splitter({id:'mailpartsplitter', p1: 'messagepartheader', p2: 'messagepartcontainer', orientation: 'v', relative: true, start: 165}); -rcmail.add_onload('mailpartsplit.init()'); -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/messagepreview.html b/skins/classic/templates/messagepreview.html deleted file mode 100644 index 26efd1e5a..000000000 --- a/skins/classic/templates/messagepreview.html +++ /dev/null @@ -1,43 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/splitter.js"></script> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body class="iframe"> - -<div class="messageheaderbox"> - <div id="messagelinks"> - <roundcube:if condition="env:optional_format=='text'" /> - <roundcube:button command="change-format" prop="text" image="/images/icons/text.png" width="15" height="15" title="changeformattext" id="changeformattext" /> - <roundcube:endif /> - <roundcube:if condition="env:optional_format=='html'" /> - <roundcube:button command="change-format" prop="html" image="/images/icons/html.png" width="15" height="15" title="changeformathtml" id="changeformathtml" /> - <roundcube:endif /> - <roundcube:if condition="!env:message_context"> - <roundcube:button command="extwin" image="/images/icons/extwin.png" width="15" height="15" title="openinextwin" id="openextwinlink" /> - <roundcube:endif /> - </div> -<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" addicon="/images/icons/silhouette.png" summary="Message headers" /> -<roundcube:object name="messageFullHeaders" id="full-headers" /> -<roundcube:object name="messageAttachments" id="attachment-list" maxlength="50" /> -</div> - -<roundcube:object name="messageObjects" id="message-objects" /> -<roundcube:object name="messageBody" id="messagebody" /> - -<div id="attachmentmenu" class="popupmenu"> - <ul class="toolbarmenu"> - <roundcube:button command="open-attachment" id="attachmenuopen" type="link-menuitem" label="open" class="openlink" classAct="openlink active" innerclass="openlink" /> - <roundcube:button command="download-attachment" id="attachmenudownload" type="link-menuitem" label="download" class="downloadlink" classAct="downloadlink active" innerclass="downloadlink" /> - <roundcube:container name="attachmentmenu" id="attachmentmenu" /> - </ul> -</div> - -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/messageprint.html b/skins/classic/templates/messageprint.html deleted file mode 100644 index 31acdde87..000000000 --- a/skins/classic/templates/messageprint.html +++ /dev/null @@ -1,19 +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> -<roundcube:object name="meta" /> -<roundcube:object name="links" /> -<link rel="stylesheet" type="text/css" href="/print.css" /> -</head> -<body> - -<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" logo-type="print" logo-match="all" /> - -<div id="printmessageframe"> -<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" max="10" /> -<roundcube:object name="messageAttachments" id="attachment-list" /> -<roundcube:object name="messageBody" id="messagebody" showImages="false" /> -</div> - -</body> -</html> diff --git a/skins/classic/templates/plugin.html b/skins/classic/templates/plugin.html deleted file mode 100644 index 64a90a227..000000000 --- a/skins/classic/templates/plugin.html +++ /dev/null @@ -1,26 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> -<roundcube:if condition="env:task == 'settings'" /> - <roundcube:include file="/includes/settingstabs.html" /> -<roundcube:endif /> - -<div id="mainscreen"> -<roundcube:object name="plugin.body" /> -</div> - -<roundcube:object name="plugin.footer" /> - -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - -</body> -</html> diff --git a/skins/classic/templates/responseedit.html b/skins/classic/templates/responseedit.html deleted file mode 100644 index 50f9da71c..000000000 --- a/skins/classic/templates/responseedit.html +++ /dev/null @@ -1,23 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> - -</head> -<body class="iframe"> - -<div id="prefs-title" class="boxtitle"><roundcube:object name="steptitle" /></div> - -<div id="response-details" class="boxcontent"> - <roundcube:object name="responseform" class="propform" size="60" textareacols="60" textarearows="18" /> - - <div id="formfooter"> - <div class="footerindent"> - <roundcube:button command="save" type="input" class="button mainaction" label="save" condition="!env:readonly" /> - </div> - </div> -</div> - -</body> -</html> diff --git a/skins/classic/templates/responses.html b/skins/classic/templates/responses.html deleted file mode 100644 index 5121f1902..000000000 --- a/skins/classic/templates/responses.html +++ /dev/null @@ -1,43 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -<script type="text/javascript" src="/splitter.js"></script> -<style type="text/css"> -#responses-list { width: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter-5 : 295" />px; } -#response-box { left: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305" />px; } -</style> - -</head> -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> -<roundcube:include file="/includes/settingstabs.html" /> - -<div id="mainscreen"> - -<div id="responses-list"> -<div id="response-title" class="boxtitle"><roundcube:label name="responses" /></div> -<div class="boxlistcontent"> -<roundcube:object name="responsesList" id="responses-table" class="records-table" cellspacing="0" summary="Responses list" noheader="true" editIcon="" /> -</div> -<div class="boxfooter"> -<roundcube:button command="add" type="link" title="addresponse" class="buttonPas addgroup" classAct="button addgroup" content=" " /><roundcube:button command="delete" type="link" title="delete" class="buttonPas delgroup" classAct="button delgroup" content=" " /> -</div> -</div> - -<script type="text/javascript"> - var identviewsplit = new rcube_splitter({id:'identviewsplitter', p1: 'responses-list', p2: 'response-box', orientation: 'v', relative: true, start: 300 }); - rcmail.add_onload('identviewsplit.init()'); -</script> - -<div id="response-box"> - <roundcube:object name="contentframe" id="response-frame" width="100%" height="100%" frameborder="0" src="env:blankpage" /> -</div> - -</div> - -</body> -</html> diff --git a/skins/classic/templates/settings.html b/skins/classic/templates/settings.html deleted file mode 100644 index b0d6eca92..000000000 --- a/skins/classic/templates/settings.html +++ /dev/null @@ -1,38 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -<script type="text/javascript" src="/splitter.js"></script> - -<style type="text/css"> -#sectionslist { width: <roundcube:exp expression="!empty(cookie:prefsviewsplitter) ? cookie:prefsviewsplitter-5 : 190" />px; } -#prefs-box { left: <roundcube:exp expression="!empty(cookie:prefsviewsplitter) ? cookie:prefsviewsplitter+5 : 200" />px; } -</style> - -</head> -<body> - -<roundcube:include file="/includes/taskbar.html" /> -<roundcube:include file="/includes/header.html" /> -<roundcube:include file="/includes/settingstabs.html" /> - -<div id="mainscreen"> - -<div id="sectionslist"> -<roundcube:object name="sectionslist" id="sections-table" class="records-table" cellspacing="0" /> -</div> - -<script type="text/javascript"> - var prefviewsplit = new rcube_splitter({id:'prefsviewsplitter', p1: 'sectionslist', p2: 'prefs-box', orientation: 'v', relative: true, start: 195}); - rcmail.add_onload('prefviewsplit.init()'); -</script> - -<div id="prefs-box"> -<roundcube:object name="contentframe" id="prefs-frame" width="100%" height="100%" frameborder="0" src="env:blankpage" /> -</div> - -</div> - -</body> -</html> diff --git a/skins/classic/templates/settingsedit.html b/skins/classic/templates/settingsedit.html deleted file mode 100644 index 491ba6f87..000000000 --- a/skins/classic/templates/settingsedit.html +++ /dev/null @@ -1,21 +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> -<roundcube:include file="/includes/links.html" /> -<script type="text/javascript" src="/functions.js"></script> -</head> -<body class="iframe"> - -<div id="prefs-title" class="boxtitle"><roundcube:object name="sectionname" /></div> - -<div id="prefs-details" class="boxcontent"> - <roundcube:object name="userprefs" form="form" /> - <div id="formfooter"> - <div class="footerleft"> - <roundcube:button command="save" type="input" class="button mainaction" label="save" /> - </div> - </div> -</div> - -</body> -</html> diff --git a/skins/classic/thumbnail.png b/skins/classic/thumbnail.png Binary files differdeleted file mode 100644 index bb9e16e50..000000000 --- a/skins/classic/thumbnail.png +++ /dev/null diff --git a/skins/classic/watermark.html b/skins/classic/watermark.html deleted file mode 100644 index c19e95634..000000000 --- a/skins/classic/watermark.html +++ /dev/null @@ -1,16 +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> - <meta http-equiv="content-type" content="text/html; charset=utf-8"> - <title></title> - <style type="text/css"> - html, body { height: 100%; background-color: #F2F2F2; margin: 0; } - div { height: 100%; display: flex; align-items: center; justify-content: center; } - </style> -</head> -<body> - <div> - <img src="images/watermark.gif" width="260" height="228" alt="" /> - </div> -</body> -</html>
\ No newline at end of file |