Skip to content

Commit 2bbe334

Browse files
author
Nick Pappas
committed
Merge pull request radicand#8 from doomi/master
Replaced all short tags
2 parents da28e6e + 3b0d7c7 commit 2bbe334

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

admin/index.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,28 @@
1818

1919
?>
2020
</pre>
21-
<form action=<?=$PHP_SELF?> method=post>
21+
<form action=<?php echo $PHP_SELF?> method=post>
2222
<input type=submit name=submit value="Back to Menu">
2323
</form>
24-
<?
24+
<?php
2525
printFooter(false);
2626
break;
2727

2828
case 'add_user_form';
2929
printHeader('admin');
3030
?>
3131
<body onLoad="self.focus();document.form.login.focus()">
32-
<form action=<?=$PHP_SELF?> method=post name=form>
32+
<form action=<?php echo $PHP_SELF?> method=post name=form>
3333
<table>
3434
<th colspan=2><h3>Add User or Change Password</h3></th>
35-
<tr><td>User ID</td><td><input type=text name=login value="<?=htvar($login)?>" maxlength=15 size=15></td></tr>
35+
<tr><td>User ID</td><td><input type=text name=login value="<?php echo htvar($login)?>" maxlength=15 size=15></td></tr>
3636
<tr><td>Password </td><td><input type=password name=passwd value='' size=20></td></tr>
3737
<tr><td>Verify Password </td><td><input type=password name=passwdv value='' size=20></td></tr>
3838
</table>
3939
<input type=hidden name=stage value=add_user>
4040
<input type=submit name=submit value='Submit'>
4141
</form>
42-
<?
42+
<?php
4343
break;
4444

4545
case 'add_user':
@@ -49,12 +49,12 @@
4949

5050
?>
5151
<p><center>
52-
<form action=<?=$PHP_SELF?> method=post>
52+
<form action=<?php echo $PHP_SELF?> method=post>
5353
<input type=hidden name=stage value=add_user_form>
54-
<input type=hidden name=login value="<?=htvar($login)?>">
54+
<input type=hidden name=login value="<?php echo htvar($login)?>">
5555
<input type=submit name=submit value=Back>
5656
</form></center>
57-
<?
57+
<?php
5858
}
5959
else {
6060
$pwdfile = escapeshellarg($config['passwd_file']);
@@ -65,10 +65,10 @@
6565
system("htpasswd -bm $pwdfile $login $passwd 2>&1")
6666
?>
6767
<p>
68-
<form action=<?=$PHP_SELF?> method=post>
68+
<form action=<?php echo $PHP_SELF?> method=post>
6969
<input type=submit name=submit value="Back to Menu">
7070
</form>
71-
<?
71+
<?php
7272
}
7373
printFooter();
7474
break;
@@ -77,15 +77,15 @@
7777
printHeader('admin');
7878
?>
7979
<body onLoad="self.focus();document.form.login.focus()">
80-
<form action=<?=$PHP_SELF?> method=post name=form>
80+
<form action=<?php echo $PHP_SELF?> method=post name=form>
8181
<table>
8282
<th colspan=2><h3>Remove User</h3></th>
83-
<tr><td>User ID</td><td><input type=text name=login value="<?=htvar($login)?>" maxlength=15 size=15></td></tr>
83+
<tr><td>User ID</td><td><input type=text name=login value="<?php echo htvar($login)?>" maxlength=15 size=15></td></tr>
8484
</table>
8585
<input type=hidden name=stage value=del_user>
8686
<input type=submit name=submit value='Submit'>
8787
</form>
88-
<?
88+
<?php
8989
printFooter();
9090
break;
9191
case 'del_user':
@@ -98,10 +98,10 @@
9898
system("htpasswd -D $pwdfile $login 2>&1")
9999
?>
100100
<p>
101-
<form action=<?=$PHP_SELF?> method=post>
101+
<form action=<?php echo $PHP_SELF?> method=post>
102102
<input type=submit name=submit value="Back to Menu">
103103
</form>
104-
<?
104+
<?php
105105
printFooter();
106106
break;
107107

@@ -113,14 +113,14 @@
113113
<center>
114114
<table class=menu><th class=menu>SYSADMIN MENU</th>
115115
<tr><td class=menu style="padding-left: 1em;"><table>
116-
<tr><td class=menu-pad><a href=<?=$PHP_SELF?>?stage=add_user_form>Add User or Change Password</a></td></tr>
117-
<tr><td class=menu-pad><a href=<?=$PHP_SELF?>?stage=del_user_form>Remove User</a></td></tr>
118-
<tr><td class=menu-pad><a href=<?=$PHP_SELF?>?stage=list_users>List Password File Contents</a></td></tr>
116+
<tr><td class=menu-pad><a href=<?php echo $PHP_SELF?>?stage=add_user_form>Add User or Change Password</a></td></tr>
117+
<tr><td class=menu-pad><a href=<?php echo $PHP_SELF?>?stage=del_user_form>Remove User</a></td></tr>
118+
<tr><td class=menu-pad><a href=<?php echo $PHP_SELF?>?stage=list_users>List Password File Contents</a></td></tr>
119119
</table></td></tr>
120120
</table>
121121
</center>
122122
<br><br>
123-
<?
123+
<?php
124124
printFooter();
125125
}
126126

0 commit comments

Comments
 (0)