Code Duplication    Length = 11-12 lines in 2 locations

application/themes/ccintranet/page_theme.php 1 location

@@ 8-19 (lines=12) @@
5
6
defined('C5_EXECUTE') or die("Access Denied.");
7
8
class PageTheme extends Theme {
9
10
    public function registerAssets() {
11
        //requireAsset = Loaded by C5
12
        $this->requireAsset('javascript', 'jquery', 'jquery-ui', 'bootstrap3');
13
        $this->requireAsset('css', 'jquery-ui', 'bootstrap3');
14
        //providesAsset = Loaded by theme
15
        $this->providesAsset('javascript', 'jquery');
16
        $this->providesAsset('css', 'font-awesome');
17
    }
18
    protected $pThemeGridFrameworkHandle = 'bootstrap3';
19
}
20

application/themes/ekcintranet/page_theme.php 1 location

@@ 8-18 (lines=11) @@
5
6
defined('C5_EXECUTE') or die("Access Denied.");
7
8
class PageTheme extends Theme {
9
10
    public function registerAssets() {
11
        //requireAsset = Loaded by C5
12
        $this->requireAsset('javascript', 'jquery', 'jquery-ui', 'bootstrap3');
13
        $this->requireAsset('css', 'jquery-ui', 'bootstrap3');
14
        //providesAsset = Loaded by theme
15
        $this->providesAsset('css', 'font-awesome');
16
    }
17
    protected $pThemeGridFrameworkHandle = 'bootstrap3';
18
}
19
20