X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FRouter.php;h=c9a519120eecf3274c1b66a7df5f4e2deacbec95;hb=fc11ab2f290a3712b766d78fdbcd354625a35d0a;hp=2c3934b0079d909af6522ad2b4464ea3a1dedad2;hpb=52ccf0d7ee25eb0b6fc405aafcf7211ef07307e1;p=github%2Fshaarli%2FShaarli.git diff --git a/application/Router.php b/application/Router.php index 2c3934b0..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; } @@ -138,4 +144,4 @@ class Router return self::$PAGE_LINKLIST; } -} \ No newline at end of file +}