X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FRouter.php;h=c9a519120eecf3274c1b66a7df5f4e2deacbec95;hb=f4ebd5fed20b29c4fb580983b4be7bd0a52151b9;hp=caed4a281619f56aefd0482575dd2427510208de;hpb=e3ffc8fdee30be41046b985fe6e7034fb580b0c8;p=github%2Fshaarli%2FShaarli.git diff --git a/application/Router.php b/application/Router.php index caed4a28..c9a51912 100644 --- a/application/Router.php +++ b/application/Router.php @@ -31,6 +31,8 @@ class Router public static $PAGE_EDITLINK = 'edit_link'; + public static $PAGE_DELETELINK = 'delete_link'; + public static $PAGE_EXPORT = 'export'; public static $PAGE_IMPORT = 'import'; @@ -120,6 +122,10 @@ class Router return self::$PAGE_EDITLINK; } + if (isset($get['delete_link'])) { + return self::$PAGE_DELETELINK; + } + if (startsWith($query, 'do='. self::$PAGE_EXPORT)) { return self::$PAGE_EXPORT; }