Browse Source

moved core stuff to /core

remotes/origin/stable
Jakob Sack 15 years ago
parent
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

0
css/images/no.png → core/css/images/no.png

Before

Width: 22  |  Height: 22  |  Size: 1.3 KiB

After

Width: 22  |  Height: 22  |  Size: 1.3 KiB

0
css/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png → core/css/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png

Before

Width: 40  |  Height: 40  |  Size: 251 B

After

Width: 40  |  Height: 40  |  Size: 251 B

0
css/images/ui-bg_flat_15_cd0a0a_40x100.png → core/css/images/ui-bg_flat_15_cd0a0a_40x100.png

Before

Width: 40  |  Height: 100  |  Size: 181 B

After

Width: 40  |  Height: 100  |  Size: 181 B

0
css/images/ui-bg_glass_100_e4f1fb_1x400.png → core/css/images/ui-bg_glass_100_e4f1fb_1x400.png

Before

Width: 1  |  Height: 400  |  Size: 119 B

After

Width: 1  |  Height: 400  |  Size: 119 B

0
css/images/ui-bg_glass_50_3baae3_1x400.png → core/css/images/ui-bg_glass_50_3baae3_1x400.png

Before

Width: 1  |  Height: 400  |  Size: 131 B

After

Width: 1  |  Height: 400  |  Size: 131 B

0
css/images/ui-bg_glass_80_d7ebf9_1x400.png → core/css/images/ui-bg_glass_80_d7ebf9_1x400.png

Before

Width: 1  |  Height: 400  |  Size: 124 B

After

Width: 1  |  Height: 400  |  Size: 124 B

0
css/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png → core/css/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png

Before

Width: 1  |  Height: 100  |  Size: 103 B

After

Width: 1  |  Height: 100  |  Size: 103 B

0
css/images/ui-bg_highlight-hard_70_000000_1x100.png → core/css/images/ui-bg_highlight-hard_70_000000_1x100.png

Before

Width: 1  |  Height: 100  |  Size: 118 B

After

Width: 1  |  Height: 100  |  Size: 118 B

0
css/images/ui-bg_highlight-soft_100_deedf7_1x100.png → core/css/images/ui-bg_highlight-soft_100_deedf7_1x100.png

Before

Width: 1  |  Height: 100  |  Size: 104 B

After

Width: 1  |  Height: 100  |  Size: 104 B

0
css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png → core/css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png

Before

Width: 1  |  Height: 100  |  Size: 153 B

After

Width: 1  |  Height: 100  |  Size: 153 B

0
css/images/ui-icons_2694e8_256x240.png → core/css/images/ui-icons_2694e8_256x240.png

Before

Width: 256  |  Height: 240  |  Size: 5.2 KiB

After

Width: 256  |  Height: 240  |  Size: 5.2 KiB

0
css/images/ui-icons_2e83ff_256x240.png → core/css/images/ui-icons_2e83ff_256x240.png

Before

Width: 256  |  Height: 240  |  Size: 4.3 KiB

After

Width: 256  |  Height: 240  |  Size: 4.3 KiB

0
css/images/ui-icons_3d80b3_256x240.png → core/css/images/ui-icons_3d80b3_256x240.png

Before

Width: 256  |  Height: 240  |  Size: 5.2 KiB

After

Width: 256  |  Height: 240  |  Size: 5.2 KiB

0
css/images/ui-icons_72a7cf_256x240.png → core/css/images/ui-icons_72a7cf_256x240.png

Before

Width: 256  |  Height: 240  |  Size: 4.3 KiB

After

Width: 256  |  Height: 240  |  Size: 4.3 KiB

0
css/images/ui-icons_ffffff_256x240.png → core/css/images/ui-icons_ffffff_256x240.png

Before

Width: 256  |  Height: 240  |  Size: 4.3 KiB

After

Width: 256  |  Height: 240  |  Size: 4.3 KiB

0
css/jquery-ui-1.8.10.custom.css → core/css/jquery-ui-1.8.10.custom.css

0
css/styles.css → core/css/styles.css

0
img/actions/arrow-down.png → core/img/actions/arrow-down.png

Before

Width: 16  |  Height: 16  |  Size: 525 B

After

Width: 16  |  Height: 16  |  Size: 525 B

0
img/actions/arrow-left.png → core/img/actions/arrow-left.png

Before

Width: 16  |  Height: 16  |  Size: 512 B

After

Width: 16  |  Height: 16  |  Size: 512 B

0
img/actions/arrow-right.png → core/img/actions/arrow-right.png

Before

Width: 16  |  Height: 16  |  Size: 527 B

After

Width: 16  |  Height: 16  |  Size: 527 B

0
img/actions/arrow-up.png → core/img/actions/arrow-up.png

Before

Width: 16  |  Height: 16  |  Size: 484 B

After

Width: 16  |  Height: 16  |  Size: 484 B

0
img/actions/go-home.png → core/img/actions/go-home.png

Before

Width: 16  |  Height: 16  |  Size: 397 B

After

Width: 16  |  Height: 16  |  Size: 397 B

0
img/body_background.jpg → core/img/body_background.jpg

Before

Width: 201  |  Height: 1  |  Size: 305 B

After

Width: 201  |  Height: 1  |  Size: 305 B

0
img/drop-arrow.png → core/img/drop-arrow.png

Before

Width: 16  |  Height: 16  |  Size: 2.8 KiB

After

Width: 16  |  Height: 16  |  Size: 2.8 KiB

0
img/favicon-touch.png → core/img/favicon-touch.png

Before

Width: 129  |  Height: 129  |  Size: 7.1 KiB

After

Width: 129  |  Height: 129  |  Size: 7.1 KiB

0
img/favicon.png → core/img/favicon.png

Before

Width: 16  |  Height: 16  |  Size: 565 B

After

Width: 16  |  Height: 16  |  Size: 565 B

0
img/header-a.png → core/img/header-a.png

Before

Width: 16  |  Height: 75  |  Size: 2.9 KiB

After

Width: 16  |  Height: 75  |  Size: 2.9 KiB

0
img/header-login.png → core/img/header-login.png

Before

Width: 16  |  Height: 180  |  Size: 2.3 KiB

After

Width: 16  |  Height: 180  |  Size: 2.3 KiB

0
img/header-settings-a.png → core/img/header-settings-a.png

Before

Width: 16  |  Height: 75  |  Size: 2.8 KiB

After

Width: 16  |  Height: 75  |  Size: 2.8 KiB

0
img/header-settings.png → core/img/header-settings.png

Before

Width: 16  |  Height: 75  |  Size: 2.8 KiB

After

Width: 16  |  Height: 75  |  Size: 2.8 KiB

0
img/header.png → core/img/header.png

Before

Width: 16  |  Height: 75  |  Size: 2.9 KiB

After

Width: 16  |  Height: 75  |  Size: 2.9 KiB

0
img/layout/back.png → core/img/layout/back.png

Before

Width: 16  |  Height: 16  |  Size: 396 B

After

Width: 16  |  Height: 16  |  Size: 396 B

0
img/layout/logout.png → core/img/layout/logout.png

Before

Width: 16  |  Height: 16  |  Size: 657 B

After

Width: 16  |  Height: 16  |  Size: 657 B

0
img/layout/settings.png → core/img/layout/settings.png

Before

Width: 16  |  Height: 16  |  Size: 695 B

After

Width: 16  |  Height: 16  |  Size: 695 B

0
img/mimetypes/file.png → core/img/mimetypes/file.png

Before

Width: 16  |  Height: 16  |  Size: 391 B

After

Width: 16  |  Height: 16  |  Size: 391 B

0
img/owncloud-logo-medium-white.png → core/img/owncloud-logo-medium-white.png

Before

Width: 252  |  Height: 125  |  Size: 15 KiB

After

Width: 252  |  Height: 125  |  Size: 15 KiB

0
img/owncloud-logo-small-white.png → core/img/owncloud-logo-small-white.png

Before

Width: 101  |  Height: 50  |  Size: 5.3 KiB

After

Width: 101  |  Height: 50  |  Size: 5.3 KiB

0
img/places/folder.png → core/img/places/folder.png

Before

Width: 16  |  Height: 16  |  Size: 386 B

After

Width: 16  |  Height: 16  |  Size: 386 B

0
img/weather-clear.png → core/img/weather-clear.png

Before

Width: 128  |  Height: 128  |  Size: 21 KiB

After

Width: 128  |  Height: 128  |  Size: 21 KiB

0
js/jquery-1.5.min.js → core/js/jquery-1.5.min.js

0
js/jquery-ui-1.8.10.custom.min.js → core/js/jquery-ui-1.8.10.custom.min.js

0
js/js.js → core/js/js.js

0
js/setup.js → core/js/setup.js

0
l10n/de.php → core/l10n/de.php

0
l10n/de.po → core/l10n/de.po

0
l10n/javascript.php → core/l10n/javascript.php

0
l10n/l10n-de.php → core/l10n/l10n-de.php

0
l10n/messages.pot → core/l10n/messages.pot

0
l10n/nl.php → core/l10n/nl.php

0
l10n/nl.po → core/l10n/nl.po

0
l10n/xgettextfiles → core/l10n/xgettextfiles

0
templates/404.php → core/templates/404.php

0
templates/error.php → core/templates/error.php

0
templates/installation.php → core/templates/installation.php

0
templates/layout.admin.php → core/templates/layout.admin.php

0
templates/layout.guest.php → core/templates/layout.guest.php

0
templates/layout.user.php → core/templates/layout.user.php

0
templates/login.php → core/templates/login.php

0
templates/logout.php → core/templates/logout.php

0
templates/part.pagenavi.php → core/templates/part.pagenavi.php

0
templates/part.searchbox.php → core/templates/part.searchbox.php

2
files/css/files.css

@ -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');
}

BIN
files/img/drop-arrow.png

After

Width: 16  |  Height: 16  |  Size: 2.8 KiB

19
lib/helper.php

@ -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";
}
}

16
lib/template.php

@ -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