* */ function pages_install() { register_hook('page_end', 'addon/pages/pages.php', 'pages_page_end'); } function pages_uninstall() { unregister_hook('page_end', 'addon/pages/pages.php', 'pages_page_end'); } function pages_page_end($a,&$b) { if (($a->module != "network") OR ($a->user['uid'] == 0)) return; $pages = '