start directory view

This commit is contained in:
Mike Macgirvin 2010-07-09 00:05:21 -07:00
parent 62d6eb1918
commit 1eb68ca6f9
2 changed files with 4 additions and 2 deletions

View file

@ -8,10 +8,10 @@ function directory_content(&$a) {
$o .= replace_macros($tpl);
$r = q("SELECT * FORM `profile` WHERE `default` = 1 AND `publish` = 1");
$r = q("SELECT * FROM `profile` WHERE `default` = 1 AND `publish` = 1");
if(count($r)) {
$tpl = file_get_contents('view/directory_item);
$tpl = file_get_contents('view/directory_item');
foreach($r as $rr) {

View file

@ -15,6 +15,8 @@ publish to directory
directory page
anonymous nav links
groups
permissions