|
From: OryNider <ory...@us...> - 2008-01-15 11:02:27
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29026/album_mod Modified Files: album_integration.php Log Message: Index: album_integration.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_integration.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_integration.php 5 Jul 2007 06:00:22 -0000 1.3 --- album_integration.php 15 Jan 2008 11:02:17 -0000 1.4 *************** *** 100,111 **** return $mxurl; } ! function this_fap_toplisturl($args = '') { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled, $is_block; ! ! ! $mxurl = $mx_root_path . 'index.' . $phpEx . '?page=' . $album_index . ($args == '' ? '' : '&' . $args); ! return $mxurl; } --- 100,115 ---- return $mxurl; } ! function this_fap_toplisturl($args = '', $force_standalone_mode = false) { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled; + if( $force_standalone_mode ) + { + $mxurl = $mx_root_path . 'modules/mx_smartor/' . 'album.' . $phpEx . ($args == '' ? '' : '?' . $args); + } + else + { + $mxurl = $mx_root_path . 'index.' . $phpEx . '?page=' . $album_index . ($args == '' ? '' : '&' . $args); + } return $mxurl; } |