SVN: toys/stbr/index.php

duddits duddits at pld-linux.org
Sun Feb 6 15:52:40 CET 2011


Author: duddits
Date: Sun Feb  6 15:52:40 2011
New Revision: 12118

Modified:
   toys/stbr/index.php
Log:
- some cosmetics: revised logo, reorganize some links, ti-dev added to
  queue


Modified: toys/stbr/index.php
==============================================================================
--- toys/stbr/index.php	(original)
+++ toys/stbr/index.php	Sun Feb  6 15:52:40 2011
@@ -3,14 +3,15 @@
 error_reporting(E_ALL);
 #setlocale(LC_ALL, 'C');
 ob_start("ob_gzhandler");
-$db = sqlite_open("../db/stbrlog.db");
-$unfdb = sqlite_open("../db/unfilled.db");
+$db = sqlite_open("/home/users/stbr/db/stbrlog.db");
+$unfdb = sqlite_open("/home/users/stbr/db/unfilled.db");
 
 include("queue.php");
 
 $distros = array(
 	"th" => "http://ep09.pld-linux.org/~builderth/queue.gz",
-	"ti" =>  "http://ep09.pld-linux.org/~builderti/queue.gz"
+	"ti" =>  "http://ep09.pld-linux.org/~builderti/queue.gz",
+	"ti-dev" =>  "http://ep09.pld-linux.org/~buildertidev/queue.gz"
 );
 
 foreach($distros as $line => $url)
@@ -257,7 +258,8 @@
 </head>
 <body topmargin="0">
 
-<img src="stbr.jpg">
+<img src="stbr-ng.png">
+<div style="float:right;margin:10px 5px 0 0"><a href="http://pld-users.org/en/howtos/stbr-how-to-put-a-package-into-pld-repository">» How to put a package into PLD repo</a><br/><a href="/stats">» STBR stats</a></div>
 <div onclick="javascript:document.getElementById('usageinfo').style.display='block'; this.style.display='none';">[ Click to show usage info ]</div>
 
 <table style="width: 950px; margin-bottom: 3em; display: none" id="usageinfo">
@@ -265,7 +267,7 @@
 <tr><td class="branch"><b style="color: black;">Usage Info:</b></td></tr>
 </thead>
 <tbody>
-<tr><td class="branch">!stbr [help] [url] th|ti [no]upgrade spec1[:BRANCH] spec2[:BRANCH] ...</td>
+<tr><td class="branch">!stbr [help] [url] th|ti|ti-dev [no]upgrade spec1[:BRANCH] spec2[:BRANCH] ...</td>
 <td>Usage options</td></tr>
 <tr><td class="branch">!stbr help</td>
 <td>Shows help information on private chat</td></tr>
@@ -366,7 +368,8 @@
 			{
 				$randname = '/home/users/stbr/tmp/stbr-' . rand();
 				$url = `./buildlog_link.py {$q['line']} {$filled['no']} {$key} $randname`;
-				//echo $url;
+				//echo $q['line']." ".$filled['no']." ".$key." ".$randname."<br/>\n";
+				//echo $filled['no']."<br/>";
 
 				$url = file_get_contents($randname);
 
@@ -478,7 +481,7 @@
 <a href="./?show_all">Show all requests »</a>
 </div>
 <div id="logoPLD" onmouseover="O(event, this, 'Powered by [b]PLD[/b]')">
-<img src="http://pl.docs.pld-linux.org/zrzuty_ekr/logo_03.png" alt="PLD" />
+<img src="logo_03.png" alt="PLD" />
 </div>
 
 <div id="Popup">EMPTY</div>


More information about the pld-cvs-commit mailing list