|
From: FlorinCB <ory...@us...> - 2010-01-06 20:27:24
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26117/pafiledb/includes Modified Files: functions.php functions_pafiledb.php pafiledb_constants.php Log Message: Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** functions.php 2 Dec 2009 06:30:54 -0000 1.56 --- functions.php 6 Jan 2010 20:27:15 -0000 1.57 *************** *** 443,447 **** } ! $handle = @opendir( ICONS_DIR ); while ( $icon = @readdir( $handle ) ) --- 443,447 ---- } ! $handle = @opendir( $module_root_path . ICONS_DIR ); while ( $icon = @readdir( $handle ) ) *************** *** 451,459 **** if ( $file_posticon == $icon ) { ! $posticons .= '<input type="radio" name="posticon" value="' . $icon . '" checked><img src="' . ICONS_DIR . $icon . '"> '; } else { ! $posticons .= '<input type="radio" name="posticon" value="' . $icon . '"><img src="' . ICONS_DIR . $icon . '"> '; } --- 451,459 ---- if ( $file_posticon == $icon ) { ! $posticons .= '<input type="radio" name="posticon" value="' . $icon . '" checked><img src="' . PORTAL_URL . $module_root_path . ICONS_DIR . $icon . '"> '; } else { ! $posticons .= '<input type="radio" name="posticon" value="' . $icon . '"><img src="' . PORTAL_URL . $module_root_path . ICONS_DIR . $icon . '"> '; } Index: pafiledb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/pafiledb_constants.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** pafiledb_constants.php 2 Dec 2009 03:49:00 -0000 1.28 --- pafiledb_constants.php 6 Jan 2010 20:27:15 -0000 1.29 *************** *** 33,37 **** define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! define( 'ICONS_DIR', PORTAL_URL . $module_root_path . 'pafiledb/images/icons/' ); // --- 33,37 ---- define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;) ! define( 'ICONS_DIR', 'pafiledb/images/icons/' ); // Index: functions_pafiledb.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_pafiledb.php,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** functions_pafiledb.php 2 Dec 2009 03:49:00 -0000 1.64 --- functions_pafiledb.php 6 Jan 2010 20:27:15 -0000 1.65 *************** *** 1056,1064 **** if ( $file_rowset[$i]['file_posticon'] == 'none' || $file_rowset[$i]['file_posticon'] == 'none.gif' ) { ! $posticon = $images['mx_spacer']; } else { ! $posticon = ICONS_DIR . $file_rowset[$i]['file_posticon']; } } --- 1056,1064 ---- if ( $file_rowset[$i]['file_posticon'] == 'none' || $file_rowset[$i]['file_posticon'] == 'none.gif' ) { ! $posticon = PORTAL_URL . $module_root_path . ICONS_DIR . 'none.gif'; } else { ! $posticon = PORTAL_URL . $module_root_path . ICONS_DIR . $file_rowset[$i]['file_posticon']; } } *************** *** 1068,1072 **** } ! $save_as_icon = ICONS_DIR . 'icon_download1.gif'; // --- 1068,1072 ---- } ! $save_as_icon = PORTAL_URL . $module_root_path . ICONS_DIR . 'icon_download1.gif'; // *************** *** 1382,1390 **** if ( $file_rowset[$i]['file_posticon'] == 'none' || $file_rowset[$i]['file_posticon'] == 'none.gif' ) { ! $posticon = $images['mx_spacer']; } else { ! $posticon = ICONS_DIR . $file_rowset[$i]['file_posticon']; } } --- 1382,1390 ---- if ( $file_rowset[$i]['file_posticon'] == 'none' || $file_rowset[$i]['file_posticon'] == 'none.gif' ) { ! $posticon = $images['pa_spacer']; } else { ! $posticon = PORTAL_URL . $module_root_path . ICONS_DIR . $file_rowset[$i]['file_posticon']; } } |