From 29a32a3d9422416423f612acb90bceeac4b52608 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Fri, 30 Dec 2005 21:54:46 +0000 Subject: deletion: of unused code in picture.php merge -r993:994 from branches/branch-1_5 into trunk (bug 254 fixed). git-svn-id: http://piwigo.org/svn/trunk@995 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 6 ------ template/yoga/menubar.css | 20 ++++++++++++++++++-- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/picture.php b/picture.php index 81e781ff0..69c8e9b8e 100644 --- a/picture.php +++ b/picture.php @@ -544,12 +544,6 @@ if (!$picture['current']['is_picture']) 'download', array('U_DOWNLOAD' => $picture['current']['download'])); } -else -{ - $template->assign_block_vars( - 'ecard', - array('U_ECARD' => $picture['current']['url'])); -} // display a high quality link if present if (isset($picture['current']['high'])) { diff --git a/template/yoga/menubar.css b/template/yoga/menubar.css index e5baa9dc5..c89c6c304 100644 --- a/template/yoga/menubar.css +++ b/template/yoga/menubar.css @@ -63,19 +63,35 @@ /* quickconnect form */ FORM#quickconnect { margin: 0; + padding: 5px; } FORM#quickconnect FIELDSET { - margin: 5px; + margin: 0; + padding: 0 0 0.5em 0; + overflow: hidden; /* Correct float issue with Opera 7.5 */ + width: 100%; /* // */ } FORM#quickconnect P { float: left; +} + +FORM#quickconnect P INPUT { margin: 0; } FORM#quickconnect UL.actions { display: inline; - margin: 0,5em 0 0 0; float: right; + padding: 0; + text-align: right; /* Opera 7.5 */ + width: 40%; /* Opera 7.5 cannot find why width:auto fails :-( */ } + +FORM#quickconnect UL.actions, +FORM#quickconnect P, +FORM#quickconnect LABEL { + margin: 0 0.5em 0 0.5em; +} + -- cgit v1.2.3