echo Form::hidden('original_public_flag', isset($album) ? $album->public_flag : null); ?> <?php echo Form::hidden('is_update_children_public_flag', 0, array('id' => 'is_update_children_public_flag')); } ?> <?php echo form_input($val, 'name', isset($album) ? $album->name : ''); ?> <?php echo form_textarea($val, 'body', isset($album) ? $album->body : ''); if (empty($is_edit)) { ?> <?php echo form_upload_files($files); } ?> <?php echo form_public_flag($val, isset($album) ? $album->public_flag : null); ?> <?php echo form_button('form.do_submit', 'button', '', array('class' => 'btn btn-default btn-primary submit_btn')); if (isset($is_edit) && $is_edit) { ?> <?php echo form_anchor(sprintf('album/delete/%d%s', $album->id, get_csrf_query_str()), term('form.do_delete'), array('class' => 'btn btn-default btn-danger')); } echo form_close(); ?> </div>
echo form_anchor(conf('login_uri.site'), icon_label('site.login', 'both', false), array('class' => 'btn btn-default btn-primary'), $col_offset_size); } ?> <?php if (FBD_FACEBOOK_APP_ID) { ?> <?php echo form_anchor(conf('login_uri.site') . '/facebook', icon_label('Facebookで' . term('site.login'), 'both', false, 'facebook-square', 'fa fa-'), array('class' => 'btn btn-default'), $col_offset_size); } if (FBD_TWITTER_APP_ID) { ?> <?php echo form_anchor(conf('login_uri.site') . '/twitter', icon_label('Twitterで' . term('site.login'), 'both', false, 'twitter', 'fa fa-'), array('class' => 'btn btn-default'), $col_offset_size); } if (FBD_GOOGLE_APP_ID) { ?> <?php echo form_anchor(conf('login_uri.site') . '/google', icon_label('Googleで' . term('site.login'), 'both', false, 'google', 'fa fa-'), array('class' => 'btn btn-default'), $col_offset_size); } ?> <?php echo form_anchor('member/register/signup', icon_label('member.registration', 'both', false), array('class' => 'btn btn-default btn-warning'), $col_offset_size); ?> <?php echo form_close(); if (empty($in_popover)) { ?> </div><?php }