Re: XC Gallery 2.0.3 | Titre du sujet : Re: XC Gallery 2.0.3 par blet sur 05/01/2007 22:00:57
Sur le fichier theme.php il y a de la ligne 337 à 346 :
**/ function addScript( $src = '', $attributes = array(), $content = '' ) { global $xoops; if ( empty( $attributes ) ) $attributes = array(); if ( !empty( $src ) ) $attributes['src'] = $xoops->url( $this->resourcePath( $src ) ); if ( !empty( $content ) ) $attributes['_'] = $content; if ( !isset( $attributes['type'] ) ) $attributes['type'] = 'text/javascript'; $this->addMeta( 'script', $src, $attributes ); } /**
Sur le fichier comment.php il y a de la ligne 251 à 265 :
**/ function getCount($criteria = null) { $sql = 'SELECT COUNT(*) FROM '.$this->db->prefix('xoopscomments'); if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) { $sql .= ' '.$criteria->renderWhere(); } if (!$result =& $this->db->query($sql)) { return 0; } list($count) = $this->db->fetchRow($result); return $count; }
/**
Sur le fichier xoops_version.php il y a de la ligne 339 à 343 :
$member_handler = &xoops_gethandler('member'); $group_list = &$member_handler->getGroupList(); foreach ($group_list as $key=>$group) { $groups[$group] = $key; }
Voilà, il ne reste plus qu'à trouver l'erreur !!??? (help
|
|