vk-all-in-one-expansion-unit
Last commit date
_scss
10 years ago
bootstrap
11 years ago
css
10 years ago
js
11 years ago
languages
10 years ago
plugins
10 years ago
README.md
10 years ago
admin_warpper.php
11 years ago
admin_wrapper.php
10 years ago
common_helpers.php
10 years ago
common_init.php
10 years ago
config.rb
11 years ago
gulpfile.js
10 years ago
readme.txt
10 years ago
screenshot-1.png
11 years ago
screenshot-2.png
11 years ago
vkExUnit.php
10 years ago
vkExUnit_admin.php
10 years ago
vkExUnit_admin.php
232 lines
| 1 | <h2>VK All in One Expansion Unit Settings.</h2> |
| 2 | |
| 3 | <form method="post" action="options.php"> |
| 4 | <?php |
| 5 | settings_fields( 'vkExUnit_common_options_fields' ); |
| 6 | $options = vkExUnit_get_common_options(); |
| 7 | ?> |
| 8 | |
| 9 | <table class="wp-list-table widefat plugins" style="width:auto;"> |
| 10 | <thead> |
| 11 | <tr> |
| 12 | <th scope='col' id='cb' class='manage-column column-cb check-column'><label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all','vkExUnit');?></label><input id="cb-select-all-1" type="checkbox" /></th><th scope='col' id='name' class='manage-column column-name'><?php _e('Function','vkExUnit');?></th><th scope='col' id='description' class='manage-column column-description'><?php _e('Description','vkExUnit');?></th> </tr> |
| 13 | </thead> |
| 14 | |
| 15 | <tbody id="the-list"> |
| 16 | |
| 17 | <!-- [ active_bootstrap ] --> |
| 18 | <tr<?php echo (isset($options['active_bootstrap']) && $options['active_bootstrap'])? ' class="active"': ' class="inactive"'; ?>> |
| 19 | <th scope='row' class='check-column'> |
| 20 | <label class='screen-reader-text' for='checkbox_active_bootstrap' > |
| 21 | <?php _e('Choose Print Bootstrap css', 'vkExUnit'); ?> |
| 22 | </label> |
| 23 | <input type="checkbox" name="vkExUnit_common_options[active_bootstrap]" id="checkbox_active_bootstrap" value="true" <?php echo (isset($options['active_bootstrap']) && $options['active_bootstrap'])? 'checked': ''; ?> /> |
| 24 | </th> |
| 25 | <td class='plugin-title'> |
| 26 | <strong><?php _e('Print Bootstrap css and js', 'vkExUnit'); ?></strong> |
| 27 | </td> |
| 28 | <td class='column-description desc'> |
| 29 | <div class='plugin-description'> |
| 30 | <p><?php _e('If your using theme has already including Bootstrap, you deactivate this item.','vkExUnit'); ?></p> |
| 31 | </div><!-- [ /.plugin-description ] --> |
| 32 | </td> |
| 33 | </tr> |
| 34 | |
| 35 | <!-- [ active_fontawesome ] --> |
| 36 | <tr<?php echo (isset($options['active_fontawesome']) && $options['active_fontawesome'])? ' class="active"': ' class="inactive"'; ?>> |
| 37 | <th scope='row' class='check-column'> |
| 38 | <label class='screen-reader-text' for='checkbox_active_fontawesome' > |
| 39 | <?php _e('Choose Print link fontawesome.', 'vkExUnit'); ?> |
| 40 | </label> |
| 41 | <input type="checkbox" name="vkExUnit_common_options[active_fontawesome]" id="checkbox_active_fontawesome" value="true" <?php echo (isset($options['active_fontawesome']) && $options['active_fontawesome'])? 'checked': ''; ?> /> |
| 42 | </th> |
| 43 | <td class='plugin-title'> |
| 44 | <strong><?php _e('Print link fontawesome.', 'vkExUnit'); ?></strong> |
| 45 | </td> |
| 46 | <td class='column-description desc'> |
| 47 | <div class='plugin-description'> |
| 48 | <p><?php _e('Print fontawesome link tag to html head.', 'vkExUnit'); ?></p> |
| 49 | </div><!-- [ /.plugin-description ] --> |
| 50 | </td> |
| 51 | </tr> |
| 52 | |
| 53 | <!-- [ active_metaDescription ] --> |
| 54 | <tr<?php echo (isset($options['active_metaDescription']) && $options['active_metaDescription'])? ' class="active"': ' class="inactive"'; ?>> |
| 55 | <th scope='row' class='check-column'> |
| 56 | <label class='screen-reader-text' for='checkbox_active_metaDescription' > |
| 57 | <?php _e('Choose Print meta description.', 'vkExUnit'); ?> |
| 58 | </label> |
| 59 | <input type="checkbox" name="vkExUnit_common_options[active_metaDescription]" id="checkbox_active_metaDescription" value="true" <?php echo (isset($options['active_metaDescription']) && $options['active_metaDescription'])? 'checked': ''; ?> /> |
| 60 | </th> |
| 61 | <td class='plugin-title'> |
| 62 | <strong><?php _e('Print meta description', 'vkExUnit'); ?></strong> |
| 63 | </td> |
| 64 | <td class='column-description desc'> |
| 65 | <div class='plugin-description'> |
| 66 | <p><?php _e('Print meta description to html head.', 'vkExUnit'); ?></p> |
| 67 | </div><!-- [ /.plugin-description ] --> |
| 68 | </td> |
| 69 | </tr> |
| 70 | |
| 71 | <!-- [ active_wpTitle ] --> |
| 72 | <tr<?php echo (isset($options['active_wpTitle']) && $options['active_wpTitle'])? ' class="active"': ' class="inactive"'; ?>> |
| 73 | <th scope='row' class='check-column'> |
| 74 | <label class='screen-reader-text' for='checkbox_active_wpTitle' > |
| 75 | <?php _e('Choose Rewrite the print title tag', 'vkExUnit'); ?> |
| 76 | </label> |
| 77 | <input type="checkbox" name="vkExUnit_common_options[active_wpTitle]" id="checkbox_aactive_wpTitle" value="true" <?php echo (isset($options['active_wpTitle']) && $options['active_wpTitle'])? 'checked': ''; ?> /> |
| 78 | </th> |
| 79 | <td class='plugin-title'> |
| 80 | <strong><?php _e('Rewrite the print title tag', 'vkExUnit'); ?></strong> |
| 81 | </td> |
| 82 | <td class='column-description desc'> |
| 83 | <div class='plugin-description'> |
| 84 | <p><?php _e('Print is rewritten by its own rules to html head.', 'vkExUnit'); ?></p> |
| 85 | </div><!-- [ /.plugin-wpTitle ] --> |
| 86 | </td> |
| 87 | </tr> |
| 88 | |
| 89 | <!-- [ active_metaKeyword ] --> |
| 90 | <tr<?php echo (isset($options['active_metaKeyword']) && $options['active_metaKeyword'])? ' class="active"': ' class="inactive"'; ?>> |
| 91 | <th scope='row' class='check-column'> |
| 92 | <label class='screen-reader-text' for='checkbox_active_metaKeyword' > |
| 93 | <?php _e('Choose Print meta Keyword.', 'vkExUnit'); ?> |
| 94 | </label> |
| 95 | <input type="checkbox" name="vkExUnit_common_options[active_metaKeyword]" id="checkbox_active_metaKeyword" value="true" <?php echo (isset($options['active_metaKeyword']) && $options['active_metaKeyword'])? 'checked': ''; ?> /> |
| 96 | </th> |
| 97 | <td class='plugin-title'> |
| 98 | <strong><?php _e('Print meta Keyword', 'vkExUnit'); ?></strong> |
| 99 | </td> |
| 100 | <td class='column-Keyword desc'> |
| 101 | <div class='plugin-Keyword'> |
| 102 | <p><?php _e('Print meta Keyword to html head.', 'vkExUnit'); ?></p> |
| 103 | </div><!-- [ /.plugin-Keyword ] --> |
| 104 | </td> |
| 105 | </tr> |
| 106 | |
| 107 | <!-- [ active_sns ] --> |
| 108 | <tr<?php echo (isset($options['active_sns']) && $options['active_sns']) ? ' class="active"': ' class="inactive"'; ?>> |
| 109 | <th scope='row' class='check-column'> |
| 110 | <label class='screen-reader-text' for='checkbox_active_sns' > |
| 111 | <?php _e('Choose Social media cooperation.', 'vkExUnit'); ?> |
| 112 | </label> |
| 113 | <input type="checkbox" name="vkExUnit_common_options[active_sns]" id="checkbox_active_sns" value="true" <?php echo (isset($options['active_sns']) && $options['active_sns'])? 'checked': ''; ?> /> |
| 114 | </th> |
| 115 | <td class='plugin-title'> |
| 116 | <strong><?php _e('Social media cooperation.', 'vkExUnit'); ?></strong> |
| 117 | <div class="row-actions visible"> |
| 118 | |
| 119 | <?php if (isset($options['active_sns']) && $options['active_sns']) : ?> |
| 120 | |
| 121 | <span class="0"> |
| 122 | <a href="<?php echo admin_url().'admin.php?page=vkExUnit_main_setting';?>"> |
| 123 | <?php _e('Setting','vkExUnit');?> |
| 124 | </a></span> |
| 125 | |
| 126 | <?php endif; ?> |
| 127 | |
| 128 | </div> |
| 129 | </td> |
| 130 | <td class='column-description desc'> |
| 131 | <div class='plugin-description'> |
| 132 | <ul> |
| 133 | <li><?php _e('Print og tags to html head.','vkExUnit');?></li> |
| 134 | <li><?php _e('Print twitter card tags to html head.','vkExUnit');?></li> |
| 135 | <li><?php _e('Print social bookmarks.','vkExUnit');?></li> |
| 136 | <li><?php _e('Facebook Page Plugin.','vkExUnit');?></li> |
| 137 | </ul> |
| 138 | </div><!-- [ /.plugin-description ] --> |
| 139 | </td> |
| 140 | </tr> |
| 141 | |
| 142 | <!-- [ active_ga ] --> |
| 143 | <tr<?php echo (isset($options['active_ga']) && $options['active_ga'])? ' class="active"': ' class="inactive"'; ?>> |
| 144 | <th scope='row' class='check-column'> |
| 145 | <label class='screen-reader-text' for='checkbox_active_ga' > |
| 146 | <?php _e('Choose Print Google Analytics tracking code.', 'vkExUnit'); ?> |
| 147 | </label> |
| 148 | <input type="checkbox" name="vkExUnit_common_options[active_ga]" id="checkbox_active_ga" value="true" <?php echo (isset($options['active_ga']) && $options['active_ga'])? 'checked': ''; ?> /> |
| 149 | </th> |
| 150 | <td class='plugin-title'> |
| 151 | <strong>Google Analytics</strong> |
| 152 | |
| 153 | <?php if (isset($options['active_ga']) && $options['active_ga']) : ?> |
| 154 | |
| 155 | <span class="0"> |
| 156 | <a href="<?php echo admin_url().'admin.php?page=vkExUnit_main_setting';?>"> |
| 157 | <?php _e('Setting','vkExUnit');?> |
| 158 | </a></span> |
| 159 | |
| 160 | <?php endif; ?> |
| 161 | |
| 162 | </td> |
| 163 | <td class='column-description desc'> |
| 164 | <div class='plugin-description'> |
| 165 | <p><?php _e('Print Google Analytics tracking code.', 'vkExUnit'); ?></p> |
| 166 | </div><!-- [ /.plugin-description ] --> |
| 167 | </td> |
| 168 | </tr> |
| 169 | |
| 170 | <!-- [ active_relatedPosts ] --> |
| 171 | <tr<?php echo (isset($options['active_relatedPosts']) && $options['active_relatedPosts'])? ' class="active"': ' class="inactive"'; ?>> |
| 172 | <th scope='row' class='check-column'> |
| 173 | <label class='screen-reader-text' for='checkbox_active_relatedPosts' > |
| 174 | <?php _e('Choose Related posts.', 'vkExUnit'); ?> |
| 175 | </label> |
| 176 | <input type="checkbox" name="vkExUnit_common_options[active_relatedPosts]" id="checkbox_active_relatedPosts" value="true" <?php echo (isset($options['active_relatedPosts']) && $options['active_relatedPosts'])? 'checked': ''; ?> /> |
| 177 | </th> |
| 178 | <td class='plugin-title'> |
| 179 | <strong><?php _e('Related posts', 'vkExUnit');?></strong> |
| 180 | </td> |
| 181 | <td class='column-description desc'> |
| 182 | <div class='plugin-description'> |
| 183 | <p><?php _e('Print Related posts lists to post content bottom.', 'vkExUnit'); ?></p> |
| 184 | </div><!-- [ /.plugin-description ] --> |
| 185 | </td> |
| 186 | </tr> |
| 187 | |
| 188 | <!-- [ active_otherWidgets ] --> |
| 189 | <tr<?php echo (isset($options['active_otherWidgets']) && $options['active_otherWidgets'])? ' class="active"': ' class="inactive"'; ?>> |
| 190 | <th scope='row' class='check-column'> |
| 191 | <label class='screen-reader-text' for='checkbox_active_otherWidgets' > |
| 192 | <?php _e('Choose other widgets.', 'vkExUnit'); ?> |
| 193 | </label> |
| 194 | <input type="checkbox" name="vkExUnit_common_options[active_otherWidgets]" id="checkbox_active_otherWidgets" value="true" <?php echo (isset($options['active_otherWidgets']) && $options['active_otherWidgets'])? 'checked': ''; ?> /> |
| 195 | </th> |
| 196 | <td class='plugin-title'> |
| 197 | <strong><?php _e('Other Widgets', 'vkExUnit');?></strong> |
| 198 | </td> |
| 199 | <td class='column-description desc'> |
| 200 | <div class='plugin-description'> |
| 201 | <p><?php _e('You can use various widgets.', 'vkExUnit'); ?></p> |
| 202 | </div><!-- [ /.plugin-description ] --> |
| 203 | </td> |
| 204 | </tr> |
| 205 | |
| 206 | <!-- [ CSS cosutomize ] --> |
| 207 | <tr<?php echo (isset($options['active_css_customize']) && $options['active_css_customize'])? ' class="active"': ' class="inactive"'; ?>> |
| 208 | <th scope='row' class='check-column'> |
| 209 | <label class='screen-reader-text' for='checkbox_active_css_customize' > |
| 210 | <?php _e('Choose other widgets.', 'vkExUnit'); ?> |
| 211 | </label> |
| 212 | <input type="checkbox" name="vkExUnit_common_options[active_css_customize]" id="checkbox_active_css_customize" value="true" <?php echo (isset($options['active_css_customize']) && $options['active_css_customize'])? 'checked': ''; ?> /> |
| 213 | </th> |
| 214 | <td class='plugin-title'> |
| 215 | <strong><?php _e('CSS customize', 'vkExUnit');?></strong> |
| 216 | </td> |
| 217 | <td class='column-description desc'> |
| 218 | <div class='plugin-description'> |
| 219 | <p><?php _e('You can set Customize CSS.', 'vkExUnit'); ?></p> |
| 220 | </div><!-- [ /.plugin-description ] --> |
| 221 | </td> |
| 222 | </tr> |
| 223 | </tbody> |
| 224 | |
| 225 | <tfoot> |
| 226 | <tr> |
| 227 | <th scope='col' class='manage-column column-cb check-column'><label class="screen-reader-text" for="cb-select-all-2"><?php _e('Select all','vkExUnit');?></label><input id="cb-select-all-2" type="checkbox" /></th><th scope='col' class='manage-column column-name'><?php _e('Function', 'vkExUnit');?></th><th scope='col' class='manage-column column-description'><?php _e('Description','vkExUnit');?></th> </tr> |
| 228 | </tfoot> |
| 229 | |
| 230 | </table> |
| 231 | <?php submit_button(); ?> |
| 232 | </form> |