PluginProbe
WPComplete / 2.3
WPComplete v2.3
2.9.5.7 2.9.5.6 trunk 1.0 1.1 1.2 1.4 1.4.6 2.3 2.9.1 2.9.2 2.9.5 2.9.5.1 2.9.5.3 2.9.5.4 2.9.5.5
wpcomplete / admin / partials / wpcomplete-admin-quickedit.php

wpcomplete-admin-quickedit.php in WPComplete 2.3, at admin/partials/wpcomplete-admin-quickedit.php

24 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( $column_name == 'completable' ) { ?>
2 <fieldset>
3 <div class="inline-edit-col column-<?php echo $column_name; ?>">
4 <label class="inline-edit-group">
5 <?php wp_nonce_field( $this->plugin_name, 'completable_nonce' ); ?>
6 <input type="hidden" name="wpcomplete[completable]" value="false">
7 <input type="checkbox" name="wpcomplete[completable]" value="true" onclick="jQuery(this).closest('.inline-edit-col').find('.wpcomplete-course-container').toggle();"><?php echo __( 'Yes, I want this page to be completable.', $this->plugin_name ); ?>
8 </label>
9
10 <div class="inline-edit-group wpcomplete-course-container">
11 <label for="course-assigned">
12 <span class="title" style="width: 100px;"><?php echo __( 'This is a part of:', $this->plugin_name ); ?></span>
13 <select name="wpcomplete[course]" class="course-toggle">
14 <option value="true"><?php echo get_bloginfo( 'name' ); ?></option>
15 <?php foreach ( $this->get_course_names() as $course_name ) : ?>
16 <option value="<?php echo $course_name; ?>"><?php echo $course_name; ?></option>
17 <?php endforeach; ?>
18 </select>
19 </label>
20 </div>
21 </div>
22 </fieldset>
23 <?php } ?>
24