@@ 797-801 (lines=5) @@ | ||
794 | $file_data = file_get_contents($path); |
|
795 | } |
|
796 | ||
797 | if (JFile::exists($path) && !empty($file_data)) |
|
798 | { |
|
799 | $site_package_files[] = array('name' => 'js/calendar-setup.js','data' => $file_data); |
|
800 | $site_txt .= "\t\t" . '<filename>js/calendar-setup.js</filename>' . "\n"; |
|
801 | } |
|
802 | ||
803 | $path = JPATH_ROOT . '/media/' . $data['language'] . '/js/calendar-setup-uncompressed.js'; |
|
804 | ||
@@ 810-814 (lines=5) @@ | ||
807 | $file_data = file_get_contents($path); |
|
808 | } |
|
809 | ||
810 | if (JFile::exists($path) && !empty($file_data)) |
|
811 | { |
|
812 | $site_package_files[] = array('name' => 'js/calendar-setup-uncompressed.js','data' => $file_data); |
|
813 | $site_txt .= "\t\t" . '<filename>js/calendar-setup-uncompressed</filename>' . "\n"; |
|
814 | } |
|
815 | ||
816 | $path = JPATH_ROOT . '/media/' . $data['language'] . '/js/index.html'; |
|
817 | ||
@@ 823-827 (lines=5) @@ | ||
820 | $file_data = file_get_contents($path); |
|
821 | } |
|
822 | ||
823 | if (JFile::exists($path) && !empty($file_data)) |
|
824 | { |
|
825 | $site_package_files[] = array('name' => 'js/index.html','data' => $file_data); |
|
826 | $site_txt .= "\t\t" . '<filename>js/index.html</filename>' . "\n"; |
|
827 | } |
|
828 | ||
829 | $path = JPATH_ROOT . '/media/' . $data['language'] . '/js/calendar.js'; |
|
830 | ||
@@ 836-840 (lines=5) @@ | ||
833 | $file_data = file_get_contents($path); |
|
834 | } |
|
835 | ||
836 | if (JFile::exists($path) && !empty($file_data)) |
|
837 | { |
|
838 | $site_package_files[] = array('name' => 'js/calendar.js','data' => $file_data); |
|
839 | $site_txt .= "\t\t" . '<filename>js/calendar.js</filename>' . "\n"; |
|
840 | } |
|
841 | ||
842 | $path = JPATH_ROOT . '/media/' . $data['language'] . '/js/calendar-uncompressed.js'; |
|
843 | ||
@@ 849-853 (lines=5) @@ | ||
846 | $file_data = file_get_contents($path); |
|
847 | } |
|
848 | ||
849 | if (JFile::exists($path) && !empty($file_data)) |
|
850 | { |
|
851 | $site_package_files[] = array('name' => 'js/calendar-uncompressed.js','data' => $file_data); |
|
852 | $site_txt .= "\t\t" . '<filename>js/calendar-uncompressed.js</filename>' . "\n"; |
|
853 | } |
|
854 | ||
855 | $site_txt .= "\t" . '</media>' . "\n"; |
|
856 | } |