fixed short tags
This commit is contained in:
		
							parent
							
								
									75431dfa07
								
							
						
					
					
						commit
						debdb76b7a
					
				|  | @ -51,7 +51,7 @@ echo $_SESSION['header']; | ||||||
| 		</p> | 		</p> | ||||||
| 		<hr><br> | 		<hr><br> | ||||||
| 
 | 
 | ||||||
| <? | <?php | ||||||
| 
 | 
 | ||||||
| // check if submit button was pressed
 | // check if submit button was pressed
 | ||||||
| if ($_POST['submit']) { | if ($_POST['submit']) { | ||||||
|  |  | ||||||
|  | @ -45,7 +45,7 @@ echo $_SESSION['header']; | ||||||
| <table border=0 width="100%"> | <table border=0 width="100%"> | ||||||
| 	<tr> | 	<tr> | ||||||
|     	<td width="100" align="left"><a href="./profedit/profilemain.php" target="mainpart"><?php echo _("Profile Editor"); ?></a></td>
 |     	<td width="100" align="left"><a href="./profedit/profilemain.php" target="mainpart"><?php echo _("Profile Editor"); ?></a></td>
 | ||||||
| 		<? | 		<?php | ||||||
| 			// Samba 3 has more list views
 | 			// Samba 3 has more list views
 | ||||||
| 			if ($_SESSION['config']->get_samba3() == "yes") echo "<td rowspan=3 colspan=4 align=\"center\">\n"; | 			if ($_SESSION['config']->get_samba3() == "yes") echo "<td rowspan=3 colspan=4 align=\"center\">\n"; | ||||||
| 			else echo "<td rowspan=3 colspan=3 align=\"center\">\n"; | 			else echo "<td rowspan=3 colspan=3 align=\"center\">\n"; | ||||||
|  | @ -62,7 +62,7 @@ echo $_SESSION['header']; | ||||||
|     	<td align="left"><a href="masscreate.php" target="mainpart"><?php echo _("File Upload") ?></a></td>
 |     	<td align="left"><a href="masscreate.php" target="mainpart"><?php echo _("File Upload") ?></a></td>
 | ||||||
| 	</tr> | 	</tr> | ||||||
| 	<tr> | 	<tr> | ||||||
| 		<? | 		<?php | ||||||
| 			// Samba 3 has more list views
 | 			// Samba 3 has more list views
 | ||||||
| 			if ($_SESSION['config']->get_samba3() == "yes") echo "<td colspan=6> </td>\n"; | 			if ($_SESSION['config']->get_samba3() == "yes") echo "<td colspan=6> </td>\n"; | ||||||
| 			else echo "<td colspan=5> </td>\n"; | 			else echo "<td colspan=5> </td>\n"; | ||||||
|  | @ -70,7 +70,7 @@ echo $_SESSION['header']; | ||||||
| 	</tr> | 	</tr> | ||||||
| 	<tr> | 	<tr> | ||||||
| 		<td></td> | 		<td></td> | ||||||
| 		<? | 		<?php | ||||||
| 			// Samba 3 has more list views
 | 			// Samba 3 has more list views
 | ||||||
| 			if ($_SESSION['config']->get_samba3() == "yes") { | 			if ($_SESSION['config']->get_samba3() == "yes") { | ||||||
| 				echo '<td width="120" align="center"><a href="./lists/listdomains.php" target="mainpart">' . _("Domains") . '</a></td>' . "\n"; | 				echo '<td width="120" align="center"><a href="./lists/listdomains.php" target="mainpart">' . _("Domains") . '</a></td>' . "\n"; | ||||||
|  |  | ||||||
|  | @ -104,7 +104,7 @@ echo $_SESSION['header']; | ||||||
| 		<!-- user profile options --> | 		<!-- user profile options --> | ||||||
| 		<fieldset> | 		<fieldset> | ||||||
| 			<legend> | 			<legend> | ||||||
| 				<b><? echo _("User Profiles"); ?></b>
 | 				<b><?php echo _("User Profiles"); ?></b>
 | ||||||
| 			</legend> | 			</legend> | ||||||
| 			<table border=0> | 			<table border=0> | ||||||
| 				<!-- new user profile --> | 				<!-- new user profile --> | ||||||
|  | @ -112,7 +112,7 @@ echo $_SESSION['header']; | ||||||
| 					<td> | 					<td> | ||||||
| 						<input type="radio" name="profile" value="newuser" checked> | 						<input type="radio" name="profile" value="newuser" checked> | ||||||
| 					</td> | 					</td> | ||||||
| 					<td colspan=2><? echo _("Create a new User Profile"); ?></td>
 | 					<td colspan=2><?php echo _("Create a new User Profile"); ?></td>
 | ||||||
| 				</tr> | 				</tr> | ||||||
| 				<!-- edit user profile --> | 				<!-- edit user profile --> | ||||||
| 				<tr> | 				<tr> | ||||||
|  | @ -121,10 +121,10 @@ echo $_SESSION['header']; | ||||||
| 					</td> | 					</td> | ||||||
| 					<td> | 					<td> | ||||||
| 						<select name="e_user" size=1> | 						<select name="e_user" size=1> | ||||||
| 							<? echo $userprofiles ?>
 | 							<?php echo $userprofiles ?>
 | ||||||
| 						</select> | 						</select> | ||||||
| 					</td> | 					</td> | ||||||
| 					<td><? echo _("Edit User Profile"); ?></td>
 | 					<td><?php echo _("Edit User Profile"); ?></td>
 | ||||||
| 				</tr> | 				</tr> | ||||||
| 				<!-- delete user profile --> | 				<!-- delete user profile --> | ||||||
| 				<tr> | 				<tr> | ||||||
|  | @ -133,10 +133,10 @@ echo $_SESSION['header']; | ||||||
| 					</td> | 					</td> | ||||||
| 					<td> | 					<td> | ||||||
| 						<select name="d_user" size=1> | 						<select name="d_user" size=1> | ||||||
| 							<? echo $userprofiles ?>
 | 							<?php echo $userprofiles ?>
 | ||||||
| 						</select> | 						</select> | ||||||
| 					</td> | 					</td> | ||||||
| 					<td><? echo _("Delete User Profile"); ?></td>
 | 					<td><?php echo _("Delete User Profile"); ?></td>
 | ||||||
| 				</tr> | 				</tr> | ||||||
| 			</table> | 			</table> | ||||||
| 		</fieldset> | 		</fieldset> | ||||||
|  | @ -146,7 +146,7 @@ echo $_SESSION['header']; | ||||||
| 		<!-- host profile options --> | 		<!-- host profile options --> | ||||||
| 		<fieldset> | 		<fieldset> | ||||||
| 			<legend> | 			<legend> | ||||||
| 				<b><? echo _("Samba Host Profiles"); ?></b>
 | 				<b><?php echo _("Samba Host Profiles"); ?></b>
 | ||||||
| 			</legend> | 			</legend> | ||||||
| 			<table border=0> | 			<table border=0> | ||||||
| 				<!-- new host profile --> | 				<!-- new host profile --> | ||||||
|  | @ -154,7 +154,7 @@ echo $_SESSION['header']; | ||||||
| 					<td> | 					<td> | ||||||
| 						<input type="radio" name="profile" value="newhost"> | 						<input type="radio" name="profile" value="newhost"> | ||||||
| 					</td> | 					</td> | ||||||
| 					<td colspan=2><? echo _("Create a new Samba Host Profile"); ?></td>
 | 					<td colspan=2><?php echo _("Create a new Samba Host Profile"); ?></td>
 | ||||||
| 				</tr> | 				</tr> | ||||||
| 				<!-- edit host profile --> | 				<!-- edit host profile --> | ||||||
| 				<tr> | 				<tr> | ||||||
|  | @ -163,10 +163,10 @@ echo $_SESSION['header']; | ||||||
| 					</td> | 					</td> | ||||||
| 					<td> | 					<td> | ||||||
| 						<select name="e_host" size=1> | 						<select name="e_host" size=1> | ||||||
| 							<? echo $hostprofiles ?>
 | 							<?php echo $hostprofiles ?>
 | ||||||
| 						</select> | 						</select> | ||||||
| 					</td> | 					</td> | ||||||
| 					<td><? echo _("Edit Samba Host Profile"); ?></td>
 | 					<td><?php echo _("Edit Samba Host Profile"); ?></td>
 | ||||||
| 				</tr> | 				</tr> | ||||||
| 				<!-- delete host profile --> | 				<!-- delete host profile --> | ||||||
| 				<tr> | 				<tr> | ||||||
|  | @ -175,10 +175,10 @@ echo $_SESSION['header']; | ||||||
| 					</td> | 					</td> | ||||||
| 					<td> | 					<td> | ||||||
| 						<select name="d_host" size=1> | 						<select name="d_host" size=1> | ||||||
| 							<? echo $hostprofiles ?>
 | 							<?php echo $hostprofiles ?>
 | ||||||
| 						</select> | 						</select> | ||||||
| 					</td> | 					</td> | ||||||
| 					<td><? echo _("Delete Samba Host Profile"); ?></td>
 | 					<td><?php echo _("Delete Samba Host Profile"); ?></td>
 | ||||||
| 				</tr> | 				</tr> | ||||||
| 			</table> | 			</table> | ||||||
| 		</fieldset> | 		</fieldset> | ||||||
|  | @ -189,8 +189,8 @@ echo $_SESSION['header']; | ||||||
| 		<p> | 		<p> | ||||||
| 		<input type="hidden" name="forward" value="yes"> | 		<input type="hidden" name="forward" value="yes"> | ||||||
| 
 | 
 | ||||||
| 		<input type="submit" name="submit" value="<? echo _("Submit"); ?>"> | 		<input type="submit" name="submit" value="<?php echo _("Submit"); ?>"> | ||||||
| 		<input type="submit" name="abort" value="<? echo _("Abort"); ?>"> | 		<input type="submit" name="abort" value="<?php echo _("Abort"); ?>"> | ||||||
| 		</p> | 		</p> | ||||||
| 
 | 
 | ||||||
| 		</form> | 		</form> | ||||||
|  |  | ||||||
|  | @ -54,7 +54,7 @@ else { | ||||||
| <html> | <html> | ||||||
| 	<head> | 	<head> | ||||||
| 		<title> | 		<title> | ||||||
| 		<? | 		<?php | ||||||
| 		echo ("Login"); | 		echo ("Login"); | ||||||
| 		?>
 | 		?>
 | ||||||
| 		</title> | 		</title> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue