page.module

- removed access checking for links.
3-00
Kjartan Mannes 2001-07-20 10:09:24 +00:00
parent fe8222e7e9
commit 908d399074
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ class Page {
}
function page_link($type) {
if ($type == "page" && user_access("access content")) {
if ($type == "page") {
$result = db_query("SELECT nid,link FROM page WHERE link != '' ORDER BY link");
while ($page = db_fetch_object($result)) {
$links[] = "<a href=\"node.php?id=$page->nid\">$page->link</a>";

View File

@ -11,7 +11,7 @@ class Page {
}
function page_link($type) {
if ($type == "page" && user_access("access content")) {
if ($type == "page") {
$result = db_query("SELECT nid,link FROM page WHERE link != '' ORDER BY link");
while ($page = db_fetch_object($result)) {
$links[] = "<a href=\"node.php?id=$page->nid\">$page->link</a>";