equal
deleted
inserted
replaced
282 $p = RenderMan::getPage('Announce', 'NewsBoy'); |
282 $p = RenderMan::getPage('Announce', 'NewsBoy'); |
283 echo $p; |
283 echo $p; |
284 } |
284 } |
285 /* } */ |
285 /* } */ |
286 |
286 |
287 $s = $paths->nslist['NewsBoy'] . 'Announce'; |
287 $announce_page_default = $paths->nslist['NewsBoy'] . 'Announce'; |
|
288 $s = $announce_page_default; |
288 $announce_page = getConfig('nb_announce_page'); |
289 $announce_page = getConfig('nb_announce_page'); |
289 if ( !empty($announce_page) && isPage($announce_page) ) |
290 if ( !empty($announce_page) && isPage($announce_page) ) |
290 { |
291 { |
291 $s = $announce_page; |
292 $s = $announce_page; |
292 } |
293 } |
301 $paths->pages[$s]['special'] = 1; |
302 $paths->pages[$s]['special'] = 1; |
302 $page = new PageProcessor($stuff[0], $stuff[1]); |
303 $page = new PageProcessor($stuff[0], $stuff[1]); |
303 $content = $page->fetch_text(); |
304 $content = $page->fetch_text(); |
304 $content = '?>' . RenderMan::render($content); |
305 $content = '?>' . RenderMan::render($content); |
305 eval($content); |
306 eval($content); |
|
307 } |
|
308 else |
|
309 { |
|
310 $stuff = RenderMan::strToPageID($announce_page_default); |
306 } |
311 } |
307 |
312 |
308 if ( file_exists( ENANO_ROOT . "/themes/{$template->theme}/newsboy-portal-pre.tpl" ) ) |
313 if ( file_exists( ENANO_ROOT . "/themes/{$template->theme}/newsboy-portal-pre.tpl" ) ) |
309 { |
314 { |
310 $parser_pre = $template->makeParser("newsboy-portal-pre.tpl"); |
315 $parser_pre = $template->makeParser("newsboy-portal-pre.tpl"); |
410 <td class="row3" style="text-align: center;"><a style="color: inherit;" href="' . makeUrlNS('Special', 'Administration', 'module='.$paths->nslist['Admin'].'NewsboyItemManager', true) . '" onclick="newsboy_open_admin(); return false;">Portal Administration</a></td> |
415 <td class="row3" style="text-align: center;"><a style="color: inherit;" href="' . makeUrlNS('Special', 'Administration', 'module='.$paths->nslist['Admin'].'NewsboyItemManager', true) . '" onclick="newsboy_open_admin(); return false;">Portal Administration</a></td> |
411 </tr> |
416 </tr> |
412 </table> |
417 </table> |
413 </div><br />'; |
418 </div><br />'; |
414 } |
419 } |
415 show_category_info(); |
|
416 } |
420 } |
417 |
421 |
418 /** |
422 /** |
419 * Formats row data in the archive. |
423 * Formats row data in the archive. |
420 * @package Enano |
424 * @package Enano |