start directory view
This commit is contained in:
parent
62d6eb1918
commit
1eb68ca6f9
2 changed files with 4 additions and 2 deletions
|
@ -8,10 +8,10 @@ function directory_content(&$a) {
|
||||||
|
|
||||||
$o .= replace_macros($tpl);
|
$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)) {
|
if(count($r)) {
|
||||||
|
|
||||||
$tpl = file_get_contents('view/directory_item);
|
$tpl = file_get_contents('view/directory_item');
|
||||||
|
|
||||||
foreach($r as $rr) {
|
foreach($r as $rr) {
|
||||||
|
|
||||||
|
|
2
wip/todo
2
wip/todo
|
@ -15,6 +15,8 @@ publish to directory
|
||||||
|
|
||||||
directory page
|
directory page
|
||||||
|
|
||||||
|
anonymous nav links
|
||||||
|
|
||||||
groups
|
groups
|
||||||
|
|
||||||
permissions
|
permissions
|
||||||
|
|
Loading…
Reference in a new issue