SVG Schema Class: spaces around = , fixed.
This commit is contained in:
@@ -48,17 +48,17 @@ class PMA_SVG extends XMLWriter
|
||||
|
||||
function setTitle($title)
|
||||
{
|
||||
$this->title=$title;
|
||||
$this->title = $title;
|
||||
}
|
||||
|
||||
function setAuthor($author)
|
||||
{
|
||||
$this->author=$author;
|
||||
$this->author = $author;
|
||||
}
|
||||
|
||||
function setFont($font)
|
||||
{
|
||||
$this->font=$font;
|
||||
$this->font = $font;
|
||||
}
|
||||
function getFont()
|
||||
{
|
||||
@@ -67,7 +67,7 @@ class PMA_SVG extends XMLWriter
|
||||
|
||||
function setFontSize($fontSize)
|
||||
{
|
||||
$this->fontSize=$fontSize;
|
||||
$this->fontSize = $fontSize;
|
||||
}
|
||||
|
||||
function getFontSize()
|
||||
@@ -101,7 +101,7 @@ class PMA_SVG extends XMLWriter
|
||||
print $output;
|
||||
}
|
||||
|
||||
function printElement($name,$x,$y,$width='',$height='',$text='',$styles='')
|
||||
function printElement($name,$x,$y,$width = '',$height = '',$text = '',$styles = '')
|
||||
{
|
||||
$this->startElement($name);
|
||||
$this->writeAttribute('width',$width);
|
||||
@@ -354,14 +354,14 @@ class Table_Stats {
|
||||
'fill:none;stroke:black;'
|
||||
);
|
||||
foreach ($this->fields as $field) {
|
||||
$currentCell+=$this->heightCell;
|
||||
$showColor='none';
|
||||
$currentCell += $this->heightCell;
|
||||
$showColor = 'none';
|
||||
if ($showColor) {
|
||||
if (in_array($field, $this->primary)) {
|
||||
$showColor='#0c0';
|
||||
$showColor = '#0c0';
|
||||
}
|
||||
if ($field == $this->displayfield) {
|
||||
$showColor='none';
|
||||
$showColor = 'none';
|
||||
}
|
||||
}
|
||||
$svg->printElement('rect', $this->x,$this->y + $currentCell,
|
||||
@@ -480,7 +480,7 @@ class Relation_Stats {
|
||||
global $svg;
|
||||
|
||||
if ($changeColor) {
|
||||
$listOfColors=array(
|
||||
$listOfColors = array(
|
||||
'red',
|
||||
'grey',
|
||||
'black',
|
||||
@@ -566,7 +566,7 @@ class PMA_Svg_Relation_Schema extends PMA_Export_Relation_Schema
|
||||
$svg->setFont('Arial');
|
||||
$svg->setFontSize('16px');
|
||||
$svg->startSvgDoc('1000px','600px');
|
||||
$alltables=$this->getAllTables($db,$pdf_page_number);
|
||||
$alltables = $this->getAllTables($db,$pdf_page_number);
|
||||
|
||||
foreach ($alltables AS $table) {
|
||||
if (!isset($this->tables[$table])) {
|
||||
|
Reference in New Issue
Block a user