Replace JRequest::getVar() with JInput::get()