]> git.wh0rd.org Git - tt-rss.git/commitdiff
truncate tags in tag editor dropbox to 20 chars
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 25 Jan 2007 09:47:59 +0000 (10:47 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 25 Jan 2007 09:47:59 +0000 (10:47 +0100)
modules/popup-dialog.php

index 5549a2d79991f821ace9848ff68fa274c28a99d0..8a3478c8c2e3368b25b5ca1475c5eeee6545f96e 100644 (file)
                        array_push($found_tags, '');
 
                        while ($line = db_fetch_assoc($result)) {
-                               array_push($found_tags, $line["tag_name"]);
+                               array_push($found_tags, truncate_string($line["tag_name"], 20));
                        }
 
                        print "<td align='right'>";