[ Index ] |
|
Code source de Horde 3.1.3 |
1 <?php 2 3 $m = &new Horde_Mobile(_("Log in")); 4 $m->add(new Horde_Mobile_text(sprintf(_("Welcome to %s"), $registry->get('name')))); 5 6 $f = &new Horde_Mobile_form('login.php'); 7 $f->add(new Horde_Mobile_hidden('url', Util::getFormData('url', ''))); 8 $f->add(new Horde_Mobile_input('horde_user', '', _("Username: "))); 9 10 // Add a password input, and set the type accordingly. 11 $p = &$f->add(new Horde_Mobile_input('horde_pass', '', _("Password: "))); 12 $p->set('type', 'password'); 13 14 // Submit button. 15 $f->add(new Horde_Mobile_submit(_("Log in"))); 16 17 // Add the form to the page. 18 $m->add($f); 19 20 // Display everything. 21 $m->display();
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |