Update nach langer Zeit
- description zu den seiten hinzugefügt - square7 etwas entfernt - update pandoc: version 2.13 benötigt
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
$basePath = "/users/cwsvjudo/www";
|
||||
|
||||
require_once($basePath."/ressourcen/phpLib/parsedown/Parsedown.php");
|
||||
require_once($basePath."/ressourcen/phpLib/parsedown-extra/ParsedownExtra.php");
|
||||
|
||||
$fileList = glob($basePath."/admin/mdDisplayer/*.md");
|
||||
rsort($fileList);
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<title>mdDisplayer</title>
|
||||
<meta name="description" content="mdDisplayer">
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
echo("<ul>");
|
||||
foreach($fileList as $file){
|
||||
echo("<li><a href=\"#".$file."\">".mb_convert_encoding( basename($file), "UTF-8", "ISO-8859-1" )."</a></li>");
|
||||
}
|
||||
echo("</ul>");
|
||||
|
||||
foreach($fileList as $file){
|
||||
echo("<hr /><a name=\"".$file."\"></a>");
|
||||
echo("<div class=\"infoZettel\">" . ParsedownExtra::instance()->text( file_get_contents($file) ) . "</div><hr />");
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user