R31002 - /branches/etemplate2/etemplate/inc/class.select_widget.inc.php

Author: ralfbecker
New Revision: 31002

URL: http://www.egroupware.org/viewvc/egroupware?rev=31002&view=rev
Log:
getting select-account working again, thought new engine still lacks: etemplate::$request->set_to_process

Modified:
branches/etemplate2/etemplate/inc/class.select_widget.inc.php

Modified: branches/etemplate2/etemplate/inc/class.select_widget.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/branches/etemplate2/etemplate/inc/class.select_widget.inc.php?rev=31002&r1=31001&r2=31002&view=diff

— branches/etemplate2/etemplate/inc/class.select_widget.inc.php (original)
+++ branches/etemplate2/etemplate/inc/class.select_widget.inc.php Tue Jun 22 21:16:31 2010
@@ -123,7 +123,8 @@
$extension_data[‘type’] = $cell[‘type’];

	$readonly = $cell['readonly'] || $readonlys;
  •   switch ($cell['type'])
    
  •   $cell['type'] = 'select';
    
  •   switch ($extension_data['type'])
      {
      	case 'select-percent':	// options: #row,decrement(default=10)
      		$decr = $type > 0 ? $type : 10;
    

@@ -272,8 +273,12 @@
}
$cell[‘type’] = ‘html’;
$cell[‘size’] = ‘’; // is interpreted as link otherwise

  •   			etemplate::$request->set_to_process($name,'select');
    
  •   			if ($cell['needed']) etemplate::$request->set_to_process_attribute($name,'needed',$cell['needed']);
    
  •   			// todo: add support for etemplate::$request->set_to_process to new engine
    
  •   			if (is_object(etemplate::$request))
    
  •   			{
    
  •   				etemplate::$request->set_to_process($name,'select');
    
  •   				if ($cell['needed']) etemplate::$request->set_to_process_attribute($name,'needed',$cell['needed']);
    
  •   			}
      			break;
      		}
      		$cell['no_lang'] = True;
    

@@ -462,7 +467,6 @@
$cell[‘sel_options’] = $type ? egw_time::getTimezones() : egw_time::getUserTimezones($value);
break;
}

  •   $cell['type'] = 'select';
      if ($rows > 1)
      {
      	unset($cell['sel_options']['']);
    

ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs