[PC-BSD Commits] r1503 - in websites/pbidir.com/bibivu/tpl: css img pbidir
svn at pcbsd.org
svn at pcbsd.org
Sat Mar 1 19:07:04 PST 2008
Author: fabry
Date: 2008-03-01 19:07:03 -0800 (Sat, 01 Mar 2008)
New Revision: 1503
Added:
websites/pbidir.com/bibivu/tpl/img/flag-CA.gif
websites/pbidir.com/bibivu/tpl/img/flag-DE.gif
websites/pbidir.com/bibivu/tpl/img/flag-EN.gif
websites/pbidir.com/bibivu/tpl/img/flag-ES.gif
websites/pbidir.com/bibivu/tpl/img/flag-FI.gif
websites/pbidir.com/bibivu/tpl/img/flag-FR.gif
websites/pbidir.com/bibivu/tpl/img/flag-HU.gif
websites/pbidir.com/bibivu/tpl/img/flag-IT.gif
websites/pbidir.com/bibivu/tpl/img/flag-NL.gif
websites/pbidir.com/bibivu/tpl/img/flag-NO.gif
websites/pbidir.com/bibivu/tpl/img/flag-PL.gif
websites/pbidir.com/bibivu/tpl/img/flag-PT.gif
websites/pbidir.com/bibivu/tpl/img/flag-RU.gif
websites/pbidir.com/bibivu/tpl/img/flag-SK.gif
websites/pbidir.com/bibivu/tpl/img/flag-SV.gif
Modified:
websites/pbidir.com/bibivu/tpl/css/pbidir.css
websites/pbidir.com/bibivu/tpl/pbidir/header.php
Log:
added languages flags and the ability to change the site language with a simple click.
Modified: websites/pbidir.com/bibivu/tpl/css/pbidir.css
===================================================================
--- websites/pbidir.com/bibivu/tpl/css/pbidir.css 2008-03-01 19:45:20 UTC (rev 1502)
+++ websites/pbidir.com/bibivu/tpl/css/pbidir.css 2008-03-02 03:07:03 UTC (rev 1503)
@@ -393,8 +393,11 @@
}
.search_text{
+ height:18px;
}
.search_button{
+ height:24px;
+ margin-left:5px;
}
#search_form{
margin:10px;
@@ -700,4 +703,15 @@
width:20px;
float:left;
padding-right:5px;
+}
+
+.languages{
+ float:right;
+ border:1px solid #EBEBEB;
+ background-color: #EBEBEB;
+ padding:5px;
+}
+
+.language_flag{
+ margin:5px;
}
\ No newline at end of file
Added: websites/pbidir.com/bibivu/tpl/img/flag-CA.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-CA.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-DE.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-DE.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-EN.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-EN.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-ES.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-ES.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-FI.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-FI.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-FR.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-FR.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-HU.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-HU.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-IT.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-IT.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-NL.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-NL.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-NO.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-NO.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-PL.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-PL.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-PT.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-PT.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-RU.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-RU.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-SK.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-SK.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: websites/pbidir.com/bibivu/tpl/img/flag-SV.gif
Property changes on: websites/pbidir.com/bibivu/tpl/img/flag-SV.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: websites/pbidir.com/bibivu/tpl/pbidir/header.php
===================================================================
--- websites/pbidir.com/bibivu/tpl/pbidir/header.php 2008-03-01 19:45:20 UTC (rev 1502)
+++ websites/pbidir.com/bibivu/tpl/pbidir/header.php 2008-03-02 03:07:03 UTC (rev 1503)
@@ -1,56 +1,61 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang="en" dir="ltr" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>pbiDIR<?=htmlentities($title!=''?' - '.$title:'')?></title>
-<?php
-foreach($link as $key=>$v1){
- ?><link <?php
- foreach($v1 as $name=>$value){
- ?><?=$name?>="<?=addslashes($value)?>" <?php
- }
- ?>/>
-<?php
-}
-foreach($meta as $key=>$v1){
- ?><meta <?php
- foreach($v1 as $name=>$value){
- ?><?=$name?>="<?=addslashes($value)?>" <?php
- }
- ?>/>
-<?php
-}
-foreach($script as $key=>$v1){
- ?><script <?php
- foreach($v1 as $name=>$value){
- ?><?=$name?>="<?=addslashes($value)?>" <?php
- }
- ?>></script>
-<?php
-}
-?><script language="javascript" type="text/javascript">
-<!--
-pathToLoadImage = "<?=TPLWEBPATH?>img/loadingAnimation.gif";
--->
-</script>
-</head>
-<body>
-<div id="container">
- <div id="main">
- <div id="header">
- <h1 id="logo"><a href="<?=$home_uri?>"><?=load_library('lang')->get('pbidir')?></a></h1>
- <form action="<?=$search_uri?>" method="get" id="search_form" class="search_form">
- <label for="search_text"><?=load_library('lang')->get('search')?>: </label><input name="str" type="text" id="search_text" class="search_text" value="<?=$search_text?>" /><input type="submit" value="Go" name="search" id="search_button" class="search_button" />
- </form>
- </div><?php
-/*
- <div id="banner"><a onclick="window.open(this.href); return false;" href="http://www.pcbsd.org/"><img alt="PC-BSD" src="/bibivu/tpl/pbidir/images/pcbsd.png"/></a></div>
-*/
- $this->show('pbidir/admin/menu');
-/*
- if($task=='home'){
- $this->show('pbidir/most_popular');
- }
-*/
- $this->show('pbidir/menu');
- ?>
- <div id="content">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html lang="en" dir="ltr" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>pbiDIR<?=htmlentities($title!=''?' - '.$title:'')?></title>
+<?php
+foreach($link as $key=>$v1){
+ ?><link <?php
+ foreach($v1 as $name=>$value){
+ ?><?=$name?>="<?=addslashes($value)?>" <?php
+ }
+ ?>/>
+<?php
+}
+foreach($meta as $key=>$v1){
+ ?><meta <?php
+ foreach($v1 as $name=>$value){
+ ?><?=$name?>="<?=addslashes($value)?>" <?php
+ }
+ ?>/>
+<?php
+}
+foreach($script as $key=>$v1){
+ ?><script <?php
+ foreach($v1 as $name=>$value){
+ ?><?=$name?>="<?=addslashes($value)?>" <?php
+ }
+ ?>></script>
+<?php
+}
+?><script language="javascript" type="text/javascript">
+<!--
+pathToLoadImage = "<?=TPLWEBPATH?>img/loadingAnimation.gif";
+-->
+</script>
+</head>
+<body>
+<div id="container">
+ <div id="main">
+ <div id="header">
+ <div class="languages">
+ <a href="/bt/lang/en" class="language_flag"><img src="/bibivu/tpl/img/flag-EN.gif" title="english" alt="english" /></a>
+ <a href="/bt/lang/es" class="language_flag"><img src="/bibivu/tpl/img/flag-ES.gif" title="español" alt="español" /></a>
+ <a href="/bt/lang/it" class="language_flag"><img src="/bibivu/tpl/img/flag-IT.gif" title="italiano" alt="italiano" /></a>
+ </div>
+ <h1 id="logo"><a href="<?=$home_uri?>"><?=load_library('lang')->get('pbidir')?></a></h1>
+ <form action="<?=$search_uri?>" method="get" id="search_form" class="search_form">
+ <input name="str" type="text" id="search_text" class="search_text" value="<?=$search_text?>" /><input type="submit" value="<?=load_library('lang')->get('search')?>" name="search" id="search_button" class="search_button" />
+ </form>
+ </div><?php
+/*
+ <div id="banner"><a onclick="window.open(this.href); return false;" href="http://www.pcbsd.org/"><img alt="PC-BSD" src="/bibivu/tpl/pbidir/images/pcbsd.png"/></a></div>
+*/
+ $this->show('pbidir/admin/menu');
+/*
+ if($task=='home'){
+ $this->show('pbidir/most_popular');
+ }
+*/
+ $this->show('pbidir/menu');
+ ?>
+ <div id="content">
More information about the Commits
mailing list