Login   Register  
PHP Classes
elePHPant
Icontem

File: moveBookmark.tpl.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of barry@nauta.be  >  Bookmarks  >  moveBookmark.tpl.php  >  Download  
File: moveBookmark.tpl.php
Role: Application script
Content type: text/plain
Description: Moving bookmarks
Class: Bookmarks
Manage lists of bookmark with Web interface
Author: By
Last change:
Date: 2004-04-27 12:30
Size: 1,162 bytes
 

Contents

Class file image Download
<?php
/**
 * The template file that draws the layout to add a bookmark.
 * 
 * @package be.nauta.booby.plugins.bookmarks.view
 * @author Barry Nauta
 * @copyright Barry Nauta
 * 
 * This file is part of the Booby project.
 * The booby project is located at the following location:
 * http://www.nauta.be/booby/
 *
 * Copyright (c) 2003 - 2004 Barry Nauta
 *
 * The Booby project is released under the General Public License
 * More detailes in the file 'gpl.html' or on the following
 * website: <code>http://www.gnu.org</code> and look for licenses
 *
 * Enjoy :-)
 */
    
include ('templates/'.$_SESSION['booby_template'].'/icons.inc');

    include_once 
"base/view/Tree.php";
    include_once 
"base/view/MoveItemExplorerTreeDelegate.php";

    
$configuration = array ();
    
$configuration['dictionary']=$dictionary;
    
$configuration['icons']=$icons;
    
$configuration['callback']='BookmarkController.php';
    
    
$delegate = new MoveItemExplorerTreeDelegate 
        
($configuration);
    
$tree = new Tree ($delegate$configuration);
    
// we would like to show all items
    
$tree -> setExpanded ('*');
    echo (
$tree -> toHtml ($item$renderObjects));
?>