From 81b8ba32beb3151025d3b390c0621e074bceae36 Mon Sep 17 00:00:00 2001 From: Greg Froese Date: Mon, 19 Oct 2009 05:34:47 +0000 Subject: flickr integration changes --- pages/flickr/importPhotosets.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pages/flickr/importPhotosets.php') diff --git a/pages/flickr/importPhotosets.php b/pages/flickr/importPhotosets.php index fe241439e..a807a0782 100644 --- a/pages/flickr/importPhotosets.php +++ b/pages/flickr/importPhotosets.php @@ -6,8 +6,8 @@ // Load Elgg engine include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php"; - $body = elgg_view_title( "Photoset Import Manager" ); - $body .= "

Click on the set you wish to import into this site. Copies of the photos will be made and stored on this site where they can be viewed and commented on.

"; + $body = elgg_view_title( elgg_echo( 'flickr:importmanager' )); + $body .= "

" . elgg_echo( 'flickr:desc' ) . "

"; $viewer = get_loggedin_user(); @@ -21,7 +21,7 @@ $album_id = get_metadata_byname( $viewer->guid, "flickr_album_id" ); if( intval( $album_id->value ) <= 0 ) { - register_error( "No album selected. Please choose and save an album: $album_id->value" ); + register_error( sprintf( elgg_echo( 'flickr:errornoalbum' ), $album_id->value )); forward( "/mod/tidypics/pages/flickr/setup.php" ); } @@ -45,6 +45,6 @@ // $body .= elgg_view("tidypics/forms/setupFlickr", array(), false, true ); flickr_menu(); - page_draw( "Photoset Import", elgg_view_layout("two_column_left_sidebar", '', $body)); + page_draw( elgg_echo( 'flickr:importmanager' ), elgg_view_layout("two_column_left_sidebar", '', $body)); ?> \ No newline at end of file -- cgit v1.2.3