Permalink
Browse files

MDL-32171: add 'Manage' link to Picasa repository

Conflicts:

	repository/picasa/lib.php
  • Loading branch information...
marinaglancy authored and nebgor committed Mar 23, 2012
1 parent a028969 commit 97c0418e64e4ce4e87c0f63f77a6f2b8245fdb80
Showing with 3 additions and 0 deletions.
  1. +1 −0 lib/googleapi.php
  2. +2 −0 repository/picasa/lib.php
View
@@ -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;
@@ -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;
}
@@ -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;
}

0 comments on commit 97c0418

Please sign in to comment.