mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-08 01:18:48 +00:00
Merge branch '3.6-rc'
This commit is contained in:
commit
39dd3dffe0
733 changed files with 10943 additions and 8237 deletions
|
@ -10,7 +10,7 @@ msgstr ""
|
|||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
|
||||
"PO-Revision-Date: 2014-09-10 14:33+0000\n"
|
||||
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
|
||||
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
|
||||
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
|
@ -5,19 +5,19 @@
|
|||
* Version: 0.2
|
||||
* Author: Johannes Schwab <https://friendica.jschwab.org/profile/ddorian>
|
||||
*/
|
||||
|
||||
use Friendica\Core\Addon;
|
||||
|
||||
function smileybutton_install() {
|
||||
//Register hooks
|
||||
register_hook('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
|
||||
|
||||
//Register hooks
|
||||
Addon::registerHook('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
|
||||
|
||||
logger("installed smileybutton");
|
||||
}
|
||||
|
||||
|
||||
function smileybutton_uninstall() {
|
||||
//Delet registered hooks
|
||||
unregister_hook('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
|
||||
Addon::unregisterHook('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
|
||||
|
||||
logger("removed smileybutton");
|
||||
}
|
||||
|
@ -95,8 +95,8 @@ function show_button($a, &$b) {
|
|||
);
|
||||
|
||||
// Call hooks to get aditional smileies from other addons
|
||||
$params = array('texts' => $texts, 'icons' => $icons, 'string' => ""); //changed
|
||||
call_hooks('smilie', $params);
|
||||
$params = ['texts' => $texts, 'icons' => $icons, 'string' => ""]; //changed
|
||||
Addon::callHooks('smilie', $params);
|
||||
|
||||
//Generate html for smiley list
|
||||
$s = "<table class=\"smiley-preview\"><tr>\n\t";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue