r1866 + try two more icons
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 10 Apr 2008 22:16:33 +0000 (22:16 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 10 Apr 2008 22:16:33 +0000 (22:16 +0000)
+ update COPYING with Tango paragraph

COPYING
inc/interface.php
pix/tango-go-next.png [new file with mode: 0644]
pix/tango-go-previous.png [new file with mode: 0644]

diff --git a/COPYING b/COPYING
index dcaa1e0b16f9665237b49cff0a8746d1cdf8215e..4ff7789f5b5fe96ddaf2cc30bcf6325435dd2634 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -49,3 +49,8 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+----------------------8<----------------------8<----------------------
+
+RackTables ships with parts of "Tango base icon theme", which is licensed
+under Creative Commons Attribution Share-Alike license and has been
+produced by Tango Desktop Project.
index b8fb9cf4f24489d76211fae824f60feee0ceba5c..40399273ac62c621e6bf9e9bfc389fab6e76b431 100644 (file)
@@ -172,10 +172,18 @@ function renderRack ($rack_id = 0, $hl_obj_id = 0)
        echo "<center>\n<h2><a href='${root}?page=row&row_id=${rackData['row_id']}'>${rackData['row_name']}</a> :";
        // FIXME: use 'bypass'?
        if ($prev_id != NULL)
-               echo " <a href='${root}?page=rack&rack_id=${prev_id}'>&lt; &lt; &lt;</a>";
-       echo " <a href='${root}?page=rack&rack_id=${rackData['id']}'>${rackData['name']}</a>";
+       {
+               echo " <a href='${root}?page=rack&rack_id=${prev_id}'>";
+               printImageHREF ('prev', 'previous rack');
+               echo "</a>";
+       }
+       echo " <a href='${root}?page=rack&rack_id=${rackData['id']}'>${rackData['name']}</a> ";
        if ($next_id != NULL)
-               echo " <a href='${root}?page=rack&rack_id=${next_id}'>&gt; &gt; &gt;</a>";
+       {
+               echo " <a href='${root}?page=rack&rack_id=${next_id}'>";
+               printImageHREF ('prev', 'next rack');
+               echo "</a>";
+       }
        echo "</h2>\n";
        if ($rackData['left_is_front'] == 'yes')
                $markup = array ('left' => 'Front', 'right' => 'Back');
@@ -3435,6 +3443,12 @@ function printImageHREF ($tag, $title = '', $do_input = FALSE, $tabindex = 0)
        $image['spacer']['path'] = 'pix/pixel.png';
        $image['spacer']['width'] = 16;
        $image['spacer']['height'] = 16;
+       $image['next']['path'] = 'pix/tango-go-next.png';
+       $image['next']['width'] = 32;
+       $image['next']['height'] = 32;
+       $image['prev']['path'] = 'pix/tango-go-previous.png';
+       $image['prev']['width'] = 32;
+       $image['prev']['height'] = 32;
        if (!isset ($image[$tag]))
                $tag = 'error';
        $img = $image[$tag];
diff --git a/pix/tango-go-next.png b/pix/tango-go-next.png
new file mode 100644 (file)
index 0000000..a68e2db
Binary files /dev/null and b/pix/tango-go-next.png differ
diff --git a/pix/tango-go-previous.png b/pix/tango-go-previous.png
new file mode 100644 (file)
index 0000000..c37bc04
Binary files /dev/null and b/pix/tango-go-previous.png differ