msg="<p class='less'>This album will be shared with the following properties:</p><form>";
msg+="<div class='choice'><label><input type='checkbox' name='listed' checked><span class='checkbox'>"+build.iconic('check')+"</span><span class='label'>Visible</span></label><p>Listed to visitors of your Lychee.</p></div>";
msg+="<div class='choice'><label><input type='checkbox' name='downloadable'><span class='checkbox'>"+build.iconic('check')+"</span><span class='label'>Downloadable</span></label><p>Visitors of your Lychee can download this album.</p></div>";
msg+="<div class='choice'><label><input type='checkbox' name='password'><span class='checkbox'>"+build.iconic('check')+"</span><span class='label'>Password protected</span></label><p>Only accessible with a valid password.</p><input class='text' data-name='password' type='password' placeholder='password' value=''></div>";
if(photoIDs.length===1)modal.show('Set Title',"Enter a new title for this photo: <input class='text' type='text' maxlength='30' placeholder='Title' value='"+oldTitle+"'>",buttons);
elsemodal.show('Set Titles',"Enter a title for all "+photoIDs.length+" selected photos: <input class='text' type='text' maxlength='30' placeholder='Title' value=''>",buttons);
modal.show('Public Album',"This photo is located in a public album. To make this photo private or public, edit the visibility of the associated album.",[['Show Album',function(){lychee.goto(photo.json.original_album)}],['Close',function(){}]]);
varaction;
action=function(){
basicModal.close();
lychee.goto(photo.json.original_album);
}
basicModal.show({
body:"<p>This photo is located in a public album. To make this photo private or public, edit the visibility of the associated album.</p>",
modal.show('Set Description',"Enter a description for this photo: <input class='text' type='text' maxlength='800' placeholder='Description' value='"+oldDescription+"'>",buttons);
basicModal.show({
body:"<p>Enter a description for this photo: <input class='text' data-name='description' type='text' maxlength='800' placeholder='Description' value='"+oldDescription+"'></p>",
if(photoIDs.length===1)modal.show('Set Tags',"Enter your tags for this photo. You can add multiple tags by separating them with a comma: <input class='text' type='text' maxlength='800' placeholder='Tags' value='"+oldTags+"'>",buttons);
elsemodal.show('Set Tags',"Enter your tags for all "+photoIDs.length+" selected photos. Existing tags will be overwritten. You can add multiple tags by separating them with a comma: <input class='text' type='text' maxlength='800' placeholder='Tags' value='"+oldTags+"'>",buttons);
if(photoIDs.length===1)msg="<p>Enter your tags for this photo. You can add multiple tags by separating them with a comma: "+input+"</p>";
elsemsg="<p>Enter your tags for all "+photoIDs.length+" selected photos. Existing tags will be overwritten. You can add multiple tags by separating them with a comma: "+input+"</p>";