Commit 29acae49 authored by Your Name's avatar Your Name

No commit message

No commit message
parent 8198a84f
......@@ -8,9 +8,9 @@
* MinVersion: 0.1
*/
function plusfuture_load() { register_hook('page_content_top', 'addon/plusfuture/plusfuture.php', 'plusfuture_active'); }
function plusfuture_load() { register_hook('page_end', 'addon/plusfuture/plusfuture.php', 'plusfuture_active'); }
function plusfuture_unload() { unregister_hook('page_content_top', 'addon/plusfuture/plusfuture.php', 'plusfuture_active'); }
function plusfuture_unload() { unregister_hook('page_end', 'addon/plusfuture/plusfuture.php', 'plusfuture_active'); }
function plusfuture_active(&$a,&$b) {
head_add_css('/addon/plusfuture/view/css/plusfuture.css?date=3');
......
......@@ -10,11 +10,11 @@
use Zotlabs\Extend\Hook;
function upgrade_info_load(){
Hook::register('construct_page', 'addon/upgrade_infojp/upgrade_infojp.php', 'upgrade_info_construct_page');
Hook::register('page_content_top', 'addon/upgrade_infojp/upgrade_infojp.php', 'upgrade_info_construct_page');
}
function upgrade_info_unload(){
Hook::unregister('construct_page', 'addon/upgrade_infojp/upgrade_infojp.php', 'upgrade_info_construct_page');
Hook::unregister('page_content_top', 'addon/upgrade_infojp/upgrade_infojp.php', 'upgrade_info_construct_page');
}
function upgrade_info_construct_page(&$b){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment