developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Custom Query (1324 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 1324)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#1485 fixed JDataTypeTimeShort isepman isepman
Description

Hi, In my application, I want to allow the user to store hour data as hh:mm (without seconds)

It seems that a control with jDatatypeTime needs the seconds to validate with form->check. (even if apparently, jForms_jquery.js allows hours without seconds) It can be boring to append ":00" each time to the value of each time control data.

I wrote a short patch to create a new datatype (localeTimeShort), and added LocaleTimeShort? to jDateTime and jforms compiler. Now, I can add localetimeshort to my controls in xml to actually be able to check time data without seconds.

Here is my patch.

#1484 duplicate JDataTypeTimeShort isepman
Description

Hi, In my application, I want to allow the user to store hour data as hh:mm (without seconds)

It seems that a control with jDatatypeTime needs the seconds to validate with form->check. (even if apparently, jForms_jquery.js allows hours without seconds) It can be boring to append ":00" each time to the value of each time control data.

I wrote a short patch to create a new datatype (localeTimeShort), and added LocaleTimeShort? to jDateTime and jforms compiler. Now, I can add localetimeshort to my controls in xml to actually be able to check time data without seconds.

Here is my patch.

#1483 fixed Update on jauth for values available on field "actif" michael
Description

The field "actif" on table "jlx_user" use the value '1' for available user and another for no available user. Is it possible to change on file ./jelix/lib/jelix-modules/jauth/classes/jauth.listener.php on method onAuthCanLogin line :

$ok = ($user->actif == '1');

to

$ok = (filter_var($user->actif, FILTER_VALIDATE_BOOLEAN) == '1');

With this enhancement, the values for valid user would be "1", "true", "on", "yes".

Info for this filter: http://php.net/manual/fr/filter.filters.validate.php

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.