From 96ae4646d0fb83dc37e24363e4e697b2dbdb2112 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Wed, 15 Apr 2020 22:27:19 +0200 Subject: Rename plugin --- COPYING | 2 +- README.md | 6 +++--- build.sh | 13 ++++++++++++- help.html | 4 ++-- plugin.php | 8 ++++---- 5 files changed, 22 insertions(+), 11 deletions(-) diff --git a/COPYING b/COPYING index 74bfdda..6687b2e 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -kch42_gravatar: Copyright (c) 2012 Laria Carolin Chabowski +gravatar: Copyright (c) 2012 - 2020 Laria Carolin Chabowski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/README.md b/README.md index a2ecd7f..dc277f8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -kch42_gravatar -============== +r7r-gravatar +============ -A Plugin for Ratatöskr that gives you [Gravatars](http://de.gravatar.com) for the comments. \ No newline at end of file +A Plugin for Ratatöskr that gives you [Gravatars](http://de.gravatar.com) for the comments. diff --git a/build.sh b/build.sh index 9388fa5..f5f2e7f 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,14 @@ #!/usr/bin/env bash -r7r-plugin-packer --output=kch42_gravatar.rpk --codefile=plugin.php --classname=kch42_gravatar --pluginname=kch42_gravatar --author='Laria Carolin Chabowski ' --versiontext="0.6" --versioncount=2 --api=5 --shortdesc="kch42_gravatar allows you to display [Gravatars](http://de.gravatar.com)" --helpfile=help.html --licensefile=COPYING +r7r-plugin-packer \ + --output=gravatar.rpk \ + --codefile=plugin.php \ + --classname=gravatar \ + --pluginname=gravatar \ + --author='Laria Carolin Chabowski ' \ + --versiontext="0.6.1" \ + --versioncount=3 \ + --api=5 \ + --shortdesc="This plugin allows you to display [Gravatars](http://de.gravatar.com)" \ + --helpfile=help.html \ + --licensefile=COPYING diff --git a/help.html b/help.html index 74a0b56..9e04ba6 100644 --- a/help.html +++ b/help.html @@ -1,7 +1,7 @@ -

kch42_gravatar

+

gravatar

This Plugin gives you an STE tag, which will return the Gravatar of the person, who written a comment.

-

This tag is: <ste:kch42_gravatar />.

+

This tag is: <ste:gravatar />.

How to use this tag

diff --git a/plugin.php b/plugin.php index 96afab1..5cd982b 100644 --- a/plugin.php +++ b/plugin.php @@ -1,11 +1,11 @@ get_var_by_name($params["comment"]); @@ -35,6 +35,6 @@ class kch42_gravatar extends RatatoeskrPlugin public function init() { - $this->ste->register_tag("kch42_gravatar", array($this, "ste_tag_kch42_gravatar")); + $this->ste->register_tag("gravatar", array($this, "ste_tag_gravatar")); } } -- cgit v1.2.3-70-g09d2