From 391fac78a80c9317e764a13d742c88d8fe0866fc Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 12 Dec 2004 21:06:39 +0000 Subject: - in admin menu, status option for categories is not "permissions" but "private or public" choice = different language item - get_cat_display_name changed : use $conf['level_separator'] to unify presentation - default values for category properties commentable, uploadable, status and visible (set in include/config.inc.php) used for category creation (admin/update, admin/remote_site, admin/cat_list) - use mass_inserts in admin/update for inserting new categories - only one query for counting the number of sub categories in admin/cat_list git-svn-id: http://piwigo.org/svn/trunk@642 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_xml.inc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/functions_xml.inc.php') diff --git a/include/functions_xml.inc.php b/include/functions_xml.inc.php index ca2f1b7e1..903ec02fd 100644 --- a/include/functions_xml.inc.php +++ b/include/functions_xml.inc.php @@ -51,6 +51,7 @@ function getContent( $element ) // attribute $attribute for the tag $element. function getAttribute( $element, $attribute ) { +// echo htmlentities($element).'

'; $regex = '/^<\w+[^>]*'.$attribute.'\s*=\s*"('.VAL_REG.')"/i'; if ( preg_match( $regex, $element, $out ) ) return $out[1]; else return ''; -- cgit v1.2.3