?> href="<?php echo site_url('?p=quote'); ?> " title="<?php _e('Quote', 'p2'); ?> "><?php _e('Quote', 'p2'); ?> </a></li> </ul> <div class="avatar"> <?php p2_user_avatar('size=48'); ?> </div> <div class="inputarea"> <form id="new_post" name="new_post" method="post" action="<?php echo site_url(); ?> /"> <?php if ('status' == p2_get_posting_type() || '' == p2_get_posting_type()) { ?> <label for="posttext"> <?php p2_user_prompt();
/* ]]> */ </script> <?php // set default post type $post_type = p2_get_posting_type(); ?> <div id="postbox"> <ul id="post-types"> <li><a id="post"<?php if ( $post_type == 'post' ) : ?> class="selected"<?php endif; ?> href="<?php echo site_url( '?p=post' ); ?>" title="<?php _e( 'Blog Post', 'p2' ); ?>"><?php _e( 'Blog Post', 'p2' ); ?></a></li> <li><a id="quote"<?php if ( $post_type == 'quote' ) : ?> class="selected"<?php endif; ?> href="<?php echo site_url( '?p=quote' ); ?>" title="<?php _e( 'Quote', 'p2' ); ?>"><?php _e( 'Quote', 'p2' ); ?></a></li> <li><a id="link"<?php if ( $post_type == 'link' ) : ?> class="selected"<?php endif; ?> href="<?php echo site_url( '?p=link' ); ?>" title="<?php _e( 'Link', 'p2' ); ?>"><?php _e( 'Link', 'p2' ); ?></a></li> </ul> <div class="avatar"> <?php p2_user_avatar( 'size=48' ); ?> </div> <div class="inputarea"> <form id="new_post" name="new_post" method="post" action="<?php echo site_url(); ?>/"> <?php if ( 'post' == p2_get_posting_type() || '' == p2_get_posting_type() ) : ?> <label for="posttext"> <?php p2_user_prompt(); ?> </label> <?php endif; ?> <div id="postbox-type-post" class="post-input <?php if ( 'post' == p2_get_posting_type() ) echo ' selected'; ?>"> <input type="text" name="posttitle" id="posttitle" tabindex="1" value="" onfocus="this.value=(this.value=='<?php echo esc_js( __( 'Post Title', 'p2' ) ); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php echo esc_js( __( 'Post Title', 'p2' ) ); ?>' : this.value;" />