Revision 1811
Added by Dietmar about 12 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
13 | 13 |
|
14 | 14 |
|
15 | 15 |
|
16 |
09 Nov-2012 Build 1811 Dietmar Woellbrink (Luisehahne) |
|
17 |
! forgot to upload class.wb.php |
|
16 | 18 |
09 Nov-2012 Build 1810 Dietmar Woellbrink (Luisehahne) |
17 | 19 |
! account signup check that display_name is unique in whole system |
18 | 20 |
(prevents from User-faking) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.3'); |
54 |
if(!defined('REVISION')) define('REVISION', '1810');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '1811');
|
|
55 | 55 |
if(!defined('SP')) define('SP', ''); |
branches/2.8.x/wb/framework/class.admin.php | ||
---|---|---|
513 | 513 |
$base_link = '<script src="'.WB_URL.'/modules/{MODULE_DIRECTORY}/backend_body.js" type="text/javascript"></script>'; |
514 | 514 |
$base_file = "backend_body.js"; |
515 | 515 |
} |
516 |
|
|
517 |
$sActionRequest = isset($_POST['tool']) ? $_POST['tool'] : null; |
|
518 |
$sActionRequest = isset($_GET['tool']) ? $_GET['tool'] : $sActionRequest; |
|
519 |
|
|
516 | 520 |
// check if backend_body.js files needs to be included to the <body></body> section of the backend |
517 |
if(isset($_GET['tool']))
|
|
521 |
if(isset($sActionRequest))
|
|
518 | 522 |
{ |
519 | 523 |
// check if displayed page contains a installed admin tool |
520 | 524 |
$sql = 'SELECT * FROM `'.TABLE_PREFIX.'addons` '; |
521 |
$sql .= 'WHERE `type`=\'module\' AND `function`=\'tool\' AND `directory`=\''.addslashes($_GET['tool']).'\'';
|
|
525 |
$sql .= 'WHERE `type`=\'module\' AND `function`=\'tool\' AND `directory`=\''.addslashes($sActionRequest).'\'';
|
|
522 | 526 |
$result = $database->query($sql); |
523 | 527 |
if($result->numRows()) |
524 | 528 |
{ |
... | ... | |
579 | 583 |
$base_file = "backend.js"; |
580 | 584 |
} |
581 | 585 |
|
586 |
$sActionRequest = isset($_POST['tool']) ? $_POST['tool'] : null; |
|
587 |
$sActionRequest = isset($_GET['tool']) ? $_GET['tool'] : $sActionRequest; |
|
588 |
|
|
582 | 589 |
// check if backend.js or backend.css files needs to be included to the <head></head> section of the backend |
583 |
if(isset($_GET['tool'])) {
|
|
590 |
if(isset($sActionRequest)) {
|
|
584 | 591 |
// check if displayed page contains a installed admin tool |
585 | 592 |
$sql = 'SELECT * FROM `'.TABLE_PREFIX.'addons` '; |
586 |
$sql .= 'WHERE `type`=\'module\' AND `function`=\'tool\' AND `directory`=\''.addslashes($_GET['tool']).'\'';
|
|
593 |
$sql .= 'WHERE `type`=\'module\' AND `function`=\'tool\' AND `directory`=\''.addslashes($sActionRequest).'\'';
|
|
587 | 594 |
$result = $database->query($sql); |
588 | 595 |
if($result->numRows()) { |
589 | 596 |
// check if admin tool directory contains a backend.js or backend.css file to include |
Also available in: Unified diff
! forgot to upload class.wb.php