From: Marvin Thomas Rabe Date: Wed, 22 Feb 2012 22:08:50 +0000 (+0100) Subject: changed look of bookmarklet X-Git-Tag: v4.0.0beta~201^2~20^2~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5387820a3b81b35521063bb142dd1492a87ef470;p=nextcloud-server.git changed look of bookmarklet --- diff --git a/apps/bookmarks/css/bookmarks.css b/apps/bookmarks/css/bookmarks.css index 7203078ffda..fedd2af7c4c 100644 --- a/apps/bookmarks/css/bookmarks.css +++ b/apps/bookmarks/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/apps/bookmarks/templates/bookmarklet.php b/apps/bookmarks/templates/bookmarklet.php index eaae21d1ce4..5719603da5f 100644 --- a/apps/bookmarks/templates/bookmarklet.php +++ b/apps/bookmarks/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/apps/bookmarks/templates/list.php b/apps/bookmarks/templates/list.php index ae63d4dc6fd..46577d16832 100644 --- a/apps/bookmarks/templates/list.php +++ b/apps/bookmarks/templates/list.php @@ -23,11 +23,9 @@
- t('You have no bookmarks'); ?> -
t('You have no bookmarks'); + require_once('bookmarklet.php'); + createBookmarklet(); ?> -