ALT Linux Bugzilla
– Attachment 3666 Details for
Bug 20778
Добавить ссылки на другие ресурсы ALT Linux в меню
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Новая версия header.html
header.html (text/html), 4.86 KB, created by
Евгений Сыромятников
on 2009-07-14 20:07:08 MSD
(
hide
)
Description:
Новая версия header.html
Filename:
MIME Type:
Creator:
Евгений Сыромятников
Created:
2009-07-14 20:07:08 MSD
Size:
4.86 KB
patch
obsolete
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ><?php >function curPageURL() { > $pageURL = 'http'; > if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} > $pageURL .= "://"; > if ($_SERVER["SERVER_PORT"] != "80") { > $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; > } else { > $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; > } > return $pageURL; >} >?> ><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" /> > <link rel="stylesheet" type="text/css" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/css/styles.css" /> > <title><?php echo $title ?></title> > <meta name="description" content="ÐÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ñ ALT Linux, ÑÐ°Ð¹Ñ Ð´Ð¸ÑÑаÑионного обÑÑениÑ." /> ><?php include("$CFG->javascript"); ?> ></head> ><body <?php > echo " $bodytags"; > if ($focus) { > echo " onload=\"setfocus()\""; > } > ?>> > <div id="main"> > <div id="head"> > <a href="/" id="logo"><img src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/img/logo.gif" alt="ALT Linux" /></a> > <ul id="menu-site"> > <li id="mn-95"> > <?php if (current_language() == "ru_utf8") { echo '<a href="http://altlinux.ru/">Ð¡Ð°Ð¹Ñ ALT Linux'; } else { echo '<a href="http://altlinux.com/">ALT Linux main site'; } ?></a> > </li> > <li id="mn-95"> > <?php if (current_language() == "ru_utf8") { echo '<a href="http://altlinux.org/">Wiki ÑообÑеÑÑва'; } else { echo '<a href="http://en.altlinux.org/">Community wiki'; } ?></a> > </li> > <li id="mn-93"> > <a href="http://lists.altlinux.org/"><?php if (current_language() == "ru_utf8") { echo 'СпиÑки ÑаÑÑÑлки'; } else { echo 'Mailing lists'; } ?></a> > </li> > <li id="mn-93"> > <a href="http://forum.altlinux.org/"><?php if (current_language() == "ru_utf8") { echo 'ФоÑÑм'; } else { echo 'Forum'; } ?></a> > </li> > <li id="mn-93"> > <a href="http://freeschool.altlinux.ru/"><?php if (current_language() == "ru_utf8") { echo 'ALT Linux в Ñколе'; } else { echo 'ALT Linux in schools (ru)'; } ?></a> > </li> > <li class="last lang"> > <a <?php echo 'href="' . curPageURL() . ((strpos(curPageURL(), '?') > -1) ? '&lang=ru_utf8"' : '?lang=ru_utf8"') ?> <?php if (current_language() == "ru_utf8") { echo 'class="act"'; } ?> >Rus</a> <a <?php echo 'href="' . curPageURL() . ((strpos(curPageURL(), '?') > -1) ? '&lang=en_utf8"' : '?lang=en_utf8"') ?> <?php if (current_language() == "en_utf8") { echo 'class="act"'; } ?> >Eng</a> > </li> > </ul> > <div id="breadcrumb"><?php print_navigation($navigation); ?></div> > <div id="login-menu"><?php echo $menu ?></div> > <div id="searchbox"><div class="navbutton"><?php echo $button; ?></div><form action="/search/query.php" method="get"> > <div> > <input type="text" name="query_string"/><input type="submit" value="ÐоиÑк" name="sa" class="button" /> > <ul id="searchoptions"> > <li><a id="advanced" href="/search/query.php?a=1"><?php if (current_language() == "ru_utf8") { echo 'РаÑÑиÑеннÑй поиÑк'; } else { echo 'Advanced search'; } ?></a></li> > <li class="last"><a id="stats" href="/search/stats.php"><?php if (current_language() == "ru_utf8") { echo 'СÑаÑиÑÑика'; } else { echo 'Statistics'; } ?></a></li> > </ul> > </div> > </form> > </div> > <div id="menu"> > <div> > <div> > <ul id="nav"> > <li id="mn-90" <?php if (strpos($bodytags, "site-index")) { echo 'class="act first"'; } else { echo 'class="first"'; } ?> ><div><div><a href="/"><?php if (current_language() == "ru_utf8") { echo 'ÐлавнаÑ'; } else { echo 'Home'; } ?></a></div></div></li> > <li <?php if ((strpos($bodytags, "course-index") > -1 ) || (strpos($bodytags, "course-category") > -1) || (strpos($bodytags, "course-view") > -1)) { echo 'class="last act"'; } else { echo 'class="last"'; } ?> > > <div><div><a href="/course"><?php if (current_language() == "ru_utf8") { echo 'ÐÑÑÑÑ'; } else { echo 'Courses'; } ?></a></div></div> > </li><!-- > <li> > <div><div><a href="/help"><?php if (current_language() == "ru_utf8") { echo 'ÐомоÑÑ'; } else { echo 'Support'; } ?></a></div></div> > </li> > <li class="last"> > <div><div><a href="/about_alt"><?php if (current_language() == "ru_utf8") { echo 'Ðб ALT Linux'; } else { echo 'About ALT Linux'; } ?></a></div></div> > </li>--> > </ul> > </div> > </div> > </div> > </div> > <!--<pre style="text-align:left"><?php //print_r(get_defined_vars()); ?></pre>--> > <div id="content">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } ?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" /> <link rel="stylesheet" type="text/css" href="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/css/styles.css" /> <title><?php echo $title ?></title> <meta name="description" content="ÐÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ñ ALT Linux, ÑÐ°Ð¹Ñ Ð´Ð¸ÑÑаÑионного обÑÑениÑ." /> <?php include("$CFG->javascript"); ?> </head> <body <?php echo " $bodytags"; if ($focus) { echo " onload=\"setfocus()\""; } ?>> <div id="main"> <div id="head"> <a href="/" id="logo"><img src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/img/logo.gif" alt="ALT Linux" /></a> <ul id="menu-site"> <li id="mn-95"> <?php if (current_language() == "ru_utf8") { echo '<a href="http://altlinux.ru/">Ð¡Ð°Ð¹Ñ ALT Linux'; } else { echo '<a href="http://altlinux.com/">ALT Linux main site'; } ?></a> </li> <li id="mn-95"> <?php if (current_language() == "ru_utf8") { echo '<a href="http://altlinux.org/">Wiki ÑообÑеÑÑва'; } else { echo '<a href="http://en.altlinux.org/">Community wiki'; } ?></a> </li> <li id="mn-93"> <a href="http://lists.altlinux.org/"><?php if (current_language() == "ru_utf8") { echo 'СпиÑки ÑаÑÑÑлки'; } else { echo 'Mailing lists'; } ?></a> </li> <li id="mn-93"> <a href="http://forum.altlinux.org/"><?php if (current_language() == "ru_utf8") { echo 'ФоÑÑм'; } else { echo 'Forum'; } ?></a> </li> <li id="mn-93"> <a href="http://freeschool.altlinux.ru/"><?php if (current_language() == "ru_utf8") { echo 'ALT Linux в Ñколе'; } else { echo 'ALT Linux in schools (ru)'; } ?></a> </li> <li class="last lang"> <a <?php echo 'href="' . curPageURL() . ((strpos(curPageURL(), '?') > -1) ? '&lang=ru_utf8"' : '?lang=ru_utf8"') ?> <?php if (current_language() == "ru_utf8") { echo 'class="act"'; } ?> >Rus</a> <a <?php echo 'href="' . curPageURL() . ((strpos(curPageURL(), '?') > -1) ? '&lang=en_utf8"' : '?lang=en_utf8"') ?> <?php if (current_language() == "en_utf8") { echo 'class="act"'; } ?> >Eng</a> </li> </ul> <div id="breadcrumb"><?php print_navigation($navigation); ?></div> <div id="login-menu"><?php echo $menu ?></div> <div id="searchbox"><div class="navbutton"><?php echo $button; ?></div><form action="/search/query.php" method="get"> <div> <input type="text" name="query_string"/><input type="submit" value="ÐоиÑк" name="sa" class="button" /> <ul id="searchoptions"> <li><a id="advanced" href="/search/query.php?a=1"><?php if (current_language() == "ru_utf8") { echo 'РаÑÑиÑеннÑй поиÑк'; } else { echo 'Advanced search'; } ?></a></li> <li class="last"><a id="stats" href="/search/stats.php"><?php if (current_language() == "ru_utf8") { echo 'СÑаÑиÑÑика'; } else { echo 'Statistics'; } ?></a></li> </ul> </div> </form> </div> <div id="menu"> <div> <div> <ul id="nav"> <li id="mn-90" <?php if (strpos($bodytags, "site-index")) { echo 'class="act first"'; } else { echo 'class="first"'; } ?> ><div><div><a href="/"><?php if (current_language() == "ru_utf8") { echo 'ÐлавнаÑ'; } else { echo 'Home'; } ?></a></div></div></li> <li <?php if ((strpos($bodytags, "course-index") > -1 ) || (strpos($bodytags, "course-category") > -1) || (strpos($bodytags, "course-view") > -1)) { echo 'class="last act"'; } else { echo 'class="last"'; } ?> > <div><div><a href="/course"><?php if (current_language() == "ru_utf8") { echo 'ÐÑÑÑÑ'; } else { echo 'Courses'; } ?></a></div></div> </li><!-- <li> <div><div><a href="/help"><?php if (current_language() == "ru_utf8") { echo 'ÐомоÑÑ'; } else { echo 'Support'; } ?></a></div></div> </li> <li class="last"> <div><div><a href="/about_alt"><?php if (current_language() == "ru_utf8") { echo 'Ðб ALT Linux'; } else { echo 'About ALT Linux'; } ?></a></div></div> </li>--> </ul> </div> </div> </div> </div> <!--<pre style="text-align:left"><?php //print_r(get_defined_vars()); ?></pre>--> <div id="content">
View Attachment As Raw
Actions:
View
Attachments on
bug 20778
: 3666