moved core stuff to /core

remotes/origin/stable
Jakob Sack 15 years ago
parent 272fc252fb
commit 91c37bbb76
  1. 0
      core/css/images/no.png
  2. 0
      core/css/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png
  3. 0
      core/css/images/ui-bg_flat_15_cd0a0a_40x100.png
  4. 0
      core/css/images/ui-bg_glass_100_e4f1fb_1x400.png
  5. 0
      core/css/images/ui-bg_glass_50_3baae3_1x400.png
  6. 0
      core/css/images/ui-bg_glass_80_d7ebf9_1x400.png
  7. 0
      core/css/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png
  8. 0
      core/css/images/ui-bg_highlight-hard_70_000000_1x100.png
  9. 0
      core/css/images/ui-bg_highlight-soft_100_deedf7_1x100.png
  10. 0
      core/css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png
  11. 0
      core/css/images/ui-icons_2694e8_256x240.png
  12. 0
      core/css/images/ui-icons_2e83ff_256x240.png
  13. 0
      core/css/images/ui-icons_3d80b3_256x240.png
  14. 0
      core/css/images/ui-icons_72a7cf_256x240.png
  15. 0
      core/css/images/ui-icons_ffffff_256x240.png
  16. 0
      core/css/jquery-ui-1.8.10.custom.css
  17. 0
      core/css/styles.css
  18. 0
      core/img/actions/arrow-down.png
  19. 0
      core/img/actions/arrow-left.png
  20. 0
      core/img/actions/arrow-right.png
  21. 0
      core/img/actions/arrow-up.png
  22. 0
      core/img/actions/go-home.png
  23. 0
      core/img/body_background.jpg
  24. 0
      core/img/drop-arrow.png
  25. 0
      core/img/favicon-touch.png
  26. 0
      core/img/favicon.png
  27. 0
      core/img/header-a.png
  28. 0
      core/img/header-login.png
  29. 0
      core/img/header-settings-a.png
  30. 0
      core/img/header-settings.png
  31. 0
      core/img/header.png
  32. 0
      core/img/layout/back.png
  33. 0
      core/img/layout/logout.png
  34. 0
      core/img/layout/settings.png
  35. 0
      core/img/mimetypes/file.png
  36. 0
      core/img/owncloud-logo-medium-white.png
  37. 0
      core/img/owncloud-logo-small-white.png
  38. 0
      core/img/places/folder.png
  39. 0
      core/img/weather-clear.png
  40. 0
      core/js/jquery-1.5.min.js
  41. 0
      core/js/jquery-ui-1.8.10.custom.min.js
  42. 0
      core/js/js.js
  43. 0
      core/js/setup.js
  44. 0
      core/l10n/de.php
  45. 0
      core/l10n/de.po
  46. 0
      core/l10n/javascript.php
  47. 0
      core/l10n/l10n-de.php
  48. 0
      core/l10n/messages.pot
  49. 0
      core/l10n/nl.php
  50. 0
      core/l10n/nl.po
  51. 0
      core/l10n/xgettextfiles
  52. 0
      core/templates/404.php
  53. 0
      core/templates/error.php
  54. 0
      core/templates/installation.php
  55. 0
      core/templates/layout.admin.php
  56. 0
      core/templates/layout.guest.php
  57. 0
      core/templates/layout.user.php
  58. 0
      core/templates/login.php
  59. 0
      core/templates/logout.php
  60. 0
      core/templates/part.pagenavi.php
  61. 0
      core/templates/part.searchbox.php
  62. 2
      files/css/files.css
  63. BIN
      files/img/drop-arrow.png
  64. 19
      lib/helper.php
  65. 16
      lib/template.php

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 181 B

After

Width:  |  Height:  |  Size: 181 B

Before

Width:  |  Height:  |  Size: 119 B

After

Width:  |  Height:  |  Size: 119 B

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 131 B

Before

Width:  |  Height:  |  Size: 124 B

After

Width:  |  Height:  |  Size: 124 B

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Before

Width:  |  Height:  |  Size: 525 B

After

Width:  |  Height:  |  Size: 525 B

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

Before

Width:  |  Height:  |  Size: 527 B

After

Width:  |  Height:  |  Size: 527 B

Before

Width:  |  Height:  |  Size: 484 B

After

Width:  |  Height:  |  Size: 484 B

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 397 B

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 305 B

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Before

Width:  |  Height:  |  Size: 565 B

After

Width:  |  Height:  |  Size: 565 B

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Before

Width:  |  Height:  |  Size: 396 B

After

Width:  |  Height:  |  Size: 396 B

Before

Width:  |  Height:  |  Size: 657 B

After

Width:  |  Height:  |  Size: 657 B

Before

Width:  |  Height:  |  Size: 695 B

After

Width:  |  Height:  |  Size: 695 B

Before

Width:  |  Height:  |  Size: 391 B

After

Width:  |  Height:  |  Size: 391 B

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 386 B

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

@ -110,5 +110,5 @@ table td.filename a
width:16px;
display: -moz-inline-box; /* fallback for older firefox versions*/
display: inline-block;
background-image:url('../../img/drop-arrow.png');
background-image:url('../img/drop-arrow.png');
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -44,6 +44,9 @@ class OC_HELPER {
return $WEBROOT . '/apps/' . $app . $file;
}
}
else{
$app = 'core';
}
return $WEBROOT . '/' . $app . $file;
}
@ -58,14 +61,16 @@ class OC_HELPER {
public static function imagePath( $app, $image ){
global $SERVERROOT;
global $WEBROOT;
// Check if the app is in the app folder
if( file_exists( "$SERVERROOT/apps/$app/img/$image" )){
return "$WEBROOT/apps/$app/img/$image";
}
if( !empty( $app )){
elseif( !empty( $app )){
return "$WEBROOT/$app/img/$image";
}else{
return "$WEBROOT/img/$image";
}
else{
return "$WEBROOT/core/img/$image";
}
}
@ -84,15 +89,15 @@ class OC_HELPER {
// Is it a dir?
if( $mimetype == "dir" ){
return "$WEBROOT/img/places/folder.png";
return "$WEBROOT/core/img/places/folder.png";
}
// Icon exists?
if( file_exists( "$SERVERROOT/img/mimetypes/$mimetype.png" )){
return "$WEBROOT/img/mimetypes/$mimetype.png";
if( file_exists( "$SERVERROOT/core/img/mimetypes/$mimetype.png" )){
return "$WEBROOT/core/img/mimetypes/$mimetype.png";
}
else{
return "$WEBROOT/img/mimetypes/file.png";
return "$WEBROOT/core/img/mimetypes/file.png";
}
}

@ -95,8 +95,8 @@ class OC_TEMPLATE{
global $SERVERROOT;
// Get the right template folder
$template = "$SERVERROOT/templates/";
if( $app != "core" && $app != "" ){
$template = "$SERVERROOT/core/templates/";
if( $app != "" ){
// Check if the app is in the app folder
if( file_exists( "$SERVERROOT/apps/$app/templates/" )){
$template = "$SERVERROOT/apps/$app/templates/";
@ -222,16 +222,24 @@ class OC_TEMPLATE{
foreach(OC_UTIL::$scripts as $script){
if(is_file("$SERVERROOT/apps/$script.js" )){
$page->append( "jsfiles", "$WEBROOT/apps/$script.js" );
}else{
}
elseif(is_file("$SERVERROOT/$script.js" )){
$page->append( "jsfiles", "$WEBROOT/$script.js" );
}
else{
$page->append( "jsfiles", "$WEBROOT/core/$script.js" );
}
}
foreach(OC_UTIL::$styles as $style){
if(is_file("$SERVERROOT/apps/$style.css" )){
$page->append( "cssfiles", "$WEBROOT/apps/$style.css" );
}else{
}
elseif(is_file("$SERVERROOT/$style.css" )){
$page->append( "cssfiles", "$WEBROOT/$style.css" );
}
else{
$page->append( "cssfiles", "$WEBROOT/core/$style.css" );
}
}
// Add css files and js files

Loading…
Cancel
Save