Skip to content

Commit

Permalink
changes name dtpicker -> calpicker for just the datepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
purplebeanie committed Aug 27, 2014
1 parent 142d6b9 commit 4e2981b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
description="JGLOBAL_ACTION_PERMISSIONS_DESCRIPTION"
type="spacer" />

<field name="created" type="dtpicker" label="COM_CONTENT_FIELD_CREATED_LABEL"
<field name="created" type="calpicker" label="COM_CONTENT_FIELD_CREATED_LABEL"
description="COM_CONTENT_FIELD_CREATED_DESC" size="22"
format="%Y-%m-%d %H:%M:%S" filter="user_utc" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
* @subpackage Form
* @since 11.1
*/
class JFormFieldDtpicker extends JFormField
class JFormFieldCalpicker extends JFormField
{
/**
* The form field type.
*
* @var string
* @since 11.1
*/
protected $type = 'Dtpicker';
protected $type = 'Calpicker';

/**
* The allowable maxlength of calendar field.
Expand Down Expand Up @@ -233,6 +233,7 @@ protected function getInput()
JHtml::_('script','calendars/jquery.calendars.picker.js', true, true);
JHtml::_('script','calendars/jquery.calendars.setup.js', true, true);
JHtml::_('stylesheet','calendars/jquery.calendars.picker.css',null, true);
JHtml::_('stylesheet','calendars/redmond.calendars.picker.css',null, true);
JHtml::_('stylesheet','calendars/joomla-css-fixes.css',null, true);

// Including fallback code for HTML5 non supported browsers.
Expand Down

0 comments on commit 4e2981b

Please sign in to comment.