Code Duplication    Length = 8-8 lines in 2 locations

class.FlipPage.php 1 location

@@ 731-738 (lines=8) @@
728
    /**
729
     * Add some global js vars
730
     */
731
    private function addJSGlobals()
732
    {
733
      $this->body = $this->body.'<script>
734
var profilesUrl = \''.$this->profilesUrl.'\'
735
var loginUrl = \''.$this->loginUrl.'\'
736
var logoutUrl = \''.$this->logoutUrl.'\'
737
</script>';
738
    }
739
740
    /**
741
     * Draw the page

Http/Html/class.FlipPage.php 1 location

@@ 713-720 (lines=8) @@
710
    /**
711
     * Add some global js vars
712
     */
713
    private function addJSGlobals()
714
    {
715
      $this->body = $this->body.'<script>
716
var profilesUrl = \''.$this->profilesUrl.'\'
717
var loginUrl = \''.$this->loginUrl.'\'
718
var logoutUrl = \''.$this->logoutUrl.'\'
719
</script>';
720
    }
721
722
    /**
723
     * Add a link to the header