'; // Addon Version: $addon_version = "0.1"; // Just always remember the Admin Interface function: // add_admin_functions($addon_function_name,$addon_workspace,$addon_menu,$addon_admin_submenu); // First we use the Admin Interface to place the Helloworld text into an existing page, the General Info page for example: add_admin_functions('say_hello','info','',''); // have a look into the General Info page now! // Now we want to create a new submenu page to an existing menu entry, the Options page perhaps: // add_admin_functions($addon_function_name,$addon_workspace,$addon_menu,$addon_admin_submenu); add_admin_functions('say_hello','options','options','HelloWorld'); // great fun, isn't it? // Last thing we create is a brand new menu page for our Hello World: add_admin_functions('','admin_main_menu','HelloWorld',''); // and fill it with content: add_admin_functions('say_hello','admin_main_menu_contents','HelloWorld',''); // hey, that is cool! function say_hello() { echo "

".$_SESSION['sayhello']."


"; }// end function ?>