Revision 6657531f
Added by Andreas Kohlbecker over 11 years ago
.gitattributes | ||
---|---|---|
783 | 783 |
6.x/themes/summertime_cdm/summertime_cdm.info -text |
784 | 784 |
6.x/themes/summertime_cdm/template.php -text |
785 | 785 |
6.x/themes/summertime_cdm/theme-settings.php -text |
786 |
7.x/modules/cdm_dataportal/INSTALL.txt -text |
|
787 |
7.x/modules/cdm_dataportal/LICENSE.txt -text |
|
788 |
7.x/modules/cdm_dataportal/cdm_api/LICENSE.txt -text |
|
789 |
7.x/modules/cdm_dataportal/cdm_api/cdm_api.info -text |
|
790 |
7.x/modules/cdm_dataportal/cdm_api/cdm_api.install -text |
|
791 |
7.x/modules/cdm_dataportal/cdm_api/cdm_api.module -text |
|
792 |
7.x/modules/cdm_dataportal/cdm_api/cdm_node.php -text |
|
793 |
7.x/modules/cdm_dataportal/cdm_api/commons.php -text |
|
794 |
7.x/modules/cdm_dataportal/cdm_api/json/JSON.php -text |
|
795 |
7.x/modules/cdm_dataportal/cdm_api/json/LICENSE -text |
|
796 |
7.x/modules/cdm_dataportal/cdm_api/uuids.php -text |
|
797 |
7.x/modules/cdm_dataportal/cdm_api/webservice_uris.php -text |
|
798 |
7.x/modules/cdm_dataportal/cdm_api/xml2json.php -text |
|
799 |
7.x/modules/cdm_dataportal/cdm_dataportal.css -text |
|
800 |
7.x/modules/cdm_dataportal/cdm_dataportal.info -text |
|
801 |
7.x/modules/cdm_dataportal/cdm_dataportal.install -text |
|
802 |
7.x/modules/cdm_dataportal/cdm_dataportal.module -text |
|
803 |
7.x/modules/cdm_dataportal/cdm_dataportal.search.php -text |
|
804 |
7.x/modules/cdm_dataportal/cdm_dataportal_print.css -text |
|
805 |
7.x/modules/cdm_dataportal/cdm_dataportal_screen.css -text |
|
806 |
7.x/modules/cdm_dataportal/cdm_mediauri/LICENSE.txt -text |
|
807 |
7.x/modules/cdm_dataportal/cdm_mediauri/cdm_mediauri.info -text |
|
808 |
7.x/modules/cdm_dataportal/cdm_mediauri/cdm_mediauri.module -text |
|
809 |
7.x/modules/cdm_dataportal/cdm_mediauri/rule-examples.txt -text |
|
810 |
7.x/modules/cdm_dataportal/cdm_taxontree/LICENSE.txt -text |
|
811 |
7.x/modules/cdm_dataportal/cdm_taxontree/cdm_taxontree.css -text |
|
812 |
7.x/modules/cdm_dataportal/cdm_taxontree/cdm_taxontree.info -text |
|
813 |
7.x/modules/cdm_dataportal/cdm_taxontree/cdm_taxontree.install -text |
|
814 |
7.x/modules/cdm_dataportal/cdm_taxontree/cdm_taxontree.module -text |
|
815 |
7.x/modules/cdm_dataportal/cdm_taxontree/concept_switch.gif -text |
|
816 |
7.x/modules/cdm_dataportal/cdm_taxontree/images/btn_expand.gif -text |
|
817 |
7.x/modules/cdm_dataportal/cdm_taxontree/images/button_master.xcf -text |
|
818 |
7.x/modules/cdm_dataportal/cdm_taxontree/images/button_w_text_master.xcf -text |
|
819 |
7.x/modules/cdm_dataportal/cdm_taxontree/images/cdm_taxontree_devider.png -text |
|
820 |
7.x/modules/cdm_dataportal/cdm_taxontree/images/cdm_taxontree_devider.xcf -text |
|
821 |
7.x/modules/cdm_dataportal/cdm_taxontree/images/filter_results_button.png -text |
|
822 |
7.x/modules/cdm_dataportal/cdm_taxontree/images/go_to_interest.png -text |
|
823 |
7.x/modules/cdm_dataportal/cdm_taxontree/images/reset_filters_button.png -text |
|
824 |
7.x/modules/cdm_dataportal/cdm_taxontree/invisible.gif -text |
|
825 |
7.x/modules/cdm_dataportal/cdm_taxontree/invisible_small.gif -text |
|
826 |
7.x/modules/cdm_dataportal/cdm_taxontree/js/cdm_taxontree.js -text |
|
827 |
7.x/modules/cdm_dataportal/cdm_taxontree/js/jquery.dimensions.js -text |
|
828 |
7.x/modules/cdm_dataportal/cdm_taxontree/js/jquery.dimensions.pack.js -text |
|
829 |
7.x/modules/cdm_dataportal/cdm_taxontree/js/jquery.scrollTo-min.js -text |
|
830 |
7.x/modules/cdm_dataportal/cdm_taxontree/js/jquery.scrollTo.js -text |
|
831 |
7.x/modules/cdm_dataportal/cdm_taxontree/loading_subtree.gif -text |
|
832 |
7.x/modules/cdm_dataportal/cdm_taxontree/menu-leaf.gif -text |
|
833 |
7.x/modules/cdm_dataportal/cdm_taxontree/minus.png -text |
|
834 |
7.x/modules/cdm_dataportal/cdm_taxontree/plus.png -text |
|
835 |
7.x/modules/cdm_dataportal/cdm_taxontree/resources/Invisible.gif -text |
|
836 |
7.x/modules/cdm_dataportal/cdm_taxontree/resources/Visible.gif -text |
|
837 |
7.x/modules/cdm_dataportal/cdm_taxontree/resources/concept_switch.ai -text |
|
838 |
7.x/modules/cdm_dataportal/cdm_taxontree/resources/concept_switch.psd -text |
|
839 |
7.x/modules/cdm_dataportal/cdm_taxontree/resources/eye.png -text |
|
840 |
7.x/modules/cdm_dataportal/cdm_taxontree/resources/loading_subtree.psd -text |
|
841 |
7.x/modules/cdm_dataportal/cdm_taxontree/visible.gif -text |
|
842 |
7.x/modules/cdm_dataportal/cdm_taxontree/visible_implicit.gif -text |
|
843 |
7.x/modules/cdm_dataportal/cdm_taxontree/visible_implicit_small.gif -text |
|
844 |
7.x/modules/cdm_dataportal/cdm_taxontree/visible_small.gif -text |
|
845 |
7.x/modules/cdm_dataportal/classes/footnote.php -text |
|
846 |
7.x/modules/cdm_dataportal/classes/footnotekey.php -text |
|
847 |
7.x/modules/cdm_dataportal/classes/footnotemanager.php -text |
|
848 |
7.x/modules/cdm_dataportal/classes/renderhints.php -text |
|
849 |
7.x/modules/cdm_dataportal/drush/README -text |
|
850 |
7.x/modules/cdm_dataportal/drush/migrate.drush.inc -text |
|
851 |
7.x/modules/cdm_dataportal/ext_links/ext_links.info -text |
|
852 |
7.x/modules/cdm_dataportal/ext_links/ext_links.js -text |
|
853 |
7.x/modules/cdm_dataportal/ext_links/ext_links.module -text |
|
854 |
7.x/modules/cdm_dataportal/fsi_gallery/fsi_gallery.info -text |
|
855 |
7.x/modules/cdm_dataportal/fsi_gallery/fsi_gallery.module -text |
|
856 |
7.x/modules/cdm_dataportal/help.php -text |
|
857 |
7.x/modules/cdm_dataportal/help/overview.apt -text |
|
858 |
7.x/modules/cdm_dataportal/help/overview.html -text |
|
859 |
7.x/modules/cdm_dataportal/help/settings_cache.html -text |
|
860 |
7.x/modules/cdm_dataportal/help/settings_general.html -text |
|
861 |
7.x/modules/cdm_dataportal/help/settings_geo.html -text |
|
862 |
7.x/modules/cdm_dataportal/help/settings_layout.html -text |
|
863 |
7.x/modules/cdm_dataportal/ide/eclipse/cdm_dataportal[!!-~]install.launch -text |
|
864 |
7.x/modules/cdm_dataportal/ide/eclipse/cdm_dataportal.launch -text |
|
865 |
7.x/modules/cdm_dataportal/ide/eclipse/phpUnit.launch -text |
|
866 |
7.x/modules/cdm_dataportal/ide/eclipse/phpunit[!!-~](external[!!-~]tools).launch -text |
|
867 |
7.x/modules/cdm_dataportal/images/Protologue-media-BHL.png -text |
|
868 |
7.x/modules/cdm_dataportal/images/Protologue-media.png -text |
|
869 |
7.x/modules/cdm_dataportal/images/btn_collapse.gif -text |
|
870 |
7.x/modules/cdm_dataportal/images/btn_expand.gif -text |
|
871 |
7.x/modules/cdm_dataportal/images/clear.gif -text |
|
872 |
7.x/modules/cdm_dataportal/images/external_link.gif -text |
|
873 |
7.x/modules/cdm_dataportal/images/favicon.ico -text |
|
874 |
7.x/modules/cdm_dataportal/images/funded_by_EDIT.png -text |
|
875 |
7.x/modules/cdm_dataportal/images/loading.gif -text |
|
876 |
7.x/modules/cdm_dataportal/images/loadingAnimation.gif -text |
|
877 |
7.x/modules/cdm_dataportal/images/loading_circle_grey_16.gif -text |
|
878 |
7.x/modules/cdm_dataportal/images/macFFBgHack.png -text |
|
879 |
7.x/modules/cdm_dataportal/images/print_icon.gif -text |
|
880 |
7.x/modules/cdm_dataportal/jenkins-ci/deploy.sh -text |
|
881 |
7.x/modules/cdm_dataportal/jenkins-ci/headless-maven-tests.sh -text |
|
882 |
7.x/modules/cdm_dataportal/jenkins-ci/integration.sh -text |
|
883 |
7.x/modules/cdm_dataportal/js/OpenLayers/OpenLayers.js -text |
|
884 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/blank.gif -text |
|
885 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/cloud-popup-relative.png -text |
|
886 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/drag-rectangle-off.png -text |
|
887 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/drag-rectangle-on.png -text |
|
888 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/east-mini.png -text |
|
889 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/layer-switcher-maximize.png -text |
|
890 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/layer-switcher-minimize.png -text |
|
891 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/marker-blue.png -text |
|
892 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/marker-gold.png -text |
|
893 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/marker-green.png -text |
|
894 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/marker.png -text |
|
895 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/measuring-stick-off.png -text |
|
896 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/measuring-stick-on.png -text |
|
897 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/north-mini.png -text |
|
898 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/panning-hand-off.png -text |
|
899 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/panning-hand-on.png -text |
|
900 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/slider.png -text |
|
901 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/south-mini.png -text |
|
902 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/west-mini.png -text |
|
903 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/zoom-minus-mini.png -text |
|
904 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/zoom-plus-mini.png -text |
|
905 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/zoom-world-mini.png -text |
|
906 |
7.x/modules/cdm_dataportal/js/OpenLayers/img/zoombar.png -text |
|
907 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/framedCloud.css -text |
|
908 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/google.css -text |
|
909 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/ie6-style.css -text |
|
910 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/add_point_off.png -text |
|
911 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/add_point_on.png -text |
|
912 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/blank.gif -text |
|
913 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/close.gif -text |
|
914 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/drag-rectangle-off.png -text |
|
915 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/drag-rectangle-on.png -text |
|
916 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/draw_line_off.png -text |
|
917 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/draw_line_on.png -text |
|
918 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/draw_point_off.png -text |
|
919 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/draw_point_on.png -text |
|
920 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/draw_polygon_off.png -text |
|
921 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/draw_polygon_on.png -text |
|
922 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/editing_tool_bar.png -text |
|
923 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/move_feature_off.png -text |
|
924 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/move_feature_on.png -text |
|
925 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/navigation_history.png -text |
|
926 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/overview_replacement.gif -text |
|
927 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/pan-panel-NOALPHA.png -text |
|
928 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/pan-panel.png -text |
|
929 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/pan_off.png -text |
|
930 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/pan_on.png -text |
|
931 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/panning-hand-off.png -text |
|
932 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/panning-hand-on.png -text |
|
933 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/remove_point_off.png -text |
|
934 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/remove_point_on.png -text |
|
935 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/ruler.png -text |
|
936 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/save_features_off.png -text |
|
937 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/save_features_on.png -text |
|
938 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/view_next_off.png -text |
|
939 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/view_next_on.png -text |
|
940 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/view_previous_off.png -text |
|
941 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/view_previous_on.png -text |
|
942 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/zoom-panel-NOALPHA.png -text |
|
943 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/img/zoom-panel.png -text |
|
944 |
7.x/modules/cdm_dataportal/js/OpenLayers/theme/default/style.css -text |
|
945 |
7.x/modules/cdm_dataportal/js/ahah-content.js -text |
|
946 |
7.x/modules/cdm_dataportal/js/cache_all_taxa.js -text |
|
947 |
7.x/modules/cdm_dataportal/js/cdm_annotations.js -text |
|
948 |
7.x/modules/cdm_dataportal/js/cdm_dynabox.js -text |
|
949 |
7.x/modules/cdm_dataportal/js/cluetip/Changelog.txt -text |
|
950 |
7.x/modules/cdm_dataportal/js/cluetip/images/arrowdown.gif -text |
|
951 |
7.x/modules/cdm_dataportal/js/cluetip/images/arrowleft.gif -text |
|
952 |
7.x/modules/cdm_dataportal/js/cluetip/images/arrowright.gif -text |
|
953 |
7.x/modules/cdm_dataportal/js/cluetip/images/arrowup.gif -text |
|
954 |
7.x/modules/cdm_dataportal/js/cluetip/images/bl.gif -text |
|
955 |
7.x/modules/cdm_dataportal/js/cluetip/images/bl.png -text |
|
956 |
7.x/modules/cdm_dataportal/js/cluetip/images/br.gif -text |
|
957 |
7.x/modules/cdm_dataportal/js/cluetip/images/br.png -text |
|
958 |
7.x/modules/cdm_dataportal/js/cluetip/images/darrowdown.gif -text |
|
959 |
7.x/modules/cdm_dataportal/js/cluetip/images/darrowleft.gif -text |
|
960 |
7.x/modules/cdm_dataportal/js/cluetip/images/darrowright.gif -text |
|
961 |
7.x/modules/cdm_dataportal/js/cluetip/images/darrowup.gif -text |
|
962 |
7.x/modules/cdm_dataportal/js/cluetip/images/rarrowdown.gif -text |
|
963 |
7.x/modules/cdm_dataportal/js/cluetip/images/rarrowleft.gif -text |
|
964 |
7.x/modules/cdm_dataportal/js/cluetip/images/rarrowright.gif -text |
|
965 |
7.x/modules/cdm_dataportal/js/cluetip/images/rarrowup.gif -text |
|
966 |
7.x/modules/cdm_dataportal/js/cluetip/images/tl.gif -text |
|
967 |
7.x/modules/cdm_dataportal/js/cluetip/images/tl.png -text |
|
968 |
7.x/modules/cdm_dataportal/js/cluetip/images/tr.gif -text |
|
969 |
7.x/modules/cdm_dataportal/js/cluetip/images/tr.png -text |
|
970 |
7.x/modules/cdm_dataportal/js/cluetip/jquery.cluetip.css -text |
|
971 |
7.x/modules/cdm_dataportal/js/cluetip/jquery.cluetip.js -text |
|
972 |
7.x/modules/cdm_dataportal/js/cluetip/jquery.cluetip.min.js -text |
|
973 |
7.x/modules/cdm_dataportal/js/cluetip/jquery.dimensions.js -text |
|
974 |
7.x/modules/cdm_dataportal/js/cluetip/jquery.hoverIntent.js -text |
|
975 |
7.x/modules/cdm_dataportal/js/cluetip/wait.gif -text |
|
976 |
7.x/modules/cdm_dataportal/js/footnotes.js -text |
|
977 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/css/jquery.lightbox-0.5.css -text |
|
978 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/images/lightbox-blank.gif -text |
|
979 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/images/lightbox-btn-close.gif -text |
|
980 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/images/lightbox-btn-next.gif -text |
|
981 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/images/lightbox-btn-prev.gif -text |
|
982 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/images/lightbox-ico-loading.gif -text |
|
983 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/index.htm -text |
|
984 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/js/jquery.lightbox-0.5.js -text |
|
985 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/image1.jpg -text |
|
986 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/image2.jpg -text |
|
987 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/image3.jpg -text |
|
988 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/image4.jpg -text |
|
989 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/image5.jpg -text |
|
990 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/thumb_image1.jpg -text |
|
991 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/thumb_image2.jpg -text |
|
992 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/thumb_image3.jpg -text |
|
993 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/thumb_image4.jpg -text |
|
994 |
7.x/modules/cdm_dataportal/js/jquery-lightbox-0.5/photos/thumb_image5.jpg -text |
|
995 |
7.x/modules/cdm_dataportal/js/jquery-ui.js -text |
|
996 |
7.x/modules/cdm_dataportal/js/jquery.dimensions.js -text |
|
997 |
7.x/modules/cdm_dataportal/js/jquery.dimensions.pack.js -text |
|
998 |
7.x/modules/cdm_dataportal/js/jquery.form.js -text |
|
999 |
7.x/modules/cdm_dataportal/js/jquery.imagetool.min.js -text |
|
1000 |
7.x/modules/cdm_dataportal/js/openlayers_map.js -text |
|
1001 |
7.x/modules/cdm_dataportal/js/thickbox/cdm_thickbox.css -text |
|
1002 |
7.x/modules/cdm_dataportal/js/thickbox/thickbox.js -text |
|
1003 |
7.x/modules/cdm_dataportal/node_types.php -text |
|
1004 |
7.x/modules/cdm_dataportal/pom.xml -text |
|
1005 |
7.x/modules/cdm_dataportal/profile/CDM_DataPortal/CDM_DataPortal.profile -text |
|
1006 |
7.x/modules/cdm_dataportal/profile/CDM_DataPortal_Testing/CDM_DataPortal_Testing.profile -text |
|
1007 |
7.x/modules/cdm_dataportal/settings.php -text |
|
1008 |
7.x/modules/cdm_dataportal/site/apt/configuration.apt -text |
|
1009 |
7.x/modules/cdm_dataportal/site/apt/download.apt -text |
|
1010 |
7.x/modules/cdm_dataportal/site/apt/getting-started.apt -text |
|
1011 |
7.x/modules/cdm_dataportal/site/apt/index.apt -text |
|
1012 |
7.x/modules/cdm_dataportal/site/apt/installation.apt -text |
|
1013 |
7.x/modules/cdm_dataportal/site/apt/screenshots.apt -text |
|
1014 |
7.x/modules/cdm_dataportal/site/changes/changes.xml -text |
|
1015 |
7.x/modules/cdm_dataportal/site/fml/admin-faq.fml -text |
|
1016 |
7.x/modules/cdm_dataportal/site/fml/troubleshooting.fml -text |
|
1017 |
7.x/modules/cdm_dataportal/site/resources/images/cichorieae-search.PNG -text |
|
1018 |
7.x/modules/cdm_dataportal/site/resources/images/cichorieae1.PNG -text |
|
1019 |
7.x/modules/cdm_dataportal/site/resources/images/cichorieae2.png -text |
|
1020 |
7.x/modules/cdm_dataportal/site/resources/images/cichorieae3.PNG -text |
|
1021 |
7.x/modules/cdm_dataportal/site/resources/images/cichorieae4.png -text |
|
1022 |
7.x/modules/cdm_dataportal/site/resources/images/cichorieae5.png -text |
|
1023 |
7.x/modules/cdm_dataportal/site/resources/images/palmae1.PNG -text |
|
1024 |
7.x/modules/cdm_dataportal/site/resources/images/palmae2.png -text |
|
1025 |
7.x/modules/cdm_dataportal/site/resources/images/palmae3.PNG -text |
|
1026 |
7.x/modules/cdm_dataportal/site/resources/images/palmae4.png -text |
|
1027 |
7.x/modules/cdm_dataportal/site/resources/images/palmae5.png -text |
|
1028 |
7.x/modules/cdm_dataportal/site/resources/images/settings1.PNG -text |
|
1029 |
7.x/modules/cdm_dataportal/site/site.xml -text |
|
1030 |
7.x/modules/cdm_dataportal/test/.settings/org.eclipse.php.core.prefs -text |
|
1031 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/pom.xml -text |
|
1032 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/Browser.java -text |
|
1033 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/DataPortalContext.java -text |
|
1034 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/DataPortalManager.java -text |
|
1035 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/ElementUtils.java -text |
|
1036 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/SystemUtils.java -text |
|
1037 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/TestConfiguration.java -text |
|
1038 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/TestConfigurationException.java -text |
|
1039 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/BaseElement.java -text |
|
1040 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/ClassificationTreeBlock.java -text |
|
1041 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/ClassificationTreeElement.java -text |
|
1042 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/DescriptionElementRepresentation.java -text |
|
1043 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/DrupalBlock.java -text |
|
1044 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/FeatureBlock.java -text |
|
1045 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/GalleryImage.java -text |
|
1046 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/ImgElement.java -text |
|
1047 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/LinkElement.java -text |
|
1048 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/MultipartDescriptionElementRepresentation.java -text |
|
1049 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/SearchBlock.java -text |
|
1050 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/TaxonListElement.java -text |
|
1051 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/TaxonType.java -text |
|
1052 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/TypeDesignationElement.java -text |
|
1053 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/elements/TypeDesignationType.java -text |
|
1054 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/junit/CdmDataPortalSeleniumRCTestBase.java -text |
|
1055 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/junit/CdmDataPortalTestBase.java -text |
|
1056 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/junit/DataPortalContextSuite.java -text |
|
1057 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/pages/GenericPortalPage.java -text |
|
1058 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/pages/PolytomousKeyPage.java -text |
|
1059 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/pages/PortalPage.java -text |
|
1060 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/pages/TaxonProfilePage.java -text |
|
1061 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/pages/TaxonSearchResultPage.java -text |
|
1062 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/pages/TaxonSynonymyPage.java -text |
|
1063 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/AllTrue.java -text |
|
1064 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/ChildElementVisible.java -text |
|
1065 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/JUnitWebDriverWait.java -text |
|
1066 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/PageTitleValidated.java -text |
|
1067 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/UrlLoaded.java -text |
|
1068 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/VisibilityOfElementLocated.java -text |
|
1069 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/WebDriverFactory.java -text |
|
1070 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/resources/eu/etaxonomy/dataportal/DataPortalTest.xml -text |
|
1071 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/resources/log4j.properties -text |
|
1072 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/resources/org/mozilla/addons/disable_add_on_compatibility_checks-1.3.xpi -text |
|
1073 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/resources/org/mozilla/addons/firebug-1.10.5-fx.xpi -text |
|
1074 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/resources/org/mozilla/addons/firepath-0.9.7-fx.xpi -text |
|
1075 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/CichorieaeSearchTest.java -text |
|
1076 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Cichorieae_CommonNamesTest.java -text |
|
1077 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Cichorieae_FootnoteTest.java -text |
|
1078 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Cichorieae_HybridTest.java -text |
|
1079 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Cichorieae_NamePageTest.java -text |
|
1080 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Cichorieae_TechnicalAnnnotationsTest.java -text |
|
1081 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Cichorieae_TypeTest.java -text |
|
1082 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Crepis_tectorum_Synonymy.java -text |
|
1083 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Lactuca_triquetra_TaxonProfileTest.java -text |
|
1084 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cyprus/Allium_guttatum_subsp_guttatum_TaxonProfileTest.java -text |
|
1085 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cyprus/CyprusSearchTest.java -text |
|
1086 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cyprus/Cyprus_HybridTest.java -text |
|
1087 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/cyprus/Cyprus_OriginalSourceTest.java -text |
|
1088 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/diptera/Diptera_OriginalSourceTest.java -text |
|
1089 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/flMalesiana/FloraMalesianaPolytomousKeyTest.java -text |
|
1090 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/flMalesiana/FloraMalesiana_OriginalSourceTest.java -text |
|
1091 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/tests/palmae/Calamus_acanthospathus_TaxonProfileTest.java -text |
|
1092 |
7.x/modules/cdm_dataportal/test/phpUnit/README -text |
|
1093 |
7.x/modules/cdm_dataportal/test/phpUnit/TestUtils.php -text |
|
1094 |
7.x/modules/cdm_dataportal/test/phpUnit/bootstrap.php -text |
|
1095 |
7.x/modules/cdm_dataportal/test/phpUnit/phpUnit.conf.xml -text |
|
1096 |
7.x/modules/cdm_dataportal/test/phpUnit/phpunitRunner.php -text |
|
1097 |
7.x/modules/cdm_dataportal/test/phpUnit/resources/theme/cdm_dataportal.name.themeTest-taxon1.json -text |
|
1098 |
7.x/modules/cdm_dataportal/test/phpUnit/src/README.txt -text |
|
1099 |
7.x/modules/cdm_dataportal/test/phpUnit/src/SimpleNameTest.php -text |
|
1100 |
7.x/modules/cdm_dataportal/test/phpUnit/src/cdm_dataportal.moduleTest.php -text |
|
1101 |
7.x/modules/cdm_dataportal/test/phpUnit/src/testTest.php -text |
|
1102 |
7.x/modules/cdm_dataportal/test/phpUnit/src/theme/cdm_dataportal.name.themeTest.php -text |
|
1103 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.bibliography.theme -text |
|
1104 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.common.theme -text |
|
1105 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme -text |
|
1106 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.media.theme -text |
|
1107 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.name.theme -text |
|
1108 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.occurrence.theme -text |
|
1109 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.page.theme -text |
|
1110 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.references.theme -text |
|
1111 |
7.x/modules/cdm_dataportal/theme/cdm_dataportal.taxon.theme -text |
|
1112 |
7.x/modules/cdm_dataportal/translations/cdm_dataportal.pot.template -text |
|
786 | 1113 |
7.x/modules/dwca_export/README.txt -text |
787 | 1114 |
7.x/modules/dwca_export/archive-genus-Abies-bl4.zip -text |
788 | 1115 |
7.x/modules/dwca_export/dwca_export.admin.inc -text |
.gitignore | ||
---|---|---|
26 | 26 |
5.x/themes/garland_cichorieae/Thumbs.db |
27 | 27 |
5.x/themes/garland_cichorieae/flore_gabon/images/.directory |
28 | 28 |
5.x/themes/garland_cichorieae/images/Thumbs.db |
29 |
7.x/modules/cdm_dataportal/.buildpath |
|
30 |
7.x/modules/cdm_dataportal/.directory |
|
31 |
7.x/modules/cdm_dataportal/.project |
|
32 |
7.x/modules/cdm_dataportal/cdm_api/ws-taxon.json |
|
33 |
7.x/modules/cdm_dataportal/cdm_api/ws-taxonomy-root.json |
|
34 |
7.x/modules/cdm_dataportal/cdm_api/ws-whatis.json |
|
35 |
7.x/modules/cdm_dataportal/cdm_taxontree/Presets |
|
36 |
7.x/modules/cdm_dataportal/cdm_taxontree/Thumbs.db |
|
37 |
7.x/modules/cdm_dataportal/cdm_taxontree/resources/Thumbs.db |
|
38 |
7.x/modules/cdm_dataportal/images/Thumbs.db |
|
39 |
7.x/modules/cdm_dataportal/target |
|
40 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/.classpath |
|
41 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/.project |
|
42 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/.settings |
|
43 |
7.x/modules/cdm_dataportal/test/java/dataportal-selenium-tests/target |
|
29 | 44 |
7.x/themes/.project |
30 | 45 |
7.x/themes/garland_cichorieae/Thumbs.db |
31 | 46 |
7.x/themes/garland_cichorieae/images/Thumbs.db |
7.x/modules/cdm_dataportal/INSTALL.txt | ||
---|---|---|
1 |
Prerequisites: |
|
2 |
======================================================== |
|
3 |
|
|
4 |
Required php extensions: |
|
5 |
|
|
6 |
- CURL |
|
7 |
|
|
8 |
Required additional Drupal Modules: |
|
9 |
|
|
10 |
JQuery Update with manual update to jQuery 1.2.1 |
|
11 |
-------------------------------------------------------- |
|
12 |
http://drupal.org/project/jquery_update |
|
13 |
|
|
14 |
release 5.x-1.0 updates to jQuery version 1.1.2 |
|
15 |
|
|
16 |
IMPORTANT: |
|
17 |
|
|
18 |
cdm_dataportl requires jQuery version 1.2.1 |
|
19 |
The contributed Drupal module 'jquery_update' however updates only to version 1.1.2, |
|
20 |
thus a manual update as described in http://drupal.org/node/196140 is nessecary. |
|
21 |
|
|
22 |
I addition you must edit compat-1.0.js: replace lines 24 - 26 by: |
|
23 |
|
|
24 |
/* |
|
25 |
* a.kohlbecker: unload is still a valid event type and must not be replaced! |
|
26 |
* compat-1.0.js breaks plugins wich are using this event e.g. thickbox |
|
27 |
* => thus I removed load from var e. |
|
28 |
*/ |
|
29 |
var e = ("blur,focus, resize,scroll,unload,click,dblclick," + |
|
30 |
"mousedown,mouseup,mousemove,mouseover,mouseout,change,reset,select," + |
|
31 |
"submit,keydown,keypress,keyup,error").split(","); |
|
32 |
|
|
33 |
|
|
34 |
Installation procedure: |
|
35 |
======================================================== |
|
36 |
|
|
37 |
- Install the module by extracting it into the folder |
|
38 |
sites/all/modules or into a site specific module folder |
|
39 |
- Enable the module cdm_dataportal in the admin section. |
|
40 |
- Go to admin/settings/cdm_dataportal and configure the |
|
41 |
cdm web service connection according to your needs. |
7.x/modules/cdm_dataportal/LICENSE.txt | ||
---|---|---|
1 |
GNU GENERAL PUBLIC LICENSE |
|
2 |
|
|
3 |
Version 2, June 1991 |
|
4 |
|
|
5 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, |
|
6 |
Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute |
|
7 |
verbatim copies of this license document, but changing it is not allowed. |
|
8 |
|
|
9 |
Preamble |
|
10 |
|
|
11 |
The licenses for most software are designed to take away your freedom to |
|
12 |
share and change it. By contrast, the GNU General Public License is |
|
13 |
intended to guarantee your freedom to share and change free software--to |
|
14 |
make sure the software is free for all its users. This General Public License |
|
15 |
applies to most of the Free Software Foundation's software and to any other |
|
16 |
program whose authors commit to using it. (Some other Free Software |
|
17 |
Foundation software is covered by the GNU Library General Public License |
|
18 |
instead.) You can apply it to your programs, too. |
|
19 |
|
|
20 |
When we speak of free software, we are referring to freedom, not price. Our |
|
21 |
General Public Licenses are designed to make sure that you have the |
|
22 |
freedom to distribute copies of free software (and charge for this service if |
|
23 |
you wish), that you receive source code or can get it if you want it, that you |
|
24 |
can change the software or use pieces of it in new free programs; and that |
|
25 |
you know you can do these things. |
|
26 |
|
|
27 |
To protect your rights, we need to make restrictions that forbid anyone to |
|
28 |
deny you these rights or to ask you to surrender the rights. These restrictions |
|
29 |
translate to certain responsibilities for you if you distribute copies of the |
|
30 |
software, or if you modify it. |
|
31 |
|
|
32 |
For example, if you distribute copies of such a program, whether gratis or for |
|
33 |
a fee, you must give the recipients all the rights that you have. You must make |
|
34 |
sure that they, too, receive or can get the source code. And you must show |
|
35 |
them these terms so they know their rights. |
|
36 |
|
|
37 |
We protect your rights with two steps: (1) copyright the software, and (2) |
|
38 |
offer you this license which gives you legal permission to copy, distribute |
|
39 |
and/or modify the software. |
|
40 |
|
|
41 |
Also, for each author's protection and ours, we want to make certain that |
|
42 |
everyone understands that there is no warranty for this free software. If the |
|
43 |
software is modified by someone else and passed on, we want its recipients |
|
44 |
to know that what they have is not the original, so that any problems |
|
45 |
introduced by others will not reflect on the original authors' reputations. |
|
46 |
|
|
47 |
Finally, any free program is threatened constantly by software patents. We |
|
48 |
wish to avoid the danger that redistributors of a free program will individually |
|
49 |
obtain patent licenses, in effect making the program proprietary. To prevent |
|
50 |
this, we have made it clear that any patent must be licensed for everyone's |
|
51 |
free use or not licensed at all. |
|
52 |
|
|
53 |
The precise terms and conditions for copying, distribution and modification |
|
54 |
follow. |
|
55 |
|
|
56 |
GNU GENERAL PUBLIC LICENSE |
|
57 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND |
|
58 |
MODIFICATION |
|
59 |
|
|
60 |
0. This License applies to any program or other work which contains a notice |
|
61 |
placed by the copyright holder saying it may be distributed under the terms |
|
62 |
of this General Public License. The "Program", below, refers to any such |
|
63 |
program or work, and a "work based on the Program" means either the |
|
64 |
Program or any derivative work under copyright law: that is to say, a work |
|
65 |
containing the Program or a portion of it, either verbatim or with |
|
66 |
modifications and/or translated into another language. (Hereinafter, translation |
|
67 |
is included without limitation in the term "modification".) Each licensee is |
|
68 |
addressed as "you". |
|
69 |
|
|
70 |
Activities other than copying, distribution and modification are not covered |
|
71 |
by this License; they are outside its scope. The act of running the Program is |
|
72 |
not restricted, and the output from the Program is covered only if its contents |
|
73 |
constitute a work based on the Program (independent of having been made |
|
74 |
by running the Program). Whether that is true depends on what the Program |
|
75 |
does. |
|
76 |
|
|
77 |
1. You may copy and distribute verbatim copies of the Program's source |
|
78 |
code as you receive it, in any medium, provided that you conspicuously and |
|
79 |
appropriately publish on each copy an appropriate copyright notice and |
|
80 |
disclaimer of warranty; keep intact all the notices that refer to this License |
|
81 |
and to the absence of any warranty; and give any other recipients of the |
|
82 |
Program a copy of this License along with the Program. |
|
83 |
|
|
84 |
You may charge a fee for the physical act of transferring a copy, and you |
|
85 |
may at your option offer warranty protection in exchange for a fee. |
|
86 |
|
|
87 |
2. You may modify your copy or copies of the Program or any portion of it, |
|
88 |
thus forming a work based on the Program, and copy and distribute such |
|
89 |
modifications or work under the terms of Section 1 above, provided that you |
|
90 |
also meet all of these conditions: |
|
91 |
|
|
92 |
a) You must cause the modified files to carry prominent notices stating that |
|
93 |
you changed the files and the date of any change. |
|
94 |
|
|
95 |
b) You must cause any work that you distribute or publish, that in whole or in |
|
96 |
part contains or is derived from the Program or any part thereof, to be |
|
97 |
licensed as a whole at no charge to all third parties under the terms of this |
|
98 |
License. |
|
99 |
|
|
100 |
c) If the modified program normally reads commands interactively when run, |
|
101 |
you must cause it, when started running for such interactive use in the most |
|
102 |
ordinary way, to print or display an announcement including an appropriate |
|
103 |
copyright notice and a notice that there is no warranty (or else, saying that |
|
104 |
you provide a warranty) and that users may redistribute the program under |
|
105 |
these conditions, and telling the user how to view a copy of this License. |
|
106 |
(Exception: if the Program itself is interactive but does not normally print such |
|
107 |
an announcement, your work based on the Program is not required to print |
|
108 |
an announcement.) |
|
109 |
|
|
110 |
These requirements apply to the modified work as a whole. If identifiable |
|
111 |
sections of that work are not derived from the Program, and can be |
|
112 |
reasonably considered independent and separate works in themselves, then |
|
113 |
this License, and its terms, do not apply to those sections when you distribute |
|
114 |
them as separate works. But when you distribute the same sections as part |
|
115 |
of a whole which is a work based on the Program, the distribution of the |
|
116 |
whole must be on the terms of this License, whose permissions for other |
|
117 |
licensees extend to the entire whole, and thus to each and every part |
|
118 |
regardless of who wrote it. |
|
119 |
|
|
120 |
Thus, it is not the intent of this section to claim rights or contest your rights to |
|
121 |
work written entirely by you; rather, the intent is to exercise the right to |
|
122 |
control the distribution of derivative or collective works based on the |
|
123 |
Program. |
|
124 |
|
|
125 |
In addition, mere aggregation of another work not based on the Program |
|
126 |
with the Program (or with a work based on the Program) on a volume of a |
|
127 |
storage or distribution medium does not bring the other work under the scope |
|
128 |
of this License. |
|
129 |
|
|
130 |
3. You may copy and distribute the Program (or a work based on it, under |
|
131 |
Section 2) in object code or executable form under the terms of Sections 1 |
|
132 |
and 2 above provided that you also do one of the following: |
|
133 |
|
|
134 |
a) Accompany it with the complete corresponding machine-readable source |
|
135 |
code, which must be distributed under the terms of Sections 1 and 2 above |
|
136 |
on a medium customarily used for software interchange; or, |
|
137 |
|
|
138 |
b) Accompany it with a written offer, valid for at least three years, to give |
|
139 |
any third party, for a charge no more than your cost of physically performing |
|
140 |
source distribution, a complete machine-readable copy of the corresponding |
|
141 |
source code, to be distributed under the terms of Sections 1 and 2 above on |
|
142 |
a medium customarily used for software interchange; or, |
|
143 |
|
|
144 |
c) Accompany it with the information you received as to the offer to distribute |
|
145 |
corresponding source code. (This alternative is allowed only for |
|
146 |
noncommercial distribution and only if you received the program in object |
|
147 |
code or executable form with such an offer, in accord with Subsection b |
|
148 |
above.) |
|
149 |
|
|
150 |
The source code for a work means the preferred form of the work for |
|
151 |
making modifications to it. For an executable work, complete source code |
|
152 |
means all the source code for all modules it contains, plus any associated |
|
153 |
interface definition files, plus the scripts used to control compilation and |
|
154 |
installation of the executable. However, as a special exception, the source |
|
155 |
code distributed need not include anything that is normally distributed (in |
|
156 |
either source or binary form) with the major components (compiler, kernel, |
|
157 |
and so on) of the operating system on which the executable runs, unless that |
|
158 |
component itself accompanies the executable. |
|
159 |
|
|
160 |
If distribution of executable or object code is made by offering access to |
|
161 |
copy from a designated place, then offering equivalent access to copy the |
|
162 |
source code from the same place counts as distribution of the source code, |
|
163 |
even though third parties are not compelled to copy the source along with the |
|
164 |
object code. |
|
165 |
|
|
166 |
4. You may not copy, modify, sublicense, or distribute the Program except as |
|
167 |
expressly provided under this License. Any attempt otherwise to copy, |
|
168 |
modify, sublicense or distribute the Program is void, and will automatically |
|
169 |
terminate your rights under this License. However, parties who have received |
|
170 |
copies, or rights, from you under this License will not have their licenses |
|
171 |
terminated so long as such parties remain in full compliance. |
|
172 |
|
|
173 |
5. You are not required to accept this License, since you have not signed it. |
|
174 |
However, nothing else grants you permission to modify or distribute the |
|
175 |
Program or its derivative works. These actions are prohibited by law if you |
|
176 |
do not accept this License. Therefore, by modifying or distributing the |
|
177 |
Program (or any work based on the Program), you indicate your acceptance |
|
178 |
of this License to do so, and all its terms and conditions for copying, |
|
179 |
distributing or modifying the Program or works based on it. |
|
180 |
|
|
181 |
6. Each time you redistribute the Program (or any work based on the |
|
182 |
Program), the recipient automatically receives a license from the original |
|
183 |
licensor to copy, distribute or modify the Program subject to these terms and |
|
184 |
conditions. You may not impose any further restrictions on the recipients' |
|
185 |
exercise of the rights granted herein. You are not responsible for enforcing |
|
186 |
compliance by third parties to this License. |
|
187 |
|
|
188 |
7. If, as a consequence of a court judgment or allegation of patent |
|
189 |
infringement or for any other reason (not limited to patent issues), conditions |
|
190 |
are imposed on you (whether by court order, agreement or otherwise) that |
|
191 |
contradict the conditions of this License, they do not excuse you from the |
|
192 |
conditions of this License. If you cannot distribute so as to satisfy |
|
193 |
simultaneously your obligations under this License and any other pertinent |
|
194 |
obligations, then as a consequence you may not distribute the Program at all. |
|
195 |
For example, if a patent license would not permit royalty-free redistribution |
|
196 |
of the Program by all those who receive copies directly or indirectly through |
|
197 |
you, then the only way you could satisfy both it and this License would be to |
|
198 |
refrain entirely from distribution of the Program. |
|
199 |
|
|
200 |
If any portion of this section is held invalid or unenforceable under any |
|
201 |
particular circumstance, the balance of the section is intended to apply and |
|
202 |
the section as a whole is intended to apply in other circumstances. |
|
203 |
|
|
204 |
It is not the purpose of this section to induce you to infringe any patents or |
|
205 |
other property right claims or to contest validity of any such claims; this |
|
206 |
section has the sole purpose of protecting the integrity of the free software |
|
207 |
distribution system, which is implemented by public license practices. Many |
|
208 |
people have made generous contributions to the wide range of software |
|
209 |
distributed through that system in reliance on consistent application of that |
|
210 |
system; it is up to the author/donor to decide if he or she is willing to |
|
211 |
distribute software through any other system and a licensee cannot impose |
|
212 |
that choice. |
|
213 |
|
|
214 |
This section is intended to make thoroughly clear what is believed to be a |
|
215 |
consequence of the rest of this License. |
|
216 |
|
|
217 |
8. If the distribution and/or use of the Program is restricted in certain |
|
218 |
countries either by patents or by copyrighted interfaces, the original copyright |
|
219 |
holder who places the Program under this License may add an explicit |
|
220 |
geographical distribution limitation excluding those countries, so that |
|
221 |
distribution is permitted only in or among countries not thus excluded. In such |
|
222 |
case, this License incorporates the limitation as if written in the body of this |
|
223 |
License. |
|
224 |
|
|
225 |
9. The Free Software Foundation may publish revised and/or new versions |
|
226 |
of the General Public License from time to time. Such new versions will be |
|
227 |
similar in spirit to the present version, but may differ in detail to address new |
|
228 |
problems or concerns. |
|
229 |
|
|
230 |
Each version is given a distinguishing version number. If the Program specifies |
|
231 |
a version number of this License which applies to it and "any later version", |
|
232 |
you have the option of following the terms and conditions either of that |
|
233 |
version or of any later version published by the Free Software Foundation. If |
|
234 |
the Program does not specify a version number of this License, you may |
|
235 |
choose any version ever published by the Free Software Foundation. |
|
236 |
|
|
237 |
10. If you wish to incorporate parts of the Program into other free programs |
|
238 |
whose distribution conditions are different, write to the author to ask for |
|
239 |
permission. For software which is copyrighted by the Free Software |
|
240 |
Foundation, write to the Free Software Foundation; we sometimes make |
|
241 |
exceptions for this. Our decision will be guided by the two goals of |
|
242 |
preserving the free status of all derivatives of our free software and of |
|
243 |
promoting the sharing and reuse of software generally. |
|
244 |
|
|
245 |
NO WARRANTY |
|
246 |
|
|
247 |
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, |
|
248 |
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT |
|
249 |
PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE |
|
250 |
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
|
251 |
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT |
|
252 |
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, |
|
253 |
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
254 |
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
255 |
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND |
|
256 |
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
|
257 |
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL |
|
258 |
NECESSARY SERVICING, REPAIR OR CORRECTION. |
|
259 |
|
|
260 |
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR |
|
261 |
AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR |
|
262 |
ANY OTHER PARTY WHO MAY MODIFY AND/OR |
|
263 |
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE |
|
264 |
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, |
|
265 |
SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES |
|
266 |
ARISING OUT OF THE USE OR INABILITY TO USE THE |
|
267 |
PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA |
|
268 |
OR DATA BEING RENDERED INACCURATE OR LOSSES |
|
269 |
SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE |
|
270 |
PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN |
|
271 |
IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF |
|
272 |
THE POSSIBILITY OF SUCH DAMAGES. |
|
273 |
|
|
274 |
END OF TERMS AND CONDITIONS |
7.x/modules/cdm_dataportal/cdm_api/LICENSE.txt | ||
---|---|---|
1 |
GNU GENERAL PUBLIC LICENSE |
|
2 |
|
|
3 |
Version 2, June 1991 |
|
4 |
|
|
5 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, |
|
6 |
Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute |
|
7 |
verbatim copies of this license document, but changing it is not allowed. |
|
8 |
|
|
9 |
Preamble |
|
10 |
|
|
11 |
The licenses for most software are designed to take away your freedom to |
|
12 |
share and change it. By contrast, the GNU General Public License is |
|
13 |
intended to guarantee your freedom to share and change free software--to |
|
14 |
make sure the software is free for all its users. This General Public License |
|
15 |
applies to most of the Free Software Foundation's software and to any other |
|
16 |
program whose authors commit to using it. (Some other Free Software |
|
17 |
Foundation software is covered by the GNU Library General Public License |
|
18 |
instead.) You can apply it to your programs, too. |
|
19 |
|
|
20 |
When we speak of free software, we are referring to freedom, not price. Our |
|
21 |
General Public Licenses are designed to make sure that you have the |
|
22 |
freedom to distribute copies of free software (and charge for this service if |
|
23 |
you wish), that you receive source code or can get it if you want it, that you |
|
24 |
can change the software or use pieces of it in new free programs; and that |
|
25 |
you know you can do these things. |
|
26 |
|
|
27 |
To protect your rights, we need to make restrictions that forbid anyone to |
|
28 |
deny you these rights or to ask you to surrender the rights. These restrictions |
|
29 |
translate to certain responsibilities for you if you distribute copies of the |
|
30 |
software, or if you modify it. |
|
31 |
|
|
32 |
For example, if you distribute copies of such a program, whether gratis or for |
|
33 |
a fee, you must give the recipients all the rights that you have. You must make |
|
34 |
sure that they, too, receive or can get the source code. And you must show |
|
35 |
them these terms so they know their rights. |
|
36 |
|
|
37 |
We protect your rights with two steps: (1) copyright the software, and (2) |
|
38 |
offer you this license which gives you legal permission to copy, distribute |
|
39 |
and/or modify the software. |
|
40 |
|
|
41 |
Also, for each author's protection and ours, we want to make certain that |
|
42 |
everyone understands that there is no warranty for this free software. If the |
|
43 |
software is modified by someone else and passed on, we want its recipients |
|
44 |
to know that what they have is not the original, so that any problems |
|
45 |
introduced by others will not reflect on the original authors' reputations. |
|
46 |
|
|
47 |
Finally, any free program is threatened constantly by software patents. We |
|
48 |
wish to avoid the danger that redistributors of a free program will individually |
|
49 |
obtain patent licenses, in effect making the program proprietary. To prevent |
|
50 |
this, we have made it clear that any patent must be licensed for everyone's |
|
51 |
free use or not licensed at all. |
|
52 |
|
|
53 |
The precise terms and conditions for copying, distribution and modification |
|
54 |
follow. |
|
55 |
|
|
56 |
GNU GENERAL PUBLIC LICENSE |
|
57 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND |
|
58 |
MODIFICATION |
|
59 |
|
|
60 |
0. This License applies to any program or other work which contains a notice |
|
61 |
placed by the copyright holder saying it may be distributed under the terms |
|
62 |
of this General Public License. The "Program", below, refers to any such |
|
63 |
program or work, and a "work based on the Program" means either the |
|
64 |
Program or any derivative work under copyright law: that is to say, a work |
|
65 |
containing the Program or a portion of it, either verbatim or with |
|
66 |
modifications and/or translated into another language. (Hereinafter, translation |
|
67 |
is included without limitation in the term "modification".) Each licensee is |
|
68 |
addressed as "you". |
|
69 |
|
|
70 |
Activities other than copying, distribution and modification are not covered |
|
71 |
by this License; they are outside its scope. The act of running the Program is |
|
72 |
not restricted, and the output from the Program is covered only if its contents |
|
73 |
constitute a work based on the Program (independent of having been made |
|
74 |
by running the Program). Whether that is true depends on what the Program |
|
75 |
does. |
|
76 |
|
|
77 |
1. You may copy and distribute verbatim copies of the Program's source |
|
78 |
code as you receive it, in any medium, provided that you conspicuously and |
|
79 |
appropriately publish on each copy an appropriate copyright notice and |
|
80 |
disclaimer of warranty; keep intact all the notices that refer to this License |
|
81 |
and to the absence of any warranty; and give any other recipients of the |
|
82 |
Program a copy of this License along with the Program. |
|
83 |
|
|
84 |
You may charge a fee for the physical act of transferring a copy, and you |
|
85 |
may at your option offer warranty protection in exchange for a fee. |
|
86 |
|
|
87 |
2. You may modify your copy or copies of the Program or any portion of it, |
|
88 |
thus forming a work based on the Program, and copy and distribute such |
|
89 |
modifications or work under the terms of Section 1 above, provided that you |
|
90 |
also meet all of these conditions: |
|
91 |
|
|
92 |
a) You must cause the modified files to carry prominent notices stating that |
|
93 |
you changed the files and the date of any change. |
|
94 |
|
|
95 |
b) You must cause any work that you distribute or publish, that in whole or in |
|
96 |
part contains or is derived from the Program or any part thereof, to be |
|
97 |
licensed as a whole at no charge to all third parties under the terms of this |
|
98 |
License. |
|
99 |
|
|
100 |
c) If the modified program normally reads commands interactively when run, |
|
101 |
you must cause it, when started running for such interactive use in the most |
|
102 |
ordinary way, to print or display an announcement including an appropriate |
|
103 |
copyright notice and a notice that there is no warranty (or else, saying that |
|
104 |
you provide a warranty) and that users may redistribute the program under |
|
105 |
these conditions, and telling the user how to view a copy of this License. |
|
106 |
(Exception: if the Program itself is interactive but does not normally print such |
|
107 |
an announcement, your work based on the Program is not required to print |
|
108 |
an announcement.) |
|
109 |
|
|
110 |
These requirements apply to the modified work as a whole. If identifiable |
|
111 |
sections of that work are not derived from the Program, and can be |
|
112 |
reasonably considered independent and separate works in themselves, then |
|
113 |
this License, and its terms, do not apply to those sections when you distribute |
|
114 |
them as separate works. But when you distribute the same sections as part |
|
115 |
of a whole which is a work based on the Program, the distribution of the |
|
116 |
whole must be on the terms of this License, whose permissions for other |
|
117 |
licensees extend to the entire whole, and thus to each and every part |
|
118 |
regardless of who wrote it. |
|
119 |
|
|
120 |
Thus, it is not the intent of this section to claim rights or contest your rights to |
|
121 |
work written entirely by you; rather, the intent is to exercise the right to |
|
122 |
control the distribution of derivative or collective works based on the |
|
123 |
Program. |
|
124 |
|
|
125 |
In addition, mere aggregation of another work not based on the Program |
|
126 |
with the Program (or with a work based on the Program) on a volume of a |
|
127 |
storage or distribution medium does not bring the other work under the scope |
|
128 |
of this License. |
|
129 |
|
|
130 |
3. You may copy and distribute the Program (or a work based on it, under |
|
131 |
Section 2) in object code or executable form under the terms of Sections 1 |
|
132 |
and 2 above provided that you also do one of the following: |
|
133 |
|
|
134 |
a) Accompany it with the complete corresponding machine-readable source |
|
135 |
code, which must be distributed under the terms of Sections 1 and 2 above |
|
136 |
on a medium customarily used for software interchange; or, |
|
137 |
|
|
138 |
b) Accompany it with a written offer, valid for at least three years, to give |
|
139 |
any third party, for a charge no more than your cost of physically performing |
|
140 |
source distribution, a complete machine-readable copy of the corresponding |
|
141 |
source code, to be distributed under the terms of Sections 1 and 2 above on |
|
142 |
a medium customarily used for software interchange; or, |
|
143 |
|
|
144 |
c) Accompany it with the information you received as to the offer to distribute |
|
145 |
corresponding source code. (This alternative is allowed only for |
|
146 |
noncommercial distribution and only if you received the program in object |
|
147 |
code or executable form with such an offer, in accord with Subsection b |
|
148 |
above.) |
|
149 |
|
|
150 |
The source code for a work means the preferred form of the work for |
|
151 |
making modifications to it. For an executable work, complete source code |
|
152 |
means all the source code for all modules it contains, plus any associated |
|
153 |
interface definition files, plus the scripts used to control compilation and |
|
154 |
installation of the executable. However, as a special exception, the source |
|
155 |
code distributed need not include anything that is normally distributed (in |
|
156 |
either source or binary form) with the major components (compiler, kernel, |
|
157 |
and so on) of the operating system on which the executable runs, unless that |
|
158 |
component itself accompanies the executable. |
|
159 |
|
|
160 |
If distribution of executable or object code is made by offering access to |
|
161 |
copy from a designated place, then offering equivalent access to copy the |
|
162 |
source code from the same place counts as distribution of the source code, |
|
163 |
even though third parties are not compelled to copy the source along with the |
|
164 |
object code. |
|
165 |
|
|
166 |
4. You may not copy, modify, sublicense, or distribute the Program except as |
|
167 |
expressly provided under this License. Any attempt otherwise to copy, |
|
168 |
modify, sublicense or distribute the Program is void, and will automatically |
|
169 |
terminate your rights under this License. However, parties who have received |
|
170 |
copies, or rights, from you under this License will not have their licenses |
|
171 |
terminated so long as such parties remain in full compliance. |
|
172 |
|
|
173 |
5. You are not required to accept this License, since you have not signed it. |
|
174 |
However, nothing else grants you permission to modify or distribute the |
|
175 |
Program or its derivative works. These actions are prohibited by law if you |
|
176 |
do not accept this License. Therefore, by modifying or distributing the |
|
177 |
Program (or any work based on the Program), you indicate your acceptance |
|
178 |
of this License to do so, and all its terms and conditions for copying, |
|
179 |
distributing or modifying the Program or works based on it. |
|
180 |
|
|
181 |
6. Each time you redistribute the Program (or any work based on the |
|
182 |
Program), the recipient automatically receives a license from the original |
|
183 |
licensor to copy, distribute or modify the Program subject to these terms and |
|
184 |
conditions. You may not impose any further restrictions on the recipients' |
|
185 |
exercise of the rights granted herein. You are not responsible for enforcing |
|
186 |
compliance by third parties to this License. |
|
187 |
|
|
188 |
7. If, as a consequence of a court judgment or allegation of patent |
|
189 |
infringement or for any other reason (not limited to patent issues), conditions |
|
190 |
are imposed on you (whether by court order, agreement or otherwise) that |
|
191 |
contradict the conditions of this License, they do not excuse you from the |
|
192 |
conditions of this License. If you cannot distribute so as to satisfy |
|
193 |
simultaneously your obligations under this License and any other pertinent |
|
194 |
obligations, then as a consequence you may not distribute the Program at all. |
|
195 |
For example, if a patent license would not permit royalty-free redistribution |
|
196 |
of the Program by all those who receive copies directly or indirectly through |
|
197 |
you, then the only way you could satisfy both it and this License would be to |
|
198 |
refrain entirely from distribution of the Program. |
|
199 |
|
|
200 |
If any portion of this section is held invalid or unenforceable under any |
|
201 |
particular circumstance, the balance of the section is intended to apply and |
|
202 |
the section as a whole is intended to apply in other circumstances. |
|
203 |
|
|
204 |
It is not the purpose of this section to induce you to infringe any patents or |
|
205 |
other property right claims or to contest validity of any such claims; this |
|
206 |
section has the sole purpose of protecting the integrity of the free software |
|
207 |
distribution system, which is implemented by public license practices. Many |
|
208 |
people have made generous contributions to the wide range of software |
|
209 |
distributed through that system in reliance on consistent application of that |
|
210 |
system; it is up to the author/donor to decide if he or she is willing to |
|
211 |
distribute software through any other system and a licensee cannot impose |
|
212 |
that choice. |
|
213 |
|
|
214 |
This section is intended to make thoroughly clear what is believed to be a |
|
215 |
consequence of the rest of this License. |
|
216 |
|
|
217 |
8. If the distribution and/or use of the Program is restricted in certain |
|
218 |
countries either by patents or by copyrighted interfaces, the original copyright |
|
219 |
holder who places the Program under this License may add an explicit |
|
220 |
geographical distribution limitation excluding those countries, so that |
|
221 |
distribution is permitted only in or among countries not thus excluded. In such |
|
222 |
case, this License incorporates the limitation as if written in the body of this |
|
223 |
License. |
|
224 |
|
|
225 |
9. The Free Software Foundation may publish revised and/or new versions |
|
226 |
of the General Public License from time to time. Such new versions will be |
|
227 |
similar in spirit to the present version, but may differ in detail to address new |
|
228 |
problems or concerns. |
|
229 |
|
|
230 |
Each version is given a distinguishing version number. If the Program specifies |
|
231 |
a version number of this License which applies to it and "any later version", |
|
232 |
you have the option of following the terms and conditions either of that |
|
233 |
version or of any later version published by the Free Software Foundation. If |
|
234 |
the Program does not specify a version number of this License, you may |
|
235 |
choose any version ever published by the Free Software Foundation. |
|
236 |
|
|
237 |
10. If you wish to incorporate parts of the Program into other free programs |
|
238 |
whose distribution conditions are different, write to the author to ask for |
|
239 |
permission. For software which is copyrighted by the Free Software |
|
240 |
Foundation, write to the Free Software Foundation; we sometimes make |
|
241 |
exceptions for this. Our decision will be guided by the two goals of |
|
242 |
preserving the free status of all derivatives of our free software and of |
|
243 |
promoting the sharing and reuse of software generally. |
|
244 |
|
|
245 |
NO WARRANTY |
|
246 |
|
|
247 |
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, |
|
248 |
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT |
|
249 |
PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE |
|
250 |
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
|
251 |
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT |
|
252 |
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, |
|
253 |
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
254 |
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
255 |
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND |
|
256 |
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
|
257 |
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL |
|
258 |
NECESSARY SERVICING, REPAIR OR CORRECTION. |
|
259 |
|
|
260 |
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR |
|
261 |
AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR |
|
262 |
ANY OTHER PARTY WHO MAY MODIFY AND/OR |
|
263 |
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE |
|
264 |
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, |
|
265 |
SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES |
|
266 |
ARISING OUT OF THE USE OR INABILITY TO USE THE |
|
267 |
PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA |
|
268 |
OR DATA BEING RENDERED INACCURATE OR LOSSES |
|
269 |
SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE |
|
270 |
PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN |
|
271 |
IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF |
|
272 |
THE POSSIBILITY OF SUCH DAMAGES. |
|
273 |
|
|
274 |
END OF TERMS AND CONDITIONS |
7.x/modules/cdm_dataportal/cdm_api/cdm_api.info | ||
---|---|---|
1 |
name = "CDM API" |
|
2 |
description = "CDM Web Service API" |
|
3 |
version = 7.x-3.0 |
|
4 |
package = "CDM" |
|
5 |
core = 7.x |
7.x/modules/cdm_dataportal/cdm_api/cdm_api.install | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* @file |
|
4 |
* Install, update and uninstall functions for the cdm_api module. |
|
5 |
*/ |
|
6 |
|
|
7 |
/** |
|
8 |
* Implements hook_schema(). |
|
9 |
* The drupal_(un)install_schema functions are called automatically in D7. |
|
10 |
*/ |
|
11 |
function cdm_api_schema() { |
|
12 |
$schema['cache_cdm_ws'] = array( |
|
13 |
'fields' => array( |
|
14 |
'cid' => array( |
|
15 |
'description' => 'Primary Key: Unique cache ID.', |
|
16 |
'type' => 'varchar', |
|
17 |
'length' => '333', |
|
18 |
'not null' => TRUE, |
|
19 |
'default' => '', |
|
20 |
), |
|
21 |
'data' => array( |
|
22 |
'description' => 'The data to cache.', |
|
23 |
'type' => 'blob', |
|
24 |
'size' => 'big', |
|
25 |
'not null' => FALSE, |
|
26 |
), |
|
27 |
'expire' => array( |
|
28 |
'description' => 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', |
|
29 |
'type' => 'int', |
|
30 |
'not null' => TRUE, |
|
31 |
'default' => 0, |
|
32 |
'disp-width' => '11', |
|
33 |
), |
|
34 |
'created' => array( |
|
35 |
'description' => 'Unix timestamp indicating when the cache entry was created.', |
|
36 |
'type' => 'int', |
|
37 |
'not null' => TRUE, |
|
38 |
'default' => 0, |
|
39 |
'disp-width' => '11', |
|
40 |
), |
|
41 |
'serialized' => array( |
|
42 |
'description' => 'A flag to indicate whether content is serialized by Drupal (1) or not (0).', |
|
43 |
'type' => 'int', |
|
44 |
'size' => 'small', |
|
45 |
'not null' => FALSE, |
|
46 |
), |
|
47 |
), |
|
48 |
'primary key' => array('cid'), |
|
49 |
'indexes' => array( |
|
50 |
'expire' => array('expire'), |
|
51 |
), |
|
52 |
// Important, since the 'cid' field is too big to create a key on in INNODB. |
|
53 |
// InnoDB allows a max. key length of 767 bytes, MyISAM 1000 bytes, which is |
|
54 |
// for utf8 (333*3)+1, so 333 characters max. instead of 255 chars. |
|
55 |
'mysql_engine' => 'MyISAM', |
|
56 |
); |
|
57 |
|
|
58 |
// @Comment WA: please describe the fields. |
|
59 |
$schema['node_cdm'] = array( |
|
60 |
'fields' => array( |
|
61 |
'nid' => array( |
|
62 |
'type' => 'int', |
|
63 |
'not null' => TRUE, |
|
64 |
'disp-width' => '11', |
|
65 |
), |
|
66 |
'wsuri' => array( |
|
67 |
'type' => 'varchar', |
|
68 |
'length' => '255', |
|
69 |
'not null' => FALSE, |
|
70 |
), |
|
71 |
'hash' => array( |
|
72 |
'type' => 'char', |
|
73 |
'length' => '32', |
|
74 |
'not null' => TRUE, |
|
75 |
), |
|
76 |
'cdmtype' => array( |
|
77 |
'type' => 'varchar', |
|
78 |
'length' => '255', |
|
79 |
'not null' => FALSE, |
|
80 |
), |
|
81 |
'uuid' => array( |
|
82 |
'type' => 'varchar', |
|
83 |
'length' => '255', |
|
84 |
'not null' => TRUE, |
|
85 |
'default' => '', |
|
86 |
), |
|
87 |
), |
|
88 |
'primary key' => array('hash'), |
|
89 |
); |
|
90 |
|
|
91 |
return $schema; |
|
92 |
} |
|
93 |
|
|
94 |
/** |
|
95 |
* Update D5 cache table to match Drupal 7 cache table columns. |
|
96 |
*/ |
|
97 |
function cdm_api_update_7000() { |
|
98 |
$schema = cdm_api_schema(); |
|
99 |
|
|
100 |
// No need to use db_change_field() here. |
|
101 |
// We simply drop and recreate the cache tables to start clean. |
|
102 |
db_drop_table('cache_cdm_ws'); |
|
103 |
db_create_table('cache_cdm_ws', $schema['cache_cdm_ws']); |
|
104 |
} |
|
105 |
|
|
106 |
/* |
|
107 |
Comment @WA: fix is obsolete in Drupal 7. |
|
108 |
function _get_sql_fix_watchdog() { |
|
109 |
return "ALTER TABLE {watchdog} CHANGE referer referer TEXT NOT NULL ;"; |
|
110 |
} |
|
111 |
*/ |
|
112 |
|
|
113 |
/** |
|
114 |
* Implements hook_requirements(). |
|
115 |
* |
|
116 |
* This hook, like all others dealing with installation and updates, must |
|
117 |
* reside in the .install file, or it will not properly abort the installation |
|
118 |
* of the module if a critical requirement is missing. |
|
119 |
*/ |
|
120 |
function cdm_api_requirements() { |
|
121 |
// t() Is not yet available in installation phase, so we use get_t instead. |
|
122 |
$t = get_t(); |
|
123 |
$requirements['cdm_api'] = array( |
|
124 |
'title' => $t('CDM API'), |
|
125 |
); |
|
126 |
|
|
127 |
if (function_exists('curl_init')) { |
|
128 |
// Description below title is not yet in use. |
|
129 |
$requirements['cdm_api']['description'] = ''; |
|
130 |
$requirements['cdm_api']['value'] = $t(' |
|
131 |
CURL php extension is available and will be used by the CDM API. |
|
132 |
HTTP requests thus will be up to 20x faster.' |
|
133 |
); |
|
134 |
} |
|
135 |
else { |
|
136 |
$requirements['cdm_api']['value'] = $t('CURL php extension is missing. If |
|
137 |
CURL lib is installed HTTP requests will be up to 20x faster.'); |
|
138 |
} |
|
139 |
|
|
140 |
// FIXME: once _get_content_fsockopen is implemented change severity to |
|
141 |
// REQUIREMENT_WARNING. |
|
142 |
$requirements['cdm_api']['severity'] = (function_exists('curl_init') ? REQUIREMENT_OK : REQUIREMENT_INFO); |
|
143 |
|
|
144 |
return $requirements; |
|
145 |
} |
7.x/modules/cdm_dataportal/cdm_api/cdm_api.module | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* @file |
|
4 |
* Required or useful functions for using CDM Data Store Webservices. |
|
5 |
* |
|
6 |
* Naming conventions: |
|
7 |
* ---------------------- |
|
8 |
* - All webservice access methods are prefixed with cdm_ws. |
|
9 |
* |
|
10 |
* @copyright |
|
11 |
* (C) 2007-2012 EDIT |
|
12 |
* European Distributed Institute of Taxonomy |
|
13 |
* http://www.e-taxonomy.eu |
|
14 |
* |
|
15 |
* The contents of this module are subject to the Mozilla |
|
16 |
* Public License Version 1.1. |
|
17 |
* @see http://www.mozilla.org/MPL/MPL-1.1.html |
|
18 |
* |
|
19 |
* @author |
|
20 |
* - Andreas Kohlbecker <a.kohlbecker@BGBM.org> |
|
21 |
* - Wouter Addink <w.addink@eti.uva.nl> (migration from Drupal 5 to Drupal7) |
|
22 |
*/ |
|
23 |
|
|
24 |
module_load_include('php', 'cdm_api', 'xml2json'); |
|
25 |
module_load_include('php', 'cdm_api', 'commons'); |
|
26 |
module_load_include('php', 'cdm_api', 'uuids'); |
|
27 |
module_load_include('php', 'cdm_api', 'webservice_uris'); |
|
28 |
module_load_include('php', 'cdm_api', 'cdm_node'); |
|
29 |
|
|
30 |
|
|
31 |
/** |
|
32 |
* Implements hook_menu(). |
|
33 |
*/ |
|
34 |
function cdm_api_menu() { |
|
35 |
$items = array(); |
|
36 |
|
|
37 |
// usage: url('cdm_api/proxy/'.urlencode($content_url)."/$theme"); |
|
38 |
$items['cdm_api/proxy'] = array( |
|
39 |
'page callback' => 'proxy_content', |
|
40 |
'access arguments' => array( |
|
41 |
'access content', |
|
42 |
), |
|
43 |
'type' => MENU_CALLBACK, |
|
44 |
); |
|
45 |
|
|
46 |
$items['cdm_api/setvalue/session'] = array( |
|
47 |
'page callback' => 'setvalue_session', |
|
48 |
'access arguments' => array( |
|
49 |
'access content', |
|
50 |
), |
|
51 |
'type' => MENU_CALLBACK, |
|
52 |
); |
|
53 |
|
|
54 |
return $items; |
|
55 |
} |
|
56 |
|
|
57 |
/** |
|
58 |
* Implements hook_cron(). |
|
59 |
* |
|
60 |
* Expire outdated cache entries. |
|
61 |
*/ |
|
62 |
function cdm_api_cron() { |
|
63 |
cache_clear_all(NULL, 'cache_cdm_ws'); |
|
64 |
} |
|
65 |
|
|
66 |
/** |
|
67 |
* @todo Please document this function. |
|
68 |
* @see http://drupal.org/node/1354 |
|
69 |
*/ |
|
70 |
function cdm_api_permission() { |
|
71 |
return array( |
|
72 |
'administer cdm_api' => array( |
|
73 |
'title' => t('administer cdm_api'), |
|
74 |
'description' => t("TODO Add a description for 'administer cdm_api'"), |
|
75 |
), |
|
76 |
); |
|
77 |
} |
|
78 |
|
|
79 |
/** |
|
80 |
* Converts an array of TaggedText items into corresponding html tags. |
|
81 |
* |
|
82 |
* Each item is provided with a class attribute which is set to the key of the |
|
83 |
* TaggedText item. |
|
84 |
* |
|
85 |
* @param array $taggedtxt |
|
86 |
* Array with text items to convert. |
|
87 |
* @param string $tag |
|
88 |
* Html tag name to convert the items into, default is 'span'. |
|
89 |
* @param string $glue |
|
90 |
* The string by which the chained text tokens are concatenated together. |
|
91 |
* Default is a blank character. |
|
92 |
* |
|
93 |
* @return string |
|
94 |
* A string with HTML. |
|
95 |
*/ |
|
96 |
function cdm_taggedtext2html(array $taggedtxt, $tag = 'span', $glue = ' ', $skiptags = array()) { |
|
97 |
$out = ''; |
|
98 |
$i = 0; |
|
99 |
foreach ($taggedtxt as $tt) { |
|
100 |
if (!in_array($tt->type, $skiptags) && strlen($tt->text) > 0) { |
|
101 |
$out .= (strlen($out) > 0 && ++$i < count($taggedtxt) ? $glue : '') . '<' . $tag . ' class="' . $tt->type . '">' . t($tt->text) . '</' . $tag . '>'; |
|
102 |
} |
|
103 |
} |
|
104 |
return $out; |
|
105 |
} |
|
106 |
|
|
107 |
/** |
|
108 |
* Finds the text tagged with $tag_type in an array of taggedText instances. |
|
109 |
* |
|
110 |
* Comment @WA: this function seems unused. |
|
111 |
* |
|
112 |
* @param array $taggedtxt |
|
113 |
* Array with text items. |
|
114 |
* @param string $tag_type |
|
115 |
* The type of tag for which to find text items in the $taggedtxt array. |
|
116 |
* |
|
117 |
* @return array |
|
118 |
* An array with the texts mapped by $tag_type. |
|
119 |
*/ |
|
120 |
function cdm_taggedtext_values(array $taggedtxt, $tag_type) { |
|
121 |
$tokens = array(); |
|
122 |
if (!empty($taggedtxt)) { |
|
123 |
foreach ($taggedtxt as $tagtxt) { |
|
124 |
if ($tagtxt->type == $tag_type) { |
|
125 |
$tokens[] = $tagtxt->text; |
|
126 |
} |
|
127 |
} |
|
128 |
} |
|
129 |
return $tokens; |
|
130 |
} |
|
131 |
|
|
132 |
/** |
|
133 |
* Returns the currently classification tree in use. |
|
134 |
*/ |
|
135 |
function get_taxonomictree_uuid_selected() { |
|
136 |
if (isset($_SESSION['cdm']['taxonomictree_uuid']) && is_uuid($_SESSION['cdm']['taxonomictree_uuid'])) { |
|
137 |
return $_SESSION['cdm']['taxonomictree_uuid']; |
|
138 |
} |
|
139 |
else { |
|
140 |
return variable_get(CDM_TAXONOMICTREE_UUID, FALSE); |
|
141 |
} |
|
142 |
} |
|
143 |
|
|
144 |
/** |
|
145 |
* Returns the FeatureTree profile as selected. |
|
146 |
* |
|
147 |
* The FeatureTree profile returned is the one that has been set in the |
|
148 |
* dataportal settings (layout->taxon:profile). |
|
149 |
* When the chosen FeatureTree is not found in the database, |
|
150 |
* the standard feature tree (UUID_DEFAULT_FEATURETREE) will be returned. |
|
151 |
* |
|
152 |
* @return mixed |
|
153 |
* A feature profile tree object. |
|
154 |
*/ |
|
155 |
function get_profile_featureTree() { |
|
156 |
$profile_featureTree = cdm_ws_get( |
|
157 |
CDM_WS_FEATURETREE, |
|
158 |
variable_get(CDM_PROFILE_FEATURETREE_UUID, UUID_DEFAULT_FEATURETREE) |
|
159 |
); |
|
160 |
if (!$profile_featureTree) { |
|
161 |
$profile_featureTree = cdm_ws_get( |
|
162 |
CDM_WS_FEATURETREE, |
|
163 |
UUID_DEFAULT_FEATURETREE |
|
164 |
); |
|
165 |
} |
|
166 |
return $profile_featureTree; |
|
167 |
} |
|
168 |
|
|
169 |
/** |
|
170 |
* @todo Please document this function. |
|
171 |
* @see http://drupal.org/node/1354 |
|
172 |
*/ |
|
173 |
function switch_to_taxonomictree_uuid($taxonomictree_uuid) { |
|
174 |
$_SESSION['cdm']['taxonomictree_uuid'] = $taxonomictree_uuid; |
|
175 |
} |
|
176 |
|
|
177 |
/** |
|
178 |
* @todo Please document this function. |
|
179 |
* @see http://drupal.org/node/1354 |
|
180 |
*/ |
|
181 |
function reset_taxonomictree_uuid($taxonomictree_uuid) { |
|
182 |
unset($_SESSION['cdm']['taxonomictree_uuid']); |
|
183 |
} |
|
184 |
|
|
185 |
/** |
|
186 |
* @todo Please document this function. |
|
187 |
* @see http://drupal.org/node/1354 |
|
188 |
*/ |
|
189 |
function set_last_taxon_page_tab($taxonPageTab) { |
|
190 |
$_SESSION['cdm']['taxon_page_tab'] = $taxonPageTab; |
|
191 |
} |
|
192 |
|
|
193 |
/** |
|
194 |
* @todo Please document this function. |
|
195 |
* @see http://drupal.org/node/1354 |
|
196 |
*/ |
|
197 |
function get_last_taxon_page_tab() { |
|
198 |
if (isset($_SESSION['cdm']['taxon_page_tab'])) { |
|
199 |
return $_SESSION['cdm']['taxon_page_tab']; |
|
200 |
} |
|
201 |
else { |
|
202 |
return FALSE; |
|
203 |
} |
|
204 |
} |
|
205 |
|
|
206 |
/** |
|
207 |
* @todo Improve the documentation of this function. |
|
208 |
* |
|
209 |
* media Array [4] |
|
210 |
* representations Array [3] |
|
211 |
* mimeType image/jpeg |
|
212 |
* representationParts Array [1] |
|
213 |
* duration 0 |
|
214 |
* heigth 0 |
|
215 |
* size 0 |
|
216 |
* uri |
|
217 |
* http://wp5.e-taxonomy.eu/dataportal/cichorieae/media/protolog/jpeg/Acanthocephalus_p1.jpg |
|
218 |
* uuid 15c687f1-f79d-4b79-992f-7ba0f55e610b |
|
219 |
* width 0 |
|
220 |
* suffix jpg |
|
221 |
* uuid 930b7d51-e7b6-4350-b21e-8124b14fe29b |
|
222 |
* title |
|
223 |
* uuid 17e514f1-7a8e-4daa-87ea-8f13f8742cf9 |
|
224 |
* |
|
225 |
* @param object $media |
|
226 |
* @param array $mimeTypes |
|
227 |
* @param int $width |
|
228 |
* @param int $height |
|
229 |
* |
|
230 |
* @return array |
|
231 |
* An array with preferred media representations or else an empty array. |
|
232 |
*/ |
|
233 |
function cdm_preferred_media_representations($media, array $mimeTypes, $width = 400, $height = 300) { |
|
234 |
$prefRepr = array(); |
|
235 |
if (!isset($media->representations[0])) { |
|
236 |
return $prefRepr; |
|
237 |
} |
|
238 |
|
|
239 |
while (count($mimeTypes) > 0) { |
|
240 |
// getRepresentationByMimeType |
|
241 |
$mimeType = array_shift($mimeTypes); |
|
242 |
|
|
243 |
foreach ($media->representations as &$representation) { |
|
244 |
// If the mimetype is not known, try inferring it. |
|
245 |
if (!$representation->mimeType) { |
|
246 |
if (isset($representation->parts[0])) { |
|
247 |
$representation->mimeType = infer_mime_type($representation->parts[0]->uri); |
|
248 |
} |
|
249 |
} |
|
250 |
|
|
251 |
if ($representation->mimeType == $mimeType) { |
|
252 |
// Preferred mimetype found -> erase all remaining mimetypes |
|
253 |
// to end loop. |
|
254 |
$mimeTypes = array(); |
|
255 |
$dwa = 0; |
|
256 |
$dw = 0; |
|
257 |
// Look for part with the best matching size. |
|
258 |
foreach ($representation->parts as $part) { |
|
259 |
if (isset($part->width) && isset($part->height)) { |
|
260 |
$dw = $part->width * $part->height - $height * $width; |
|
261 |
} |
|
262 |
if ($dw < 0) { |
|
263 |
$dw *= -1; |
|
264 |
} |
|
265 |
$dwa += $dw; |
|
266 |
} |
|
267 |
$dwa = (count($representation->parts) > 0) ? $dwa / count($representation->parts) : 0; |
|
268 |
// @WA: $mimeTypeKey is not defined. |
|
269 |
// $prefRepr[$dwa.'_'.$mimeTypeKey] = $representation; |
|
270 |
$prefRepr[$dwa . '_'] = $representation; |
|
271 |
} |
|
272 |
} |
|
273 |
} |
|
274 |
// Sort the array. |
|
275 |
krsort($prefRepr); |
|
276 |
return $prefRepr; |
|
277 |
} |
|
278 |
|
|
279 |
/** |
|
280 |
* Infers the mime type of a file using the filename extension. |
|
281 |
* |
|
282 |
* The filename extension is used to infer the mime type. |
|
283 |
* |
|
284 |
* @param string $filepath |
|
285 |
* The path to the respective file. |
|
286 |
* |
|
287 |
* @return string |
|
288 |
* The mimetype for the file or FALSE if the according mime type could |
|
289 |
* not be found. |
|
290 |
*/ |
|
291 |
function infer_mime_type($filepath) { |
|
292 |
static $mimemap = NULL; |
|
293 |
if (!$mimemap) { |
|
294 |
$mimemap = array( |
|
295 |
'jpg' => 'image/jpeg', |
|
296 |
'jpeg' => 'image/jpeg', |
|
297 |
'png' => 'image/png', |
|
298 |
'gif' => 'image/gif', |
|
299 |
'giff' => 'image/gif', |
|
300 |
'tif' => 'image/tif', |
|
301 |
'tiff' => 'image/tif', |
|
302 |
'pdf' => 'application/pdf', |
|
303 |
'html' => 'text/html', |
|
304 |
'htm' => 'text/html', |
|
305 |
); |
|
306 |
} |
|
307 |
$extension = substr($filepath, strrpos($filepath, '.') + 1); |
|
308 |
if (isset($mimemap[$extension])) { |
|
309 |
return $mimemap[$extension]; |
|
310 |
} |
|
311 |
else { |
|
312 |
// FIXME remove this hack just return FALSE; |
|
313 |
return 'text/html'; |
|
314 |
} |
|
315 |
} |
|
316 |
|
|
317 |
/** |
|
318 |
* Converts an ISO 8601 org.joda.time.Partial to a year. |
|
319 |
* |
|
320 |
* The function expects an ISO 8601 time representation of a |
|
321 |
* org.joda.time.Partial of the form yyyy-MM-dd. |
|
322 |
* |
|
323 |
* @param string $partial |
|
324 |
* ISO 8601 time representation of a org.joda.time.Partial. |
|
325 |
* |
|
326 |
* @return string |
|
327 |
* Returns the year. In case the year is unknown (= ????), it returns NULL. |
|
328 |
*/ |
|
329 |
function partialToYear($partial) { |
|
330 |
if (is_string($partial)) { |
|
331 |
$year = substr($partial, 0, 4); |
|
332 |
if (preg_match("/[0-9][0-9][0-9][0-9]/", $year)) { |
|
333 |
return $year; |
|
334 |
} |
|
335 |
} |
|
336 |
return; |
|
337 |
} |
|
338 |
|
|
339 |
/** |
|
340 |
* Converts an ISO 8601 org.joda.time.Partial to a month. |
|
341 |
* |
|
342 |
* This function expects an ISO 8601 time representation of a |
|
343 |
* org.joda.time.Partial of the form yyyy-MM-dd. |
|
344 |
* In case the month is unknown (= ???) NULL is returned. |
|
345 |
* |
|
346 |
* @param string $partial |
|
347 |
* ISO 8601 time representation of a org.joda.time.Partial. |
|
348 |
* |
|
349 |
* @return string |
|
350 |
* A month. |
|
351 |
*/ |
|
352 |
function partialToMonth($partial) { |
|
353 |
if (is_string($partial)) { |
|
354 |
$month = substr($partial, 5, 2); |
|
355 |
if (preg_match("/[0-9][0-9]/", $month)) { |
Also available in: Unified diff
copy drupal7 dataportal module into trunk