From a1dcc526e0fc18bc74ea3c95541f64e32355ff33 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 17 May 2005 15:45:54 +0000 Subject: [PATCH] Fixed strings --- lib/rsslib.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/rsslib.php b/lib/rsslib.php index 6f2c7b68e5f..aa35b6b0587 100644 --- a/lib/rsslib.php +++ b/lib/rsslib.php @@ -369,7 +369,7 @@ function rss_display_feeds($userid='', $rssid='') { ?> - + @@ -383,7 +383,7 @@ function rss_display_feeds($userid='', $rssid='') { $editString .= '" title="'. get_string('edit') .'" align="absmiddle" height="16" width="16" border="0" />'; $deleteString = ''; + $deleteString .= '&blogid='. $blogid .'" onClick="return confirm(\''. get_string('deletefeedconfirm', 'block_rss_client') .'\');">'; $deleteString .= ''. get_string('delete');
                 $deleteString .= ''; } @@ -431,8 +431,8 @@ function rss_get_form($act='none', $url='', $rssid='', $preferredtitle='', $prin global $blogid; //hackish, but if there is a blogid it would be good to preserve it $stredit = get_string('edit'); $stradd = get_string('add'); - $strupdatefeed = get_string('block_rss_update_feed', 'block_rss_client'); - $straddfeed = get_string('block_rss_add_feed', 'block_rss_client'); + $strupdatefeed = get_string('updatefeed', 'block_rss_client'); + $straddfeed = get_string('addfeed', 'block_rss_client'); $returnstring = '
'."\n"; @@ -447,7 +447,7 @@ function rss_get_form($act='none', $url='', $rssid='', $preferredtitle='', $prin $returnstring .= $url; } $returnstring .= '" />'."\n"; - $returnstring .= '
'. get_string('block_rss_custom_title_label', 'block_rss_client'); + $returnstring .= '
'. get_string('customtitlelabel', 'block_rss_client'); $returnstring .= '
'."\n"; $returnstring .= '
". get_string('validate_feed', 'block_rss_client').""; +onClick=\"window.open('http://feedvalidator.org/check.cgi?url='+document.block_rss.elements['url'].value,'validate','width=640,height=480,scrollbars=yes,status=yes,resizable=yes');return true;\">". get_string('validatefeed', 'block_rss_client').""; if ($act == 'rss_edit') { $returnstring .= $stredit; } else {