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 --- views/default/tidypics/forms/setupFlickr.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'views/default/tidypics/forms') diff --git a/views/default/tidypics/forms/setupFlickr.php b/views/default/tidypics/forms/setupFlickr.php index 8ae7c27bb..8c31d0883 100644 --- a/views/default/tidypics/forms/setupFlickr.php +++ b/views/default/tidypics/forms/setupFlickr.php @@ -7,29 +7,29 @@ $flickr_album_id = get_metadata_byname( $user->guid, "flickr_album_id" ); $action = $vars['url'] . 'action/tidypics/flickrSetup'; -$form_body = "

"; -$form_body .= "Please enter your Flickr username here:
"; +$form_body = "

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

"; +$form_body .= elgg_echo( 'flickr:usernamesetup') . "
"; $form_body .= ""; $albums = get_entities( "object", "album", $user->guid ); -$options = array( 0 => "Select album" ); +$options = array( 0 => elgg_echo( 'flickr:selectalbum' )); foreach( $albums as $album ) { $title = $album->title; switch( $album->access_id ) { case ACCESS_PRIVATE: - $title .= " (private)"; + $title .= " (" . elgg_echo( 'private' ) . ")"; break; case ACCESS_PUBLIC: - $title .= " (public)"; + $title .= " (" . elgg_echo( 'public' ) . ")"; break; default: - $title .= " (not sure)"; + $title .= " (no known permission set)"; break; } $options[$album->guid] = $title; } -$form_body .= "
Album to import photos to: "; +$form_body .= "
" . elgg_echo( 'flickr:albumdesc' ); $form_body .= elgg_view('input/pulldown', array('internalname' => 'album_id', 'options_values' => $options, 'value' => $flickr_album_id->value )); -- cgit v1.2.3