Replaced all "=&$var" with "= &$var" to standardize for later removal of deprecated...
authorAp.Muthu <apmuthu@usa.net>
Mon, 8 Apr 2013 15:46:02 +0000 (8 21:16 +0530)
committerbradymiller <bradymiller@users.sourceforge.net>
Sat, 13 Apr 2013 09:22:52 +0000 (13 02:22 -0700)
controllers/C_Document.class.php
library/html2pdf/_fpdf/fpdf.php
phpmyadmin/libraries/tcpdf/tcpdf.php

index 8c14072..5032c96 100644 (file)
@@ -962,12 +962,12 @@ class C_Document extends Controller {
                            $rnode = new HTML_TreeNode(array("id" => $id, 'text' => $this->tree->get_node_name($id), 'link' => $this->_link("upload") . "parent_id=" . $id . "&", 'icon' => $icon, 'expandedIcon' => $expandedIcon, 'expanded' => false));
                            $this->_last_node = &$rnode;
                                $node = &$rnode;
-                               $current_node =&$rnode;
+                               $current_node = &$rnode;
                          }
                          else {
                                //echo "p:" . $this->tree->get_node_name($id) . "<br>";
                            $this->_last_node = &$node->addItem(new HTML_TreeNode(array("id" => $id, 'text' => $this->tree->get_node_name($id), 'link' => $this->_link("upload") . "parent_id=" . $id . "&", 'icon' => $icon, 'expandedIcon' => $expandedIcon)));
-                           $current_node =&$this->_last_node;
+                           $current_node = &$this->_last_node;
                          }
                          
                          $this->_array_recurse($ar,$categories);
index 51f5d59..06504de 100644 (file)
@@ -416,7 +416,7 @@ function GetStringWidth($s)
 {
        //Get width of a string in the current font
        $s=(string)$s;
-       $cw=&$this->CurrentFont['cw'];
+       $cw = &$this->CurrentFont['cw'];
        $w=0;
        $l=strlen($s);
        for($i=0;$i<$l;$i++)
@@ -555,7 +555,7 @@ function SetFont($family, $style='', $size=0)
        $this->FontStyle=$style;
        $this->FontSizePt=$size;
        $this->FontSize=$size/$this->k;
-       $this->CurrentFont=&$this->fonts[$fontkey];
+       $this->CurrentFont = &$this->fonts[$fontkey];
        if($this->page>0)
                $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt));
 }
@@ -694,7 +694,7 @@ function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link
 function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false)
 {
        //Output text with automatic or explicit line breaks
-       $cw=&$this->CurrentFont['cw'];
+       $cw = &$this->CurrentFont['cw'];
        if($w==0)
                $w=$this->w-$this->rMargin-$this->x;
        $wmax=($w-2*$this->cMargin)*1000/$this->FontSize;
@@ -807,7 +807,7 @@ function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false)
 function Write($h, $txt, $link='')
 {
        //Output text in flowing mode
-       $cw=&$this->CurrentFont['cw'];
+       $cw = &$this->CurrentFont['cw'];
        $w=$this->w-$this->rMargin-$this->x;
        $wmax=($w-2*$this->cMargin)*1000/$this->FontSize;
        $s=str_replace("\r",'',$txt);
@@ -1530,7 +1530,7 @@ function _putfonts()
                        $this->_out('endobj');
                        //Widths
                        $this->_newobj();
-                       $cw=&$font['cw'];
+                       $cw = &$font['cw'];
                        $s='[';
                        for($i=32;$i<=255;$i++)
                                $s.=$cw[chr($i)].' ';
index 3173c6d..8f6963e 100644 (file)
@@ -2711,7 +2711,7 @@ if(!class_exists('TCPDF')) {
                                        $this->_out('endobj');
                                        //Widths
                                        $this->_newobj();
-                                       $cw=&$font['cw'];
+                                       $cw = &$font['cw'];
                                        $s='[';
                                        for($i=32;$i<=255;$i++) {
                                                $s.=$cw[chr($i)].' ';