From 65b5a7c979fc28cf287b099f739651573deb1f42 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 27 Nov 2004 05:31:19 +0000 Subject: New port: devel/pear-HTML_TreeMenu Provides an API to create a HTML tree MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PHP Based API creates a tree structure using a couple of small PHP classes. This can then be converted to javascript using the printMenu() method. The tree is dynamic in IE 4 or higher, NN6/Mozilla and Opera 7, and maintains state (the collapsed/expanded status of the branches) by using cookies. Other browsers display the tree fully expanded. Each node can have an optional link and icon. New API in 1.1 with many changes (see CVS for changelog) and new features, of which most came from Chip Chapin (http://www.chipchapin.com). PR: ports/74376 Submitted by: Antônio Carlos Venâncio Júnior --- devel/pear-HTML_TreeMenu/Makefile | 40 ++++++++++++++++++++++++++++++++++++++ devel/pear-HTML_TreeMenu/distinfo | 2 ++ devel/pear-HTML_TreeMenu/pkg-descr | 11 +++++++++++ 3 files changed, 53 insertions(+) create mode 100644 devel/pear-HTML_TreeMenu/Makefile create mode 100644 devel/pear-HTML_TreeMenu/distinfo create mode 100644 devel/pear-HTML_TreeMenu/pkg-descr (limited to 'devel/pear-HTML_TreeMenu') diff --git a/devel/pear-HTML_TreeMenu/Makefile b/devel/pear-HTML_TreeMenu/Makefile new file mode 100644 index 000000000000..5f499477fc02 --- /dev/null +++ b/devel/pear-HTML_TreeMenu/Makefile @@ -0,0 +1,40 @@ +# Ports collection makefile for: pear-HTML_TreeMenu +# Date created: 25 September 2004 +# Whom: Antonio Carlos Venancio Junior () +# +# $FreeBSD$ +# + +PORTNAME= HTML_TreeMenu +PORTVERSION= 1.1.9 +CATEGORIES= devel www pear + +MAINTAINER= antonio@php.net +COMMENT= Provides an API to create a HTML tree + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +CATEGORY= HTML +FILES= TreeMenu.php +DATA= TreeMenu.js images/branch.gif images/branchbottom.gif \ + images/branchtop.gif images/folder.gif images/folder-expanded.gif \ + images/line.gif images/linebottom.gif images/minus.gif \ + images/minusbottom.gif images/minustop.gif images/plus.gif \ + images/plusbottom.gif images/plustop.gif imagesAlt/branch.gif \ + imagesAlt/branchbottom.gif imagesAlt/branchtop.gif imagesAlt/folder.gif \ + imagesAlt/folder-expanded.gif imagesAlt/line.gif \ + imagesAlt/linebottom.gif imagesAlt/minus.gif imagesAlt/minusbottom.gif \ + imagesAlt/minustop.gif imagesAlt/plus.gif imagesAlt/plusbottom.gif \ + imagesAlt/plustop.gif imagesAlt2/branch.gif imagesAlt2/branchbottom.gif \ + imagesAlt2/branchtop.gif imagesAlt2/folder.gif \ + imagesAlt2/folder-expanded.gif imagesAlt2/line.gif \ + imagesAlt2/linebottom.gif imagesAlt2/minus.gif \ + imagesAlt2/minusbottom.gif imagesAlt2/minustop.gif \ + imagesAlt2/plus.gif imagesAlt2/plusbottom.gif imagesAlt2/plustop.gif +DOCS= HTML_TreeMenu.doc HTML_TreeMenu.pdf example.php map_fs.php +_DATADIR= . + +.include +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" +.include diff --git a/devel/pear-HTML_TreeMenu/distinfo b/devel/pear-HTML_TreeMenu/distinfo new file mode 100644 index 000000000000..7e9f7c8da954 --- /dev/null +++ b/devel/pear-HTML_TreeMenu/distinfo @@ -0,0 +1,2 @@ +MD5 (PEAR/HTML_TreeMenu-1.1.9.tgz) = 88007ab29ac389ecc607c872de3ce684 +SIZE (PEAR/HTML_TreeMenu-1.1.9.tgz) = 49213 diff --git a/devel/pear-HTML_TreeMenu/pkg-descr b/devel/pear-HTML_TreeMenu/pkg-descr new file mode 100644 index 000000000000..20613c603708 --- /dev/null +++ b/devel/pear-HTML_TreeMenu/pkg-descr @@ -0,0 +1,11 @@ +PHP Based API creates a tree structure using a couple of +small PHP classes. This can then be converted to javascript +using the printMenu() method. The tree is dynamic in +IE 4 or higher, NN6/Mozilla and Opera 7, and maintains state +(the collapsed/expanded status of the branches) by using cookies. +Other browsers display the tree fully expanded. Each node can +have an optional link and icon. New API in 1.1 with many changes +(see CVS for changelog) and new features, of which most came +from Chip Chapin (http://www.chipchapin.com). + +WWW: http://pear.php.net/package/HTML_TreeMenu/ -- cgit v1.2.3