Code Search for Developers
 
 
  

sidebar.tpl.php from Brim at Krugle


Show sidebar.tpl.php syntax highlighted

<?php
/**
 * This file is part of the Brim project.
 * The brim-project is located at the following
 * location: {@link http://www.brim-project.org/ http://www.brim-project.org/}
 *
 * <pre> Enjoy :-) </pre>
 *
 * @author Barry Nauta
 * @package org.brim-project.plugins.bookmarks
 * @subpackage view
 *
 * @copyright [brim-project.org] - Copyright (c) 2003 - 2006 Barry Nauta
 *
 * @license http://opensource.org/licenses/gpl-license.php
 * The GNU Public License
 */

if (!isset ($installationPath) || trim ($installationPath) == '')
{
	die ('Installation path not set. Please contact your administrator and report the problem');
}
$lastChar = $installationPath{strlen($installationPath)-1};
if ($lastChar != '/')
{
	$installationPath .= '/';
}
?>
	<script type="text/javascript">
	<!--
        function addBookmarksNetscapePanel()
        {
                if ((typeof window.sidebar == "object") &&
                        (typeof window.sidebar.addPanel == "function"))
                {
                        window.sidebar.addPanel
                        ("Brim Bookmarks",
                        	"<?php echo ($installationPath); ?>BookmarkSidebarController.php", "");
                }
        }
	 // -->
	</script>
	<h1>Sidebars</h1>
	<table border="0" cellpadding="4" cellspacing="4">
	<tr>
		<td>
			<a
			href="javascript:addBookmarksNetscapePanel();"
			><img src="plugins/bookmarks/view/pics/addnetscapepanel.gif"
			border="0"></a>
		</td>
		<td>
			<h2>Netscape</h2>
		</td>
		<td>
			<a href="http://www.netscape.com/">http://www.netscape.com</a>
		</td>
	</tr>
	<tr>
		<td>
			<a
			href="javascript:addBookmarksNetscapePanel();"
			><img src="plugins/bookmarks/view/pics/addmozillapanel.gif"
			border="0"></a>
		</td>
		<td>
			<h2>Mozilla</h2>
		</td>
		<td>
			<a href="http://www.mozilla.org/">http://www.mozilla.org</a>
		</td>
	</tr>
	<tr>
		<td>
			<a href="<?php echo ($installationPath);
			?>BookmarkSidebarController.php"
			rel="sidebar" title="Brim Bookmarks"
			><img src="plugins/bookmarks/view/pics/opera.png"
			border="0"></a>
		</td>
		<td>
			<h2>Opera</h2>
		</td>
		<td>
			<a href="http://www.opera.com/">http://www.opera.com</a>
		</td>
	</tr>
	<tr>
		<td>
			<a
			href="javascript:addBookmarksNetscapePanel();"
			><img src="plugins/bookmarks/view/pics/firefox-icon.png"
			border="0"></a>
		</td>
		<td>
			<h2>Firefox</h2>
		</td>
		<td>
			<a href="http://www.mozilla.org/firefox">http://www.mozilla.org/firefox</a>
		</td>
	</tr>
	</table>



See more files for this project here

Brim

BRIM is a MVC framework, written in PHP and based on items with a hierarchical relationship. The list of plugins make BRIM a Information Manager with plugins like bookmarks, a calendar, contacts tasks, notes, RSS etc. The application is multilingual.

Project homepage: http://sourceforge.net/projects/brim
Programming language(s): JavaScript,PHP,SQL
License: other

  pics/
    addmozillapanel.gif
    addnetscapepanel.gif
    favicon.ico
    firefox-icon.png
    index.php
    item.gif
    item.png
    opera.png
  BookmarkExplorerTreeDelegate.php
  BookmarkYahooTreeDelegate.php
  DojoExplorerTreeDelegate.php
  JavascriptExplorerTreeDelegate.php
  bookmark.tpl.php
  exportBookmarks.tpl.php
  favicon.tpl.php
  help.tpl.php
  importBookmarks.tpl.php
  index.php
  modifyPreferences.tpl.php
  moveBookmark.tpl.php
  moveMultipleBookmark.tpl.php
  multipleSelectBookmark.tpl.php
  quickmark.tpl.php
  searchBookmarks.tpl.php
  showBookmarks.tpl.php
  sidebar.tpl.php