Project

General

Profile

« Previous | Next » 

Revision 1291

Added by Dietmar almost 15 years ago

recoded function extract_permission in /framework/functions.php
change URL_HELP to http://www.websitebaker2.org/ in /framework/class.admin.php
recoded function preprocess in /framework/class.frontend.php
optimize function getVersion in /framework/addon.precheck.inc.php

View differences:

class.admin.php
134 134
													'TITLE_HELP' => $MENU['HELP'],
135 135
													'TITLE_LOGOUT' =>  $MENU['LOGOUT'],
136 136
													'URL_VIEW' => $view_url,
137
													'URL_HELP' => 'http://www.websitebaker.org/',
137
													'URL_HELP' => 'http://www.websitebaker2.org/',
138 138
													'BACKEND_MODULE_CSS' => $this->register_backend_modfiles('css'),	// adds backend.css
139 139
													'BACKEND_MODULE_JS'  => $this->register_backend_modfiles('js')		// adds backend.js
140 140
													)
......
406 406
		} elseif(isset($_GET['page_id']) or isset($_POST['page_id'])) {
407 407
			// check if displayed page in the backend contains a page module
408 408
			if (isset($_GET['page_id'])) {
409
				$page_id = (int) addslashes($_GET['page_id']);
409
				$page_id = (int)$_GET['page_id'];
410 410
			} else {
411
				$page_id = (int) addslashes($_POST['page_id']);
411
				$page_id = (int)$_POST['page_id'];
412 412
			}
413 413

  
414 414
    		// gather information for all models embedded on actual page

Also available in: Unified diff