Created
August 4, 2015 15:37
-
-
Save twodayslate/db5fa938023a7b9eae11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- by @bensge --> | |
<!DOCTYPE html> | |
<html lang="en" class="cydia depiction"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0"> | |
<link rel="stylesheet" href="//cdn.hbang.ws/css/ios7.css"> | |
</head> | |
<body> | |
<h2>Tweak_name</h2><ul><li><p>Package_description</p></li></ul> | |
<?php | |
$files = glob('/a/b/c/repofiles/changelog/*.txt'); | |
usort($files, function($a,$b){ return filemtime($a) < filemtime($b); }); | |
foreach($files as $file){ | |
echo "<h2>".str_replace(".txt", "", basename($file))." </h2> <ul><li> <p>" . file_get_contents($file) . "</p> </li></ul>"; | |
} | |
echo "</ul></body></html>"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment