Changeset 2674 for trunk/index.php
- Timestamp:
- 04/30/10 12:21:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r2656 r2674 66 66 if ( $app == 'home' && ! $api_requested ) 67 67 { 68 echo '<script>XLink( "' . $GLOBALS[ 'phpgw' ] -> link( '/home.php' ) . '", true );</script>'; 68 $target = 'home.php'; 69 if ( $GLOBALS['phpgw_info']['user']['preferences']['common']['default_app'] && $GLOBALS['phpgw_info']['user']['apps'][$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app']]) 70 $target = $GLOBALS['phpgw_info']['user']['preferences']['common']['default_app'] . '/index.php'; 71 72 echo '<script>XEvents.add( window, "onload", function( ) { var target = window.location.hash; target = ( ( target && target.length > 1 ) ? URL_SERVER + target.substr( 1 ) : "' 73 . $GLOBALS[ 'phpgw' ] -> link( $target ). '" );XLink( target ); } );</script>'; 74 69 75 exit; 70 76 }
Note: See TracChangeset
for help on using the changeset viewer.