From aa94692460608e8b3e26602b5a056ed4e29db307 Mon Sep 17 00:00:00 2001
From: moodler <moodler>
Date: Sun, 15 Aug 2004 14:31:28 +0000
Subject: [PATCH] Fixed Browse button (added ellipsis) and missing string
 "Anchor"

---
 lang/en/editor.php             | 1 +
 lib/editor/popups/link_std.php | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lang/en/editor.php b/lang/en/editor.php
index 6d9c3c38c9..3dd4471a62 100644
--- a/lang/en/editor.php
+++ b/lang/en/editor.php
@@ -8,6 +8,7 @@ $string['absmiddle'] = 'Absmiddle';
 $string['address'] = 'Address';
 $string['alignment'] = 'Alignment';
 $string['alternatetext'] = 'Alternate text';
+$string['anchors'] = 'Anchors';
 $string['baseline'] = 'Baseline';
 $string['bold'] = 'Bold';
 $string['borderthickness'] = 'Border thickness';
diff --git a/lib/editor/popups/link_std.php b/lib/editor/popups/link_std.php
index 4d5ccae3de..b049c76223 100644
--- a/lib/editor/popups/link_std.php
+++ b/lib/editor/popups/link_std.php
@@ -177,7 +177,7 @@ border-bottom: 1px solid black; letter-spacing: 2px;
 </table>
 
 <div id="buttons">
-  <?php print(isteacher($id))? "<button type=\"button\" name=\"browse\" onclick=\"return onBrowse();\">".get_string("browse","editor")."</button>" : ""; ?>
+  <?php print(isteacher($id))? "<button type=\"button\" name=\"browse\" onclick=\"return onBrowse();\">".get_string("browse","editor")."...</button>" : ""; ?>
   <button type="button" name="ok" onclick="return onOK();"><?php print_string("ok","editor");?></button>
   <button type="button" name="cancel" onclick="return onCancel();"><?php print_string("cancel","editor");?></button>
 </div>
-- 
2.39.5