Source for file standard_password_dialog.obj.php

Documentation is available at standard_password_dialog.obj.php


1 <?php
2 #IPW METAZO 2.0 OBJECT
3 $_objoldid = 314099;
4 function objfile_314099 () {
5 $obj = owNew('template');
6 $objdata['name'] = "standard_password_dialog";
7 $objdata['content'] = "<form action=\"{\$server.REQUEST_URI}\" method=\"POST\">
8 <input type=\"hidden\" name=\"_cmd\" value=\"login\">
9 <table border=\"0\">
10 <tr><td>{if \$user.language == \"DA\"}Brugernavn: {else}Username: {/if}</td><td><input name=\"_username\" type=\"text\" size=\"20\"></td></tr>
11 <tr><td>{if \$user.language == \"DA\"}Kodeord: {else}Password: {/if}</td><td><input name=\"_password\" type=\"password\" size=\"20\"></td></tr>
12 <tr><td></td><td><input type=\"submit\" value=\"Login\" class=\"extbutton\"></td></tr>
13 </table>
14 {if \$document.loginresult == -1}
15 <strong><font color=\"red\">
16 {if \$user.language == \"DA\"}Brugernavnet eller kodeordet er forkert!
17 {else}The username or password is incorrect!{/if}
18 </font></strong>
19 {/if}
20 </form>
21 ";
22 $objdata['param'] = "";
23 $objdata['setting'] = "";
24 $objdata['tpltype'] = "2";
25 $objdata['header'] = "";
26 $objdata['style'] = ".extbutton {
27 background-color: #c0c8d0; font-style: bold; font-size: 80%; font-weight: bold;
28 }
29 ";
30 $objdata['doctype'] = "0";
31 $obj->createObject($objdata);
32 return $obj;
33 }
34 ?>

Documentation generated on Thu, 9 Jun 2005 06:53:25 +0200 by phpDocumentor 1.2.3