|
From: FlorinCB <ory...@us...> - 2009-10-08 23:23:39
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5123/pafiledb/modules Modified Files: pa_search.php pa_toplist.php Log Message: fixed some modrewrite bugs Index: pa_toplist.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_toplist.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** pa_toplist.php 21 Sep 2008 14:25:38 -0000 1.27 --- pa_toplist.php 8 Oct 2009 23:23:26 -0000 1.28 *************** *** 282,285 **** --- 282,287 ---- // Get the post icon fot this file // =================================================== + $module_root_path = PORTAL_URL . $module_root_path; + //die("$module_root_path"); if ( $file_rowset[$i]['file_pin'] != FILE_PINNED ) { *************** *** 290,294 **** else { ! $posticon = '<img src="' . $module_root_path . ICONS_DIR . $file_rowset[$i]['file_posticon'] . '" border="0" />'; } } --- 292,296 ---- else { ! $posticon = '<img src="' . ICONS_DIR . $file_rowset[$i]['file_posticon'] . '" border="0" />'; } } *************** *** 488,492 **** else { ! $posticon = '<img src="' . $module_root_path . ICONS_DIR . $searchset[$i]['file_posticon'] . '" border="0" />'; } } --- 490,494 ---- else { ! $posticon = '<img src="' . ICONS_DIR . $searchset[$i]['file_posticon'] . '" border="0" />'; } } Index: pa_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_search.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** pa_search.php 21 Sep 2008 14:25:36 -0000 1.28 --- pa_search.php 8 Oct 2009 23:23:26 -0000 1.29 *************** *** 554,558 **** else { ! $posticon = '<img src="' . $module_root_path . ICONS_DIR . $searchset[$i]['file_posticon'] . '" border="0" />'; } } --- 554,558 ---- else { ! $posticon = '<img src="' . ICONS_DIR . $searchset[$i]['file_posticon'] . '" border="0" />'; } } |