]> git.donarmstrong.com Git - roundcube.git/blob - skins/default/templates/addressbook.html
a85c889c0cf3438cb61904ccf33e9cc60aeb976a
[roundcube.git] / skins / default / templates / addressbook.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title><roundcube:object name="pagetitle" /></title>
5 <roundcube:include file="/includes/links.html" />
6 <script type="text/javascript" src="/splitter.js"></script>
7 <script type="text/javascript" src="/functions.js"></script>
8 <style type="text/css">
9 #addresslist { width: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter-5 : 245" />px; }
10 #contacts-box { left: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />px;
11         <roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255).')+\\'px\\');') : ''" />
12 #directorylistbox { width: <roundcube:exp expression="!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd-5 : 195" />px; }
13 #addressscreen { left: <roundcube:exp expression="!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd+5 : 205" />px;
14         <roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd+5 : 205).')+\\'px\\');') : ''" />
15 }
16 </style>
17
18 </head>
19 <body onload="rcube_init_mail_ui()">
20
21 <roundcube:include file="/includes/taskbar.html" />
22 <roundcube:include file="/includes/header.html" />
23
24 <div id="abooktoolbar">
25 <roundcube:button command="add" type="link" class="buttonPas addcontact" classAct="button addcontact" classSel="button addcontactSel" title="newcontact" content=" " />
26 <roundcube:button command="compose" type="link" class="buttonPas compose" classAct="button compose" classSel="button composeSel" title="composeto" content=" " />
27 <roundcube:button command="delete" type="link" class="buttonPas delete" classAct="button delete" classSel="button deleteSel" title="deletecontact" content=" " />
28 <span class="separator">&nbsp;</span>
29 <roundcube:button command="import" type="link" class="buttonPas import" classAct="button import" classSel="button importSel" title="importcontacts" content=" " />
30 <roundcube:button command="export" type="link" class="buttonPas export" classAct="button export" classSel="button exportSel" title="exportvcards" content=" " />
31 <roundcube:button command="advanced-search" type="link" class="buttonPas search" classAct="button search" classSel="button searchSel" title="advsearch" content=" " />
32 <roundcube:container name="toolbar" id="abooktoolbar" />
33 </div>
34
35 <div id="quicksearchbar">
36 <roundcube:button name="searchmenulink" id="searchmenulink" image="/images/icons/glass_roll.png" onclick="rcmail_ui.show_popup('searchmenu');return false" title="searchmod" />
37 <roundcube:object name="searchform" id="quicksearchbox" />
38 <roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
39 </div>
40
41 <div id="searchmenu" class="popupmenu">
42   <ul class="toolbarmenu">
43     <li><input type="checkbox" name="s_mods[]" value="name" id="s_mod_name" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_name"><roundcube:label name="name" /></label></li>
44     <li><input type="checkbox" name="s_mods[]" value="firstname" id="s_mod_firstname" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_firstname"><roundcube:label name="firstname" /></label></li>
45     <li><input type="checkbox" name="s_mods[]" value="surname" id="s_mod_surname" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_surname"><roundcube:label name="surname" /></label></li>
46     <li><input type="checkbox" name="s_mods[]" value="email" id="s_mod_email" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_email"><roundcube:label name="email" /></label></li>
47     <li><input type="checkbox" name="s_mods[]" value="*" id="s_mod_all" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_all"><roundcube:label name="allfields" /></label></li>
48   </ul>
49 </div>
50
51 <div id="mainscreen">
52
53 <div id="directorylistbox">
54 <div id="directorylist-title" class="boxtitle"><roundcube:label name="groups" /></div>
55 <div class="boxlistcontent">
56   <roundcube:object name="directorylist" id="directorylist" />
57   <roundcube:object name="groupslist" id="contactgroupslist" />
58 </div>
59 <div class="boxfooter">
60   <roundcube:button command="group-create" type="link" title="newcontactgroup" class="buttonPas addgroup" classAct="button addgroup" content=" " />
61   <roundcube:button name="groupmenulink" id="groupmenulink" type="link" title="groupactions" class="button groupactions" onclick="rcmail_ui.show_popup('groupmenu');return false" content=" " />
62 </div>
63 </div>
64
65 <div id="addressscreen">
66
67 <div id="addresslist">
68 <div class="boxtitle"><roundcube:label name="contacts" /></div>
69 <div class="boxlistcontent">
70 <roundcube:object name="addresslist" id="contacts-table" class="records-table" cellspacing="0" summary="Contacts list" noheader="true" />
71 </div>
72 <div class="boxfooter">
73 <div id="abookcountbar" class="pagenav">
74   <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstpage" content=" " />
75   <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previouspage" content=" " />
76   <roundcube:object name="recordsCountDisplay" style="padding:0 .5em; float:left" />
77   <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextpage" content=" " />
78   <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastpage" content=" " />
79 </div>
80 </div>
81 </div>
82
83 <script type="text/javascript">
84   var addrviewsplit = new rcube_splitter({id:'addressviewsplitter', p1: 'addresslist', p2: 'contacts-box', orientation: 'v', relative: true, start: 250});
85   rcmail.add_onload('addrviewsplit.init()');
86
87   var addrviewsplitd = new rcube_splitter({id:'addressviewsplitterd', p1: 'directorylistbox', p2: 'addressscreen', orientation: 'v', relative: true, start: 200});
88   rcmail.add_onload('addrviewsplitd.init()');
89 </script>
90
91 <div id="contacts-box">
92 <roundcube:object name="addressframe" id="contact-frame" width="100%" height="100%" frameborder="0" src="/watermark.html" />
93 </div>
94
95 </div>
96 </div>
97
98 <div id="groupoptionsmenu" class="popupmenu">
99   <ul>
100     <li><roundcube:button command="group-rename" label="grouprename" classAct="active" /></li>
101     <li><roundcube:button command="group-delete" label="groupdelete" classAct="active" /></li>
102     <roundcube:container name="groupoptions" id="groupoptionsmenu" />
103   </ul>
104 </div>
105
106 </body>
107 </html>