Added a link to use Online-Bookmarks as a real Firefox Sidebar.
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -14,3 +14,6 @@
|
|||||||
- Changed the "select folder" link to a button in bookmark_edit.php and bookmark_new.php.
|
- Changed the "select folder" link to a button in bookmark_edit.php and bookmark_new.php.
|
||||||
- Fixed HTML encoded strings when importing bookmarks in Netscape format.
|
- Fixed HTML encoded strings when importing bookmarks in Netscape format.
|
||||||
- Fixed some typos in index.php and added the "My Bookmarks" link in search mode.
|
- Fixed some typos in index.php and added the "My Bookmarks" link in search mode.
|
||||||
|
|
||||||
|
17.05.2008, Version 0.8.11_beta
|
||||||
|
- Added a link to use Online-Bookmarks as a real Firefox Sidebar. Many thanks to Adam Patterson.
|
||||||
|
|||||||
29
settings.php
29
settings.php
@@ -225,7 +225,7 @@ function check_date_format () {
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>Show the column with the change date: <?php echo date ("d.m.Y"); ?></td>
|
<td>Show the column with the change date: <?php echo date ($date_formats[$settings['date_format']]); ?></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="settings_show_column_date" <?php if ($settings['show_column_date'] == 1) {echo "checked";}?>></input>
|
<input type="checkbox" name="settings_show_column_date" <?php if ($settings['show_column_date'] == 1) {echo "checked";}?>></input>
|
||||||
</td>
|
</td>
|
||||||
@@ -355,6 +355,33 @@ function check_date_format () {
|
|||||||
Note that if your browser has a Popup Blocker enabled you might experience difficulties using
|
Note that if your browser has a Popup Blocker enabled you might experience difficulties using
|
||||||
the upper link.
|
the upper link.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<script type="text/javascript">
|
||||||
|
<!--
|
||||||
|
function addSidebar() {
|
||||||
|
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")){
|
||||||
|
var sidebarname=window.location.host;
|
||||||
|
if (!/bug/i.test(sidebarname))
|
||||||
|
sidebarname="Online Bookmarks "+sidebarname;
|
||||||
|
window.sidebar.addPanel (sidebarname, "<?php echo $js_url; ?>/sidebar.php", "");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
var rv = window.confirm ("Your browser does not support the sidebar extension. " + "Would you like to upgrade now?");
|
||||||
|
if (rv)
|
||||||
|
document.location.href = "http://www.mozilla.org/";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
If you are using <a href="http://www.mozilla.com/firefox/">Firefox</a> as a webbrowser, you can
|
||||||
|
use the link below to add a bookmark which opens Online-Bookmarks as a sidebar.<br>
|
||||||
|
<b><a href="javascript:addSidebar()">Add to Sidebar</a></b>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<hr>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user