summaryrefslogtreecommitdiff
path: root/skins/classic/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/classic/templates
parentae73c26f29aa230ba5ae3d86ef6d0c7886b7e657 (diff)
Add possibility to print contact information (of a single contact)
Diffstat (limited to 'skins/classic/templates')
-rw-r--r--skins/classic/templates/addressbook.html1
-rw-r--r--skins/classic/templates/contactprint.html20
2 files changed, 21 insertions, 0 deletions
diff --git a/skins/classic/templates/addressbook.html b/skins/classic/templates/addressbook.html
index 0af5e4317..6fb8bf599 100644
--- a/skins/classic/templates/addressbook.html
+++ b/skins/classic/templates/addressbook.html
@@ -21,6 +21,7 @@
<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="separator">&nbsp;</span>
<roundcube:button command="import" type="link" class="buttonPas import" classAct="button import" classSel="button importSel" title="importcontacts" content=" " />
diff --git a/skins/classic/templates/contactprint.html b/skins/classic/templates/contactprint.html
new file mode 100644
index 000000000..81794f5a1
--- /dev/null
+++ b/skins/classic/templates/contactprint.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><roundcube:object name="pagetitle" /></title>
+<link rel="shortcut icon" href="/images/favicon.ico"/>
+<link rel="stylesheet" type="text/css" href="/print.css" />
+</head>
+<body>
+
+<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" />
+
+<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>