Skip to content

Commit

Permalink
Modified all files to use <?php instead of <?
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@627 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Jan 11, 2002
1 parent b90db9e commit bd0da6e
Show file tree
Hide file tree
Showing 109 changed files with 1,623 additions and 1,623 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -17,6 +17,7 @@ Mantis
* Modified confirm messages to consolidate localization strings.
* Modified comments to use one # instead of ### (save space)
* Modified alternate_colors() to have default parameters.
* Modified all files to use <?php instead of <?
* Added view by page feature.
* Added edit new link in news update page.
* Added file upload into database.
Expand Down
10 changes: 5 additions & 5 deletions account_delete.php3
Expand Up @@ -8,8 +8,8 @@
# Delete account, remove cookies, and redirect user to logout redirect page
# If the account is protected this fails.
?>
<? include( "core_API.php" ) ?>
<? login_cookie_check() ?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

Expand Down Expand Up @@ -53,13 +53,13 @@
setcookie( $g_view_all_cookie );
} # end if protected
?>
<? print_page_top1() ?>
<?php print_page_top1() ?>
<?
if ( $result ) {
print_meta_redirect( $g_logout_redirect_page );
}
?>
<? print_page_top2() ?>
<?php print_page_top2() ?>

<p>
<div align="center">
Expand All @@ -76,4 +76,4 @@
?>
</div>

<? print_page_bot1( __FILE__ ) ?>
<?php print_page_bot1( __FILE__ ) ?>
20 changes: 10 additions & 10 deletions account_delete_page.php3
Expand Up @@ -8,24 +8,24 @@
# This is the delete confirmation page
# The result is POSTed to account_delete.php3
?>
<? include( "core_API.php" ) ?>
<? login_cookie_check() ?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
?>
<? print_page_top1() ?>
<? print_page_top2() ?>
<?php print_page_top1() ?>
<?php print_page_top2() ?>

<p>
<div align="center">
<? print_hr( $g_hr_size, $g_hr_width ) ?>
<? echo $s_confirm_delete_msg ?>
<?php print_hr( $g_hr_size, $g_hr_width ) ?>
<?php echo $s_confirm_delete_msg ?>

<form method="post" action="<? echo $g_account_delete ?>">
<input type="submit" value="<? echo $s_delete_account_button ?>">
<form method="post" action="<?php echo $g_account_delete ?>">
<input type="submit" value="<?php echo $s_delete_account_button ?>">
</form>

<? print_hr( $g_hr_size, $g_hr_width ) ?>
<?php print_hr( $g_hr_size, $g_hr_width ) ?>
</div>

<? print_page_bot1( __FILE__ ) ?>
<?php print_page_bot1( __FILE__ ) ?>
66 changes: 33 additions & 33 deletions account_page.php3
Expand Up @@ -8,8 +8,8 @@
# Users may change their user information from this page.
# The data is POSTed to account_update.php3
?>
<? include( "core_API.php" ) ?>
<? login_cookie_check() ?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

Expand All @@ -22,20 +22,20 @@
$row = db_fetch_array( $result );
extract( $row, EXTR_PREFIX_ALL, "u" );
?>
<? print_page_top1() ?>
<? print_page_top2() ?>
<?php print_page_top1() ?>
<?php print_page_top2() ?>

<? # Edit Account Form BEGIN ?>
<?php # Edit Account Form BEGIN ?>
<p>
<div align="center">
<table class="width75" cellspacing="1">
<form method="post" action="<? echo $g_account_update ?>">
<form method="post" action="<?php echo $g_account_update ?>">
<tr>
<td class="form-title">
<? echo $s_edit_account_title ?>
<?php echo $s_edit_account_title ?>
</td>
<td class="right">
<? print_account_menu( $g_account_page ) ?>
<?php print_account_menu( $g_account_page ) ?>
</td>
</tr>
<? # using LDAP accounts
Expand All @@ -49,10 +49,10 @@
</tr>
<tr class="row-2">
<td class="category" width="25%">
<? echo $s_username ?>:
<?php echo $s_username ?>:
</td>
<td width="75%">
<? echo $u_username ?>
<?php echo $u_username ?>
</td>
</tr>
<?
Expand All @@ -61,98 +61,98 @@
?>
<tr class="row-2">
<td class="category">
<? echo $s_email ?>:
<?php echo $s_email ?>:
</td>
<td>
<? echo $u_email ?>
<?php echo $u_email ?>
</td>
</tr>
<? } else { ?>
<tr class="row-2">
<td class="category">
<? echo $s_email ?>:
<?php echo $s_email ?>:
</td>
<td>
<input type="text" size="32" maxlength="64" name="f_email" value="<? echo $u_email ?>">
<input type="text" size="32" maxlength="64" name="f_email" value="<?php echo $u_email ?>">
</td>
</tr>
<? } ?>
<tr class="row-1">
<td class="category">
<? echo $s_access_level ?>:
<?php echo $s_access_level ?>:
</td>
<td>
<? echo get_enum_element( $s_access_levels_enum_string, $u_access_level ) ?>
<?php echo get_enum_element( $s_access_levels_enum_string, $u_access_level ) ?>
</td>
</tr>
<tr>
<td class="center">
<input type="submit" value="<? echo $s_update_user_button ?>">
<input type="submit" value="<?php echo $s_update_user_button ?>">
</td>
</form>
<form method="post" action="<? echo $g_account_delete_page ?>">
<form method="post" action="<?php echo $g_account_delete_page ?>">
<td class="center">
<input type="submit" value="<? echo $s_delete_account_button ?>">
<input type="submit" value="<?php echo $s_delete_account_button ?>">
</td>
</form>
</tr>

<? } else { # end LDAP section ?>
<?php } else { # end LDAP section ?>

<tr class="row-1">
<td class="category" width="25%">
<? echo $s_username ?>:
<?php echo $s_username ?>:
</td>
<td width="75%">
<input type="text" size="16" maxlength="32" name="f_username" value="<? echo $u_username ?>">
<input type="text" size="16" maxlength="32" name="f_username" value="<?php echo $u_username ?>">
</td>
</tr>
<tr class="row-2">
<td class="category">
<? echo $s_password ?>:
<?php echo $s_password ?>:
</td>
<td>
<input type="password" size="32" maxlength="32" name="f_password">
</td>
</tr>
<tr class="row-1">
<td class="category">
<? echo $s_confirm_password ?>:
<?php echo $s_confirm_password ?>:
</td>
<td>
<input type="password" size="32" maxlength="32" name="f_password_confirm">
</td>
</tr>
<tr class="row-2">
<td class="category">
<? echo $s_email ?>:
<?php echo $s_email ?>:
</td>
<td>
<input type="text" size="32" maxlength="64" name="f_email" value="<? echo $u_email ?>">
<input type="text" size="32" maxlength="64" name="f_email" value="<?php echo $u_email ?>">
</td>
</tr>
<tr class="row-1">
<td class="category">
<? echo $s_access_level ?>:
<?php echo $s_access_level ?>:
</td>
<td>
<? echo get_enum_element( $s_access_levels_enum_string, $u_access_level ) ?>
<?php echo get_enum_element( $s_access_levels_enum_string, $u_access_level ) ?>
</td>
</tr>
<tr>
<td class="left">
<input type="submit" value="<? echo $s_update_user_button ?>">
<input type="submit" value="<?php echo $s_update_user_button ?>">
</td>
</form>
<form method="post" action="<? echo $g_account_delete_page ?>">
<form method="post" action="<?php echo $g_account_delete_page ?>">
<td class="right">
<input type="submit" value="<? echo $s_delete_account_button ?>">
<input type="submit" value="<?php echo $s_delete_account_button ?>">
</td>
</form>
</tr>
<? } ?>
</table>
</div>
<? # Edit Account Form END ?>
<?php # Edit Account Form END ?>

<? print_page_bot1( __FILE__ ) ?>
<?php print_page_bot1( __FILE__ ) ?>

0 comments on commit bd0da6e

Please sign in to comment.