symfony
symfony forum
Home » development » Feature requests » Input_date_tag enhancement
Input_date_tag enhancement [message #28343] Wed, 30 May 2007 09:52 Go to next message
spider  is currently offline spider
Messages: 10
Registered: February 2006
Location: Czech Republic
Junior Member
Suggestion for 'input_date_tag' function enhancement:

In FormHelper line 737:
Original code:
$html .= content_tag('button', $calendar_button, array('type' => 'button', 'disabled' => 'disabled', 'onclick' => 'return false', 'id' => $id_calendarButton));

My code:
$html .= ' '.input_tag('button', $calendar_button, array('type' => 'button', 'disabled' => 'disabled', 'onclick' => 'return false', 'id' => $id_calendarButton, 'name' => $id_calendarButton, 'class' => 'trigger'));

Reason:
  • <input type="button" value="something" /> is better skinable in CSS than <button>something</button>
  • '&nbsp;' space between input field and the trigger button
  • 'class' => 'trigger' default CSS selector


calendar-cs.js line 19:
Calendar._FD = 0;

Monday is start day of week in cs_CZ => change to:
Calendar._FD = 1;


Thanks.
Re: Input_date_tag enhancement [message #28372 is a reply to message #28343 ] Wed, 30 May 2007 16:06 Go to previous message
bladus  is currently offline bladus
Messages: 88
Registered: December 2005
Location: Germany
Member
I don't know if it will be noticed here, the best would be if you file a ticket at trac.


Symfoniac Weblog
Previous Topic:Statistics Package for Symfony
Next Topic:secure.yaml ... i dont get it....
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software