back to main page

Suggestions

Here is a board to announce suggestions. They will be discussed through TracTickets (add a link to the relevant ticket if any, or create yourself a ticket if you want to start a discussion).

Grahack

redirect to requested page

Redirect to originally requested page after login success.

check before trying to display the country (admin/users or admin/admins)

//$countries = null;            
if ($this->config->item('FAL_use_country') && strlen($row->country_id))
{
    $this->load->model('country'); 
    
    $query = $this->country->getCountryById($row->country_id);
    if (isset($query))
    {
        $row = $query->row();
        $country_name = $row->name;
    }
    else
    {
        $country_name = '?';
    }
        
    //SELECT name FROM country WHERE id= $data['user']['country_id']
    $data['user']['country'] = $country_name;
}

prefixes

I'd like se_ instead of s in the config keys, please.

It does not bother me if you wish to change those, I just don't care to spend the time as of now to do that. -- Iksander

countries table

I'd like to remove a db table (see .sql line 35).

I thinks that the country id should just be a 2 character string, calling the right key in a lang file country_lang.php. So we have one table less and a better i18n design. If you prefer to keep the table, we could just drop the 'name' column, and add the lang file.

inheritance

see NewInheritance

naming files and folders

  • admin to freakauth (in controllers)

give focus to the first input field

<body onload="f_setfocus( fMyForm );">

function f_setfocus( aForm )
{
	if( aForm.elements[0]!=null) {
		var i;
		var max = aForm.length;
		for( i = 0; i < max; i++ ) {
			if( aForm.elements[ i ].type != "hidden" &&
				!aForm.elements[ i ].disabled &&
				!aForm.elements[ i ].readOnly ) {
				aForm.elements[ i ].focus();
				break;
			}
		}
	}
}

Danfreak

...

Iksander

...