WP PLUGIN 修正(ファイル名・JS)

・ファイル名の綴りが間違っていたので修正
・通常ソートのリスト表示位置が、有効/無効切り替えで変わるようJSとテンプレートのPHPファイルを修正
This commit is contained in:
2021-05-13 19:43:06 +09:00
parent 9800acf02b
commit c8f482a02d
6 changed files with 47 additions and 9 deletions
+11
View File
@@ -28,9 +28,14 @@ $submit_type = APOP_UI::input_post_filter( 'submit_type', 'str' );
<div class="sort_box">
<?php list( $list, $alert ) = APOP_UI::create_search_normal_list( 'normal' ); ?>
<?php echo $alert; ?>
<h4>有効</h4>
<ul class="post-order-list search_normal_sort">
<?php echo $list; ?>
</ul>
<div class="disable_box">
<h4>無効</h4>
<ul class="disable_normal_list"></ul>
</div>
</div>
<div class="sort_box">
<?php echo APOP_UI::none_registered_alert_msg(); ?>
@@ -42,6 +47,7 @@ $submit_type = APOP_UI::input_post_filter( 'submit_type', 'str' );
<p class="submit post-order"><input type="submit" name="Submit" class="button-primary"
value="変更を保存"/></p>
</form>
</div>
</div>
</div>
@@ -60,9 +66,14 @@ $submit_type = APOP_UI::input_post_filter( 'submit_type', 'str' );
<div class="sort_box">
<?php list( $list, $alert ) = APOP_UI::create_search_normal_list( 'search' ); ?>
<?php echo $alert; ?>
<h4>有効</h4>
<ul class="post-order-list search_normal_sort">
<?php echo $list; ?>
</ul>
<div class="disable_box">
<h4>無効</h4>
<ul class="disable_normal_list"></ul>
</div>
</div>
<div class="sort_box">
<?php echo APOP_UI::none_registered_alert_msg(); ?>
+6 -1
View File
@@ -38,11 +38,16 @@
</ul>
</div>
<div class="sort_box">
<?php list( $list, $alert) = APOP_UI::create_search_normal_list( 'tax', $tax_data->term_id ); ?>
<?php list( $list, $alert ) = APOP_UI::create_search_normal_list( 'tax', $tax_data->term_id ); ?>
<?php echo $alert; ?>
<h4>有効</h4>
<ul class="post-order-list search_normal_sort">
<?php echo $list; ?>
</ul>
<div class="disable_box">
<h4>無効</h4>
<ul class="disable_normal_list"></ul>
</div>
</div>
<input type="hidden" name="submit_type" value="<?php echo $submit_type_number; ?>">
<p class="submit post-order"><input type="submit" name="Submit"