htdocs/modules/publisher/admin/pagewrap.php 1 location
|
@@ 50-54 (lines=5) @@
|
47 |
|
|
48 |
|
$pWrap_select = new Xoops\Form\Select(PublisherUtils::getUploadDir(true, 'content'), "address"); |
49 |
|
$folder = dir($dir); |
50 |
|
while ($file = $folder->read()) { |
51 |
|
if ($file !== "." && $file !== "..") { |
52 |
|
$pWrap_select->addOption($file, $file); |
53 |
|
} |
54 |
|
} |
55 |
|
$folder->close(); |
56 |
|
$form->addElement($pWrap_select); |
57 |
|
|
htdocs/modules/publisher/admin/item.php 1 location
|
@@ 498-502 (lines=5) @@
|
495 |
|
$pWrap_select = new Xoops\Form\Select(PublisherUtils::getUploadDir(true, 'content'), "address"); |
496 |
|
$folder = dir($dir); |
497 |
|
if (is_object($folder)) { |
498 |
|
while ($file = $folder->read()) { |
499 |
|
if ($file !== "." && $file !== "..") { |
500 |
|
$pWrap_select->addOption($file, $file); |
501 |
|
} |
502 |
|
} |
503 |
|
$folder->close(); |
504 |
|
$form->addElement($pWrap_select); |
505 |
|
} |