]> git.donarmstrong.com Git - roundcube.git/blob - skins/default/templates/addressbook.html
Imported Upstream version 0.3
[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
8 <style type="text/css">
9 <roundcube:if condition="count(env:address_sources) &lt;= 1" />
10 #abookcountbar { left: 20px; }
11 #addressscreen { left: 20px; 
12 <roundcube:exp expression="browser:ie ? 'width:expression((parseInt(document.documentElement.clientWidth)-40)+\\'px\\');' : ''" />
13 }
14 #addresslist { width: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter-5 : 245" />px; }
15 #contacts-box { left: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />px;
16 <roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255).')+\\'px\\');') : ''" />
17 }
18 <roundcube:else />
19 #addresslist { width: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter-5 : 245" />px; }
20 #contacts-box { left: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />px;
21 <roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255).')+\\'px\\');') : ''" />
22 }
23 <roundcube:endif />
24 </style>
25
26 </head>
27 <body>
28
29 <roundcube:include file="/includes/taskbar.html" />
30 <roundcube:include file="/includes/header.html" />
31
32 <div id="abooktoolbar">
33 <roundcube:button command="add" type="link" class="button addcontact" classAct="button addcontact" classSel="button addcontactSel" title="newcontact" content=" " />
34 <roundcube:button command="compose" type="link" class="buttonPas compose" classAct="button compose" classSel="button composeSel" title="composeto" content=" " />
35 <roundcube:button command="delete" type="link" class="buttonPas delete" classAct="button delete" classSel="button deleteSel" title="deletecontact" content=" " />
36 <span class="separator">&nbsp;</span>
37 <roundcube:button command="import" type="link" class="buttonPas import" classAct="button import" classSel="button importSel" title="importcontacts" content=" " />
38 <roundcube:button command="export" type="link" class="buttonPas export" classAct="button export" classSel="button exportSel" title="exportvcards" content=" " />
39 <roundcube:container name="toolbar" id="abooktoolbar" />
40 </div>
41
42 <div id="quicksearchbar">
43 <roundcube:button name="searchmod" id="searchmod" image="/images/icons/glass.png" />
44 <roundcube:object name="searchform" id="quicksearchbox" />
45 <roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
46 </div>
47
48 <roundcube:if condition="count(env:address_sources) &gt; 1" />
49 <div id="directorylist">
50 <div id="groups-title"><roundcube:label name="groups" /></div>
51 <roundcube:object name="directorylist" id="directories-list" />
52 </div>
53 <roundcube:endif />
54
55 <div id="addressscreen">
56
57 <div id="addresslist">
58 <roundcube:object name="addresslist" id="contacts-table" class="records-table" cellspacing="0" summary="Contacts list" />
59 </div>
60
61 <script type="text/javascript">
62   var addrviewsplit = new rcube_splitter({id:'addressviewsplitter', p1: 'addresslist', p2: 'contacts-box', orientation: 'v', relative: true, start: 250});
63   rcmail.add_onload('addrviewsplit.init()');
64 </script>
65
66 <div id="contacts-box">
67 <roundcube:object name="addressframe" id="contact-frame" width="100%" height="100%" frameborder="0" src="/watermark.html" />
68 </div>
69
70 </div>
71
72 <div id="abookcountbar" class="pagenav">
73   <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstpage" content=" " />
74   <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previouspage" content=" " />
75   <roundcube:object name="recordsCountDisplay" style="padding:0 1em; float:left" />
76   <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextpage" content=" " />
77   <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastpage" content=" " />
78 </div>
79
80 </body>
81 </html>