[PC-BSD Commits] r2946 - in websites/pbidir.com/bibivu/tpl: css img img/jquery pbidir pbidir/images pbidir/images/download pbidir/images/home pbidir/images/pbi

svn at pcbsd.org svn at pcbsd.org
Sat Nov 1 07:28:21 PST 2008


Author: fabry
Date: 2008-11-01 08:28:16 -0700 (Sat, 01 Nov 2008)
New Revision: 2946

Added:
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink2.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink3.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink4.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink5.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink6.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink2.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink3.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink4.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink5.png
   websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink6.png
Modified:
   websites/pbidir.com/bibivu/tpl/css/pbidir.css
   websites/pbidir.com/bibivu/tpl/img/
   websites/pbidir.com/bibivu/tpl/img/jquery/
   websites/pbidir.com/bibivu/tpl/pbidir/download.php
   websites/pbidir.com/bibivu/tpl/pbidir/images/
   websites/pbidir.com/bibivu/tpl/pbidir/images/home/
   websites/pbidir.com/bibivu/tpl/pbidir/images/pbi/
   websites/pbidir.com/bibivu/tpl/pbidir/mirrors.php
Log:
added images to the download links (http/ftp)

Modified: websites/pbidir.com/bibivu/tpl/css/pbidir.css
===================================================================
--- websites/pbidir.com/bibivu/tpl/css/pbidir.css	2008-10-31 19:33:22 UTC (rev 2945)
+++ websites/pbidir.com/bibivu/tpl/css/pbidir.css	2008-11-01 15:28:16 UTC (rev 2946)
@@ -26,8 +26,19 @@
 }
 
 .mirrors li {
+	float:left;
+	background-color:#EEE;
+	border:1px solid #DDD;
+	width:354px;
+	height:25px;
 }
-
+.mirrors li:hover {
+	background-color:#FEFEFE;
+	border:1px solid #DDD;
+}
+.mirrors li a:hover {
+	font-weight:bold;
+}
 #container {
 	width: 100%;
 	text-align: center;
@@ -727,4 +738,13 @@
 
 .language_flag{
 	margin:5px;
+}
+
+.link_image{
+	float:left;
+	padding-right:5px;
+}
+.link_image_small{
+	padding-right:2px;
+	width:25px;
 }
\ No newline at end of file


Property changes on: websites/pbidir.com/bibivu/tpl/img
___________________________________________________________________
Added: svn:ignore
   + Thumbs.db



Property changes on: websites/pbidir.com/bibivu/tpl/img/jquery
___________________________________________________________________
Added: svn:ignore
   + Thumbs.db


Modified: websites/pbidir.com/bibivu/tpl/pbidir/download.php
===================================================================
--- websites/pbidir.com/bibivu/tpl/pbidir/download.php	2008-10-31 19:33:22 UTC (rev 2945)
+++ websites/pbidir.com/bibivu/tpl/pbidir/download.php	2008-11-01 15:28:16 UTC (rev 2946)
@@ -6,7 +6,8 @@
 		$uri .='/';
 	}
 	$uri .= $pbi_release['mirror_path'];
-	?>
+	$key = strtolower(substr($mirror['url'],0,3))=='ftp'?'ftp':'http';
+	?><img src="/bibivu/tpl/pbidir/images/download/<?=$key?>link2.png" alt="<?=$key?>" title="<?=$key?>" class="link_image" />
 	<h1><?=load_library('lang')->get('download_downloading')?> <?=$pbi['name']?> v.<?=$pbi_release['version']?></h1>
 	<h2><?=load_library('lang')->get('download_using')?> <?=$mirror['name']?><?php
 	if($mirror['home']!=''){
@@ -16,9 +17,9 @@
 	if($pbi_release['md5']!=''){
 		?><br/><?=load_library('lang')->get('md5')?>: <?=$pbi_release['md5']?><br /><br /><?php
 	}
+	?><br/><?=load_library('lang')->get('download_nostart')?> <a href="<?=$uri?>"><?=load_library('lang')->get('download_clickhere')?></a><br /><br /><?php
 }
 ?>
-<br/><?=load_library('lang')->get('download_nostart')?> <a href="<?=$uri?>"><?=load_library('lang')->get('download_clickhere')?></a><br /><br />
 <a href="<?=$pbi_uri?>/<?=$pbi['id']?>"><?=load_library('lang')->get('download_return_pbi')?></a><br /><br />
 <script type="text/javascript" language="javascript"><!-- 
 setTimeout("redirect_bibivu();",<?=($timeout*1000)?>);


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images
___________________________________________________________________
Added: svn:ignore
   + Thumbs.db



Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink3.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink4.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink5.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/ftplink6.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink3.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink4.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink5.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/download/httplink6.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/home
___________________________________________________________________
Added: svn:ignore
   + Thumbs.db



Property changes on: websites/pbidir.com/bibivu/tpl/pbidir/images/pbi
___________________________________________________________________
Added: svn:ignore
   + Thumbs.db


Modified: websites/pbidir.com/bibivu/tpl/pbidir/mirrors.php
===================================================================
--- websites/pbidir.com/bibivu/tpl/pbidir/mirrors.php	2008-10-31 19:33:22 UTC (rev 2945)
+++ websites/pbidir.com/bibivu/tpl/pbidir/mirrors.php	2008-11-01 15:28:16 UTC (rev 2946)
@@ -3,7 +3,8 @@
   <ul class="mirrors">
 <?php
 foreach($mirror as $mirr){
-	?><li><a href="<?=$download_uri?>/<?=$pbi['id']?>/<?=$pbi_release['id']?>/<?=$mirr['id']?>"><?=$mirr['name']?></a></li><?php
+	$key = strtolower(substr($mirr['url'],0,3))=='ftp'?'ftp':'http';
+	?><li><a href="<?=$download_uri?>/<?=$pbi['id']?>/<?=$pbi_release['id']?>/<?=$mirr['id']?>"><img src="/bibivu/tpl/pbidir/images/download/<?=$key?>link.png" alt="<?=$key?>" title="<?=$key?>" class="link_image_small" /><?=$mirr['name']?></a></li><?php
 }
 ?>
   </ul>



More information about the Commits mailing list