diff --git a/addBm.php b/addBm.php index 62ad5821..f56022c4 100644 --- a/addBm.php +++ b/addBm.php @@ -40,6 +40,7 @@ $url = isset($_GET['url']) ? urldecode($_GET['url']) : ''; $metadata = getURLMetadata($url); $tmpl->assign('URL', htmlentities($metadata['url'],ENT_COMPAT,'utf-8')); -$tmpl->assign('TITLE', htmlentities($metadata['title'],ENT_COMPAT,'utf-8')); +$title = isset($metadata['title']) ? $metadata['title'] : (isset($_GET['title']) ? $_GET['title'] : ''); +$tmpl->assign('TITLE', htmlentities($title,ENT_COMPAT,'utf-8')); $tmpl->printPage(); diff --git a/css/bookmarks.css b/css/bookmarks.css index 48f0bede..8dfdc8a0 100644 --- a/css/bookmarks.css +++ b/css/bookmarks.css @@ -83,4 +83,17 @@ .loading_meta { display: none; margin-left: 5px; -} \ No newline at end of file +} + +#footer { + color: #999; + font-size: medium; + text-align: center; + position: absolute; + bottom: 10px; + left: 0px; + width: 100%; + height: 20px; + visibility: visible; + display: block +} diff --git a/templates/list.php b/templates/list.php index ccfe74f0..d44a0ecb 100644 --- a/templates/list.php +++ b/templates/list.php @@ -22,4 +22,8 @@