Project

General

Profile

« Previous | Next » 

Revision 66

Added by stefan about 19 years ago

Changed column names in mod_news_posts from short,long to content_short, content_long.

View differences:

link.php
75 75
	global $template, $database;
76 76
	$get_pages = $database->query("SELECT page_id,menu_title,link,level FROM ".TABLE_PREFIX."pages WHERE parent = '$parent' AND visibility!='deleted' ORDER BY position ASC");
77 77
	while($page = $get_pages->fetchRow()) {
78
		$title = $admin->strip_slashes_dummy($page['menu_title']);
78
		$title = $page['menu_title'];
79 79
		// Add leading -'s so we can tell what level a page is at
80 80
		$leading_dashes = '';
81 81
		for($i = 0; $i < $page['level']; $i++) {
......
99 99
	$template->parse('page_list', 'page_list_block', true);
100 100
	// Loop through pages
101 101
	while($page = $get_pages->fetchRow()) {
102
		$title = $admin->strip_slashes_dummy($page['menu_title']);
102
		$title = $page['menu_title'];
103 103
		$template->set_var('TITLE', $title);
104 104
		$template->set_var('LINK', '[wblink'.$page['page_id'].']');
105 105
		$template->parse('page_list', 'page_list_block', true);

Also available in: Unified diff