修訂 | 768d5c5bb06c0e6919dbe9a1dcdabdc883420e99 (tree) |
---|---|
時間 | 2007-10-08 23:44:56 |
作者 | henoheno <henoheno> |
Commiter | henoheno |
Simplify:
* Tracker_form: & config (the same as it was)
* Tracker_form: Correct name of the $this->values => $this->options
* Tracker_form::addField(): returns errors
* Tracker_field: Check options[n] isset() or nott
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone |
3 | -// $Id: tracker.inc.php,v 1.106 2007/10/08 14:29:29 henoheno Exp $ | |
3 | +// $Id: tracker.inc.php,v 1.107 2007/10/08 14:44:56 henoheno Exp $ | |
4 | 4 | // Copyright (C) 2003-2005, 2007 PukiWiki Developers Team |
5 | 5 | // License: GPL v2 or (at your option) any later version |
6 | 6 | // |
@@ -473,6 +473,10 @@ class Tracker_field_page extends Tracker_field_text | ||
473 | 473 | // page name: Tracker/sales/100 |
474 | 474 | // base : Tracker/sales |
475 | 475 | // _real : 100 |
476 | +// | |
477 | +// NOTE: | |
478 | +// Don't consider using within ":config/plugin/tracker/*/page". | |
479 | +// This value comes from _the_page_name_ itself. | |
476 | 480 | class Tracker_field_real extends Tracker_field_text |
477 | 481 | { |
478 | 482 | var $sort_type = PLUGIN_TRACKER_SORT_TYPE_NATURAL; |
@@ -484,6 +488,7 @@ class Tracker_field_real extends Tracker_field_text | ||
484 | 488 | } |
485 | 489 | } |
486 | 490 | |
491 | +// Special type: For headings cleaning | |
487 | 492 | class Tracker_field_title extends Tracker_field_text |
488 | 493 | { |
489 | 494 | var $sort_type = PLUGIN_TRACKER_SORT_TYPE_STRING; |