diff --git a/util/minifyjs.sh b/util/minifyjs.sh index 6341860b1..50a56a45c 100755 --- a/util/minifyjs.sh +++ b/util/minifyjs.sh @@ -5,10 +5,10 @@ command -v uglifyjs >/dev/null 2>&1 || { echo >&2 "I require UglifyJS but it's n MINIFY_CMD=uglifyjs JSFILES=( - "js/acl.js" - "js/ajaxupload.js" - "js/country.js" - "js/main.js" + "view/js/acl.js" + "view/js/ajaxupload.js" + "view/js/country.js" + "view/js/main.js" "vendor/asset/base64/base64.min.js" "view/theme/frost/js/acl.js" "view/theme/frost/js/jquery.divgrow-1.3.1.f1.js" diff --git a/js/acl.js b/view/js/acl.js similarity index 100% rename from js/acl.js rename to view/js/acl.js diff --git a/js/ajaxupload.js b/view/js/ajaxupload.js similarity index 100% rename from js/ajaxupload.js rename to view/js/ajaxupload.js diff --git a/js/autocomplete.js b/view/js/autocomplete.js similarity index 100% rename from js/autocomplete.js rename to view/js/autocomplete.js diff --git a/js/country.js b/view/js/country.js similarity index 100% rename from js/country.js rename to view/js/country.js diff --git a/library/cropper/cropper.css b/view/js/cropper/cropper.css similarity index 100% rename from library/cropper/cropper.css rename to view/js/cropper/cropper.css diff --git a/library/cropper/cropper.html b/view/js/cropper/cropper.html similarity index 100% rename from library/cropper/cropper.html rename to view/js/cropper/cropper.html diff --git a/library/cropper/cropper.js b/view/js/cropper/cropper.js similarity index 100% rename from library/cropper/cropper.js rename to view/js/cropper/cropper.js diff --git a/library/cropper/cropper.uncompressed.js b/view/js/cropper/cropper.uncompressed.js similarity index 100% rename from library/cropper/cropper.uncompressed.js rename to view/js/cropper/cropper.uncompressed.js diff --git a/library/cropper/lib/builder.js b/view/js/cropper/lib/builder.js similarity index 100% rename from library/cropper/lib/builder.js rename to view/js/cropper/lib/builder.js diff --git a/library/cropper/lib/controls.js b/view/js/cropper/lib/controls.js similarity index 100% rename from library/cropper/lib/controls.js rename to view/js/cropper/lib/controls.js diff --git a/library/cropper/lib/dragdrop.js b/view/js/cropper/lib/dragdrop.js similarity index 100% rename from library/cropper/lib/dragdrop.js rename to view/js/cropper/lib/dragdrop.js diff --git a/library/cropper/lib/effects.js b/view/js/cropper/lib/effects.js similarity index 100% rename from library/cropper/lib/effects.js rename to view/js/cropper/lib/effects.js diff --git a/library/cropper/lib/prototype.js b/view/js/cropper/lib/prototype.js similarity index 100% rename from library/cropper/lib/prototype.js rename to view/js/cropper/lib/prototype.js diff --git a/library/cropper/lib/scriptaculous.js b/view/js/cropper/lib/scriptaculous.js similarity index 100% rename from library/cropper/lib/scriptaculous.js rename to view/js/cropper/lib/scriptaculous.js diff --git a/library/cropper/lib/slider.js b/view/js/cropper/lib/slider.js similarity index 100% rename from library/cropper/lib/slider.js rename to view/js/cropper/lib/slider.js diff --git a/library/cropper/lib/unittest.js b/view/js/cropper/lib/unittest.js similarity index 100% rename from library/cropper/lib/unittest.js rename to view/js/cropper/lib/unittest.js diff --git a/library/cropper/licence.txt b/view/js/cropper/licence.txt similarity index 100% rename from library/cropper/licence.txt rename to view/js/cropper/licence.txt diff --git a/library/cropper/marqueeHoriz.gif b/view/js/cropper/marqueeHoriz.gif similarity index 100% rename from library/cropper/marqueeHoriz.gif rename to view/js/cropper/marqueeHoriz.gif diff --git a/library/cropper/marqueeVert.gif b/view/js/cropper/marqueeVert.gif similarity index 100% rename from library/cropper/marqueeVert.gif rename to view/js/cropper/marqueeVert.gif diff --git a/library/cropper/tests/castle.jpg b/view/js/cropper/tests/castle.jpg similarity index 100% rename from library/cropper/tests/castle.jpg rename to view/js/cropper/tests/castle.jpg diff --git a/library/cropper/tests/castleMed.jpg b/view/js/cropper/tests/castleMed.jpg similarity index 100% rename from library/cropper/tests/castleMed.jpg rename to view/js/cropper/tests/castleMed.jpg diff --git a/library/cropper/tests/example-Basic.htm b/view/js/cropper/tests/example-Basic.htm similarity index 100% rename from library/cropper/tests/example-Basic.htm rename to view/js/cropper/tests/example-Basic.htm diff --git a/library/cropper/tests/example-CSS-Absolute.htm b/view/js/cropper/tests/example-CSS-Absolute.htm similarity index 100% rename from library/cropper/tests/example-CSS-Absolute.htm rename to view/js/cropper/tests/example-CSS-Absolute.htm diff --git a/library/cropper/tests/example-CSS-Float.htm b/view/js/cropper/tests/example-CSS-Float.htm similarity index 100% rename from library/cropper/tests/example-CSS-Float.htm rename to view/js/cropper/tests/example-CSS-Float.htm diff --git a/library/cropper/tests/example-CSS-Relative.htm b/view/js/cropper/tests/example-CSS-Relative.htm similarity index 100% rename from library/cropper/tests/example-CSS-Relative.htm rename to view/js/cropper/tests/example-CSS-Relative.htm diff --git a/library/cropper/tests/example-CoordsOnLoad.htm b/view/js/cropper/tests/example-CoordsOnLoad.htm similarity index 100% rename from library/cropper/tests/example-CoordsOnLoad.htm rename to view/js/cropper/tests/example-CoordsOnLoad.htm diff --git a/library/cropper/tests/example-CoordsOnLoadWithRatio.htm b/view/js/cropper/tests/example-CoordsOnLoadWithRatio.htm similarity index 100% rename from library/cropper/tests/example-CoordsOnLoadWithRatio.htm rename to view/js/cropper/tests/example-CoordsOnLoadWithRatio.htm diff --git a/library/cropper/tests/example-Dimensions.htm b/view/js/cropper/tests/example-Dimensions.htm similarity index 100% rename from library/cropper/tests/example-Dimensions.htm rename to view/js/cropper/tests/example-Dimensions.htm diff --git a/library/cropper/tests/example-DynamicImage.htm b/view/js/cropper/tests/example-DynamicImage.htm similarity index 100% rename from library/cropper/tests/example-DynamicImage.htm rename to view/js/cropper/tests/example-DynamicImage.htm diff --git a/library/cropper/tests/example-FixedRatio.htm b/view/js/cropper/tests/example-FixedRatio.htm similarity index 100% rename from library/cropper/tests/example-FixedRatio.htm rename to view/js/cropper/tests/example-FixedRatio.htm diff --git a/library/cropper/tests/example-MinimumDimensions.htm b/view/js/cropper/tests/example-MinimumDimensions.htm similarity index 100% rename from library/cropper/tests/example-MinimumDimensions.htm rename to view/js/cropper/tests/example-MinimumDimensions.htm diff --git a/library/cropper/tests/example-MinimumWidth.htm b/view/js/cropper/tests/example-MinimumWidth.htm similarity index 100% rename from library/cropper/tests/example-MinimumWidth.htm rename to view/js/cropper/tests/example-MinimumWidth.htm diff --git a/library/cropper/tests/example-Preview.htm b/view/js/cropper/tests/example-Preview.htm similarity index 100% rename from library/cropper/tests/example-Preview.htm rename to view/js/cropper/tests/example-Preview.htm diff --git a/library/cropper/tests/poppy.jpg b/view/js/cropper/tests/poppy.jpg similarity index 100% rename from library/cropper/tests/poppy.jpg rename to view/js/cropper/tests/poppy.jpg diff --git a/library/cropper/tests/staticHTMLStructure.htm b/view/js/cropper/tests/staticHTMLStructure.htm similarity index 100% rename from library/cropper/tests/staticHTMLStructure.htm rename to view/js/cropper/tests/staticHTMLStructure.htm diff --git a/js/filebrowser.js b/view/js/filebrowser.js similarity index 100% rename from js/filebrowser.js rename to view/js/filebrowser.js diff --git a/library/jquery-textcomplete/CHANGELOG.md b/view/js/jquery-textcomplete/CHANGELOG.md similarity index 100% rename from library/jquery-textcomplete/CHANGELOG.md rename to view/js/jquery-textcomplete/CHANGELOG.md diff --git a/library/jquery-textcomplete/LICENSE b/view/js/jquery-textcomplete/LICENSE similarity index 100% rename from library/jquery-textcomplete/LICENSE rename to view/js/jquery-textcomplete/LICENSE diff --git a/library/jquery-textcomplete/README.md b/view/js/jquery-textcomplete/README.md similarity index 100% rename from library/jquery-textcomplete/README.md rename to view/js/jquery-textcomplete/README.md diff --git a/library/jquery-textcomplete/jquery.textcomplete.css b/view/js/jquery-textcomplete/jquery.textcomplete.css similarity index 100% rename from library/jquery-textcomplete/jquery.textcomplete.css rename to view/js/jquery-textcomplete/jquery.textcomplete.css diff --git a/library/jquery-textcomplete/jquery.textcomplete.js b/view/js/jquery-textcomplete/jquery.textcomplete.js similarity index 100% rename from library/jquery-textcomplete/jquery.textcomplete.js rename to view/js/jquery-textcomplete/jquery.textcomplete.js diff --git a/library/jquery-textcomplete/jquery.textcomplete.min.js b/view/js/jquery-textcomplete/jquery.textcomplete.min.js similarity index 100% rename from library/jquery-textcomplete/jquery.textcomplete.min.js rename to view/js/jquery-textcomplete/jquery.textcomplete.min.js diff --git a/library/jquery-textcomplete/jquery.textcomplete.min.map b/view/js/jquery-textcomplete/jquery.textcomplete.min.map similarity index 100% rename from library/jquery-textcomplete/jquery.textcomplete.min.map rename to view/js/jquery-textcomplete/jquery.textcomplete.min.map diff --git a/js/jquery.textinputs.js b/view/js/jquery.textinputs.js similarity index 100% rename from js/jquery.textinputs.js rename to view/js/jquery.textinputs.js diff --git a/js/main.js b/view/js/main.js similarity index 100% rename from js/main.js rename to view/js/main.js diff --git a/js/modernizr.js b/view/js/modernizr.js similarity index 100% rename from js/modernizr.js rename to view/js/modernizr.js diff --git a/view/templates/crophead.tpl b/view/templates/crophead.tpl index 48f375426..033f2e410 100644 --- a/view/templates/crophead.tpl +++ b/view/templates/crophead.tpl @@ -1,4 +1,4 @@ - - - - + + + + diff --git a/view/templates/filebrowser.tpl b/view/templates/filebrowser.tpl index 105e0c7c4..27a73d039 100644 --- a/view/templates/filebrowser.tpl +++ b/view/templates/filebrowser.tpl @@ -4,8 +4,8 @@ - - + + - + - - - + + + - + - + - + - + \ No newline at end of file + \ No newline at end of file diff --git a/view/theme/frio/templates/filebrowser.tpl b/view/theme/frio/templates/filebrowser.tpl index 3fde6a520..dc3c47a66 100644 --- a/view/theme/frio/templates/filebrowser.tpl +++ b/view/theme/frio/templates/filebrowser.tpl @@ -4,7 +4,7 @@ -{{**}} +{{**}} {{**}}