|
|
@@ -649,6 +649,7 @@ class FilesInFolders { |
|
|
|
$target = array_shift($request); |
|
|
|
$class = array_shift($request); |
|
|
|
$folder = $this->folder.$target."/"; |
|
|
|
$anchor_name=array_pop(explode("/",$target)); |
|
|
|
$fff = new \Modules\FilesInFolders( |
|
|
|
$folder, |
|
|
|
array( |
|
|
@@ -660,8 +661,9 @@ class FilesInFolders { |
|
|
|
); |
|
|
|
$fff->prepare_files(); |
|
|
|
$fff->fill_content(); |
|
|
|
$new = sprintf("<div class=\"content_element_page %s\">\n%s\n</div>", |
|
|
|
$new = sprintf("<div class=\"content_element_page %s\"><a name=\"%s\"></a>\n%s\n</div>", |
|
|
|
$class, |
|
|
|
$anchor_name, |
|
|
|
implode("\n",$fff->content['default'])); |
|
|
|
|
|
|
|
break; |