Rev 362 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 362 | Rev 380 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | ' </select></p></div>'. |
42 | ' </select></p></div>'. |
43 | '</div>'; |
43 | '</div>'; |
44 | } |
44 | } |
45 | 45 | ||
46 | public static function setupJS(): string { |
46 | public static function setupJS(): string { |
- | 47 | if (file_exists(__DIR__ . '/setup.js')) { |
|
47 | return file_get_contents(__DIR__ . '/setup.js'); |
48 | return file_get_contents(__DIR__ . '/setup.js'); |
- | 49 | } else { |
|
- | 50 | return ''; |
|
- | 51 | } |
|
- | 52 | } |
|
- | 53 | ||
- | 54 | public static function setupCSS(): string { |
|
- | 55 | if (file_exists(__DIR__ . '/setup.css')) { |
|
- | 56 | return file_get_contents(__DIR__ . '/setup.css'); |
|
- | 57 | } else { |
|
- | 58 | return ''; |
|
- | 59 | } |
|
48 | } |
60 | } |
49 | } |
61 | } |