1
0

blog-panel to index

This commit is contained in:
2018-01-26 21:12:04 +01:00
parent c3566d9338
commit 1c21bdd7cf
15 changed files with 139 additions and 8 deletions

View File

@@ -76,7 +76,7 @@ class ParsedownCustom extends ParsedownExtra
$PARAM_CODE_LEFT = trim($split[0]);
$PARAM_CODE_RIGHT = trim($split[1]);
return require (__DIR__ . '/../fragments/bfjoust_runner.php');
return require (__DIR__ . '/../fragments/widget_bfjoust.php');
}
protected function handleBef93(array $Element)
@@ -90,6 +90,6 @@ class ParsedownCustom extends ParsedownExtra
'speed' => $Element['b93_speed'],
'editable' => $Element['b93_editable'],
];
return require (__DIR__ . '/../fragments/befunge93_runner.php');
return require (__DIR__ . '/../fragments/widget_befunge93.php');
}
}

View File

@@ -21,7 +21,7 @@ class Blog
return $d;
}
public static function listAllOrderedDescending()
public static function listAllNewestFirst()
{
$data = self::listAll();
usort($data, function($a, $b) { return strcasecmp($b['date'], $a['date']); });