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

Conflicts:

	repository/picasa/lib.php
This commit is contained in:
Marina Glancy
2012-04-03 13:21:48 +08:00
committed by Aparup Banerjee
parent 3eaee3a914
commit 7e7fbf62af
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -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;
+2
View File
@@ -84,6 +84,7 @@ class repository_picasa extends repository {
$ret = array();
$ret['dynload'] = true;
$ret['manage'] = google_picasa::MANAGE_URL;
$ret['list'] = $picasa->get_file_list($path);
return $ret;
}
@@ -93,6 +94,7 @@ class repository_picasa extends repository {
$ret = array();
$ret['list'] = $picasa->do_photo_search($query);
$ret['manage'] = google_picasa::MANAGE_URL;
return $ret;
}