0
こんにちは私はOsclassスクリプトを使用しており、アイテムの投稿ページの公開ボタンに問題があります。場所リストログインしているユーザーとログアウトしたユーザーの公開ボタン
:公開ボタンが登録されていないユーザーのために非表示にする必要があり、登録ユーザーのために表示されます。
ログアウトしたときにこのコードを非表示に変更するにはどうすればよいですか?
<?php if(!osc_is_web_user_logged_in()) { ?>
出版社情報:ボタンを公開登録されていないユーザーのために表示され、登録されたユーザーのために非表示にする必要があります。このため私はこのコードを使用し、これは素晴らしい作品のように見えます!
<?php if(!osc_is_web_user_logged_in()) { ?>
<fieldset>
<h2>
<strong><?php _e("Publisher Information", 'ctg_housing'); ?></strong>
</h2>
<div class="item-post-user-name item-post-columns">
<label class="control-label" for="contactName">
<span class="required_fields">*</span>
<?php _e('Name', 'ctg_housing'); ?>
</label>
<?php ItemForm::contact_name_text(); ?>
</div>
<div class="item-post-user-email item-post-columns">
<label class="control-label" for="contactEmail">
<span class="required_fields">*</span>
<?php _e('E-mail', 'ctg_housing'); ?>
</label>
<?php ItemForm::contact_email_text(); ?>
</div>
<div class="clearfix"></div>
<div id="submit-button" class="item-post-button text-center">
<button type="submit" class="small button_radius">
<?php if($edit) { _e("Update Listing", 'ctg_housing'); } else { _e("Publish Listing", 'ctg_housing'); } ?>
</button>
</div>
</fieldset>
<?php } ?>
おかげ