\n"; $rt .= "\n"; $rt .= "\n"; $usenls = 0; $usenlsstr = "false"; if(! preg_match('/^en/', $locale)) { $usenls = 1; $usenlsstr = "true"; } $rt .= "\n"; $rt .= "\n"; $rt .= "\n"; $rt .= "\n"; $rt .= "" . i('VCL: The Virtual Computing Lab') . "\n"; $rt .= "\n"; $rt .= "\n"; $rt .= "\n"; $rt .= "\n"; $rt .= "\n"; $rt .= "\n"; if($usenls) $rt .= "\n"; $rt .= "\n"; $rt .= getDojoHTML($refresh); if($refresh) $rt .= "\n"; $extracss = getExtraCSS(); foreach($extracss as $file) $rt .= "\n"; $rt .= "\n"; $rt .= "\n"; $rt .= "
\n"; $rt .= "
\n"; if($authed) { $rt .= "
\n"; $rt .= " {$user['unityid']}@{$user['affiliation']}\n"; $rt .= "
\n"; } $rt .= "
\n"; $rt .= " \n"; $rt .= "

\n"; $rt .= " " . i('Virtual Computing Lab') . "
\n"; $rt .= "

\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= " \n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; return $rt; } //////////////////////////////////////////////////////////////////////////////// /// /// \fn sortMenuList($menu) /// /// \param $a - first item /// \param $b - second item /// /// \return -1 if $a['title'] < $b['title'], 0 if $a['title'] == $b['title'], /// 1 if $a['title'] > $b['title'] /// /// \brief /// //////////////////////////////////////////////////////////////////////////////// function sortMenuList($a, $b) { return strcmp($a['title'], $b['title']); } //////////////////////////////////////////////////////////////////////////////// /// /// \fn getFooter() /// /// \return string of html to go after the main content /// /// \brief builds the html that goes after the main content /// //////////////////////////////////////////////////////////////////////////////// function getFooter() { global $totalQueries, $queryTimes, $debug, $totalQueryTime, $startload, $mode; $rt = ""; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= " Copyright © " . date('Y') . " · "; $rt .= ""; $rt .= "Apache Software Foundation"; # footer links #$rt .= " · Some link\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; $rt .= "
\n"; # below footer - useful for entity name and address, etc #$rt .= "
\n"; #$rt .= "
\n"; #$rt .= "

My University

\n"; #$rt .= "
\n"; #$rt .= " Title\n"; #$rt .= " Address\n"; #$rt .= " Phone#\n"; #$rt .= "
\n"; #$rt .= "
\n"; #$rt .= "
\n"; $rt .= "
\n"; $rt .= "\n"; $rt .= "\n"; $rt .= "\n"; return $rt; } ?>