From 7c2a9310c4104f51fcf56379dcc3511fa5bfae2d Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 02 Jan 2012 09:44:28 -0500 Subject: [PATCH] Use iframes for identity management --- skins/larry/templates/identityedit.html | 36 ++++++------------------------------ 1 files changed, 6 insertions(+), 30 deletions(-) diff --git a/skins/larry/templates/identityedit.html b/skins/larry/templates/identityedit.html index d31c4a6..2657c2d 100644 --- a/skins/larry/templates/identityedit.html +++ b/skins/larry/templates/identityedit.html @@ -4,43 +4,19 @@ <title><roundcube:object name="pagetitle" /></title> <roundcube:include file="/includes/links.html" /> </head> -<body> +<body class="iframe"> -<roundcube:include file="/includes/header.html" /> - -<div id="mainscreen" class="offset"> - -<roundcube:include file="/includes/settingstabs.html" /> - -<div id="settings-right"> - -<div id="identitieslist" class="uibox listbox"> -<h2 class="boxtitle"><roundcube:label name="identities" /></h2> -<div class="scroller withfooter"> -<roundcube:object name="identitiesList" id="identities-table" class="listing" noheader="true" editIcon="" /> -</div> -<div class="boxfooter"> -<roundcube:button command="add" type="link" title="newidentity" class="listbutton add disabled" classAct="listbutton add" innerClass="inner" content="+" condition="config:identities_level:0<2" /> -</div> -</div> - -<div id="identity-details" class="uibox contentbox"> <h1 class="boxtitle"><roundcube:object name="steptitle" /></h1> -<div class="boxcontent scroller"> +<div id="preferences-details" class="boxcontent"> <roundcube:object name="identityform" class="propform" size="40" textareacols="40" textarearows="6" /> +</div> -<p class="formbuttons"> +<div id="formfooter"> +<div class="footerleft formbuttons"> <roundcube:button command="save" type="input" class="button mainaction" label="save" /> - <roundcube:button command="delete" type="input" class="button" label="delete" condition="env:action=='edit-identity'" /> -</p> + <roundcube:button command="delete" type="input" class="button" label="delete" condition="env:action=='edit-identity' && config:identities_level:0<2" /> </div> - -<roundcube:object name="message" id="message" class="statusbar" /> -</div> - -</div> - </div> <roundcube:include file="/includes/footer.html" /> -- Gitblit v1.9.1