Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

mantisbt adm_permissions_report.php,1.9,1.10 lost_pwd_page.php,1.6,1.7 make: msg#00080

bug-tracking.mantis.cvs

Subject: mantisbt adm_permissions_report.php,1.9,1.10 lost_pwd_page.php,1.6,1.7 make_captcha_img.php,1.7,1.8 manage_config_work_threshold_page.php,1.5,1.6 manage_config_workflow_page.php,1.5,1.6 my_view_page.php,1.10,1.11 print_all_bug_page_excel.php,1.45,1.46

Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14800

Modified Files:
adm_permissions_report.php lost_pwd_page.php
make_captcha_img.php manage_config_work_threshold_page.php
manage_config_workflow_page.php my_view_page.php
print_all_bug_page_excel.php
Log Message:
more html validation stuff

Index: manage_config_workflow_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/manage_config_workflow_page.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- manage_config_workflow_page.php 11 Apr 2005 17:08:04 -0000 1.5
+++ manage_config_workflow_page.php 22 Apr 2005 22:27:50 -0000 1.6
@@ -51,7 +51,7 @@
function section_begin( $p_section_name ) {
$t_enum_status = explode_enum_string( config_get(
'status_enum_string' ) );
echo '<table class="width100">';
- echo '<tr><td class="form-title" colspan=' . ( count(
$t_enum_status ) + 1 ) . '>'
+ echo '<tr><td class="form-title" colspan="' . ( count(
$t_enum_status ) + 1 ) . '">'
. strtoupper( $p_section_name ) . '</td></tr>' . "\n";
echo '<tr><td class="form-title" width="30%" rowspan="2">' .
lang_get( 'current_status' ) . '</td>';
echo '<td class="form-title" style="text-align:center"
colspan="' . ( count( $t_enum_status ) ) . '">'
@@ -114,7 +114,7 @@
function access_begin( $p_section_name ) {
$t_enum_status = explode_enum_string( config_get(
'status_enum_string' ) );
echo '<table class="width100">';
- echo '<tr><td class="form-title" colspan=' . ( count(
$t_enum_status ) + 1 ) . '>'
+ echo '<tr><td class="form-title" colspan="' . ( count(
$t_enum_status ) + 1 ) . '">'
. strtoupper( $p_section_name ) . '</td></tr>' . "\n";
echo "\n<tr><td>&nbsp;</td>";
foreach( $t_enum_status as $t_status ) {

Index: my_view_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/my_view_page.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- my_view_page.php 27 Jan 2005 13:32:01 -0000 1.10
+++ my_view_page.php 22 Apr 2005 22:27:50 -0000 1.11
@@ -127,7 +127,7 @@

# display the required box
include( dirname( __FILE__ ) .
DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'my_view_inc.php' );
- echo '<br>';
+ echo '<br />';

# close the first column for first half of boxes
if ( $t_counter == ceil ($t_number_of_boxes/2)
) {

Index: manage_config_work_threshold_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/manage_config_work_threshold_page.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- manage_config_work_threshold_page.php 11 Apr 2005 17:08:03 -0000
1.5
+++ manage_config_work_threshold_page.php 22 Apr 2005 22:27:50 -0000
1.6
@@ -64,7 +64,7 @@
$t_show_submit = true;
} else {
if ( $t_set ) {
- $t_value = '<img src="images/ok.gif"
width=20 height=15 title="X">';
+ $t_value = '<img src="images/ok.gif"
width="20" height="15" alt="X" title="X" />';
} else {
$t_value = '&nbsp;';
}
@@ -95,7 +95,7 @@
$t_show_submit = true;
} else {
if ( ON == config_get( $p_threshold ) ) {
- $t_value = '<img src="images/ok.gif" width=20
height=15 title="X">';
+ $t_value = '<img src="images/ok.gif" width="20"
height="15" title="X" alt="X" />';
} else {
$t_value = '&nbsp;';
}

Index: adm_permissions_report.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/adm_permissions_report.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- adm_permissions_report.php 27 Mar 2005 19:39:50 -0000 1.9
+++ adm_permissions_report.php 22 Apr 2005 22:27:50 -0000 1.10
@@ -28,7 +28,7 @@
function get_section_begin( $p_section_name ) {
$t_access_levels = explode_enum_string( config_get(
'access_levels_enum_string' ) );
$t_output = '<table class="width100">';
- $t_output .= '<tr><td class="form-title" colspan=' . ( count(
$t_access_levels ) + 1 ) . '>' . strtoupper( $p_section_name ) . '</td></tr>' .
"\n";
+ $t_output .= '<tr><td class="form-title" colspan="' . ( count(
$t_access_levels ) + 1 ) . '">' . strtoupper( $p_section_name ) . '</td></tr>'
. "\n";
$t_output .= '<tr><td class="form-title" width="40%">' .
lang_get( 'perm_rpt_capability' ) . '</td>';
foreach( $t_access_levels as $t_access_level ) {
$t_entry_array = explode_enum_arr( $t_access_level );
@@ -47,7 +47,7 @@
$t_entry_array = explode_enum_arr( $t_access_level );

if ( (int)$t_entry_array[0] >= (int)$p_access_level ) {
- $t_value = '<img src="images/ok.gif" width=20
height=15 title="X">';
+ $t_value = '<img src="images/ok.gif" width="20"
height="15" alt="X" title="X" />';
} else {
$t_value = '&nbsp;';
}
@@ -65,7 +65,7 @@
return $t_output;
}

- echo '<br><br>';
+ echo '<br /><br />';

# News
echo get_section_begin( lang_get( 'news' ) );

Index: make_captcha_img.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/make_captcha_img.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- make_captcha_img.php 12 Feb 2005 20:01:05 -0000 1.7
+++ make_captcha_img.php 22 Apr 2005 22:27:50 -0000 1.8
@@ -87,12 +87,12 @@
// Test for GD-Library(-Version)
$this->gd_version = get_gd_version();
if($this->gd_version == 0) die("There is no
GD-Library-Support enabled. The Captcha-Class cannot be used!");
- if($this->debug) echo "\n<br>-Captcha-Debug:
The available GD-Library has major version ".$this->gd_version;
+ if($this->debug) echo "\n<br />-Captcha-Debug:
The available GD-Library has major version ".$this->gd_version;

// extracts config array
if(is_array($config))
{
- if($this->debug) echo
"\n<br>-Captcha-Debug: Extracts Config-Array in unsecure-mode!";
+ if($this->debug) echo "\n<br
/>-Captcha-Debug: Extracts Config-Array in unsecure-mode!";
foreach($config as $k=>$v) $this->$k =
$v;
}

@@ -102,45 +102,45 @@
$temp = $this->minsize;
$this->minsize = $this->maxsize;
$this->maxsize = $temp;
- if($this->debug) echo
"<br>-Captcha-Debug: Arrghh! What do you think I mean with min and max? Switch
minsize with maxsize.";
+ if($this->debug) echo "<br
/>-Captcha-Debug: Arrghh! What do you think I mean with min and max? Switch
minsize with maxsize.";
}

// check TrueTypeFonts
if(is_array($this->TTF_RANGE))
{
- if($this->debug) echo
"\n<br>-Captcha-Debug: Check given TrueType-Array!
(".count($this->TTF_RANGE).")";
+ if($this->debug) echo "\n<br
/>-Captcha-Debug: Check given TrueType-Array! (".count($this->TTF_RANGE).")";
$temp = array();
foreach($this->TTF_RANGE as $k=>$v)
{

if(is_readable($this->TTF_folder.$v)) $temp[] = $v;
}
$this->TTF_RANGE = $temp;
- if($this->debug) echo
"\n<br>-Captcha-Debug: Valid TrueType-files: (".count($this->TTF_RANGE).")";
+ if($this->debug) echo "\n<br
/>-Captcha-Debug: Valid TrueType-files: (".count($this->TTF_RANGE).")";
//if(count($this->TTF_RANGE) < 1)
die('No Truetypefont available for the CaptchaClass.');
}
else
{
- if($this->debug) echo
"\n<br>-Captcha-Debug: Check given TrueType-File! (".$this->TTF_RANGE.")";
+ if($this->debug) echo "\n<br
/>-Captcha-Debug: Check given TrueType-File! (".$this->TTF_RANGE.")";

if(!is_readable($this->TTF_folder.$this->TTF_RANGE)) die('No Truetypefont
available for the CaptchaClass.');
}

// select first TrueTypeFont
$this->change_TTF();
- if($this->debug) echo "\n<br>-Captcha-Debug:
Set current TrueType-File: (".$this->TTF_file.")";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
Set current TrueType-File: (".$this->TTF_file.")";

// get number of noise-chars for background if
is enabled
$this->nb_noise = $this->noise ? ($this->chars
* $this->noisefactor) : 0;
- if($this->debug) echo "\n<br>-Captcha-Debug:
Set number of noise characters to: (".$this->nb_noise.")";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
Set number of noise characters to: (".$this->nb_noise.")";

// set dimension of image
$this->lx = ($this->chars + 1) *
(int)(($this->maxsize + $this->minsize) / 1.5);
$this->ly = (int)(2.4 * $this->maxsize);
- if($this->debug) echo "\n<br>-Captcha-Debug:
Set image dimension to: (".$this->lx." x ".$this->ly.")";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
Set image dimension to: (".$this->lx." x ".$this->ly.")";
}

function make_captcha( $private_key )
{
- if($this->debug) echo "\n<br>-Captcha-Debug:
Generate private key: ($private_key)";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
Generate private key: ($private_key)";

// create Image and set the apropriate function
depending on GD-Version & websafecolor-value
if($this->gd_version >= 2 &&
!$this->websafecolors)
@@ -154,15 +154,15 @@
$func2 = 'imagecolorclosest';
}
$image = $func1($this->lx,$this->ly);
- if($this->debug) echo "\n<br>-Captcha-Debug:
Generate ImageStream with: ($func1())";
- if($this->debug) echo "\n<br>-Captcha-Debug:
For colordefinitions we use: ($func2())";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
Generate ImageStream with: ($func1())";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
For colordefinitions we use: ($func2())";


// Set Backgroundcolor
$this->random_color(224, 255);
$back = @imagecolorallocate($image, $this->r,
$this->g, $this->b);

@ImageFilledRectangle($image,0,0,$this->lx,$this->ly,$back);
- if($this->debug) echo "\n<br>-Captcha-Debug: We
allocate one color for Background: (".$this->r."-".$this->g."-".$this->b.")";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
We allocate one color for Background: (".$this->r."-".$this->g."-".$this->b.")";

// allocates the 216 websafe color palette to
the image
if($this->gd_version < 2 ||
$this->websafecolors) $this->makeWebsafeColors($image);
@@ -172,7 +172,7 @@
if($this->nb_noise > 0)
{
// random characters in background with
random position, angle, color
- if($this->debug) echo
"\n<br>-Captcha-Debug: Fill background with noise: (".$this->nb_noise.")";
+ if($this->debug) echo "\n<br
/>-Captcha-Debug: Fill background with noise: (".$this->nb_noise.")";
for($i=0; $i < $this->nb_noise; $i++)
{

srand((double)microtime()*1000000);
@@ -197,14 +197,14 @@
else
{
// generate grid
- if($this->debug) echo
"\n<br>-Captcha-Debug: Fill background with x-gridlines: (".(int)($this->lx /
(int)($this->minsize / 1.5)).")";
+ if($this->debug) echo "\n<br
/>-Captcha-Debug: Fill background with x-gridlines: (".(int)($this->lx /
(int)($this->minsize / 1.5)).")";
for($i=0; $i < $this->lx; $i +=
(int)($this->minsize / 1.5))
{
$this->random_color(160, 224);
$color = $func2($image,
$this->r, $this->g, $this->b);
@imageline($image, $i, 0, $i,
$this->ly, $color);
}
- if($this->debug) echo
"\n<br>-Captcha-Debug: Fill background with y-gridlines: (".(int)($this->ly /
(int)(($this->minsize / 1.8))).")";
+ if($this->debug) echo "\n<br
/>-Captcha-Debug: Fill background with y-gridlines: (".(int)($this->ly /
(int)(($this->minsize / 1.8))).")";
for($i=0 ; $i < $this->ly; $i +=
(int)($this->minsize / 1.8))
{
$this->random_color(160, 224);
@@ -214,7 +214,7 @@
}

// generate Text
- if($this->debug) echo "\n<br>-Captcha-Debug:
Fill forground with chars and shadows: (".$this->chars.")";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
Fill forground with chars and shadows: (".$this->chars.")";
for($i=0, $x =
intval(rand($this->minsize,$this->maxsize)); $i < $this->chars; $i++)
{
$text =
strtoupper(substr($private_key, $i, 1));
@@ -241,7 +241,7 @@
header('Content-type: image/jpeg');
@ImageJPEG($image, '', $this->jpegquality);
@ImageDestroy($image);
- if($this->debug) echo "\n<br>-Captcha-Debug:
Destroy Imagestream.";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
Destroy Imagestream.";
}

/** @private **/
@@ -258,7 +258,7 @@
}
}
}
- if($this->debug) echo "\n<br>-Captcha-Debug:
Allocate 216 websafe colors to image: (".imagecolorstotal($image).")";
+ if($this->debug) echo "\n<br />-Captcha-Debug:
Allocate 216 websafe colors to image: (".imagecolorstotal($image).")";
}

function random_color($min,$max)

Index: print_all_bug_page_excel.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/print_all_bug_page_excel.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- print_all_bug_page_excel.php 26 Mar 2005 18:27:18 -0000 1.45
+++ print_all_bug_page_excel.php 22 Apr 2005 22:27:50 -0000 1.46
@@ -359,7 +359,7 @@
$name_index++;
?>
<?php # Bugnotes BEGIN (3 rows) ?>
-<td colspan=3>
+<td colspan="3">
<?php # print bugnotes
# get the bugnote data
if ( !access_has_bug_level( config_get(
'private_bugnote_threshold' ), $v_id ) ) {

Index: lost_pwd_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/lost_pwd_page.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- lost_pwd_page.php 22 Apr 2005 22:06:07 -0000 1.6
+++ lost_pwd_page.php 22 Apr 2005 22:27:50 -0000 1.7
@@ -31,7 +31,7 @@
<form name="lost_password_form" method="post" action="lost_pwd.php">
<table class="width50" cellspacing="1">
<tr>
- <td class="form-title" colspan=2>
+ <td class="form-title" colspan="2">
<?php echo lang_get( 'lost_password_title' ) ?>
</td>
</tr>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation