source: trunk/www/ru/includes/common.inc @ 8271

Last change on this file since 8271 was 8271, checked in by matt, 16 years ago

Bug: 2211
Submitted by: jc@… (john chertihin)
Reviewed by: matt@

Initial import of the Russian translation.
Thanks a lot John!

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1<?php
2
3# $Id: common.inc,v 1.1 2004/09/13 23:01:04 matt Exp $
4# $Trans-Id: common.inc,v 1.0 2004/09/14 00:47:13 jc Exp $
5# Copyright (c) 2003, OpenDarwin
6
7######################################################################
8
9# print the page header
10function print_header($title, $encoding) {
11  global $DOCUMENT_ROOT;
12?>
13<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
14  "http://www.w3.org/TR/xhtml/DTD/xhtml1-strict.dtd">
15
16<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
17  <head>
18    <title><?php echo("$title"); ?></title>
19    <meta http-equiv="Content-type" content="text/html; charset=<?php echo("$encoding"); ?>" />
20    <meta name="author" content="Jim Mock (mij@opendarwin.org)" />
21    <meta name="copyright" content="2003, OpenDarwin" />
22    <meta name="robots" content="all" />
23    <link rel="stylesheet" type="text/css" href="/dp.css" />
24    <link rel="alternate" type="application/rss+xml" href="http://darwinports.opendarwin.org/dp.xml" />
25  </head>
26
27  <body>
28
29  <div id="main">
30
31<?php
32  include("$DOCUMENT_ROOT/includes/header.inc");
33}
34
35######################################################################
36
37# print the page footer
38function print_footer() {
39  global $DOCUMENT_ROOT;
40
41  include("$DOCUMENT_ROOT/includes/footer.inc");
42
43  echo "  </body>\n";
44  echo "</html>\n";
45}
46?>
Note: See TracBrowser for help on using the repository browser.