@alzamls
- go to item-sidebar.php
find this code:
<?php if(!osc_is_web_user_logged_in() || osc_logged_user_id()!=osc_item_user_id()) { ?>
<form action="<?php echo osc_base_url(true); ?>" method="post" name="mask_as_form" id="mask_as_form">
<input type="hidden" name="id" value="<?php echo osc_item_id(); ?>" />
<input type="hidden" name="as" value="spam" />
<input type="hidden" name="action" value="mark" />
<input type="hidden" name="page" value="item" />
<select name="as" id="as" class="mark_as">
<option><?php _e("Mark as...", 'bender_black'); ?></option>
<option value="spam"><?php _e("Mark as spam", 'bender_black'); ?></option>
<option value="badcat"><?php _e("Mark as misclassified", 'bender_black'); ?></option>
<option value="repeated"><?php _e("Mark as duplicated", 'bender_black'); ?></option>
<option value="expired"><?php _e("Mark as expired", 'bender_black'); ?></option>
<option value="offensive"><?php _e("Mark as offensive", 'bender_black'); ?></option>
</select>
</form>
<?php } ?>
replace with:
<?php if(osc_is_web_user_logged_in()) { ?>
<form action="<?php echo osc_base_url(true); ?>" method="post" name="mask_as_form" id="mask_as_form">
<input type="hidden" name="id" value="<?php echo osc_item_id(); ?>" />
<input type="hidden" name="as" value="spam" />
<input type="hidden" name="action" value="mark" />
<input type="hidden" name="page" value="item" />
<select name="as" id="as" class="mark_as">
<option><?php _e("Mark as...", 'bender_black'); ?></option>
<option value="spam"><?php _e("Mark as spam", 'bender_black'); ?></option>
<option value="badcat"><?php _e("Mark as misclassified", 'bender_black'); ?></option>
<option value="repeated"><?php _e("Mark as duplicated", 'bender_black'); ?></option>
<option value="expired"><?php _e("Mark as expired", 'bender_black'); ?></option>
<option value="offensive"><?php _e("Mark as offensive", 'bender_black'); ?></option>
</select>
</form>
<?php } ?>