|
From: <var...@us...> - 2021-08-04 13:24:51
|
Revision: 10427
http://sourceforge.net/p/phpwiki/code/10427
Author: vargenau
Date: 2021-08-04 13:24:48 +0000 (Wed, 04 Aug 2021)
Log Message:
-----------
Remove unused classes _variable_commented, _variable_selection_optional, _define_password_commented_optional, list_variable
Modified Paths:
--------------
trunk/configurator.php
Modified: trunk/configurator.php
===================================================================
--- trunk/configurator.php 2021-08-04 13:06:49 UTC (rev 10426)
+++ trunk/configurator.php 2021-08-04 13:24:48 UTC (rev 10427)
@@ -1825,21 +1825,6 @@
}
}
-class _variable_commented
- extends _variable
-{
- function _get_config_line($posted_value)
- {
- if ($this->description)
- $n = "\n";
- if ($posted_value == $this->default_value)
- return "${n};" . $this->_config_format($posted_value);
- elseif ($posted_value == '')
- return "${n};" . $this->_config_format(""); else
- return "${n}" . $this->_config_format($posted_value);
- }
-}
-
class numeric_define
extends _define
{
@@ -1911,11 +1896,6 @@
{
}
-class _variable_selection_optional
- extends _variable_selection
-{
-}
-
class _define_selection_optional_commented
extends _define_selection_optional
{
@@ -2010,11 +1990,6 @@
}
}
-class _define_password_commented_optional
- extends _define_password_optional
-{
-}
-
class _variable_password
extends _variable
{
@@ -2053,32 +2028,6 @@
}
}
-class list_variable
- extends _variable
-{
- function _get_config_line($posted_value)
- {
- // split the phrase by any number of commas or space characters,
- // which include " ", \r, \t, \n and \f
- $list_values = preg_split("/[\s,]+/", $posted_value, -1, PREG_SPLIT_NO_EMPTY);
- if ($list_values)
- $list_values = join("|", $list_values);
- return _variable::_get_config_line($list_values);
- }
-
- function get_html()
- {
- $list_values = explode("|", $this->default_value);
- $rows = max(3, count($list_values) + 1);
- $list_values = join("\n", $list_values);
- $ta = $this->get_config_item_header();
- $ta .= "<textarea cols=\"18\" rows=\"" . $rows . "\" name=\"" . $this->get_config_item_name() . "\" {$this->jscheck}>";
- $ta .= $list_values . "</textarea>";
- $ta .= "<p id=\"" . $this->get_config_item_id() . "\" style=\"color: green\">Input accepted.</p>";
- return $ta;
- }
-}
-
class list_define
extends _define
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|