public static $PAGE_TAGCLOUD = 'tagcloud';
+ public static $PAGE_DAILY = 'daily';
+
public static $PAGE_TOOLS = 'tools';
public static $PAGE_CHANGEPASSWORD = 'changepasswd';
public static $PAGE_IMPORT = 'import';
+ public static $PAGE_OPENSEARCH = 'opensearch';
+
public static $PAGE_LINKLIST = 'linklist';
+ public static $PAGE_PLUGINSADMIN = 'pluginadmin';
+
+ public static $PAGE_SAVE_PLUGINSADMIN = 'save_pluginadmin';
+
/**
* Reproducing renderPage() if hell, to avoid regression.
*
return self::$PAGE_TAGCLOUD;
}
+ if (startswith($query, 'do='. self::$PAGE_OPENSEARCH)) {
+ return self::$PAGE_OPENSEARCH;
+ }
+
+ if (startsWith($query, 'do='. self::$PAGE_DAILY)) {
+ return self::$PAGE_DAILY;
+ }
+
// At this point, only loggedin pages.
if (!$loggedIn) {
return self::$PAGE_LINKLIST;
return self::$PAGE_IMPORT;
}
+ if (startswith($query, 'do='. self::$PAGE_PLUGINSADMIN)) {
+ return self::$PAGE_PLUGINSADMIN;
+ }
+
+ if (startswith($query, 'do='. self::$PAGE_SAVE_PLUGINSADMIN)) {
+ return self::$PAGE_SAVE_PLUGINSADMIN;
+ }
+
return self::$PAGE_LINKLIST;
}
}
\ No newline at end of file