Project

General

Profile

« Previous | Next » 

Revision 16

Added by stefan about 19 years ago

Reduced redundant initialization code, removed further 'CVS' occurrences. Made $admin accessible in page_content function.

View differences:

class.frontend.php
379 379

  
380 380
	function page_content($block = 1) {
381 381
		// Get outside objects
382
		global $database,$TEXT,$MENU,$HEADING,$MESSAGE;
382
		global $database,$admin,$TEXT,$MENU,$HEADING,$MESSAGE;
383 383
		global $globals;
384 384
		if ($this->page_access_denied==true) {
385 385
            echo $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'];

Also available in: Unified diff