HINT ALL THE TYPES. SIMPLE ALL THE EXTENSIONS.

This commit is contained in:
Shish
2012-02-08 11:24:25 +00:00
parent 9707c1f7ce
commit 4697e21fcd
43 changed files with 492 additions and 535 deletions

View File

@@ -7,7 +7,7 @@
*/
class RSS_Comments extends SimpleExtension {
public function onPostListBuilding($event) {
public function onPostListBuilding(PostListBuildingEvent $event) {
global $config, $page;
$title = $config->get_string('title');
@@ -15,7 +15,7 @@ class RSS_Comments extends SimpleExtension {
"title=\"$title - Comments\" href=\"".make_link("rss/comments")."\" />");
}
public function onPageRequest($event) {
public function onPageRequest(PageRequestEvent $event) {
global $config, $database, $page;
if($event->page_matches("rss/comments")) {
$page->set_mode("data");