/** * Layout() - Constructor */ function GForgeLayout($root) { // Constructor for parent class... //# if ( file_exists($GLOBALS['sys_custom_path'] . '/index_std.php') ) //# $this->rootindex = $GLOBALS['sys_custom_path'] . '/index_std.php'; parent::TabbedLayout($root); //determine font for this platform if (browser_is_windows() && browser_is_ie()) { //ie needs smaller fonts $this->FONTSIZE = 'x-small'; $this->FONTSIZE_SMALLER = 'xx-small'; $this->FONTSIZE_SMALLEST = '7pt'; } else { if (browser_is_windows()) { //netscape on wintel $this->FONTSIZE = 'small'; $this->FONTSIZE_SMALLER = 'x-small'; $this->FONTSIZE_SMALLEST = 'x-small'; } else { if (browser_is_mac()) { //mac users need bigger fonts $this->FONTSIZE = 'medium'; $this->FONTSIZE_SMALLER = 'small'; $this->FONTSIZE_SMALLEST = 'x-small'; } else { //linux and other users $this->FONTSIZE = 'small'; $this->FONTSIZE_SMALLER = 'x-small'; $this->FONTSIZE_SMALLEST = 'xx-small'; } } } $this->FONTSIZE_HTMLBOX_TITLE = $this->FONTSIZE; }
/** * Layout() - Constructor */ function Layout() { global $bgpri; // Constructor for parent class... if (file_exists($GLOBALS['sys_custom_path'] . '/index_std.php')) { $this->rootindex = $GLOBALS['sys_custom_path'] . '/index_std.php'; } else { $this->rootindex = $GLOBALS['gfwww'] . 'index_std.php'; } $this->Error(); /* Set up the priority color array one time only */ $bgpri[1] = '#dadada'; $bgpri[2] = '#dacaca'; $bgpri[3] = '#dababa'; $bgpri[4] = '#daaaaa'; $bgpri[5] = '#da8a8a'; //determine font for this platform if (browser_is_windows() && browser_is_ie()) { //ie needs smaller fonts $this->FONTSIZE = 'x-small'; $this->FONTSIZE_SMALLER = 'xx-small'; $this->FONTSIZE_SMALLEST = '7pt'; } else { if (browser_is_windows()) { //netscape on wintel $this->FONTSIZE = 'small'; $this->FONTSIZE_SMALLER = 'x-small'; $this->FONTSIZE_SMALLEST = 'x-small'; } else { if (browser_is_mac()) { //mac users need bigger fonts $this->FONTSIZE = 'medium'; $this->FONTSIZE_SMALLER = 'small'; $this->FONTSIZE_SMALLEST = 'x-small'; } else { //linux and other users $this->FONTSIZE = 'small'; $this->FONTSIZE_SMALLER = 'x-small'; $this->FONTSIZE_SMALLEST = 'xx-small'; } } } $this->FONTSIZE_HTMLBOX_TITLE = $this->FONTSIZE; }
function theme_header($params) { global $HTML; $HTML->generic_header_start($params); //determine font for this platform if (browser_is_windows() && browser_is_ie()) { //ie needs smaller fonts $font_size = 'x-small'; $font_smaller = 'xx-small'; $font_smallest = '7pt'; } else { if (browser_is_windows()) { //netscape on wintel $font_size = 'small'; $font_smaller = 'x-small'; $font_smallest = 'x-small'; } else { if (browser_is_mac()) { //mac users need bigger fonts $font_size = 'medium'; $font_smaller = 'small'; $font_smallest = 'x-small'; } else { //linux and other users $font_size = 'small'; $font_smaller = 'x-small'; $font_smallest = 'xx-small'; } } } //themable someday? $site_fonts = 'verdana,arial,helvetica,sans-serif'; ?> <style type="text/css"> <!-- OL,UL,P,BODY,TD,TR,TH,FORM { font-family: <?php echo $GLOBALS['FONT_CONTENT'] . ',' . $site_fonts; ?> ; font-size:<?php echo $font_size; ?> ; color: #333333; } H1 { font-size: x-large; font-family: <?php echo $site_fonts; ?> ; } H2 { font-size: large; font-family: <?php echo $site_fonts; ?> ; } H3 { font-size: medium; font-family: <?php echo $site_fonts; ?> ; } H4 { font-size: small; font-family: <?php echo $site_fonts; ?> ; } H5 { font-size: x-small; font-family: <?php echo $site_fonts; ?> ; } H6 { font-size: xx-small; font-family: <?php echo $site_fonts; ?> ; } PRE,TT { font-family: courier,sans-serif } SPAN.center { text-align: center } SPAN.boxspace { font-size: 2pt; } SPAN.osdn {font-size: <?php echo $font_smaller; ?> ; font-family: verdana,arial,helvetica,sans-serif;} SPAN.search {font-size: <?php echo $font_smaller; ?> ; font-family: verdana,arial,helvetica,sans-serif;} SPAN.slogan {font-size: large; font-weight: bold; font-family: verdana,arial,helvetica,sans-serif;} SPAN.footer {font-size: <?php echo $font_smaller; ?> ; font-family: verdana,arial,helvetica,sans-serif;} A.maintitlebar { color: #FFFFFF } A.maintitlebar:visited { color: #FFFFFF } A.sortbutton { color: #FFFFFF; text-decoration: underline; } A.sortbutton:visited { color: #FFFFFF; text-decoration: underline; } .menus { color: #6666aa; text-decoration: none; } .menus:visited { color: #6666aa; text-decoration: none; } A:link { text-decoration:none } A:visited { text-decoration:none } A:active { text-decoration:none } A:hover { text-decoration:underline; color:#FF0000 } .tabs { color: #000000; } .tabs:visited { color: #000000; } .tabs:hover { color:#FF0000; } .tabselect { color: #000000; font-weight: bold; } .tabselect:visited { font-weight: bold;} .tabselect:hover { color:#FF0000; font-weight: bold; } .titlebar { text-decoration:none; color:#000000; font-family: <?php echo $GLOBALS['FONT_HTMLBOX_TITLE'] . ',' . $site_fonts; ?> ; font-size: <?php echo $GLOBALS['FONTSIZE_HTMLBOX_TITLE']; ?> ; font-weight: bold; } .develtitle { color:#000000; font-weight: bold; } .legallink { color:#000000; font-weight: bold; } --> </style> <?php $HTML->generic_header_end($params); ?> <body text="#333333" link="#6666aa" alink="#aa6666" vlink="#6666aa" bgcolor="#6C7198" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <?php /* OSDN NAV BAR */ osdn_print_navbar(); echo html_blankimage(5, 100) . '<br>'; ?> <!-- start page body --> <CENTER> <table cellpadding="0" cellspacing="0" border="0" width="99%"> <tr> <td background="<?php echo $GLOBALS['sys_themeimgroot']; ?> tbar1.png" width="1%" height="17"><img src="<?php echo $GLOBALS['sys_themeimgroot']; ?> tleft1.png" width="17" height="17" alt=" "></td> <td background="<?php echo $GLOBALS['sys_themeimgroot']; ?> tbar1.png" align="center" colspan="3" width="99%"><img src="<?php echo $GLOBALS['sys_themeimgroot']; ?> tbar1.png" width="1" height="17" alt=" "></td> <td><img src="<?php echo $GLOBALS['sys_themeimgroot']; ?> tright1.png" width="17" height="17" alt=" "></td> </tr> <tr> <td width="17" background="<?php echo $GLOBALS['sys_themeimgroot']; ?> leftbar1.png" align="left" valign="bottom"><img src="<?php echo $GLOBALS['sys_themeimgroot']; ?> leftbar1.png" width="17" height="25" alt=" "></td> <td colspan="3" bgcolor="#ffffff"> <!-- start main body cell --> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td width="141" background="<?php echo $GLOBALS['sys_themeimgroot']; ?> steel3.jpg" bgcolor="#cfd1d4" align="left" valign="top"> <CENTER> <a href="/"><?php echo html_image($GLOBALS['sys_themeimgroot'] . "berliOS_small_logo.png", "136", "79", array("alt" => " SourceForge ", "border" => "0")); ?> </A> </CENTER> <P> <!-- menus --> <?php html_blankimage(1, 140); menu_print_sidebar($params); ?> <P> </TD> <td width="20" background="<?php echo $GLOBALS['sys_themeimgroot']; ?> fade1.png" nowrap><img src="<?php echo $GLOBALS['sys_themeimgroot']; ?> fade1.png" width="20" height="35" alt=" "></td> <td valign="top" bgcolor="<?php echo $GLOBALS['COLOR_CONTENT_BACK']; ?> " width="99%"> <BR> <?php }
function css_site() { $site_fonts = 'Arial, Verdana, Helvetica, sans-serif'; //determine font for this platform if (browser_is_windows() && browser_is_ie()) { //ie needs smaller fonts $font_size = 'x-small'; $font_smaller = 'xx-small'; $font_smallest = '7pt'; } else { if (browser_is_windows()) { //netscape on wintel $font_size = 'small'; $font_smaller = '7pt'; $font_smallest = 'x-small'; } else { if (browser_is_mac()) { //mac users need bigger fonts $font_size = 'medium'; $font_smaller = 'small'; $font_smallest = 'x-small'; } else { if (browser_is_mozilla_linux()) { //mozilla on linux users need bigger fonts $font_size = 'small'; $font_smaller = 'small'; $font_smallest = 'x-small'; } else { //linux and other users $font_size = 'small'; $font_smaller = 'x-small'; $font_smallest = 'x-small'; } } } } ?> <STYLE TYPE="text/css"> <!-- BODY, OL, UL, LI { font-family: <?php echo $site_fonts; ?> ; font-size: <?php echo $font_smaller; ?> ; background-color: #EEEEEE;} form { font-family: <?php echo $site_fonts; ?> ; font-size: <?php echo $font_size; ?> } CAPTION { font-family: <?php echo $site_fonts; ?> ; font-size: <?php echo $font_size; ?> ;font-weight: bold; background-color: #BBBBBB; color : #004477 } TH { font-family: <?php echo $site_fonts; ?> ; font-size: <?php echo $font_size; ?> ;font-weight: bold; background-color: #BBBBBB; color : #004477 } TD { font-family: <?php echo $site_fonts; ?> ; color : #006699; font-size: <?php echo $font_smaller; ?> ;font-weight: bold; background-color: #DDDDDD; height: 10px;align : "right";} H1 { font-size: 175%; font-family: <?php echo $site_fonts; ?> ; color : #006699} H2 { font-size: 150%; font-family: <?php echo $site_fonts; ?> ; color : #006699 } H3 { font-size: 125%; font-family: <?php echo $site_fonts; ?> ; color : #006699 } H4 { font-size: 100%; font-family: <?php echo $site_fonts; ?> ; color : #006699 } H5 { font-size: 75%; font-family: <?php echo $site_fonts; ?> ; color : #006699 } H6 { font-size: 50%; font-family: <?php echo $site_fonts; ?> ; color : #006699 } PRE, TT, CODE { font-family: courier, sans-serif; font-size: <?php echo $font_size; ?> ; } select {font-size:<?php echo $font_smallest; ?> ;font-family:<?php echo $site_fonts; ?> ;background-color:#F7F7F7;border:#944100;border-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px} input {font-size:<?php echo $font_smallest; ?> ;font-family:<?php echo $site_fonts; ?> ;background-color:#F7F7F7;border:#944100;border-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px} A:hover { text-decoration: none; color: #FF6666; font-size: <?php echo $font_smaller; ?> ; } A.menus { color: #FF6666; text-decoration: none; font-size: <?php echo $font_smaller; ?> ; } A.menus:visited { color: #FF6666; text-decoration: none; font-size: <?php echo $font_smaller; ?> ; } A.menus:hover { text-decoration: none; color: #FF6666; background: #ffa; font-size: <?php echo $font_smaller; ?> ; } A.menussel { color: #FF6666; text-decoration: none; background: #ffa; font-size: <?php echo $font_smaller; ?> ; } A.menussel:visited { color: #FF6666; text-decoration: none; background: #ffa; font-size: <?php echo $font_smaller; ?> ; } A.menussel:hover { text-decoration: none; color: #FF6666; background: #ffa; font-size: <?php echo $font_smaller; ?> ; } A.menusxxs { color: #FF6666; text-decoration: none; font-size: <?php echo $font_smallest; ?> ; } A.menusxxs:visited { color: #FF6666; text-decoration: none; font-size: <?php echo $font_smallest; ?> ; } A.menusxxs:hover { text-decoration: none; color: #FF6666; background: #ffa; font-size: <?php echo $font_smallest; ?> ; } .vermelho {color : #FF0000;} .verde {color : #00FF00;} .ciano {color : #00FFFF;} .azul {color : #0000FF;} .preto {color : #000000;} .black {font-size : <?php echo $font_smallest; ?> ; color : #000000; font-family : Arial; } --> </STYLE> <?php }
print $GLOBALS['Language']->getText('account_login', 'password'); ?> : <br> <input type="password" name="form_pw" value=""> </p> <?php // Only show the stay in SSL mode if the server is SSL enabled // and it is not forced to operate in SSL mode if ($_useHttps && $GLOBALS['sys_force_ssl'] == 0) { $checked = ''; $ieMsg = ''; if (session_issecure()) { $checked = ' checked="checked"'; if (browser_is_ie() && browser_get_version() < '5.1') { $checked = ''; $ieMsg = $GLOBALS['Language']->getText('account_login', 'msie_pb'); } } echo '<p>'; echo '<input type="checkbox" name="stay_in_ssl" value="1"' . $checked . '>'; echo $GLOBALS['Language']->getText('account_login', 'stay_ssl'); echo '</p>'; if ($ieMsg) { echo '<p>' . $ieMsg . '</p>'; } } ?> <p>
$vFileId->required(); if ($request->valid($vGroupId) && $request->valid($vFileId)) { $group_id = $request->get('group_id'); $file_id = $request->get('file_id'); } else { exit_missing_param(); } $frsff = new FRSFileFactory(); $frspf = new FRSPackageFactory(); // Must have a group_id and file_id otherwise // we cannot do much if (!$file_id || !$group_id) { exit_missing_param(); } //determine font for this platform if (browser_is_windows() && browser_is_ie()) { //ie needs smaller fonts $font_size = 'smaller'; $font_size_normal = 'small'; } else { if (browser_is_windows()) { //netscape on wintel $font_size = 'small'; $font_size_normal = 'medium'; } else { if (browser_is_mac()) { //mac users need bigger fonts $font_size = 'medium'; $font_size_normal = 'medium'; } else { //linux and other users
} } else { $mapfile = BASEDIR . $mapfile; } printf("<DIV id=\"%s\" STYLE=\"position:absolute;LEFT:%d;TOP:%d;\"><a", $file, $dx + $OFFX, $dy + $OFFY); printf(" onClick=\"zoomIn(event)\""); printf(" onMouseLeave=\"leaveIt()\""); printf(" onMouseMove=\"displayLL(event)\">\n"); printf("<IMG SRC=\"%s\"BORDER=\"0\" WIDTH=\"150\" HEIGHT=\"150\"></a></DIV>\n\n", $mapfile); } // BEGIN // echo "<br>" . $_SERVER['QUERY_STRING'] . " <br>"; // Get browser information $dy = 15; $dx = 15; if (browser_is_ie()) { $OFFX = 1; // $OFFY=20; $OFFY = 50; // $OFFY=150; } else { $OFFX = 1; // $OFFY=20; $OFFY = 50; // $OFFY=150; } // Start processing // if (! $IMA) $IMA = "esad"; if (!isset($IMA)) { $IMA = ""; }
function theme_header($params) { html_generic_header_start($params); //determine font for this platform if (browser_is_windows() && browser_is_ie()) { //ie needs smaller fonts $font_size = 'x-small'; $font_smaller = 'xx-small'; $font_smallest = '7pt'; } else { if (browser_is_windows()) { //netscape on wintel $font_size = 'small'; $font_smaller = 'x-small'; $font_smallest = 'x-small'; } else { if (browser_is_mac()) { //mac users need bigger fonts $font_size = 'medium'; $font_smaller = 'small'; $font_smallest = 'x-small'; } else { //linux and other users $font_size = 'small'; $font_smaller = 'x-small'; $font_smallest = 'xx-small'; } } } //themable someday? $site_fonts = 'verdana,arial,helvetica,sans-serif'; ?> <style type="text/css"> <!-- .titlebar {text-decoration:none; color:#000000; font-family: <?php echo $GLOBALS['TITLEBAR_font']; ?> ,Lucida; font-weight: bold; font-size:<?php echo $GLOBALS['TITLEBAR_size']; ?> } .title {text-decoration:none; color:#000000; font-family: Helvetica; font-weight: bold; font-size:20px} .normal {text-decoration:none; color:#000000; font-family: Helvetica; font-weight: light; font-size:12px} BODY { background-color: <?php echo $GLOBALS['COLOR_CONTENT_BACK']; ?> ; font-family: <?php echo $GLOBALS['FONT_CONTENT']; ?> ,<?php echo $site_fonts; ?> ; font-size:<?php echo $font_size; ?> ; } A { text-decoration: none; color #6666FF; } A:visited { text-decoration: none; color: #6666AA; } A:link { text-decoration: none; color: #6666AA; } A:active { text-decoration: none; color: #6666AA; } A:hover { text-decoration: none; color: #FF6666 } OL,UL,P,BODY,TD,TR,TH,FORM,SPAN { font-family: <?php echo $GLOBALS['FONT_CONTENT']; ?> ,arial,helvetica,sans-serif;color: #333333; } H1,H2,H3,H4,H5,H6 { font-family: <?php echo $GLOBALS['FONT_CONTENT']; ?> ,arial,helvetica,sans-serif } PRE,TT { font-family: courier,sans-serif } SPAN.center { text-align: center } SPAN.boxspace { font-size: 2pt; } A.maintitlebar { color: #FFFFFF } A.maintitlebar:visited { color: #FFFFFF } A.sortbutton { color: #FFFFFF; text-decoration: underline; } A.sortbutton:visited { color: #FFFFFF; text-decoration: underline; } A.menus { color: #000000; text-decoration: underline; } A.menus:visited { color: #000000; text-decoration: underline; } A.tabs { color: #000000; text-decoration: underline; } A.tabs:visited { color: #000000; text-decoration: underline; } SPAN.alignright { text-align: right } SPAN.maintitlebar { font-size: small; color: #FFFFFF } SPAN.titlebar { text-align: center; font-size: small; color: #FFFFFF; font-weight: bold } SPAN.develtitle { text-align: center; font-size: small; color: #000000; font-weight: bold } SPAN.osdn {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} SPAN.search {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} SPAN.slogan {font-size: large; font-weight: bold; font-family: verdana,arial,helvetica,sans-serif;} SPAN.footer {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} TD.featurebox { font-size: small; } --> </style> <?php html_generic_header_end($params); ?> <BODY bgcolor=<?php echo $GLOBALS['COLOR_CONTENT_BACK']; ?> topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0"> <?php osdn_print_navbar(); ?> <!-- top title table --> <TABLE width="100%" border=0 cellspacing=0 cellpadding=0 bgcolor="<?php echo $GLOBALS['COLOR_BARBACK']; ?> " valign="center"> <TR valign="top" bgcolor="<?php echo $GLOBALS['COLOR_LTBACK1']; ?> "><TD> <A href="/"><?php html_image('/images/sflogo2-steel.png', '143', '70', array('vspace' => '0')); ?> </A> </TD> <TD width="99%"><!-- right of logo --> <a href="http://www.valinux.com"><?php html_image("images/valogo3.png", '117', '70', array('align' => 'right', 'alt' => 'VA Linux Systems', 'hspace' => '5', 'vspace' => '0')); ?> </A> <BR> <FONT SIZE="+1">Breaking Down The Barriers to Open Source Development</FONT> <BR> <?php if (!user_isloggedin()) { print '<B>Status: Not Logged In</B> <A href="/account/login.php">[Login]</A> | <A href="/account/register.php">[New User]</A><BR>'; } ?> <A href="/softwaremap/">[Software Map]</A> <A href="/new/">[New Releases]</A> <A href="/docs/site/">[Site Docs]</A> <A href="/top/">[Top Projects]</A> <!-- VA Linux Stats Counter --> <?php if (!session_issecure()) { print '<IMG src="http://www2.valinux.com/clear.gif?id=105" width=1 height=1 alt="Counter">'; } ?> </TD><!-- right of logo --> </TR> <TR><TD bgcolor="#543a48" colspan=2><IMG src="/images/blank.gif" height=2 vspace=0></TD></TR> </TABLE> <!-- end top title table --> <!-- content table --> <TABLE width="100%" cellspacing=0 cellpadding=0 border=0> <TR valign="top"> <TD bgcolor=<?php print $GLOBALS['COLOR_LTBACK1']; ?> > <!-- menus --> <?php menu_print_sidebar($params); ?> </TD> <td width="9"> <?php html_blankimage(1, 9); ?> </td> <!-- content --> <td width="99%"> <BR> <?php }
. <p> You are now being sent a confirmation email to verify your email address. Visiting the link sent to you in this email will activate your account. <?php echo $HTML->footer(array()); exit; } } $HTML->header(array('title' => $sys_default_name . ': Register')); if (browser_is_windows() && browser_is_ie() && browser_get_version() < '5.1') { echo '<H2><FONT COLOR="RED">Internet Explorer users need to upgrade to IE 5.01 or higher, preferably with 128-bit SSL or use Netscape 4.7 or higher</FONT></H2>'; } if (browser_is_ie() && browser_is_mac()) { echo '<H2><FONT COLOR="RED">Internet Explorer on the Macintosh is not supported currently. Use Netscape 4.7 or higher</FONT></H2>'; } ?> <p><b><?php echo $sys_default_name; ?> New Account Registration</b> <?php if ($feedback) { print "<p><FONT color=#FF0000>{$feedback} {$register_error}</FONT>"; } ?> <form action="https://<?php echo $HTTP_HOST . $PHP_SELF;
<INPUT TYPE="HIDDEN" NAME="return_to" VALUE="<?php echo $return_to; ?> "> <p> Login Name: <br><input type="text" name="form_loginname" VALUE="<?php echo $form_loginname; ?> "> <p> Password: <br><input type="password" name="form_pw"> <P> <INPUT TYPE="CHECKBOX" NAME="stay_in_ssl" VALUE="1" <?php echo browser_is_ie() && browser_get_version() < '5.5' ? '' : 'CHECKED'; ?> > Stay in SSL mode after login <p> <B><FONT COLOR="RED">You will be connected with an SSL server when you submit this form and your password will not be visible to other users. </FONT></B> <!-- <small style="font-size: x-small"> (If you wonder why very this page is not loaded via SSL, please read next paragraph. Thank you.) </small> --> <!-- <P> <B>Internet Explorer</B> users will have intermittent SSL problems, so they should leave SSL