smilies_adult install issue after rename, package updates

pull/39/merge
friendica 2012-04-04 15:43:34 -07:00
parent c8bace61cf
commit 4162199bd3
8 changed files with 5 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -9,17 +9,17 @@
*
*/
function adult_smile_install() {
register_hook('smilie', 'addon/adult_smile/adult_smile.php', 'adult_smile_smilies');
function smilies_adult_install() {
register_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
}
function adult_smile_uninstall() {
unregister_hook('smilie', 'addon/adult_smile/adult_smile.php', 'adult_smile_smilies');
function smilies_adult_uninstall() {
unregister_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
}
function adult_smile_smilies(&$a,&$b) {
function smilies_adult_smilies(&$a,&$b) {
$b['texts'][] = '(o)(o)';
$b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/smilies-adult/icons/tits.gif' . '" alt="' . '(o)(o)' . '" />';

Binary file not shown.