diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php
index 631198dd5..9ebfb601a 100644
--- a/e107_handlers/e_parse_class.php
+++ b/e107_handlers/e_parse_class.php
@@ -9,9 +9,9 @@
* Text processing and parsing functions
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
-* $Revision: 1.86 $
-* $Date: 2009-11-19 13:46:24 $
-* $Author: e107coders $
+* $Revision: 1.87 $
+* $Date: 2009-12-07 20:48:04 $
+* $Author: e107steved $
*
*/
if (!defined('e107_INIT')) { exit(); }
@@ -1100,11 +1100,6 @@ class e_parse
switch ($matches[2])
{
case 'php' :
- if (DB_INF_SHOW)
- {
- echo "PHP decode: ".htmlentities($matches[4])."
";
- }
-
// Probably run the output through the normal processing functions - but put here so the PHP code can disable if desired
$proc_funcs = TRUE;
@@ -1119,10 +1114,6 @@ class e_parse
{
$bbcode = html_entity_decode($matches[4], ENT_QUOTES, 'UTF-8');
}
- if (DB_INF_SHOW)
- {
- echo "PHP after decode: ".htmlentities($bbcode)."
";
- }
break;
case 'html' :
diff --git a/e107_handlers/ren_help.php b/e107_handlers/ren_help.php
index bbf9053a6..0e4ff3a33 100644
--- a/e107_handlers/ren_help.php
+++ b/e107_handlers/ren_help.php
@@ -9,9 +9,9 @@
*
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/ren_help.php,v $
- * $Revision: 1.15 $
- * $Date: 2009-11-18 01:04:43 $
- * $Author: e107coders $
+ * $Revision: 1.16 $
+ * $Date: 2009-12-07 20:48:04 $
+ * $Author: e107steved $
*/
if (!defined('e107_INIT')) { exit; }
@@ -225,32 +225,37 @@ function PreImage_Select($formid) {
return $text;
}
-function PreFile_Select($formid='prefile_selector',$bbcode_filedir) {
+
+
+
+// Parameter '$bbcode_filedir' removed - not used in code.
+function PreFile_Select($formid='prefile_selector')
+{
require_once(e_HANDLER."userclass_class.php");
global $IMAGES_DIRECTORY, $fl, $sql;
-// $rejecthumb = array('$.','$..','/','CVS','thumbs.db','*._$', 'index', 'null*');
- $filelist = array();
- $downloadList = array();
+ $filelist = array();
+ $downloadList = array();
- $sql->db_Select("download", "*", "download_class != ".e_UC_NOBODY);
- while ($row = $sql->db_Fetch()) {
- extract($row);
- if($download_url)
- {
- $filelist[] = array("id" => $download_id, "name" => $download_name, "url" => $download_url, "class" => $download_class);
- $downloadList[] = $download_url;
- }
- }
-
- $tmp = $fl->get_files(e_FILE."downloads/");
- foreach($tmp as $value)
+ $sql->db_Select('download', '*', 'download_class != '.e_UC_NOBODY);
+ while ($row = $sql->db_Fetch()) {
+ extract($row);
+ if($download_url)
{
- if(!in_array($value['fname'], $downloadList))
- {
- $filelist[] = array("id" => 0, "name" => $value['fname'], "url" => $value['fname']);
- }
+ $filelist[] = array('id' => $download_id, 'name' => $download_name, 'url' => $download_url, 'class' => $download_class);
+ $downloadList[] = $download_url;
}
+ }
+
+ $tmp = $fl->get_files(e_FILE.'downloads/');
+ foreach($tmp as $value)
+ {
+ if(!in_array($value['fname'], $downloadList))
+ {
+ $filelist[] = array('id' => 0, 'name' => $value['fname'], 'url' => $value['fname']);
+ }
+ }
+
$text ="