summaryrefslogtreecommitdiff
path: root/skins/larry/templates
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2015-02-17 11:54:04 +0100
committerAleksander Machniak <alec@alec.pl>2015-02-17 11:54:04 +0100
commitf7af22c7801afcc248b004c84d0f1fb45e1a1632 (patch)
tree54daab5a589f7f462aa82a608acd7b30a6178e85 /skins/larry/templates
parentae73c26f29aa230ba5ae3d86ef6d0c7886b7e657 (diff)
Add possibility to print contact information (of a single contact)
Diffstat (limited to 'skins/larry/templates')
-rw-r--r--skins/larry/templates/addressbook.html1
-rw-r--r--skins/larry/templates/contactprint.html20
2 files changed, 21 insertions, 0 deletions
diff --git a/skins/larry/templates/addressbook.html b/skins/larry/templates/addressbook.html
index 62bca3c84..7f358f51d 100644
--- a/skins/larry/templates/addressbook.html
+++ b/skins/larry/templates/addressbook.html
@@ -23,6 +23,7 @@
<span class="spacer"></span>
<roundcube:button command="compose" type="link" class="button compose disabled" classAct="button compose" classSel="button compose pressed" label="compose" title="writenewmessage" />
+ <roundcube:button command="print" type="link" class="button print disabled" classAct="button print" classSel="button print pressed" label="print" title="printcontact" />
<roundcube:button command="advanced-search" type="link" class="button search disabled" classAct="button search" classSel="button search pressed" label="advanced" title="advsearch" />
<roundcube:container name="toolbar" id="addressbooktoolbar" />
diff --git a/skins/larry/templates/contactprint.html b/skins/larry/templates/contactprint.html
new file mode 100644
index 000000000..f3f169ec2
--- /dev/null
+++ b/skins/larry/templates/contactprint.html
@@ -0,0 +1,20 @@
+<roundcube:object name="doctype" value="html5" />
+<html>
+<head>
+<title><roundcube:object name="pagetitle" /></title>
+<link rel="shortcut icon" href="/images/favicon.ico"/>
+<link rel="stylesheet" type="text/css" href="/print.css" />
+</head>
+<body>
+
+<div id="header"><roundcube:object name="logo" src="/images/roundcube_logo.png" id="toplogo" border="0" alt="Logo" /></div>
+
+<div id="contact-details" class="boxcontent">
+ <div id="contactphoto"><roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" placeholderGroup="/images/contactgroup.png" /></div>
+ <roundcube:object name="contacthead" id="contacthead" />
+ <br style="clear:both" />
+ <roundcube:object name="contactdetails" />
+</div>
+
+</body>
+</html>