diff --git a/web/html/index.php b/web/html/index.php index 7068d763..ec99bb72 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -68,8 +68,8 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { $_POST['do_UnNotify'] = __('UnNotify'); break; case "flag": - $_POST['do_Flag'] = __('Flag'); - break; + include('pkgflag.php'); + return; case "unflag": $_POST['do_UnFlag'] = __('UnFlag'); break; diff --git a/web/html/pkgflag.php b/web/html/pkgflag.php new file mode 100644 index 00000000..9d86909d --- /dev/null +++ b/web/html/pkgflag.php @@ -0,0 +1,44 @@ + +
+

+

+ ', htmlspecialchars($pkgbase_name), ''); ?> +

+ +

+ ', ''); ?> +

+
+
+ + + +

" />

+
+
+
+ +
  • -
  • +