Jump to content

Recommended Posts

Posted

Hi @adrian

playing a little with the module css for a friend i was wondering why i had an extra space i couldn't get rid of between the inputs and the button, found out 🙂 in your module file i saw
 

<p>
    <input type='text' name='username' placeholder='".($this->data['usernamePlaceholder'.$lang] ? $this->data['usernamePlaceholder'.$lang] : $this->data['usernamePlaceholder'])."'>
    <input type='password' name='pass' placeholder='".($this->data['passwordPlaceholder'.$lang] ? $this->data['passwordPlaceholder'.$lang] : $this->data['passwordPlaceholder'])."'>
<p>
<p>
    <button type='submit' name='login'>".($this->data['loginButtonText'.$lang] ? $this->data['loginButtonText'.$lang] : $this->data['loginButtonText'])."</button>
</p>";

which generates an extra p, i changed it into

<p>
    <input type='text' name='username' placeholder='".($this->data['usernamePlaceholder'.$lang] ? $this->data['usernamePlaceholder'.$lang] : $this->data['usernamePlaceholder'])."'>
    <input type='password' name='pass' placeholder='".($this->data['passwordPlaceholder'.$lang] ? $this->data['passwordPlaceholder'.$lang] : $this->data['passwordPlaceholder'])."'>
</p>
<p>
    <button type='submit' name='login'>".($this->data['loginButtonText'.$lang] ? $this->data['loginButtonText'.$lang] : $this->data['loginButtonText'])."</button>
</p>";

no more extra p, maybe it was intentional, but just in case 🙂

and of course thanks again for all your modules 🙂

have a nice day

  • Like 1
Posted

@virtualgadjo - thanks for reporting. I've fixed in the latest version.

I also added the PW namespace as I will be doing with all my modules are new versions are released.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...