Project

General

Profile

« Previous | Next » 

Revision 2039

Added by Dietmar almost 11 years ago

  1. droplets example iLoginBox add missing Page_ID

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
18 Dec-2013 Build 2039 Dietmar Woellbrink (Luisehahne)
15
# droplets example iLoginBox add missing Page_ID
14 16
16 Dec-2013 Build 2038 Manuela v.d.Decken(DarkViper)
15 17
# typofix in framework/initialize.php
16 18
16 Dec-2013 Build 2037 Manuela v.d.Decken(DarkViper)
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.4');
54
if(!defined('REVISION')) define('REVISION', '2038');
54
if(!defined('REVISION')) define('REVISION', '2039');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/modules/droplets/example/iLoginBox.php
6 6
	$mLang = Translate::getinstance();
7 7
	if( !(isset($wb) && is_object($wb)) ) { $wb = new frontend(); }
8 8
	if( !(isset($admin) && is_object($admin)) ) { $admin= new admin('##skip##'); }
9
	$page_id = PAGE_ID == 0 ? $wb->default_page_id : PAGE_ID;
9 10

  
10 11
	$return_value = '<div class="login-box">'."\n";
11 12
	$return_admin = ' ';
......
62 63
		//change ot the group that should get special links
63 64
		if( $admin->get_permission('pages_modify') && $admin->get_page_permission( PAGE_ID ) )
64 65
		{
65
			$return_value .= '<li class="modify"><a target="_blank" href="'.ADMIN_URL.'/pages/modify.php?page_id='.$wb->page_id.'" title="'.$mLang->HEADING_MODIFY_PAGE.'" class="blank_target">'.$mLang->HEADING_MODIFY_PAGE.'</a></li>'."\n";
66
			$return_value .= '<li class="modify"><a target="_blank" href="'.ADMIN_URL.'/pages/modify.php?page_id='.$page_id.'" title="'.$mLang->HEADING_MODIFY_PAGE.'" class="blank_target">'.$mLang->HEADING_MODIFY_PAGE.'</a></li>'."\n";
66 67
		}
67 68
		$return_value .= '<li>&nbsp;'.'</li>'."\n";
68 69
		$return_value .= '</ul>'."\n";

Also available in: Unified diff