Changeset 1792546
- Timestamp:
- 12/26/2017 12:43:13 PM (8 years ago)
- Location:
- whats-new-genarator/trunk
- Files:
-
- 4 edited
-
admin-ui.php (modified) (2 diffs)
-
admin-view.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
whats-new-generator.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
whats-new-genarator/trunk/admin-ui.php
r1707013 r1792546 17 17 add_settings_field('wng_category_name', 'カテゴリーのスラッグ', array(&$this,'setting_category_name'), $this->file_path, 'main_section'); 18 18 add_settings_field('wng_orderby', '表示順序', array(&$this,'setting_orderby'), $this->file_path, 'main_section'); 19 add_settings_field('wng_number', '表示件数 ', array(&$this,'setting_number'), $this->file_path, 'main_section');20 add_settings_field('wng_newmark', 'NEW!マーク表示期間 ', array(&$this,'setting_newmark'), $this->file_path, 'main_section');19 add_settings_field('wng_number', '表示件数 (1 - 30)', array(&$this,'setting_number'), $this->file_path, 'main_section'); 20 add_settings_field('wng_newmark', 'NEW!マーク表示期間 (0 - 30)', array(&$this,'setting_newmark'), $this->file_path, 'main_section'); 21 21 add_settings_field('wng_latest_new', '最新記事にNEW!マークをつける', array(&$this,'setting_latest_new'), $this->file_path, 'main_section'); 22 22 } … … 79 79 $options = WNG::get_option(); 80 80 $checked = (isset($options["wng_latest_new"]) && $options["wng_latest_new"]) ? $checked = ' checked="checked" ': ""; 81 echo "<input id='wng_latest_new' name='whats_new_options[wng_latest_new]' type='checkbox' '{$checked}'/>";81 echo "<input id='wng_latest_new' name='whats_new_options[wng_latest_new]' type='checkbox' {$checked} />"; 82 82 } 83 83 -
whats-new-genarator/trunk/admin-view.php
r689097 r1792546 7 7 <p>以下のコードをコピーして、What's Newを表示する固定ページや投稿の本文内に貼り付けてください。</p> 8 8 <p> 9 <input type="text" value=<?php echo $shortcode;?> readonly ></input>9 <input type="text" value=<?php echo $shortcode;?> readonly /> 10 10 </p> 11 11 <form action="options.php" method="post"> -
whats-new-genarator/trunk/readme.txt
r1710074 r1792546 4 4 Tags: what's new, update Post page 5 5 Requires at least: 4.0 6 Tested up to: 4. 8.17 Stable tag: 2.0. 16 Tested up to: 4.9.1 7 Stable tag: 2.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 39 39 40 40 == Changelog == 41 42 = 2.0.2 = 43 * 軽微な不具合を修正しました 41 44 42 45 = 2.0.1 = -
whats-new-genarator/trunk/whats-new-generator.php
r1710074 r1792546 4 4 Plugin URI: http://residentbird.main.jp/bizplugin/ 5 5 Description: What's New(新着情報)を指定した固定ページや投稿に自動的に表示するプラグインです。 6 Version: 2.0. 16 Version: 2.0.2 7 7 Author:Hideki Tanaka 8 8 Author URI: http://residentbird.main.jp/bizplugin/ … … 15 15 class WNG 16 16 { 17 const VERSION = "2.0. 1";17 const VERSION = "2.0.2"; 18 18 const SHORTCODE = "showwhatsnew"; 19 19 const OPTIONS = "whats_new_options";
Note: See TracChangeset
for help on using the changeset viewer.