| 1 |
<?php |
<?php |
| 2 |
// $Id: location.inc,v 1.1.2.5 2008/07/18 03:04:50 pyutaros Exp $ |
// $Id: location.inc,v 1.2.2.2 2008/10/18 02:28:04 pyutaros Exp $ |
| 3 |
/** |
/** |
| 4 |
* Implementation of hook_access(). |
* Implementation of hook_access(). |
| 5 |
*/ |
*/ |
| 71 |
); |
); |
| 72 |
$ancestorgroups=array(); |
$ancestorgroups=array(); |
| 73 |
$groups=db_query('SELECT nid, title_format FROM {family_group}'); |
$groups=db_query('SELECT nid, title_format FROM {family_group}'); |
| 74 |
while($data = mysql_fetch_array($groups)){ |
while($data = db_fetch_array($groups)){ |
| 75 |
$ancestorgroups[$data['nid']]=$data['title_format']; |
$ancestorgroups[$data['nid']]=$data['title_format']; |
| 76 |
} |
} |
| 77 |
$form['GRUP'] = array( |
$form['GRUP'] = array( |