From 29f7b272a54ccb268148c48c2eefb00748dc2512 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Thu, 14 Aug 2014 13:33:37 -0400 Subject: [PATCH] Add Zen mode to message compose body (#1489198) using the Idered/zen-form jQuery plugin --- skins/larry/templates/compose.html | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/skins/larry/templates/compose.html b/skins/larry/templates/compose.html index 04a987f..dfac0e4 100644 --- a/skins/larry/templates/compose.html +++ b/skins/larry/templates/compose.html @@ -3,6 +3,7 @@ <head> <title><roundcube:object name="pagetitle" /></title> <roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/zen-form.css" /> <roundcube:if condition="config:enable_spellcheck" /> <link rel="stylesheet" type="text/css" href="/googiespell.css" /> <roundcube:endif /> @@ -169,6 +170,7 @@ <div id="composebodycontainer"> <label for="composebody" class="voice"><roundcube:label name="arialabelmessagebody" /></label> <roundcube:object name="composeBody" id="composebody" form="form" cols="70" rows="20" tabindex="1" /> + <a href="#" class="go-zen" title="<roundcube:label name='editfullscreen' />"><span class="icon-go-zen"><roundcube:label name="editfullscreen" /></span></a> </div> <div id="compose-attachments" class="rightcol" role="region" aria-labelledby="aria-label-composeattachments"> <h2 id="aria-label-composeattachments" class="voice"><roundcube:label name="attachments" /></h2> @@ -217,6 +219,8 @@ </ul> </div> +<script type="text/javascript" src="/zen-form.js"></script> + <roundcube:include file="/includes/footer.html" /> </body> -- Gitblit v1.9.1