Beispiel #1
0
 public static function onlyOneLabConfig($user_id, $user_level)
 {
     # Checks if only one lab config exists for this admin level user
     global $LIS_ADMIN;
     $lab_config_list = get_lab_configs($user_id, $user_level);
     if (count($lab_config_list) == 1 && $user_level == $LIS_ADMIN) {
         return true;
     } else {
         return false;
     }
 }
Beispiel #2
0
            $_SESSION['age'] = $arr1[6];
            $_SESSION['dob'] = $arr1[7];
            $_SESSION['rdate'] = $arr1[8];
            $_SESSION['refout'] = $arr1[9];
            $_SESSION['pname'] = $arr1[10];
            $_SESSION['sex'] = $arr1[11];
            $_SESSION['doctor'] = $arr1[12];
        }
        if ($SERVER == $ON_PORTABLE) {
            $_SESSION['langdata_path'] = $LOCAL_PATH . "langdata_" . $lab_config->id . "/";
        } else {
            $_SESSION['langdata_path'] = $LOCAL_PATH . "langdata_revamp/";
        }
    }
    if (User::onlyOneLabConfig($_SESSION['user_id'], $_SESSION['user_level'])) {
        $lab_config_list = get_lab_configs($_SESSION['user_id']);
        $_SESSION['dformat'] = $lab_config_list[0]->dateFormat;
        $_SESSION['lab_config_id'] = $lab_config_list[0]->id;
        if ($SERVER == $ON_PORTABLE) {
            $langdata_path1 = $LOCAL_PATH . "langdata_" . $lab_config_list[0]->id . "/";
            if (is_dir($LOCAL_PATH . "langdata_" . $lab_config_list[0]->id . "/")) {
                $_SESSION['langdata_path'] = $LOCAL_PATH . "langdata_" . $lab_config_list[0]->id . "/";
            } else {
                ?>
				<script language='JavaScript' type='text/javascript'>alert('This is not working');</script>
		<?php 
                session_unset();
                session_destroy();
                //$_SESSION['langdata_path'] = $LOCAL_PATH."langdata_revamp/";
            }
        } else {
Beispiel #3
0
	public function getPatientSearchAttribSelect($hide_patient_name=false)
	{
            $userrr = get_user_by_id($_SESSION['user_id']);

		global $LIS_TECH_RO, $LIS_TECH_RW, $LIS_CLERK;
		if
		(
			$_SESSION['user_level'] == $LIS_TECH_RO ||
			$_SESSION['user_level'] == $LIS_TECH_RW ||
			$_SESSION['user_level'] == $LIS_CLERK ||
				$_SESSION['user_level'] == $LIS_PHYSICIAN 
		)
		{
			$lab_config = LabConfig::getById($_SESSION['lab_config_id']); 
                        $patientBarcodeSearch = patientSearchBarcodeCheck();
			if($hide_patient_name === false && $lab_config->pname != 0)
			{
				?>
				<option value='1'><?php echo LangUtil::$generalTerms['PATIENT_NAME']; ?></option>
				<?php
			}
			if($lab_config->dailyNum == 1 || $lab_config->dailyNum == 11 || $lab_config->dailyNum == 2 || $lab_config->dailyNum == 12)
			{
				?>
				<option value='3'><?php echo LangUtil::$generalTerms['PATIENT_DAILYNUM']; ?></option>
				<?php
			}
			if($lab_config->pid != 0)
			{
				?>
				<option value='0'><?php echo LangUtil::$generalTerms['PATIENT_ID']; ?></option>
				<?php
			}
			if($lab_config->patientAddl != 0)
			{
				?>
				<option value='2'><?php echo LangUtil::$generalTerms['ADDL_ID']; ?></option>
				<?php
			}
                        if($patientBarcodeSearch != 0 && is_country_dir($userrr) != 1 && is_super_admin($userrr) != 1 )
			{
				?>
				<option value='9'><?php echo 'Barcode Search'; ?></option>
				<?php
			}
		}
		else if(User::onlyOneLabConfig($_SESSION['user_id'], $_SESSION['user_level']))
		{
			# Lab admin
			$lab_config_list = get_lab_configs($_SESSION['user_id']);
			$lab_config = $lab_config_list[0];
                        $patientBarcodeSearch = patientSearchBarcodeCheck();
			if($lab_config->pname != 0)
			{
				?>
				<option value='1'><?php echo LangUtil::$generalTerms['PATIENT_NAME']; ?></option>
				<?php
			}
			if($lab_config->dailyNum == 1 || $lab_config->dailyNum == 11 || $lab_config->dailyNum == 2 || $lab_config->dailyNum == 12)
			{
				?>
				<option value='3'><?php echo LangUtil::$generalTerms['PATIENT_DAILYNUM']; ?></option>
				<?php
			}
			if($lab_config->pid != 0)
			{
				?>
				<option value='0'><?php echo LangUtil::$generalTerms['PATIENT_ID']; ?></option>
				<?php
			}
			if($lab_config->patientAddl != 0)
			{
				?>
				<option value='2'><?php echo LangUtil::$generalTerms['ADDL_ID']; ?></option>
				<?php
			}
                        if($patientBarcodeSearch != 0 && is_country_dir($userrr) != 1 && is_super_admin($userrr) != 1 )
			{
				?>
				<option value='9'><?php echo 'Barcode Search'; ?></option>
				<?php
			}
		}
		else
		{
                                            $patientBarcodeSearch = patientSearchBarcodeCheck();

			# Show all options
			?>
			<option value='1'><?php echo LangUtil::$generalTerms['PATIENT_NAME']; ?></option>
			<option value='3'><?php echo LangUtil::$generalTerms['PATIENT_DAILYNUM']; ?></option>
			<option value='0'><?php echo LangUtil::$generalTerms['PATIENT_ID']; ?></option>
			<option value='2'><?php echo LangUtil::$generalTerms['ADDL_ID']; ?></option>
                         <?php 
                         if($patientBarcodeSearch != 0 && is_country_dir($userrr) != 1 && is_super_admin($userrr) != 1 ){ ?>
                        				<option value='9'><?php echo 'Barcode Search'; ?></option>
                                                        <?php } ?>

			<?php
		}
	}
Beispiel #4
0
    public function getPatientSearchAttribSelect($hide_patient_name = false)
    {
        global $LIS_TECH_RO, $LIS_TECH_RW, $LIS_CLERK;
        if ($_SESSION['user_level'] == $LIS_TECH_RO || $_SESSION['user_level'] == $LIS_TECH_RW || $_SESSION['user_level'] == $LIS_CLERK || $_SESSION['user_level'] == $LIS_PHYSICIAN) {
            $lab_config = LabConfig::getById($_SESSION['lab_config_id']);
            if ($hide_patient_name === false && $lab_config->pname != 0) {
                ?>
				<option value='1'><?php 
                echo LangUtil::$generalTerms['PATIENT_NAME'];
                ?>
</option>
				<?php 
            }
            if ($lab_config->dailyNum != 0) {
                ?>
				<option value='3'><?php 
                echo LangUtil::$generalTerms['PATIENT_DAILYNUM'];
                ?>
</option>
				<?php 
            }
            if ($lab_config->pid != 0) {
                ?>
				<option value='0'><?php 
                echo LangUtil::$generalTerms['PATIENT_ID'];
                ?>
</option>
				<?php 
            }
            if ($lab_config->patientAddl != 0) {
                ?>
				<option value='2'><?php 
                echo LangUtil::$generalTerms['ADDL_ID'];
                ?>
</option>
				<?php 
            }
        } else {
            if (User::onlyOneLabConfig($_SESSION['user_id'], $_SESSION['user_level'])) {
                # Lab admin
                $lab_config_list = get_lab_configs($_SESSION['user_id']);
                $lab_config = $lab_config_list[0];
                if ($lab_config->pname != 0) {
                    ?>
				<option value='1'><?php 
                    echo LangUtil::$generalTerms['PATIENT_NAME'];
                    ?>
</option>
				<?php 
                }
                if ($lab_config->dailyNum != 0) {
                    ?>
				<option value='3'><?php 
                    echo LangUtil::$generalTerms['PATIENT_DAILYNUM'];
                    ?>
</option>
				<?php 
                }
                if ($lab_config->pid != 0) {
                    ?>
				<option value='0'><?php 
                    echo LangUtil::$generalTerms['PATIENT_ID'];
                    ?>
</option>
				<?php 
                }
                if ($lab_config->patientAddl != 0) {
                    ?>
				<option value='2'><?php 
                    echo LangUtil::$generalTerms['ADDL_ID'];
                    ?>
</option>
				<?php 
                }
            } else {
                # Show all options
                ?>
			<option value='1'><?php 
                echo LangUtil::$generalTerms['PATIENT_NAME'];
                ?>
</option>
			<option value='3'><?php 
                echo LangUtil::$generalTerms['PATIENT_DAILYNUM'];
                ?>
</option>
			<option value='0'><?php 
                echo LangUtil::$generalTerms['PATIENT_ID'];
                ?>
</option>
			<option value='2'><?php 
                echo LangUtil::$generalTerms['ADDL_ID'];
                ?>
</option>
			<?php 
            }
        }
    }
Beispiel #5
0
<?php

#
# (c) C4G, Santosh Vempala, Ruban Monu and Amol Shintre
# File for updating the database. All db queries to update the database should be placed here
# Called after htdocs update succeeds
#
include "redirect.php";
include "../includes/db_lib.php";
include "../includes/user_lib.php";
$user = get_user_by_id($_SESSION['user_id']);
if (is_super_admin($user) || is_country_dir($user)) {
    $labConfigList = get_lab_configs($user->userId);
    foreach ($labConfigList as $labConfig) {
        $labConfigId = $labConfig->id;
        runUpdate($labConfigId);
    }
    //runGlobalUpdate();
} else {
    $labConfigId = $_SESSION['lab_config_id'];
    runUpdate($labConfigId);
    //runGlobalUpdate();
}
function runUpdate($lab_config_id)
{
    global $con;
    /*BLIS 1.26 Update 
    	$saved_db = DbUtil::switchToLabConfig($lab_config_id);
    
    	$query_alter = "ALTER TABLE report_disease ".
    				   "DROP FOREIGN KEY report_disease_ibfk_1";
Beispiel #6
0
function get_top_menu_options($user_role)
{
    # Returns list links to php pages accessible by $user_role
    # Called from perms_check.php
    global $LIS_TECH_RO, $LIS_TECH_RW, $LIS_ADMIN, $LIS_SUPERADMIN, $LIS_COUNTRYDIR, $LIS_CLERK;
    global $LIS_001, $LIS_010, $LIS_011, $LIS_100, $LIS_101, $LIS_110, $LIS_111, $LIS_TECH_SHOWPNAME;
    # Global variables from includes/db_constants.php
    global $SERVER, $ON_ARC;
    $page_list = array();
    $page_list[LangUtil::getPageTitle("home")] = "home.php";
    if ($user_role == $LIS_CLERK) {
        $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
        $page_list[LangUtil::getPageTitle("search")] = "search.php";
    } else {
        if ($user_role == $LIS_TECH_RW || $user_role == $LIS_TECH_SHOWPNAME) {
            $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
            $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
            $page_list[LangUtil::getPageTitle("search")] = "search.php";
            $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
            $page_list["Inventory"] = "stock_add.php";
            $id = get_lab_config_id($_SESSION['user_id']);
            if ($id == 0) {
                $lab_config_list = get_lab_configs($_SESSION['user_id']);
                $id = $lab_config_list[0]->id;
            }
            //$page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "data_backup?id=".$id;
            $page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "backupDataUI.php?id=" . $id;
        } else {
            if ($user_role == $LIS_TECH_RO || $user_role == $LIS_TECH_SHOWPNAME) {
                $page_list[LangUtil::getPageTitle("search")] = "search.php";
                $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
            } else {
                if ($user_role == $LIS_ADMIN) {
                    # ...
                    $page_list[LangUtil::getPageTitle("lab_config_home")] = "lab_configs.php";
                    $page_list[LangUtil::getPageTitle("catalog")] = "catalog.php";
                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                    if ($SERVER != $ON_ARC) {
                        if (User::onlyOneLabConfig($_SESSION['user_id'], $_SESSION['user_level'])) {
                            # Back up data option
                            $lab_config_list = get_lab_configs($_SESSION['user_id']);
                            //$page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "data_backup?id=".$lab_config_list[0]->id;
                            $page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "backupDataUI.php?id=" . $lab_config_list[0]->id;
                        }
                    }
                    //$page_list["Inventory"]="stock_add.php";
                    # ...
                } else {
                    if ($user_role == $LIS_SUPERADMIN || $user_role == $LIS_COUNTRYDIR) {
                        $page_list[LangUtil::getPageTitle("lab_configs")] = "lab_configs.php";
                        $page_list[LangUtil::getPageTitle("lab_admins")] = "lab_admins.php";
                        $page_list[LangUtil::getPageTitle("catalog")] = "country_catalog.php";
                        $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                    } else {
                        if (false) {
                            switch ($user_role) {
                                case $LIS_001:
                                    # Reports only
                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                    break;
                                case $LIS_010:
                                    # Results only
                                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                    break;
                                case $LIS_011:
                                    # Results and reports
                                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                    break;
                                case $LIS_100:
                                    # Regn only
                                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                    break;
                                case $LIS_101:
                                    # Regn and Reports
                                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                    break;
                                case $LIS_110:
                                    # Regn and Results
                                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                    break;
                                case $LIS_111:
                                    # All three
                                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                    break;
                            }
                        }
                    }
                }
            }
        }
    }
    # Currently Disabled. Uncomment if required
    # $page_list[LangUtil::getPageTitle("help")] = "help.php";
    return $page_list;
}
Beispiel #7
0
' title='Enter full or partial name of the lab to search' />
	&nbsp;&nbsp;
	<a href='javascript:search_labs(1)' id='viewall_link' style='display:none;' title='Click to View All Lab Configurations'><small><?php 
echo LangUtil::$pageTerms['CMD_VIEWALL'];
?>
</small></a>
	&nbsp;&nbsp;
	<span id='lab_search_progress_bar' style='display:none;'>
		<?php 
$page_elems->getProgressSpinner(LangUtil::$generalTerms['CMD_SEARCHING']);
?>
	</span>
</p>
<?php 
$admin_user_id = $_SESSION['user_id'];
$lab_config_list = get_lab_configs($admin_user_id);
$lab_config_list_imported = get_lab_configs_imported();
//print_r($lab_config_list);
//echo "<br>";
//print_r($lab_config_list_imported);
?>
<div id='lab_config_list_imported'>
       <br>
    <b>Lab Backups</b>
	<?php 
$page_elems->getLabConfigTableImported($lab_config_list_imported);
?>
</div>
    <br>
<div id='lab_config_list'>
    <b>Lab Config Templates</b>
Beispiel #8
0
function get_top_menu_options($user_role, $user_rwoption = "")
{
    // Returns list links to php pages accessible by $user_role
    // Called from perms_check.php
    global $LIS_TECH_RO, $LIS_TECH_RW, $LIS_ADMIN, $LIS_SUPERADMIN, $LIS_VERIFIER, $LIS_COUNTRYDIR, $LIS_CLERK, $READONLYMODE, $LIS_PHYSICIAN;
    global $LIS_001, $LIS_010, $LIS_011, $LIS_100, $LIS_101, $LIS_110, $LIS_111, $LIS_TECH_SHOWPNAME;
    // Global variables from includes/db_constants.php
    global $SERVER, $ON_ARC;
    $page_list = array();
    $rw_option = array();
    $page_list[LangUtil::getPageTitle("home")] = "home.php";
    $rw_option = explode(',', $user_rwoption);
    // Write Mode starts
    if ($user_role == $LIS_TECH_RW || $user_role == $LIS_001 || $user_role == $LIS_VERIFIER) {
        if (in_array("2", $rw_option)) {
            $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
        }
        if (in_array("3", $rw_option)) {
            $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
        }
        if (in_array("4", $rw_option)) {
            $page_list[LangUtil::getPageTitle("search")] = "search.php";
        }
        if (in_array("5", $rw_option)) {
            $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
        }
        if (in_array("6", $rw_option)) {
            $page_list["Inventory"] = "view_stock.php";
        }
        if (in_array("7", $rw_option)) {
            $page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "backupDataUI.php?id=" . $id;
        }
    } else {
        if ($user_role == $READONLYMODE) {
            $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
        } else {
            if ($user_role == $LIS_PHYSICIAN) {
                if (in_array("2", $rw_option)) {
                    $page_list[LangUtil::getPageTitle("regn")] = "doctor_register.php";
                }
                if (in_array("3", $rw_option)) {
                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                }
                if (in_array("4", $rw_option)) {
                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                }
                if (in_array("5", $rw_option)) {
                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                }
                if (in_array("6", $rw_option)) {
                    $page_list["Inventory"] = "view_stock.php";
                }
                if (in_array("7", $rw_option)) {
                    $page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "backupDataUI.php?id=" . $id;
                }
                // $page_list [LangUtil::getPageTitle ( "regn" )] = "doctor_register.php";
                // $page_list [LangUtil::getPageTitle ( "reports" )] = "reports.php";
            } else {
                if ($user_role == $LIS_CLERK) {
                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                } else {
                    if ($user_role == $LIS_TECH_RW || $user_role == $LIS_TECH_SHOWPNAME) {
                        $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                        $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                        $page_list[LangUtil::getPageTitle("search")] = "search.php";
                        $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                        $page_list["Inventory"] = "view_stock.php";
                        $id = get_lab_config_id($_SESSION['user_id']);
                        if ($id == 0) {
                            $lab_config_list = get_lab_configs($_SESSION['user_id']);
                            $id = $lab_config_list[0]->id;
                        }
                        // $page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "data_backup?id=".$id;
                        $page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "backupDataUI.php?id=" . $id;
                    } else {
                        if ($user_role == $LIS_TECH_RO || $user_role == $LIS_TECH_SHOWPNAME) {
                            $page_list[LangUtil::getPageTitle("search")] = "search.php";
                            $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                        } else {
                            if ($user_role == $LIS_ADMIN) {
                                // ...
                                $page_list[LangUtil::getPageTitle("lab_config_home")] = "lab_configs.php";
                                $page_list[LangUtil::getPageTitle("catalog")] = "catalog.php";
                                $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                if ($SERVER != $ON_ARC) {
                                    if (User::onlyOneLabConfig($_SESSION['user_id'], $_SESSION['user_level'])) {
                                        // Back up data option
                                        $lab_config_list = get_lab_configs($_SESSION['user_id']);
                                        // $page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "data_backup?id=".$lab_config_list[0]->id;
                                        $page_list[LangUtil::$pageTerms['MENU_BACKUP']] = "backupDataUI.php?id=" . $lab_config_list[0]->id;
                                    }
                                }
                                // $page_list["Inventory"]="stock_add.php";
                                // ...
                            } else {
                                if ($user_role == $LIS_SUPERADMIN || $user_role == $LIS_COUNTRYDIR) {
                                    $page_list[LangUtil::getPageTitle("lab_configs")] = "lab_configs.php";
                                    $page_list[LangUtil::getPageTitle("lab_admins")] = "lab_admins.php";
                                    $page_list[LangUtil::getPageTitle("catalog")] = "country_catalog.php";
                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                } else {
                                    if ($user_role == $LIS_VERIFIER) {
                                        $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                    } else {
                                        if (false) {
                                            switch ($user_role) {
                                                case $LIS_001:
                                                    // Reports only
                                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                                    break;
                                                case $LIS_010:
                                                    // Results only
                                                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                                    break;
                                                case $LIS_011:
                                                    // Results and reports
                                                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                                    break;
                                                case $LIS_100:
                                                    // Regn only
                                                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                                    break;
                                                case $LIS_101:
                                                    // Regn and Reports
                                                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                                    break;
                                                case $LIS_110:
                                                    // Regn and Results
                                                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                                                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                                    break;
                                                case $LIS_111:
                                                    // All three
                                                    $page_list[LangUtil::getPageTitle("regn")] = "find_patient.php";
                                                    $page_list[LangUtil::getPageTitle("results_entry")] = "results_entry.php";
                                                    $page_list[LangUtil::getPageTitle("search")] = "search.php";
                                                    $page_list[LangUtil::getPageTitle("reports")] = "reports.php";
                                                    break;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    // Currently Disabled. Uncomment if required
    // $page_list[LangUtil::getPageTitle("help")] = "help.php";
    return $page_list;
}