Example #1
0
function feature_quick_report($group_id, $title, $subtitle1, $sql1, $subtitle2, $sql2)
{
    global $bar_colors;
    feature_header(array("title" => $title));
    feature_reporting_header($group_id);
    echo "\n<H2>{$title}</H2>";
    reports_quick_graph($subtitle1, $sql1, $sql2, $bar_colors);
    feature_footer(array());
}
Example #2
0
                    } else {
                        echo '
			<H1>The feature category that you requested a modification on was not found.</H1>';
                    }
                    feature_footer(array());
                } else {
                    /*
                    	Show main page
                    */
                    feature_header(array('title' => 'Feature Manager Administration'));
                    echo '
			<H2>Feature Manager Administration</H2>';
                    echo '<P>
			<A HREF="' . $PHP_SELF . '?group_id=' . $group_id . '&feature_cat=1">Add Feature Request Categories</A><BR>';
                    echo "\nAdd categories of feature like, 'mail module','gant chart module','cvs', etc<P>";
                    echo '<P>
			<A HREF="' . $PHP_SELF . '?group_id=' . $group_id . '&create_canned=1">Add Canned Responses</A><BR>';
                    echo "\nCreate/Change generic response messages for the feature tool.<P>";
                    feature_footer(array());
                }
            }
        }
    }
} else {
    //browse for group first message
    if (!$group_id) {
        exit_no_group();
    } else {
        exit_permission_denied();
    }
}