From 51a4119beacdb8356e1317121063dba34faffc41 Mon Sep 17 00:00:00 2001 From: Marvin Thomas Rabe Date: Wed, 22 Feb 2012 23:08:50 +0100 Subject: [PATCH] changed look of bookmarklet --- css/bookmarks.css | 2 +- templates/bookmarklet.php | 8 ++++---- templates/list.php | 8 +++----- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/css/bookmarks.css b/css/bookmarks.css index 7203078f..fedd2af7 100644 --- a/css/bookmarks.css +++ b/css/bookmarks.css @@ -1,6 +1,6 @@ #content { overflow: auto; height: 100%; } #firstrun { width: 80%; margin: 5em auto auto auto; text-align: center; font-weight:bold; font-size:1.5em; color:#777;} -#firstrun small { display: block; font-weight: normal; font-size: 0.5em; } +#firstrun small { display: block; font-weight: normal; font-size: 0.5em; margin-bottom: 1.5em; } #firstrun #selections { font-size:0.8em; font-weight: normal; width: 100%; margin: 2em auto auto auto; clear: both; } .bookmarks_headline { diff --git a/templates/bookmarklet.php b/templates/bookmarklet.php index eaae21d1..5719603d 100644 --- a/templates/bookmarklet.php +++ b/templates/bookmarklet.php @@ -1,8 +1,8 @@ " .$l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage:') . " "; - echo ""; - echo $l->t('Add page to ownCloud') . ""; + $l = new OC_L10N('bookmarks'); + echo '' . $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage:') . '' + . '' + . $l->t('Add page to ownCloud') . ''; } diff --git a/templates/list.php b/templates/list.php index ae63d4dc..46577d16 100644 --- a/templates/list.php +++ b/templates/list.php @@ -23,11 +23,9 @@
- t('You have no bookmarks'); ?> -
t('You have no bookmarks'); + require_once('bookmarklet.php'); + createBookmarklet(); ?> -