require_once("include/enotify.php");
require_once("include/text.php");
-
/**
+ * @brief process send data from the admin panels subpages
+ *
+ * This function acts as relais for processing the data send from the subpages
+ * of the admin panel. Depending on the 1st parameter of the url (argv[1])
+ * specialized functions are called to process the data from the subpages.
+ *
+ * The function itself does not return anything, but the subsequencely function
+ * return the HTML for the pages of the admin panel.
+ *
* @param App $a
+ *
*/
function admin_post(&$a){
}
/**
+ * This function generates the content for the admin panel.
+ * @brief generates content of the admin panel pages
* @param App $a
* @return string
*/
}
/**
- * Admin Federation Stats Page; display some numbers from gserver
+ * This function generates the "Federation Statistics" subpage for the admin
+ * panel. The page lists some numbers to the part of "The Federation" known to
+ * the node. This data includes the different connected networks (e.g.
+ * Diaspora, Hubzilla, GNU Social) and the used versions in the different
+ * networks.
+ *
+ * The returned string contains the HTML code of the subpage for display.
+ *
+ * @brief subpage with some stats about "the federstion" network
* @param App $a
- * returning string
+ * @return string
*/
function admin_page_federation(&$a) {
// get counts on active friendica, diaspora, redmatrix, hubzilla, gnu
));
}
/**
- * Admin Inspect Queue Page
+ * @brief Admin Inspect Queue Page
* @param App $a
- * return string
+ * @return string
*/
function admin_page_queue(&$a) {
// get content from the queue table
));
}
/**
- * Admin Summary Page
+ * @brief Admin Summary Page
* @param App $a
* @return string
*/
/**
- * Admin Site Page
- * @param App $a
+ * @brief process send data from Admin Site Page
+ * @param App $a
*/
function admin_page_site_post(&$a){
if (!x($_POST,"page_site")){
}
/**
+ * @brief generate Admin Site subpage
* @param App $a
* @return string
*/
}
-
+/**
+ * @brief generates admin panel subpage for DB syncronization
+ * @param App $a
+ * @return string
+ **/
function admin_page_dbsync(&$a) {
$o = '';
}
/**
- * Users admin page
- *
+ * @brief process data send by Users admin page
* @param App $a
*/
function admin_page_users_post(&$a){
}
/**
+ * @brief admin panel subpage for User management
* @param App $a
* @return string
*/
/**
- * Plugins admin page
- *
+ * @brief Plugins admin page
* @param App $a
* @return string
*/
/**
- * Logs admin page
- *
+ * @brief prosesses data send by Logs admin page
* @param App $a
*/
}
/**
+ * @brief generates admin panel subpage for Logs
* @param App $a
* @return string
*/