Navigation Menu

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@628 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Jan 11, 2002
1 parent bd0da6e commit 792cc40
Show file tree
Hide file tree
Showing 123 changed files with 467 additions and 466 deletions.
10 changes: 5 additions & 5 deletions account_delete.php3
@@ -1,16 +1,16 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# Delete account, remove cookies, and redirect user to logout redirect page
# If the account is protected this fails.
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

# get protected state
Expand Down Expand Up @@ -54,7 +54,7 @@
} # end if protected
?>
<?php print_page_top1() ?>
<?
<?php
if ( $result ) {
print_meta_redirect( $g_logout_redirect_page );
}
Expand All @@ -63,7 +63,7 @@

<p>
<div align="center">
<?
<?php
if ( ON == $t_protected ) { # PROTECTED
PRINT "$s_account_protected_msg<p>";
print_bracket_link( $g_account_page, $s_go_back );
Expand Down
6 changes: 3 additions & 3 deletions account_delete_page.php3
@@ -1,16 +1,16 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# This is the delete confirmation page
# The result is POSTed to account_delete.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
?>
<?php print_page_top1() ?>
Expand Down
16 changes: 8 additions & 8 deletions account_page.php3
@@ -1,16 +1,16 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# Users may change their user information from this page.
# The data is POSTed to account_update.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

# extracts the user information for the currently logged in user
Expand Down Expand Up @@ -38,7 +38,7 @@
<?php print_account_menu( $g_account_page ) ?>
</td>
</tr>
<? # using LDAP accounts
<?php # using LDAP accounts
if ( LDAP == $g_login_method ) {
?>
<tr class="row-2">
Expand All @@ -55,7 +55,7 @@
<?php echo $u_username ?>
</td>
</tr>
<?
<?php
if ( ON == $g_use_ldap_email ) {
$u_email = get_user_info( "$u_username","email" );
?>
Expand All @@ -67,7 +67,7 @@
<?php echo $u_email ?>
</td>
</tr>
<? } else { ?>
<?php } else { ?>
<tr class="row-2">
<td class="category">
<?php echo $s_email ?>:
Expand All @@ -76,7 +76,7 @@
<input type="text" size="32" maxlength="64" name="f_email" value="<?php echo $u_email ?>">
</td>
</tr>
<? } ?>
<?php } ?>
<tr class="row-1">
<td class="category">
<?php echo $s_access_level ?>:
Expand Down Expand Up @@ -150,7 +150,7 @@
</td>
</form>
</tr>
<? } ?>
<?php } ?>
</table>
</div>
<?php # Edit Account Form END ?>
Expand Down
12 changes: 6 additions & 6 deletions account_prefs_page.php3
@@ -1,17 +1,17 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# This page allows the user to set his/her preferences
# Update is POSTed to acount_prefs_update.php3
# Reset is POSTed to acount_prefs_reset.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

# grab the user id
Expand Down Expand Up @@ -114,7 +114,7 @@
<input type="text" name="f_redirect_delay" size="1" maxlength="1" value="<?php echo $u_redirect_delay ?>">
</td>
</tr>
<?
<?php
if ( ON == $g_enable_email_notification ) {
?>
<tr class="row-1">
Expand Down Expand Up @@ -189,7 +189,7 @@
<input type="checkbox" name="f_email_on_priority" <?php if ( ON == $u_email_on_priority ) echo "CHECKED" ?>>
</td>
</tr>
<? } else { ?>
<?php } else { ?>
<input type="hidden" name="f_email_on_new" value="<?php echo $u_email_on_new ?>">
<input type="hidden" name="f_email_on_assigned" value="<?php echo $u_email_on_assigned ?>">
<input type="hidden" name="f_email_on_feedback" value="<?php echo $u_email_on_feedback ?>">
Expand All @@ -199,7 +199,7 @@
<input type="hidden" name="f_email_on_bugnote" value="<?php echo $u_email_on_bugnote ?>">
<input type="hidden" name="f_email_on_status" value="<?php echo $u_email_on_status ?>">
<input type="hidden" name="f_email_on_priority" value="<?php echo $u_email_on_priority ?>">
<? } ?>
<?php } ?>
<tr class="row-2">
<td class="category">
<?php echo $s_language ?>
Expand Down
8 changes: 4 additions & 4 deletions account_prefs_reset.php3
@@ -1,15 +1,15 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# Reset prefs to defaults then redirect to account_prefs_page.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

# get user id
Expand Down Expand Up @@ -39,7 +39,7 @@
$t_redirect_url = $g_account_prefs_page;
?>
<?php print_page_top1() ?>
<?
<?php
if ( $result ) {
print_meta_redirect( $t_redirect_url );
}
Expand Down
8 changes: 4 additions & 4 deletions account_prefs_update.php3
@@ -1,15 +1,15 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# Updates prefs then redirect to account_prefs_page.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

# A bunch of existance checks; necessary to prevent warnings
Expand Down Expand Up @@ -119,7 +119,7 @@
$t_redirect_url = $g_account_prefs_page;
?>
<?php print_page_top1() ?>
<?
<?php
if ( $result ) {
print_meta_redirect( $t_redirect_url );
}
Expand Down
8 changes: 4 additions & 4 deletions account_prof_add.php3
@@ -1,15 +1,15 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# This file adds a new profile and redirects to account_proj_menu_page.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
check_access( REPORTER );

Expand All @@ -33,7 +33,7 @@
$t_redirect_url = $g_account_profile_menu_page;
?>
<?php print_page_top1() ?>
<?
<?php
if ( $result ) {
print_meta_redirect( $t_redirect_url );
}
Expand Down
8 changes: 4 additions & 4 deletions account_prof_delete.php3
@@ -1,16 +1,16 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# The specified profile is deleted and the user is redirected to
# account_prof_menu_page.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
$f_user_id = get_current_user_field( "id" );

Expand All @@ -23,7 +23,7 @@
$t_redirect_url = $g_account_profile_menu_page;
?>
<?php print_page_top1() ?>
<?
<?php
if ( $result ) {
print_meta_redirect( $t_redirect_url );
}
Expand Down
6 changes: 3 additions & 3 deletions account_prof_edit_page.php3
@@ -1,16 +1,16 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# This page allows the user to edit his/her profile
# Changes get POSTed to account_prof_update.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
$f_user_id = get_current_user_field( "id" );

Expand Down
8 changes: 4 additions & 4 deletions account_prof_make_default.php3
@@ -1,16 +1,16 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# Make the specified profile the default
# Redirect to account_prof_menu_page.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
$f_user_id = get_current_user_field( "id" );

Expand All @@ -29,7 +29,7 @@
$t_redirect_url = $g_account_profile_menu_page;
?>
<?php print_page_top1() ?>
<?
<?php
if ( $result ) {
print_meta_redirect( $t_redirect_url );
}
Expand Down
6 changes: 3 additions & 3 deletions account_prof_menu_page.php3
@@ -1,18 +1,18 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# This page allos users to add a new profile which is POSTed to
# account_prof_add.php3

# Users can also manage their profiles
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
check_access( REPORTER );
?>
Expand Down
8 changes: 4 additions & 4 deletions account_prof_update.php3
@@ -1,16 +1,16 @@
<?
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?
<?php
# This page updates the users profile information then redirects to
# account_prof_menu_page.php3
?>
<?php include( "core_API.php" ) ?>
<?php login_cookie_check() ?>
<?
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

$f_user_id = get_current_user_field( "id" );
Expand All @@ -31,7 +31,7 @@
$t_redirect_url = $g_account_profile_menu_page;
?>
<?php print_page_top1() ?>
<?
<?php
if ( $result ) {
print_meta_redirect( $t_redirect_url );
}
Expand Down

0 comments on commit 792cc40

Please sign in to comment.