Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Fixed issue with adding a new set, modified language
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Feb 24, 2011
1 parent 7b01280 commit a77ad11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/photos/controllers/sets.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function Save ( ) {

$Set = $Request->Get ( 'Set' );

if ( isset ( $Set ) ) {
if ( $Set ) {
return ( $this->_Update ( ) );
}

Expand Down
2 changes: 2 additions & 0 deletions components/photos/languages/en-US/photos.lang
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ PHOTO_DESCRIPTION_LABEL="Photo description"
ADD_PHOTOS_TITLE="Add photos"
ADD_PHOTOS_BUTTON="+"

ADD_SET_BUTTON="+"

ADD_SET_TITLE="Create Photo Album"
ADD_SET="+";

Expand Down
2 changes: 1 addition & 1 deletion components/photos/views/sets.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<form class="add" method="post" action="">
<input type="hidden" name="Task" value="Add" />
<input type="hidden" name="Context" value="" />
<button class="add-photos">Add Photos Button</button>
<button class="add-photos">Add Set Button</button>
</form>

<ul class="list">
Expand Down

0 comments on commit a77ad11

Please sign in to comment.