Moving javascript files inside a "public" path see #6903

1.10.x
Julio Montoya 11 years ago
parent f2242a68ec
commit 57c4e619e4
  1. 1
      main/document/slideshow.php
  2. 13
      main/inc/lib/api.lib.php
  3. 26
      main/template/default/layout/footer.tpl
  4. 1
      main/template/default/skill/skill_tree.tpl
  5. 1
      main/template/jquery_mobile/skill/skill_tree.tpl
  6. 0
      web/ChamiloLMS/js/asciimath/ASCIIMathML.js
  7. 0
      web/ChamiloLMS/js/asciimath/asciimath.html
  8. 0
      web/ChamiloLMS/js/asciimath/asciimathcalculator.html
  9. 0
      web/ChamiloLMS/js/asciimath/asciimathchanges.txt
  10. 0
      web/ChamiloLMS/js/asciimath/asciimathdemo.html
  11. 0
      web/ChamiloLMS/js/asciimath/asciimathextend.html
  12. 0
      web/ChamiloLMS/js/asciimath/asciimathsample.html
  13. 0
      web/ChamiloLMS/js/asciimath/asciimathsyntax.html
  14. 0
      web/ChamiloLMS/js/asciimath/d.svg
  15. 0
      web/ChamiloLMS/js/asciimath/index.html
  16. 0
      web/ChamiloLMS/js/asciimath/readme.txt
  17. 0
      web/ChamiloLMS/js/bootstrap/css/bootstrap-theme.css
  18. 1
      web/ChamiloLMS/js/bootstrap/css/bootstrap-theme.css.map
  19. 0
      web/ChamiloLMS/js/bootstrap/css/bootstrap-theme.min.css
  20. 0
      web/ChamiloLMS/js/bootstrap/css/bootstrap.css
  21. 1
      web/ChamiloLMS/js/bootstrap/css/bootstrap.css.map
  22. 0
      web/ChamiloLMS/js/bootstrap/css/bootstrap.min.css
  23. 0
      web/ChamiloLMS/js/bootstrap/fonts/glyphicons-halflings-regular.eot
  24. 0
      web/ChamiloLMS/js/bootstrap/fonts/glyphicons-halflings-regular.svg
  25. 0
      web/ChamiloLMS/js/bootstrap/fonts/glyphicons-halflings-regular.ttf
  26. 0
      web/ChamiloLMS/js/bootstrap/fonts/glyphicons-halflings-regular.woff
  27. 0
      web/ChamiloLMS/js/bootstrap/js/bootstrap.js
  28. 0
      web/ChamiloLMS/js/bootstrap/js/bootstrap.min.js
  29. 0
      web/ChamiloLMS/js/bxslider/README
  30. 0
      web/ChamiloLMS/js/bxslider/bx_styles/blue_auto.png
  31. 0
      web/ChamiloLMS/js/bxslider/bx_styles/blue_next.png
  32. 0
      web/ChamiloLMS/js/bxslider/bx_styles/blue_pager.png
  33. 0
      web/ChamiloLMS/js/bxslider/bx_styles/blue_prev.png
  34. 0
      web/ChamiloLMS/js/bxslider/bx_styles/bx_styles.css
  35. 0
      web/ChamiloLMS/js/bxslider/bx_styles/gray_auto.png
  36. 0
      web/ChamiloLMS/js/bxslider/bx_styles/gray_next.png
  37. 0
      web/ChamiloLMS/js/bxslider/bx_styles/gray_pager.png
  38. 0
      web/ChamiloLMS/js/bxslider/bx_styles/gray_prev.png
  39. 0
      web/ChamiloLMS/js/bxslider/bx_styles/green_auto.png
  40. 0
      web/ChamiloLMS/js/bxslider/bx_styles/green_next.png
  41. 0
      web/ChamiloLMS/js/bxslider/bx_styles/green_pager.png
  42. 0
      web/ChamiloLMS/js/bxslider/bx_styles/green_prev.png
  43. 0
      web/ChamiloLMS/js/bxslider/bx_styles/orange_auto.png
  44. 0
      web/ChamiloLMS/js/bxslider/bx_styles/orange_next.png
  45. 0
      web/ChamiloLMS/js/bxslider/bx_styles/orange_pager.png
  46. 0
      web/ChamiloLMS/js/bxslider/bx_styles/orange_prev.png
  47. 0
      web/ChamiloLMS/js/bxslider/bx_styles/purple_auto.png
  48. 0
      web/ChamiloLMS/js/bxslider/bx_styles/purple_next.png
  49. 0
      web/ChamiloLMS/js/bxslider/bx_styles/purple_pager.png
  50. 0
      web/ChamiloLMS/js/bxslider/bx_styles/purple_prev.png
  51. 0
      web/ChamiloLMS/js/bxslider/bx_styles/red_auto.png
  52. 0
      web/ChamiloLMS/js/bxslider/bx_styles/red_next.png
  53. 0
      web/ChamiloLMS/js/bxslider/bx_styles/red_pager.png
  54. 0
      web/ChamiloLMS/js/bxslider/bx_styles/red_prev.png
  55. 0
      web/ChamiloLMS/js/bxslider/bx_styles/yellow_auto.png
  56. 0
      web/ChamiloLMS/js/bxslider/bx_styles/yellow_next.png
  57. 0
      web/ChamiloLMS/js/bxslider/bx_styles/yellow_pager.png
  58. 0
      web/ChamiloLMS/js/bxslider/bx_styles/yellow_prev.png
  59. 0
      web/ChamiloLMS/js/bxslider/jquery.bxSlider.min.js
  60. 0
      web/ChamiloLMS/js/bxslider/jquery.easing.1.3.js
  61. 0
      web/ChamiloLMS/js/bxslider/source/jquery.bxSlider.js
  62. 0
      web/ChamiloLMS/js/calendar/calendar_tbl_change.js
  63. 0
      web/ChamiloLMS/js/calendar/tbl_change.js
  64. 0
      web/ChamiloLMS/js/chat/css/chat.css
  65. 0
      web/ChamiloLMS/js/chat/css/screen.css
  66. 0
      web/ChamiloLMS/js/chat/css/screen_ie.css
  67. 0
      web/ChamiloLMS/js/chat/js/chat.js
  68. 0
      web/ChamiloLMS/js/chosen/chosen-sprite.png
  69. 0
      web/ChamiloLMS/js/chosen/chosen-sprite@2x.png
  70. 0
      web/ChamiloLMS/js/chosen/chosen.css
  71. 0
      web/ChamiloLMS/js/chosen/chosen.jquery.js
  72. 0
      web/ChamiloLMS/js/chosen/chosen.jquery.min.js
  73. 0
      web/ChamiloLMS/js/ckeditor/CHANGES.md
  74. 0
      web/ChamiloLMS/js/ckeditor/LICENSE.md
  75. 0
      web/ChamiloLMS/js/ckeditor/README.md
  76. 0
      web/ChamiloLMS/js/ckeditor/adapters/jquery.js
  77. 0
      web/ChamiloLMS/js/ckeditor/build-config.js
  78. 0
      web/ChamiloLMS/js/ckeditor/ckeditor.js
  79. 0
      web/ChamiloLMS/js/ckeditor/config.js
  80. 0
      web/ChamiloLMS/js/ckeditor/contents.css
  81. 0
      web/ChamiloLMS/js/ckeditor/lang/af.js
  82. 0
      web/ChamiloLMS/js/ckeditor/lang/ar.js
  83. 0
      web/ChamiloLMS/js/ckeditor/lang/bg.js
  84. 0
      web/ChamiloLMS/js/ckeditor/lang/bn.js
  85. 0
      web/ChamiloLMS/js/ckeditor/lang/bs.js
  86. 0
      web/ChamiloLMS/js/ckeditor/lang/ca.js
  87. 0
      web/ChamiloLMS/js/ckeditor/lang/cs.js
  88. 0
      web/ChamiloLMS/js/ckeditor/lang/cy.js
  89. 0
      web/ChamiloLMS/js/ckeditor/lang/da.js
  90. 0
      web/ChamiloLMS/js/ckeditor/lang/de.js
  91. 0
      web/ChamiloLMS/js/ckeditor/lang/el.js
  92. 0
      web/ChamiloLMS/js/ckeditor/lang/en-au.js
  93. 0
      web/ChamiloLMS/js/ckeditor/lang/en-ca.js
  94. 0
      web/ChamiloLMS/js/ckeditor/lang/en-gb.js
  95. 0
      web/ChamiloLMS/js/ckeditor/lang/en.js
  96. 0
      web/ChamiloLMS/js/ckeditor/lang/eo.js
  97. 0
      web/ChamiloLMS/js/ckeditor/lang/es.js
  98. 0
      web/ChamiloLMS/js/ckeditor/lang/et.js
  99. 0
      web/ChamiloLMS/js/ckeditor/lang/eu.js
  100. 0
      web/ChamiloLMS/js/ckeditor/lang/fa.js
  101. Some files were not shown because too many files have changed in this diff Show More

@ -472,7 +472,6 @@ if ($slide_id != 'all') {
if (initial_height>height || initial_width>width) {
document.getElementById('image').style.visibility='hidden';
document.getElementById('td_image').style.background='url(../img/loadingAnimation.gif) center no-repeat';
document.getElementById('image').onload = resizeImage;
window.onresize = resizeImage;
}

@ -12,7 +12,6 @@ use \ChamiloSession as Session;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\HttpKernelInterface;
/**
* Constants declaration
*/
@ -508,7 +507,7 @@ define('TOOL_ADMIN_VISIBLE', 'tooladminvisible');
* api_get_path(SYS_CSS_PATH) /var/www/chamilo/main/css
* api_get_path(INCLUDE_PATH) /var/www/chamilo/main/inc/
* api_get_path(LIBRARY_PATH) /var/www/chamilo/main/inc/lib/
* api_get_path(SYS_LIBRARY_JS_PATH) /var/www/chamilo/main/inc/lib/javascript
* api_get_path(SYS_LIBRARY_JS_PATH) /var/www/chamilo/web/ChamiloLMS/js
* api_get_path(CONFIGURATION_PATH) /var/www/chamilo/main/inc/conf/
* api_get_path(SYS_LANG_PATH) /var/www/chamilo/main/lang/
* api_get_path(SYS_PLUGIN_PATH) /var/www/chamilo/plugin/
@ -526,7 +525,7 @@ define('TOOL_ADMIN_VISIBLE', 'tooladminvisible');
* api_get_path(WEB_IMG_PATH) http://www.mychamilo.org/chamilo/main/img/
* api_get_path(WEB_CSS_PATH) http://www.mychamilo.org/chamilo/main/css/
* api_get_path(WEB_LIBRARY_PATH) http://www.mychamilo.org/chamilo/main/inc/lib/
* api_get_path(WEB_LIBRARY_JS_PATH) http://www.mychamilo.org/chamilo/main/inc/lib/javascript
* api_get_path(WEB_LIBRARY_JS_PATH) http://www.mychamilo.org/chamilo/web/ChamiloLMS/javascript
* api_get_path(WEB_TEMPLATE_PATH) http://www.mychamilo.org/chamilo/main/template/
*
*
@ -565,10 +564,10 @@ function api_get_path($path_type, $path = null) {
WEB_ARCHIVE_PATH => 'temp/',
INCLUDE_PATH => 'inc/',
LIBRARY_PATH => 'inc/lib/',
SYS_LIBRARY_JS_PATH => 'inc/lib/javascript/',
SYS_LIBRARY_JS_PATH => 'web/ChamiloLMS/js/',
CONFIGURATION_PATH => 'inc/conf/',
WEB_LIBRARY_PATH => 'inc/lib/',
WEB_LIBRARY_JS_PATH => 'inc/lib/javascript/',
WEB_LIBRARY_JS_PATH => 'web/ChamiloLMS/js/',
WEB_AJAX_PATH => 'inc/ajax/',
SYS_TEST_PATH => 'tests/',
WEB_TEMPLATE_PATH => 'template/',
@ -665,7 +664,6 @@ function api_get_path($path_type, $path = null) {
$paths[WEB_DEFAULT_COURSE_DOCUMENT_PATH] = $paths[WEB_DATA_PATH].'default_course_document/';
$paths[REL_DEFAULT_COURSE_DOCUMENT_PATH] = $paths[REL_DATA_PATH].'default_course_document/';
$paths[SYS_CODE_PATH] = $root_sys.$code_folder;
// Now we can switch into api_get_path() "terminology".
@ -679,7 +677,8 @@ function api_get_path($path_type, $path = null) {
$paths[WEB_CSS_PATH] = $paths[WEB_CODE_PATH].$paths[WEB_CSS_PATH];
$paths[WEB_IMG_PATH] = $paths[WEB_CODE_PATH].$paths[WEB_IMG_PATH];
$paths[WEB_LIBRARY_PATH] = $paths[WEB_CODE_PATH].$paths[WEB_LIBRARY_PATH];
$paths[WEB_LIBRARY_JS_PATH] = $paths[WEB_CODE_PATH].$paths[WEB_LIBRARY_JS_PATH];
//$paths[WEB_LIBRARY_JS_PATH] = $paths[WEB_CODE_PATH].$paths[WEB_LIBRARY_JS_PATH];
$paths[WEB_LIBRARY_JS_PATH] = $paths[WEB_PATH].$paths[WEB_LIBRARY_JS_PATH];
$paths[WEB_AJAX_PATH] = $paths[WEB_PUBLIC_PATH].'main/'.$paths[WEB_AJAX_PATH];
$paths[WEB_PLUGIN_PATH] = $paths[WEB_PATH].$paths[WEB_PLUGIN_PATH];
$paths[WEB_ARCHIVE_PATH] = $paths[WEB_PATH].$paths[WEB_ARCHIVE_PATH];

@ -150,12 +150,27 @@ $("form").on("click", ' .advanced_parameters', function() {
});
});
/** Makes row highlighting possible */
// Support for AJAX loaded modal window.
// Focuses on first input textbox after it loads the window.
/*
$('[data-toggle="modal"]').click(function(e) {
e.preventDefault();
var url = $(this).attr('href');
if (url.indexOf('#') == 0) {
$(url).modal('open');
} else {
$.get(url, function(data) {
$('<div class="modal hide fade">' + data + '</div>').modal();
}).success(function() { $('input:text:visible:first').focus(); });
}
});*/
$(document).ready( function() {
/**
* Advanced options
* Usage
* <a id="link" href="url">Advanced</a>
* <a id="link" href="http://">Advanced</a>
* <div id="link_options" style="display:none">
* hidden content :)
* </div>
@ -169,6 +184,11 @@ $(document).ready( function() {
});
});
/**
* <a class="advanced_options_open" href="http://" rel="div_id">Open</a>
* <a class="advanced_options_close" href="http://" rel="div_id">Close</a>
* <div id="div_id">Div content</div>
* */
$(".advanced_options_open").on("click", function() {
var id = $(this).attr('rel');
$("#"+id).show();
@ -179,6 +199,7 @@ $(document).ready( function() {
$("#"+id).hide();
});
// Tooltip.
$(function() {
$('a').tooltip({
placement: 'right',
@ -187,6 +208,7 @@ $(document).ready( function() {
});
});
/** Makes row highlighting possible */
$('.advanced_parameters').addClass('btn-default');
//$('.btn').addClass('btn-default');

@ -406,7 +406,6 @@ $(document).ready(function() {
<div class="modal-body">
<p style="text-align:center">
{{ "Loading"|get_lang }}
<img src="{{ _p.web_img}}loadingAnimation.gif"/>
</p>
</div>
</div>

@ -406,7 +406,6 @@ $(document).ready(function() {
<div class="modal-body">
<p style="text-align:center">
{{ "Loading"|get_lang }}
<img src="{{ _p.web_img}}loadingAnimation.gif"/>
</p>
</div>
</div>

Before

Width:  |  Height:  |  Size: 354 B

After

Width:  |  Height:  |  Size: 346 B

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 646 B

After

Width:  |  Height:  |  Size: 646 B

Before

Width:  |  Height:  |  Size: 872 B

After

Width:  |  Height:  |  Size: 872 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save