Browse Source

add anchor links to every included textfile

master
Dom SP 3 years ago
parent
commit
774d912444
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/modules/filesinfolders.php

+ 2
- 1
app/modules/filesinfolders.php View File

$str = $md->text($str); $str = $md->text($str);
//$str = sprintf("%s", $str); //$str = sprintf("%s", $str);
$this->content[$domain][$key."30text"] = sprintf( $this->content[$domain][$key."30text"] = sprintf(
"<div class=\"item %s %s\">%s</div>",
"<div class=\"item %s %s\"><a name=\"%s\"></a>%s</div>",
$page, $page,
$key, $key,
$key,
$str $str
); );
} }

Loading…
Cancel
Save