summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-10-08 12:36:38 +0400
committerAndrew Dolgov <[email protected]>2009-10-08 12:36:38 +0400
commitb17106664151dad0af0aef31653f7a7d2e8c3dc8 (patch)
tree97e4da18e11f750de6b2cd56103fb3bad08bb051 /functions.php
parent588e4dc3d36be03ab404779ee98d97e07f9863c8 (diff)
misc dialog tweaks
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 2c2a81c56..eabb5a358 100644
--- a/functions.php
+++ b/functions.php
@@ -2862,8 +2862,11 @@
} else {
$is_selected = "";
}
+
+ $title = truncate_string(htmlspecialchars($line["title"]), 40);
+
printf("<option $is_selected value='%d'>%s</option>",
- $line["id"], htmlspecialchars($line["title"]));
+ $line["id"], $title);
}
print "</select>";