From b17106664151dad0af0aef31653f7a7d2e8c3dc8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 8 Oct 2009 12:36:38 +0400 Subject: [PATCH] misc dialog tweaks --- functions.php | 5 ++++- modules/popup-dialog.php | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 2c2a81c5..eabb5a35 100644 --- a/functions.php +++ b/functions.php @@ -2862,8 +2862,11 @@ } else { $is_selected = ""; } + + $title = truncate_string(htmlspecialchars($line["title"]), 40); + printf("", - $line["id"], htmlspecialchars($line["title"])); + $line["id"], $title); } print ""; diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index b173e64f..ab28d174 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -153,13 +153,13 @@ print "
"; - print ""; - print " " . __('match on:')." "; + print " " . __('match on')." "; $search_fields = array( "title" => __("Title"), -- 2.39.5