<commit_before><?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2011 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");

#
# Only known and logged in users can do this.
#
$this_user = CheckLoginOrDie();
$uid       = $this_user->uid();
$isadmin   = ISADMIN();

#
# Verify page arguments
#
$optargs = OptionalPageArguments("showtype",   PAGEARG_STRING);

#
# Standard Testbed Header
#
PAGEHEADER("Project Information List");

if (! isset($showtype)) {
    $showtype="Splitview";
}

if ($isadmin) {
    echo "<b>Show: ";
    
    if ($showtype != "Active") {
	echo "<a class='static'
                 href='showproject_list.php3?showtype=Active'>Active</a>, ";
    }
    else {
	echo "Active, ";
    }
<commit_msg>Change default view to Active.<commit_after><?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2011 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");

#
# Only known and logged in users can do this.
#
$this_user = CheckLoginOrDie();
$uid       = $this_user->uid();
$isadmin   = ISADMIN();

#
# Verify page arguments
#
$optargs = OptionalPageArguments("showtype",   PAGEARG_STRING);

#
# Standard Testbed Header
#
PAGEHEADER("Project Information List");

if (! isset($showtype)) {
    $showtype="Active";
}

if ($isadmin) {
    echo "<b>Show: ";
    
    if ($showtype != "Active") {
	echo "<a class='static'
                 href='showproject_list.php3?showtype=Active'>Active</a>, ";
    }
    else {
	echo "Active, ";
    }

{'fraction_non_alphanumeric': 0.1589095744680851, 'fraction_numerical': 0.013297872340425532, 'mean_word_length': 3.5606060606060606, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1277746', 'n_tokens_mistral': 522, 'n_tokens_neox': 511, 'n_words': 124}