{'head'}; my $body = \$_[1]->{'body'}; my $u = LJ::User->remote; LJ::need_res('stc/lj_base-app.css', 'stc/imgupload.css', 'stc/display_none.css', 'js/photobucket_jw.js'); if ($GET{upload_count} || LJ::did_post()) { my $js = ""; if (my $ct = $GET{upload_count}) { for my $pn (1..$ct) { my $swidth = int($GET{"sw_$pn"}); my $sheight = int($GET{"sh_$pn"}); my $esurl = LJ::ejs($GET{"su_$pn"}); my $eppurl = LJ::ejs($GET{"pp_$pn"}); $js .= "InOb.onUpload(\"$esurl\", \"$eppurl\", $swidth, $sheight);\n"; } # From URL } else { my $img = LJ::ejs($POST{'url'}); $js = "InOb.onInsURL(\"$img\")\n"; } my $ret = qq{
}; return $ret; } my $step = 1; my $fbenabled = LJ::get_cap($u, 'fb_account') && LJ::get_cap($u, 'fb_can_upload'); my $ret = ''; $$head .= qq{ }; $ret .= "