include('common_user_inc.htm');
if( isset($_POST['LibraryView'] ) )
{
$tuser = $_SESSION['user'];
$tuser->libraryView = $_POST['LibraryView'];
$currentLibraryView = $_POST['LibraryView'];
$_SESSION['user'] = $tuser;
}
else
{
if( getenv("_GUI_LV") )
$currentLibraryView = "graphical";
else
$currentLibraryView = "tabular";
if( isset($_SESSION['user']) )
{
$tuser = $_SESSION['user'];
if( isset($tuser->libraryView) )
{
$currentLibraryView = $tuser->libraryView;
}
}
}
?>
//
// Setup for the tabular library view and the graphical library view.
//
if( $currentLibraryView == "tabular" )
{
include('contentMainTV.htm');
}
else
{
//include('contentMainLV.htm');
include('contentMainLVload.htm');
}
?>
// Only show the Library-View buttom id if NOT DELL
if( $Brand != 'dell' )
{
if( $currentLibraryView == "tabular" )
{
?>
}
else
{
?>
}
}
?>
if( $user->role != ADMIN_ROLE && $user->role != SERVICE_ROLE)
{
?>
}
else
{
?>
}
?>
/* Note: When you try to hide this by using the hiddenDiv class which has "position:absolute"
it makes the main window put up a scrollBar that scrolls down a couple pixels. By making this
width and height 0 it hides it without the scrollbar issue
*/
?>
include('pageIsLoaded_inc.htm');
?>