Skip to content

Commit

Permalink
Fixed some minor problems.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1194 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Jeroen Latour committed Aug 15, 2002
1 parent 06000b2 commit d424b18
Show file tree
Hide file tree
Showing 24 changed files with 113 additions and 110 deletions.
4 changes: 2 additions & 2 deletions bugnote_delete_page.php
Expand Up @@ -5,8 +5,8 @@
# See the README and LICENSE files for details
?>
<?php
# Bug delete confirmation page
# Page contiues to bug_delete.php3
# Bugnote delete confirmation page
# Page continues to bug_delete.php3
?>
<?php include( 'core_API.php' ) ?>
<?php login_cookie_check() ?>
Expand Down
4 changes: 2 additions & 2 deletions bugnote_update.php
Expand Up @@ -5,15 +5,15 @@
# See the README and LICENSE files for details
?>
<?php
# Update bug data then redirect to the appropriate viewing page
# Update bugnote data then redirect to the appropriate viewing page
?>
<?php include( 'core_API.php' ) ?>
<?php login_cookie_check() ?>
<?php
project_access_check( $f_id );
check_access( REPORTER );

$f_bugnote_text = $f_bugnote_text.'\n\n';
$f_bugnote_text = $f_bugnote_text."\n\n";
$f_bugnote_text = $f_bugnote_text.$s_edited_on.date( $g_normal_date_format );
$c_bugnote_text = string_prepare_textarea( $f_bugnote_text );
$c_bugnote_text_id = (integer)$f_bugnote_text_id;
Expand Down
5 changes: 4 additions & 1 deletion core_custom_attribute_API.php
Expand Up @@ -352,7 +352,10 @@ function insert_attributes( $p_enum_name, $p_project_id, $p_selector ) {
if ( !ereg(($g_custom_status_slot[0] + 1),$$t_var) ) {
for ($i = 0 ; $i < $att_arr_count ; $i++) {
$pos = strpos(($$t_var), ',80');
$$t_var = substr($$t_var,0,$pos).','.($g_custom_status_slot[0]+1+$i).':'.$t_attribute_arr[$i].substr($$t_var,$pos);
# Prevent empty values
if ($t_attribute_arr[$i]) {
$$t_var = substr($$t_var,0,$pos).','.($g_custom_status_slot[0]+1+$i).':'.$t_attribute_arr[$i].substr($$t_var,$pos);
}
} # for loop
} # if ereg
} else { // for other attributes, custom ones are appended after the others, starting with number 110
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_chinese_simplified.txt
Expand Up @@ -6,11 +6,11 @@

# Chinese_Simplified: Kai-Zheng Cheng, neek@sina.com
# -------------------------------------------------
# $Revision: 1.9 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.10 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:03 $
#
# $Id: strings_chinese_simplified.txt,v 1.9 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_chinese_simplified.txt,v 1.10 2002-08-15 00:22:03 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -50,7 +50,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_chinese_traditional.txt
Expand Up @@ -6,11 +6,11 @@

# Chinese_Traditional: Pao-Hsi Huang, doggy8088@mail2000.com.tw
# -------------------------------------------------
# $Revision: 1.28 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.29 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:03 $
#
# $Id: strings_chinese_traditional.txt,v 1.28 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_chinese_traditional.txt,v 1.29 2002-08-15 00:22:03 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -50,7 +50,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_czech.txt
Expand Up @@ -7,11 +7,11 @@
# Czech: Pavel Loupal, Pavel.Loupal@seznam.cz
# Code page: ISO-8259-2
# -------------------------------------------------
# $Revision: 1.20 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.21 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:03 $
#
# $Id: strings_czech.txt,v 1.20 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_czech.txt,v 1.21 2002-08-15 00:22:03 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -51,7 +51,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_danish.txt
Expand Up @@ -6,11 +6,11 @@

# Danish: S�ren Mortensen, sm@artmus.dk
# -------------------------------------------------
# $Revision: 1.29 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.30 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:03 $
#
# $Id: strings_danish.txt,v 1.29 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_danish.txt,v 1.30 2002-08-15 00:22:03 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -50,7 +50,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_dutch.txt
Expand Up @@ -7,11 +7,11 @@
# Dutch: Jan-Bart de Vreede, jvreede@outdare.nl
# Dutch: Klaasjan Brand, kjb@dds.nl
# -------------------------------------------------
# $Revision: 1.31 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.32 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:03 $
#
# $Id: strings_dutch.txt,v 1.31 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_dutch.txt,v 1.32 2002-08-15 00:22:03 jlatour Exp $
###########################################################################

?>
Expand Down Expand Up @@ -52,7 +52,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_english.txt
Expand Up @@ -8,11 +8,11 @@
###########################################################################
# English strings for Mantis
# -------------------------------------------------
# $Revision: 1.59 $
# $Author: jctrosset $
# $Date: 2002-08-02 07:59:42 $
# $Revision: 1.60 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_english.txt,v 1.59 2002-08-02 07:59:42 jctrosset Exp $
# $Id: strings_english.txt,v 1.60 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -52,7 +52,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_french.txt
Expand Up @@ -11,11 +11,11 @@
# French: Roland Meyer, Daniel Coquette
# French : Jean-Charles Trosset, jean-charles.trosset@laposte.net
# -------------------------------------------------
# $Revision: 1.33 $
# $Author: jctrosset $
# $Date: 2002-08-02 07:59:42 $
# $Revision: 1.34 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_french.txt,v 1.33 2002-08-02 07:59:42 jctrosset Exp $
# $Id: strings_french.txt,v 1.34 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -55,7 +55,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'doublon de %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_german.txt
Expand Up @@ -9,11 +9,11 @@
# German: Stefan Meier, Stefan.Meier@cimsource.com
# German: Matthias Bauer, mantis-de@moeffju.de
# -------------------------------------------------
# $Revision: 1.35 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.36 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_german.txt,v 1.35 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_german.txt,v 1.36 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -53,7 +53,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_hungarian.txt
Expand Up @@ -7,11 +7,11 @@
# Hungarian: Istvan Back, back@webmuves.hu
# Hungarian: Attila V�gi, avagi@v-comp.hu
# -------------------------------------------------
# $Revision: 1.24 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.25 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_hungarian.txt,v 1.24 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_hungarian.txt,v 1.25 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -51,7 +51,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_italian.txt
Expand Up @@ -8,11 +8,11 @@
# Marco Vassura, m.vassura@itools.it
# Stefano Mazzocchi, stefano@apache.org
# -------------------------------------------------
# $Revision: 1.30 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.31 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_italian.txt,v 1.30 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_italian.txt,v 1.31 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -52,7 +52,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_japanese_euc.txt
Expand Up @@ -6,11 +6,11 @@

# Japanese: Takeshi Hachikawa, seihachi@anet.ne.jp
# -------------------------------------------------
# $Revision: 1.22 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Revision: 1.23 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_japanese_euc.txt,v 1.22 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_japanese_euc.txt,v 1.23 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -50,7 +50,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_japanese_sjis.txt
Expand Up @@ -6,11 +6,11 @@

# Japanese: Takeshi Hachikawa, seihachi@anet.ne.jp
# -------------------------------------------------
# $Revision: 1.22 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:50 $
# $Revision: 1.23 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_japanese_sjis.txt,v 1.22 2002-07-17 15:53:50 jctrosset Exp $
# $Id: strings_japanese_sjis.txt,v 1.23 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -50,7 +50,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_korean.txt
Expand Up @@ -6,11 +6,11 @@

# �ѱ� ���� aporie@kornet.net
# -------------------------------------------------
# $Revision: 1.30 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:50 $
# $Revision: 1.31 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_korean.txt,v 1.30 2002-07-17 15:53:50 jctrosset Exp $
# $Id: strings_korean.txt,v 1.31 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -50,7 +50,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down
10 changes: 5 additions & 5 deletions lang/strings_norwegian.txt
Expand Up @@ -6,11 +6,11 @@

# Norwegian: Espen Holje, eh@escio.no
# -------------------------------------------------
# $Revision: 1.31 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:51 $
# $Revision: 1.32 $
# $Author: jlatour $
# $Date: 2002-08-15 00:22:04 $
#
# $Id: strings_norwegian.txt,v 1.31 2002-07-17 15:53:51 jctrosset Exp $
# $Id: strings_norwegian.txt,v 1.32 2002-08-15 00:22:04 jlatour Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -50,7 +50,7 @@
$s_announcement = 'Announcement';
$s_stays_on_top = 'Stays on Top';
$s_delete_bugnote_button = 'Bugnote Delete';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bug?';
$s_delete_bugnote_sure_msg = 'Are you sure you wish to delete this bugnote?';
$s_bug_relationships = 'Relationships';

$s_duplicate_of = 'duplicate of %id';
Expand Down

0 comments on commit d424b18

Please sign in to comment.