Skip to content

Commit

Permalink
Change Sample Data install field to radio button.
Browse files Browse the repository at this point in the history
  • Loading branch information
elinw committed Jun 28, 2012
1 parent fceb0c7 commit fa6d979
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions installation/models/fields/sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@

jimport('joomla.filesystem.folder');
jimport('joomla.filesystem.file');
JLoader::register('JFormFieldList', JPATH_LIBRARIES.'/joomla/form/fields/list.php');
JLoader::register('JFormFieldRadio', JPATH_LIBRARIES.'/joomla/form/fields/radio.php');

/**
* Sample data Form Field class.
*
* @package Joomla.Installation
* @since 1.6
*/
class JFormFieldSample extends JFormFieldList
class JFormFieldSample extends JFormFieldRadio
{
/**
* The form field type.
Expand Down
2 changes: 1 addition & 1 deletion installation/models/forms/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
field="admin_password"
/>

<field name="sample_file" type="sample" class="inputbox"
<field name="sample_file" type="sample" class="inputbox" id="db_old"
label="INSTL_SITE_SAMPLE_LABEL"
/>

Expand Down
1 change: 1 addition & 0 deletions installation/template/css/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ fieldset#jform_db_old input {
clear: left;
}


/* error messages and notices */

.invalid {
Expand Down

0 comments on commit fa6d979

Please sign in to comment.