mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Update to 5.x-1.x-dev_20070217.
PR: 110866 Submitted by: Nick Hilliard <nick@foobar.org>
This commit is contained in:
parent
56f02eb04e
commit
841c81d81a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189364
@ -1,22 +1,23 @@
|
||||
# New ports collection makefile for: drupal-taxonomy_access
|
||||
# Date created: 26 Jan 2007
|
||||
# New ports collection makefile for: drupal5-taxonomy_access
|
||||
# Date created: 26 Mar 2007
|
||||
# Whom: Nick Hilliard <nick@foobar.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= taxonomy_access
|
||||
DISTVERSION= 4.7.x-1.x-dev
|
||||
PORTREVISION= 20070205
|
||||
PORTEPOCH= 2
|
||||
DISTVERSION= 5.x-1.x-dev
|
||||
PORTREVISION= 20070217
|
||||
CATEGORIES= www security
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= pav/drupal
|
||||
|
||||
MAINTAINER= nick@foobar.org
|
||||
COMMENT= Access control system for the Drupal based on Taxonomy classification
|
||||
|
||||
DRUPAL_MODULE= yes
|
||||
MODULE_FILES= taxonomy_access.install taxonomy_access.module taxonomy_access_admin.inc
|
||||
DRUPAL5_MODULE= yes
|
||||
MODULE_FILES= admin.css taxonomy_access.info taxonomy_access.install \
|
||||
taxonomy_access.module taxonomy_access_admin.inc
|
||||
DOC_FILES= INSTALL.txt LICENSE.txt README.txt UPDATE.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = c52607b2ddf7562c1bd1eadc51099317
|
||||
SHA256 (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = 0ad2ffb09bc838c330b3fd28d571196916d38f4e055c0ceaaedac3366dc119c9
|
||||
SIZE (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = 32330
|
||||
MD5 (drupal/taxonomy_access-5.x-1.x-dev.tar.gz) = 65c010a69664dfdcaa4debce45da293f
|
||||
SHA256 (drupal/taxonomy_access-5.x-1.x-dev.tar.gz) = e096e6a5eabd9de1b6fa36e8ec53869f2942dd50b55b55fd9fd0f1e61243db55
|
||||
SIZE (drupal/taxonomy_access-5.x-1.x-dev.tar.gz) = 31484
|
||||
|
@ -1,36 +0,0 @@
|
||||
--- taxonomy_access_admin.inc.orig Sat Nov 4 22:50:38 2006
|
||||
+++ taxonomy_access_admin.inc Fri Feb 23 10:57:47 2007
|
||||
@@ -127,7 +127,7 @@
|
||||
$form['taxonomy_access'][$vocab->vid]['default'][$grant] = array(
|
||||
'#type' => 'radios',
|
||||
'#options' => $radios,
|
||||
- '#default_value' => $default[$vocab->vid][$grant],
|
||||
+ '#default_value' => isset($default[$vocab->vid][$grant]) ? $default[$vocab->vid][$grant] : 0,
|
||||
);
|
||||
}
|
||||
foreach (array('create', 'list') as $grant) {
|
||||
@@ -137,7 +137,7 @@
|
||||
);
|
||||
$form['taxonomy_access'][$vocab->vid]['default'][$grant] = array(
|
||||
'#type' => 'checkbox',
|
||||
- '#default_value' => $default[$vocab->vid][$grant],
|
||||
+ '#default_value' => isset($default[$vocab->vid][$grant]) ? $default[$vocab->vid][$grant] : 0,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -150,13 +150,13 @@
|
||||
$form['taxonomy_access'][$vocab->vid]['term'][$term->tid][$grant] = array(
|
||||
'#type' => 'radios',
|
||||
'#options' => $radios,
|
||||
- '#default_value' => $perm[$term->tid][$grant],
|
||||
+ '#default_value' => isset($perm[$term->tid][$grant]) ? $perm[$term->tid][$grant] : 0,
|
||||
);
|
||||
}
|
||||
foreach (array('create', 'list') as $grant) {
|
||||
$form['taxonomy_access'][$vocab->vid]['term'][$term->tid][$grant] = array (
|
||||
'#type' => 'checkbox',
|
||||
- '#default_value' => $perm[$term->tid][$grant],
|
||||
+ '#default_value' => isset($perm[$term->tid][$grant]) ? $perm[$term->tid][$grant] : 0,
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user