Skip to content

Commit

Permalink
MDL-32171: add 'Manage' link to Picasa repository
Browse files Browse the repository at this point in the history
Conflicts:

	repository/picasa/lib.php
  • Loading branch information
marinaglancy authored and Aparup Banerjee committed Apr 3, 2012
1 parent 3eaee3a commit 7e7fbf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/googleapi.php
Expand Up @@ -376,6 +376,7 @@ class google_picasa {
const ALBUM_PHOTO_LIST = 'https://picasaweb.google.com/data/feed/api/user/default/albumid/';
const PHOTO_SEARCH_URL = 'https://picasaweb.google.com/data/feed/api/user/default?kind=photo&q=';
const LIST_ALBUMS_URL = 'https://picasaweb.google.com/data/feed/api/user/default';
const MANAGE_URL = 'http://picasaweb.google.com/';

private $google_curl = null;

Expand Down
2 changes: 2 additions & 0 deletions repository/picasa/lib.php
Expand Up @@ -84,6 +84,7 @@ public function get_listing($path='', $page = '') {

$ret = array();
$ret['dynload'] = true;
$ret['manage'] = google_picasa::MANAGE_URL;
$ret['list'] = $picasa->get_file_list($path);
return $ret;
}
Expand All @@ -93,6 +94,7 @@ public function search($query){

$ret = array();
$ret['list'] = $picasa->do_photo_search($query);
$ret['manage'] = google_picasa::MANAGE_URL;
return $ret;
}

Expand Down

0 comments on commit 7e7fbf6

Please sign in to comment.