Hi Thomas,
Hello,
We would to share two minor changes on egroupware 14.1, that might be
useful for some people here…
I see no problem with your fixes, thought I fail to see why you need them.
Old etemplate and html class are deprecated in favor of eTemplate2!
So they should be replaced wherever used, not improved.
Please elaborate a bit why you want that changes …
Ralf
- Autocompletion to search also on name containing a space…
phpgwapi/inc/class.html.inc.php
line 311 (after
egw_framework::includeCSS(’/phpgwapi/js/jquery/chosen/chosen.css’,null,false);
)
Old version
$out .= "<script>var lab = egw_LAB || \$LAB;
lab.wait(function() {$j(function() {if($j().chosen)
$j(‘select[name="$name"]’).chosen({width: ‘100%’});});})\n";
New version
$out .= "<script>var lab = egw_LAB || \$LAB;
lab.wait(function() {$j(function() {if($j().chosen)
$j(‘select[name="$name"]’).chosen({width: ‘100%’,search_contains:
true});});})\n";
- As not to display “0” when a list is readonly (typically on index
pages, when the value is 0 in the database… in the 1.8, the value was
not displayed when it was not in $sel)
etemplate/inc/class.etemplate.inc.php
line 1653
On the line before…
$option_label = ($sels[$val] ? $sels[$val] : $val);
Just add this piece of code before the line…
if($val == 0) $val = ‘’;
Thank you,
–
Thomas
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany