[freeside-commits] freeside/fs_selfservice/fri/modules.template blank.module, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Sun Mar 16 19:49:13 PDT 2008
Update of /home/cvs/cvsroot/freeside/fs_selfservice/fri/modules.template
In directory wavetail.420.am:/tmp/cvs-serv14834/modules.template
Added Files:
blank.module
Log Message:
missed bits
--- NEW FILE: blank.module ---
<?php
/**
* @file
* Functions for the interface to the help page
*/
/**
* Class for help
*/
class blank {
/*
* rank (for prioritizing modules)
*/
function rank() {
$rank = 8;
return $rank;
}
/*
* init
*/
function init() {
}
/*
* Adds menu item to nav menu
*
* @param $args
* Common arguments
*/
function navMenu($args) {
$ret .= "<p><small><small><a href='" . $_SESSION['ARI_ROOT'] . "?m=blank&f=display'>" . _("Blank") . "</a></small></small></p><br>";
return $ret;
}
/*
* Displays stats page
*
* @param $args
* Common arguments
*/
function display($args) {
global $ARI_HELP_FEATURE_CODES;
$display = new Display();
// args
$m = getArgument($args,'m');
$q = getArgument($args,'q');
$displayname = $_SESSION['ari_user']['displayname'];
$extension = $_SESSION['ari_user']['extension'];
// build page content
$ret .= checkErrorMessage();
$header_text = _("Blank");
if (!$_SESSION['ari_user']['admin_help']) {
$header_text .= sprintf(_(" for %s (%s)"), $displayname, $extension);
}
// build page content
$ret .= checkErrorMessage();
$ret .= $display->displayHeaderText($header_text);
$ret .= $display->displayLine();
$ret .= 'Blank goes here';
return $ret;
}
}
?>
More information about the freeside-commits
mailing list