From feba5bd6e08e0ccbaa1b0c1b73183aa049fa68a2 Mon Sep 17 00:00:00 2001 From: ozhozh Date: Fri, 25 Jun 2010 16:40:03 +0000 Subject: [PATCH] Sample toolbar plugin - draft git-svn-id: http://yourls.googlecode.com/svn/trunk@418 12232710-3e20-11de-b438-597f59cd7555 --- user/plugins/sample-toolbar/README.txt | 4 ++ user/plugins/sample-toolbar/plugin.php | 98 ++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 user/plugins/sample-toolbar/README.txt create mode 100644 user/plugins/sample-toolbar/plugin.php diff --git a/user/plugins/sample-toolbar/README.txt b/user/plugins/sample-toolbar/README.txt new file mode 100644 index 0000000..1504eb5 --- /dev/null +++ b/user/plugins/sample-toolbar/README.txt @@ -0,0 +1,4 @@ +This is a sample plugin, for illustration purpose. +Don't modify this plugin. Instead, copy its folder +and modify your own copy. This way, your code won't +be overwritten when you upgrade YOURLS. \ No newline at end of file diff --git a/user/plugins/sample-toolbar/plugin.php b/user/plugins/sample-toolbar/plugin.php new file mode 100644 index 0000000..9cee005 --- /dev/null +++ b/user/plugins/sample-toolbar/plugin.php @@ -0,0 +1,98 @@ + + + $pagetitle (YOURLS toolbar) + + + + +
+

+ Toolbar by YOURLS +

+ (close) +

+
+ + + +PAGE; + + die(); +} \ No newline at end of file -- 2.45.0