added link to LAM homepage
This commit is contained in:
		
							parent
							
								
									2d3cbf2e7a
								
							
						
					
					
						commit
						5636f13f76
					
				|  | @ -34,7 +34,7 @@ session_start(); | ||||||
| 		</title> | 		</title> | ||||||
| 	</head> | 	</head> | ||||||
| 	<body> | 	<body> | ||||||
| 		<p align="center"><img src="../graphics/banner.jpg" border=1></p><hr><br><br> | 		<p align="center"><a href="http://lam.sf.net" target="new_window"><img src="../graphics/banner.jpg" border=1></a></p><hr><br><br> | ||||||
| 		<b><p align="center"> <? echo _("Password to enter preferences:"); ?> </b></p>
 | 		<b><p align="center"> <? echo _("Password to enter preferences:"); ?> </b></p>
 | ||||||
| 		<form action="confmain.php" method="post"> | 		<form action="confmain.php" method="post"> | ||||||
| 			<p align="center"><input type="password" name="passwd"> | 			<p align="center"><input type="password" name="passwd"> | ||||||
|  |  | ||||||
|  | @ -47,7 +47,7 @@ echo ("<head>\n"); | ||||||
| echo ("<title>" . _("LDAP Account Manager Configuration") . "</title>\n"); | echo ("<title>" . _("LDAP Account Manager Configuration") . "</title>\n"); | ||||||
| echo ("</head>\n"); | echo ("</head>\n"); | ||||||
| echo ("<body>\n"); | echo ("<body>\n"); | ||||||
| echo ("<p align=\"center\"><img src=\"../graphics/banner.jpg\" border=1></p><hr><br><br>\n"); | echo ("<p align=\"center\"><a href=\"http://lam.sf.net\" target=\"new_window\"><img src=\"../graphics/banner.jpg\" border=1></a></p><hr><br><br>\n"); | ||||||
| echo ("<form action=\"confsave.php\" method=\"post\">\n"); | echo ("<form action=\"confsave.php\" method=\"post\">\n"); | ||||||
| echo ("<p align=\"center\"><table border=\"0\">"); | echo ("<p align=\"center\"><table border=\"0\">"); | ||||||
| echo ("<tr><th><p align=\"right\"><b>" . _("Hostname") . ": </b></th> <th><p align=\"left\"><input type=\"text\" name=\"host\" value=\"" . $conf->get_Host() . "\"></th>\n"); | echo ("<tr><th><p align=\"right\"><b>" . _("Hostname") . ": </b></th> <th><p align=\"left\"><input type=\"text\" name=\"host\" value=\"" . $conf->get_Host() . "\"></th>\n"); | ||||||
|  |  | ||||||
|  | @ -36,6 +36,8 @@ if ($passwd != $conf->get_Passwd()) { | ||||||
| 	exit; | 	exit; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | echo ("<p align=\"center\"><a href=\"http://lam.sf.net\" target=\"new_window\"><img src=\"../graphics/banner.jpg\" border=1></a></p><hr><br><br>"); | ||||||
|  | 
 | ||||||
| // check new preferences
 | // check new preferences
 | ||||||
| if (chop($host) == "") { | if (chop($host) == "") { | ||||||
| 	echo _("<b>" . _("Hostname is empty!") . "</b>"); | 	echo _("<b>" . _("Hostname is empty!") . "</b>"); | ||||||
|  | @ -108,9 +110,6 @@ $conf->set_maxMachine($maxMach); | ||||||
| $conf->set_defaultShell($defShell); | $conf->set_defaultShell($defShell); | ||||||
| $conf->set_shellList($shellList); | $conf->set_shellList($shellList); | ||||||
| 
 | 
 | ||||||
| echo ("<p align=\"center\"><img src=\"../graphics/banner.jpg\"></p><hr><br><br>"); |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| // check if password was changed
 | // check if password was changed
 | ||||||
| if ($pass1 != $pass2) { | if ($pass1 != $pass2) { | ||||||
| 	echo _("<b>" . _("Passwords are different!") . "</b>"); | 	echo _("<b>" . _("Passwords are different!") . "</b>"); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue