oh this is nice... http://kmkeen.com/jshon - this is what we need to make shred -- well "shred". I also had to change the photos album list API a bit to fix any imagined and/or real parsing issues and also fixed shred so it can find its auxiliary files.
This commit is contained in:
@@ -539,8 +539,8 @@ function photos_content(&$a) {
|
||||
$albumselect = '<select id="photos-upload-album-select" name="album" size="4">';
|
||||
|
||||
$albumselect .= '<option value="" ' . ((! $selname) ? ' selected="selected" ' : '') . '> </option>';
|
||||
if(count($albums)) {
|
||||
foreach($albums as $album) {
|
||||
if(count($albums['albums'])) {
|
||||
foreach($albums['albums'] as $album) {
|
||||
if(! $album['text'])
|
||||
continue;
|
||||
$selected = (($selname === $album['text']) ? ' selected="selected" ' : '');
|
||||
@@ -548,8 +548,6 @@ function photos_content(&$a) {
|
||||
}
|
||||
}
|
||||
|
||||
$celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false);
|
||||
|
||||
$albumselect .= '</select>';
|
||||
|
||||
$uploader = '';
|
||||
|
||||
Reference in New Issue
Block a user