1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Minor cleanup on cron and image seletion.

This commit is contained in:
CaMer0n
2011-05-07 07:16:45 +00:00
parent 8ef5c43753
commit e8fc5660d4
4 changed files with 28 additions and 52 deletions

View File

@@ -193,37 +193,6 @@ function PreImage_Select($formid='preimage_selector')
$text .= $med->imageSelect($bbcode_imagedir,$formid);
return $text;
/*
$fl = e107::getFile();
$imagelist = $fl->get_files($path,'','standard',2);
sort($imagelist);
$text .= "<table class='fborder' style='background-color: #fff'>
<tr><td class='forumheader3' style='white-space: nowrap'>";
if(!count($imagelist))
{
$text .= LANHELP_46."<b>".str_replace("../","",$path)."</b>";
}
else
{
$text .= "<select class='tbox' name='preimageselect' onchange=\"addtext(this.value, true); expandit('{$formid}')\">
<option value=''>".LANHELP_42."</option>";
foreach($imagelist as $image)
{
$e_path = $tp->createConstants($image['path'],1);
$showpath = str_replace($path,'',$image['path']);
$text .= "<option value=\"[img]".$e_path.$image['fname']."[/img]\">".$showpath.$image['fname']."</option>\n";
}
$text .="</select>";
}
$text .="</td></tr> \n </table></div>
</div>\n<!-- End of PreImage selector -->\n";
return $text;
*/
}