Example #1
0
function snippet_footer($params)
{
    global $HTML;
    global $feedback;
    html_feedback_bottom($feedback);
    $HTML->footer($params);
}
Example #2
0
function report_footer()
{
    global $HTML;
    if (isset($GLOBALS['feedback'])) {
        echo html_feedback_bottom($GLOBALS['feedback']);
    }
    echo $HTML->footer(array());
}
Example #3
0
function site_project_footer($params)
{
    global $HTML;
    if (isset($params['pv']) && $params['pv'] != 0) {
        // Printer version
        echo $HTML->pv_footer($params);
    } else {
        echo html_feedback_bottom($GLOBALS['feedback']);
        echo $HTML->footer($params);
    }
}
Example #4
0
function site_admin_footer($vals = 0)
{
    global $HTML;
    echo html_feedback_bottom($feedback);
    $HTML->footer(array());
}
function people_footer($params)
{
    global $feedback, $HTML;
    html_feedback_bottom($feedback);
    $HTML->footer($params);
}
Example #6
0
?>
">[Resend Pending Mail]</a>
</p>

<p>
<b>
This pages allows to change only direct properties of user object. To edit
properties spanning across user/group pair, visit admin page of that
group.
</b>
</p>
<input type="submit" value="Update">
</form>

<hr>

<p>
<h3>Current Groups:</h3>

<?php 
/*
	Iterate and show groups this user is in
*/
$res_cat = db_query("SELECT groups.unix_group_name, " . "groups.status AS status, " . "groups.group_name AS group_name, " . "groups.group_id AS group_id, " . "user_group.admin_flags AS admin_flags FROM " . "groups,user_group WHERE user_group.user_id={$user_id} AND " . "groups.group_id=user_group.group_id");
print "<table>\n";
while ($row_cat = db_fetch_array($res_cat)) {
    print "<tr><td><b>{$row_cat['group_name']}</b> (" . "<a href=\"/projects/" . $row_cat[unix_group_name] . "\">" . $row_cat[unix_group_name] . "</a>)</td>" . "<td>(" . $row_cat[status] . ")</td>" . "<td><a href=\"/project/admin/?group_id={$row_cat['group_id']}\">[Remove User from Group]</a></td>" . "<td><a href=\"/project/admin/userperms.php?group_id=" . $row_cat['group_id'] . "\">[Edit Permissions]</a></td></tr>\n";
}
print "</table>\n";
html_feedback_bottom($feedback);
site_admin_footer(array());
Example #7
0
/**
 *	site_user_footer() - currently a simple shim that should be on every user page,
 *	rather than a direct call to site_footer() or theme_footer()
 *
 *	@param params array() empty
 */
function site_user_footer($params)
{
    global $HTML;
    echo html_feedback_bottom(isset($GLOBALS['feedback']) ? $GLOBALS['feedback'] : '');
    echo $HTML->footer($params);
}