Not logged in. · Lost password · Register
Forum: Offtopic Forum Help RSS
Popup for login page
abdulmanan #1
Member since Mar 2013 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Popup for login page

Can we make Login page of Dokuwiki as Popup ? if it so then please guide me how can i make my login page as Popup . now what i find html code in HTML.php

function html_login(){

    global $lang;
    global $conf;
    global $ID;
    global $INPUT;

    print p_locale_xhtml('login');
    print '<div id="popup" class="centeralign">'.NL;
    $form = new Doku_Form(array('id' => 'dw__login'));
    $form->addHidden('id', $ID);
    $form->addHidden('do', 'login');
    $form->addElement(form_makeTextField('u', ((!$INPUT->bool('http_credentials')) ? $INPUT->str('u') : ''), $lang['user'], 'focus__this', 'block'));
    $form->addElement(form_makePasswordField('p', $lang['pass'], '', 'block'));
    if($conf['rememberme']) {
        $form->addElement(form_makeCheckboxField('r', '1', $lang['remember'], 'remember__me', 'simple'));
    $form->addElement(form_makeButton('submit', '', $lang['btn_login']));

        $form->addElement('<p>'.$lang['reghere'].': '.tpl_actionlink('register','','','',true).'</p>');

    if (actionOK('resendpwd')) {
        $form->addElement('<p>'.$lang['pwdforget'].': '.tpl_actionlink('resendpwd','','','',true).'</p>');

    html_form('login', $form);
    print '</div>'.NL;

please help
abdul manan
ach (Administrator) #2
Member since May 2006 · 1908 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
This seems to be a duplicate post under a wrong subforum. I will close this in favour of
This post was edited on 2013-05-05, 11:44 by ach.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-04-26, 12:09:10 (UTC +02:00)