Author: nathangray
New Revision: 55617
URL: http://svn.stylite.de/viewvc/egroupware?rev=55617&view=rev
Log:
- Fix fatal errors about undefined method
- Remove unused methods
Modified:
trunk/importexport/inc/class.importexport_widget_filter.inc.php
— trunk/importexport/inc/class.importexport_widget_filter.inc.php (original)
+++ trunk/importexport/inc/class.importexport_widget_filter.inc.php Mon Apr 4 21:41:41 2016
@@ -98,7 +98,7 @@
// and used as such. All unknown values will be used for selection, not passed through to the query
if (isset($field[‘values’][’@’]))
{
@@ -113,7 +113,7 @@
{
if (count($field[‘values’]) == 1 && isset($field[‘values’][’@’]))
{
@@ -164,67 +164,6 @@
$this->setElementAttribute($form_name, ‘fields’,array_fill_keys(array_keys($fields), true));
return false;
}
- /**
-
- Create widgets to select a relative date range
-
-
-
-
-
-
-
@return Array of widget info
- */
- protected static function do_relative_date($lname, Array &$value, $options, $readonly)
- {
-
// Maybe this could be moved to date widget
-
$input = boetemplate::empty_cell('select',$lname, array(
-
'readonly' => $readonly,
-
'no_lang' => true,
-
'options' => $options,
-
'sel_options' => array('' => lang('all'))
-
));
-
foreach(importexport_helper_functions::$relative_dates as $label => $values)
-
{
-
$input['sel_options'][$label] = lang($label);
-
}
-
-
return $input;
- }
-
- /**
-
- Create widgets to select an absolute date range
-
-
-
-
-
-
-
@return Array of widget info
- */
- protected static function do_absolute_date($lname, Array &$value, $options, $readonly)
- {
-
$input = boetemplate::empty_cell('hbox',$lname);
-
-
$type = 'date';
-
$from = boetemplate::empty_cell($type, $lname.'[from]',array(
-
'readonly' => $readonly,
-
'no_lang' => True,
-
'size' => $options
-
));
-
-
$to = boetemplate::empty_cell($type, $lname.'[to]', array(
-
'readonly' => $readonly,
-
'no_lang' => True,
-
'size' => $options
-
));
-
boetemplate::add_child($input, $from);
-
boetemplate::add_child($input,boetemplate::empty_cell('label','',array(
-
'label' => lang('to'),
-
'no_lang' => true
-
)));
-
boetemplate::add_child($input, $to);
-
return $input;
- }
-
public function validate($cname, array $expand, array $content, &$validated=array())
{
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs