Download | Plain Text | No Line Numbers


  1. diff -Naur html.orig//include/class.Actor.php html/include/class.Actor.php
  2. --- html.orig//include/class.Actor.php 2008-08-21 16:31:57.000000000 +0200
  3. +++ html/include/class.Actor.php 2012-09-24 13:59:55.000000000 +0200
  4. @@ -102,7 +102,7 @@
  5.  
  6. function CallOnServices ( $ps_Method ) {
  7. $la_Arguments = func_get_args();
  8. - array_unshift ( $la_Arguments, &$this->ma_Services );
  9. + array_unshift ( $la_Arguments, $this->ma_Services );
  10. call_user_func_array ( array( &$this, "CallOnColumns" ), $la_Arguments );
  11. }
  12. /* -------------------- end services & limits -------------------- */
  13. @@ -171,4 +171,4 @@
  14.  
  15.  
  16. }
  17. -?>
  18. \ No newline at end of file
  19. +?>
  20. diff -Naur html.orig//include/class.Data.php html/include/class.Data.php
  21. --- html.orig//include/class.Data.php 2012-09-24 13:36:37.000000000 +0200
  22. +++ html/include/class.Data.php 2012-09-24 13:56:01.000000000 +0200
  23. @@ -248,7 +248,7 @@
  24. {
  25. $row =& new _DataRow($arr);
  26.  
  27. - return $this->addRow(&$row);
  28. + return $this->addRow($row);
  29. }
  30. return false;
  31. }
  32. diff -Naur html.orig//include/class.Pager.php html/include/class.Pager.php
  33. --- html.orig//include/class.Pager.php 2008-08-21 16:31:57.000000000 +0200
  34. +++ html/include/class.Pager.php 2012-09-24 13:56:34.000000000 +0200
  35. @@ -107,8 +107,8 @@
  36. /* -------------------- Initialize -------------------- */
  37. function Initialize ( &$po_Source )
  38. {
  39. - $po_Source->SetItemsPerPage ( get_class(&$this) );
  40. - $po_Source->SetSort ( get_class(&$this) );
  41. + $po_Source->SetItemsPerPage ( get_class($this) );
  42. + $po_Source->SetSort ( get_class($this) );
  43. $this->ma_ItemsPerPage = array( 5, 10, 20, 50, 100 );
  44. $this->mo_Source =& $po_Source;
  45.  
  46. @@ -396,7 +396,7 @@
  47. }
  48. elseif ( is_object($lm_Error) )
  49. {
  50. - $lm_Error->AddErrors ( &$this );
  51. + $lm_Error->AddErrors ( $this );
  52. $this->ShowAddError();
  53. exit;
  54. }
  55. @@ -419,7 +419,7 @@
  56. }
  57. elseif ( is_object($lm_Error) )
  58. {
  59. - $lm_Error->AddErrors ( &$this );
  60. + $lm_Error->AddErrors ( $this );
  61. // todo: need better processing
  62. }
  63. elseif ( $this->IsEditPage() )
  64. @@ -948,7 +948,7 @@
  65. $lo_Data->AppendFields( $lo_Checkbox );
  66. }
  67. $lo_Data->SetTotal( $lo_Source->TotalElements( $this->ma_SearchColumns ) );
  68. - $lo_Data->SetCookiePrefix( get_class(&$this) );
  69. + $lo_Data->SetCookiePrefix( get_class($this) );
  70. $lo_Data->SetDefault();
  71. $lo_Data->AppendHidden( new TextDataField( "Y", "ListEdit" ) );
  72. for( $i=0; $i < count( $this->ma_HiddenFields ); $i++ )
  73. diff -Naur html.orig//include/pagers/class.MenuBlocksPager.php html/include/pagers/class.MenuBlocksPager.php
  74. --- html.orig//include/pagers/class.MenuBlocksPager.php 2008-08-21 16:31:57.000000000 +0200
  75. +++ html/include/pagers/class.MenuBlocksPager.php 2012-09-24 13:55:51.000000000 +0200
  76. @@ -70,8 +70,8 @@
  77. $this->ms_ItemsPerPage = intval(ff_GetFromPostGet ("ItemsPerPage"));
  78. elseif( ff_GetFromPostGet("step") )
  79. $this->ms_ItemsPerPage = intval( ff_GetFromPostGet("step") );
  80. - elseif ( array_key_exists( get_class(&$this)."_ItemsPerPage", $_COOKIE ) )
  81. - $this->ms_ItemsPerPage = intval($_COOKIE[get_class(&$this)."_ItemsPerPage"]);
  82. + elseif ( array_key_exists( get_class($this)."_ItemsPerPage", $_COOKIE ) )
  83. + $this->ms_ItemsPerPage = intval($_COOKIE[get_class($this)."_ItemsPerPage"]);
  84. else
  85. $this->ms_ItemsPerPage = 10;
  86. $this->ms_StartItem = $this->ms_PageNumber*$this->ms_ItemsPerPage;
  87.