diff --git a/.gitignore b/.gitignore index e62a5abd96..e0ea724f1a 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,6 @@ RCS/* # Lokalize *lokalize* -.project \ No newline at end of file +# eclipse +.project +.settings diff --git a/.htaccess b/.htaccess index c818c9ca2e..23c90b26d8 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,5 @@ -ErrorDocument 404 //core/templates/404.php -php_value upload_max_filesize 20M -php_value post_max_size 20M +ErrorDocument 404 //owncloud/core/templates/404.php +php_value upload_max_filesize 2048G +php_value post_max_size 2048G SetEnv htaccessWorking true Options -Indexes diff --git a/admin/apps.php b/admin/apps.php index 07e93728a3..c74f903291 100644 --- a/admin/apps.php +++ b/admin/apps.php @@ -45,8 +45,19 @@ foreach($registeredApps as $app){ } } -$categories=OC_OCSClient::getCategories(); -// print_r($categories); +$categories=array_keys(OC_OCSClient::getCategories()); +$externalApps=OC_OCSClient::getApplications($categories); +foreach($externalApps as $app){ + $apps[]=array( + 'name'=>$app['name'], + 'id'=>$app['id'], + 'active'=>false, + 'description'=>$app['description'], + 'author'=>$app['personid'], + ); +} + + $tmpl = new OC_Template( "admin", "apps", "user" ); $tmpl->assign('apps',$apps); diff --git a/admin/css/users.css b/admin/css/users.css index 7c0b76f369..977e06e41c 100644 --- a/admin/css/users.css +++ b/admin/css/users.css @@ -1,12 +1,13 @@ form { display:inline; } -td.password>img, td.remove>img{ display:none;cursor:pointer; } +td.name, td.password { padding-left:.8em; } +td.password>img, td.remove>img { display:none; cursor:pointer; } td.password>span { margin-right:1.2em; } -td.password { width:12em; } -td.password>img { float:right; } +td.password { width:12em; cursor:pointer; } -td.remove { width:1em } -tr:hover>td.password>span{ margin:0; } -tr:hover>td.remove>img, tr:hover>td.password>img { display:inline; } +td.remove { width:1em; } +tr:hover>td.password>span { margin:0; cursor:pointer; } +tr:hover>td.remove>img, tr:hover>td.password>img { display:inline; cursor:pointer; } +tr:hover>td.remove>img { float:right; } li.selected { background-color:#ddd; } #content>table { margin-top:6.5em; } table { width:100%; } diff --git a/admin/img/administration.png b/admin/img/administration.png deleted file mode 100644 index 8f4bb880ae..0000000000 Binary files a/admin/img/administration.png and /dev/null differ diff --git a/admin/img/apps.png b/admin/img/apps.png index ee3e8355e6..17f47d632b 100644 Binary files a/admin/img/apps.png and b/admin/img/apps.png differ diff --git a/admin/img/apps.svg b/admin/img/apps.svg new file mode 100644 index 0000000000..cda246bc4a --- /dev/null +++ b/admin/img/apps.svg @@ -0,0 +1,2164 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/admin/img/plugins.png b/admin/img/plugins.png deleted file mode 100644 index 1e6f16651c..0000000000 Binary files a/admin/img/plugins.png and /dev/null differ diff --git a/admin/img/users.png b/admin/img/users.png index ea2ed9e333..f56e2442c9 100644 Binary files a/admin/img/users.png and b/admin/img/users.png differ diff --git a/admin/img/users.svg b/admin/img/users.svg new file mode 100644 index 0000000000..1c8c895569 --- /dev/null +++ b/admin/img/users.svg @@ -0,0 +1,1743 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/admin/js/users.js b/admin/js/users.js index d6798dca57..addf1c2d65 100644 --- a/admin/js/users.js +++ b/admin/js/users.js @@ -46,6 +46,7 @@ $(document).ready(function(){ }); $('td.password>img').live('click',function(event){ + event.stopPropagation(); var img=$(this); var uid=img.parent().parent().data('uid'); var input=$(''); @@ -71,6 +72,9 @@ $(document).ready(function(){ img.css('display',''); }); }); + $('td.password').live('click',function(event){ + $(this).children('img').click(); + }); $('#newuser').submit(function(event){ event.preventDefault(); @@ -88,7 +92,7 @@ $(document).ready(function(){ } ); - var tr=$('#content table tr').first().clone(); + var tr=$('#content table tr').first().next().clone(); tr.attr('data-uid',username); tr.find('td.name').text(username); var select=$(' - - - - - + + + + + + + + "> @@ -38,4 +38,5 @@ foreach($_["groups"] as $group){ +
diff --git a/admin/users.php b/admin/users.php index b120e10d43..cbec28a544 100644 --- a/admin/users.php +++ b/admin/users.php @@ -23,7 +23,7 @@ require_once('../lib/base.php'); if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php index 30aa0e1aaa..4fbbd9c638 100644 --- a/apps/contacts/appinfo/app.php +++ b/apps/contacts/appinfo/app.php @@ -14,5 +14,5 @@ OC_App::addNavigationEntry( array( 'id' => 'contacts_index', 'order' => 10, 'href' => OC_Helper::linkTo( 'contacts', 'index.php' ), - 'icon' => OC_Helper::imagePath( 'contacts', 'icon.png' ), + 'icon' => OC_Helper::imagePath( 'admin', 'users.svg' ), 'name' => 'Contacts' )); diff --git a/apps/contacts/img/icon.png b/apps/contacts/img/icon.png deleted file mode 100644 index ea2ed9e333..0000000000 Binary files a/apps/contacts/img/icon.png and /dev/null differ diff --git a/apps/contacts/templates/part.details.php b/apps/contacts/templates/part.details.php index e463459e78..4277357b75 100644 --- a/apps/contacts/templates/part.details.php +++ b/apps/contacts/templates/part.details.php @@ -24,6 +24,6 @@
- - + +
diff --git a/apps/contacts/templates/part.property.php b/apps/contacts/templates/part.property.php index 1611e54b65..0658726920 100644 --- a/apps/contacts/templates/part.property.php +++ b/apps/contacts/templates/part.property.php @@ -3,27 +3,27 @@
t('Name'); ?>
- +
t('Birthday'); ?>
l('date',new DateTime($_['property']['value'])); ?> - +
t('Organisation'); ?>
- - + +
t('Email'); ?>
- - + +
t('Telephone'); ?>
@@ -32,8 +32,8 @@ (t('tel_'.strtolower($_['property']['parameters']['TYPE'])); ?>) - - + +
@@ -51,8 +51,8 @@ t('Region'); ?>
t('Postal Code'); ?>
t('Country'); ?> - - + +
diff --git a/apps/files_publiclink/templates/admin.php b/apps/files_publiclink/templates/admin.php index f6c92d5cb1..b5c04b838b 100644 --- a/apps/files_publiclink/templates/admin.php +++ b/apps/files_publiclink/templates/admin.php @@ -1,12 +1,10 @@ - - - - - - + + + + diff --git a/apps/media/appinfo/app.php b/apps/media/appinfo/app.php index ebd360eccb..0d36217bd4 100644 --- a/apps/media/appinfo/app.php +++ b/apps/media/appinfo/app.php @@ -28,5 +28,5 @@ OC_Util::addScript('media','loader'); OC_App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' )); -OC_App::addNavigationEntry( array( 'id' => 'media_index', 'order' => 2, 'href' => OC_Helper::linkTo( 'media', 'index.php' ), 'icon' => OC_Helper::imagePath( 'media', 'media.png' ), 'name' => $l->t('Music') )); +OC_App::addNavigationEntry( array( 'id' => 'media_index', 'order' => 2, 'href' => OC_Helper::linkTo( 'media', 'index.php' ), 'icon' => OC_Helper::imagePath( 'core', 'filetypes/audio.svg' ), 'name' => $l->t('Music') )); ?> diff --git a/apps/media/img/media.png b/apps/media/img/media.png deleted file mode 100644 index 6333b947f0..0000000000 Binary files a/apps/media/img/media.png and /dev/null differ diff --git a/apps/media/js/loader.js b/apps/media/js/loader.js index b7ef2fb7be..ef8647eeca 100644 --- a/apps/media/js/loader.js +++ b/apps/media/js/loader.js @@ -49,6 +49,7 @@ $(document).ready(function() { FileActions.setDefault('audio','Play'); FileActions.setDefault('application/ogg','Play'); } + var oc_current_user=OC.currentUser; if(typeof PlayList==='undefined'){ if(typeof localStorage !== 'undefined' && localStorage){ if(localStorage.hasOwnProperty(oc_current_user+'oc_playlist_items') && localStorage.getItem(oc_current_user+'oc_playlist_items')!='[]' && localStorage.getItem(oc_current_user+'oc_playlist_active')!='true'){ diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php index cae3542a65..696b95c37e 100644 --- a/apps/user_ldap/settings.php +++ b/apps/user_ldap/settings.php @@ -24,7 +24,7 @@ require_once('../../lib/base.php'); if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( '', "index.php" )); exit(); } diff --git a/core/css/styles.css b/core/css/styles.css index 05bb63e0f0..75e30c9df3 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -9,7 +9,7 @@ table { border-collapse:separate; border-spacing:0; white-space:nowrap; } caption, th, td { text-align:left; font-weight:normal; } table, td, th { vertical-align:middle; } a { border:0; color:#000; text-decoration:none;} -a, a img, a strong, a span, input, select, li { cursor:pointer; } +a, a *, input, input *, select, .button span, li { cursor:pointer; } ul { list-style:none; } body { background:#fefefe; font:normal 80%/1.6em "Lucida Grande", Arial, Verdana, sans-serif; color:#000; margin-bottom:2em; } @@ -44,7 +44,7 @@ input[type="checkbox"] { width:auto; } #body-login input { font-size:1.5em; } #body-login input[type="submit"] { float:right; margin-right:.8em; } #remember_login { margin:.8em .2em 0 1em; } -form.searchbox input[type="search"] { position:fixed; font-size:1.2em; top:.4em; right:4em; padding:.2em .5em .2em 1.5em; background:#f8f8f8 url('../img/actions/search.png') .5em center no-repeat; border:0; -moz-border-radius:1em; -webkit-border- +form.searchbox input[type="search"] { position:fixed; font-size:1.2em; top:.4em; right:4em; padding:.2em .5em .2em 1.5em; background:#f8f8f8 url('../img/actions/search.svg') .5em center no-repeat; border:0; -moz-border-radius:1em; -webkit-border- radius:1em; border-radius:1em; } input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; } input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text-shadow:#ffeedd 0 1px 0; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; } @@ -75,6 +75,13 @@ legend { padding:.2em; font-size:1.2em; } #login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; } #login form ul.errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 4em 0; padding:1em 1em 1em 5em; } +#login form #selectDbType { text-align:center; } +#login form #selectDbType label { position:static; font-size:1em; margin:0 -.3em 1em; cursor:pointer; padding:.4em; border:1px solid #ddd; font-weight:bold; background:#f8f8f8; color:#555; text-shadow:#eee 0 1px 0; -moz-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; } +#login form #selectDbType label span { cursor:pointer; font-size:0.9em; } +#login form #selectDbType label.ui-state-hover span, #login form #selectDbType label.ui-state-active span { color:#000; } +#login form #selectDbType label.ui-state-hover, #login form #selectDbType label.ui-state-active { color: #333; background-color: #ccc; } + + /* NAVIGATION ------------------------------------------------------------- */ #navigation { position:fixed; top:3.5em; float:left; width:12.5em; padding:0; z-index:75; height:100%; background:#eee; border-right: 1px #ccc solid; -moz-box-shadow: -3px 0 7px #000; -webkit-box-shadow: -3px 0 7px #000; box-shadow: -3px 0 7px #000; } #navigation a { display:block; padding:.6em .5em .4em 2.5em; background:#eee 1em center no-repeat; border-bottom:1px solid #ddd; border-top:1px solid #fff; text-decoration:none; font-size:1.2em; color:#666; text-shadow:#f8f8f8 0 1px 0; } @@ -90,8 +97,8 @@ legend { padding:.2em; font-size:1.2em; } #quota_indicator { margin:0 4em 1em 0; padding:0; border:1px solid #ccc; border-radius:10px; -webkit-border-radius:10px; -moz-border-radius:10px; } #quota_indicator div { background:#76a9ea; border-radius:10px; -webkit-border-radius:10px; -moz-border-radius:10px; } -li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; background:#fee url('../img/task-attention.png') .8em .8em no-repeat; border:1px solid #ccc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; } +li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; background:#ffe .8em .8em no-repeat; border:1px solid #ccc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; } .hidden{ display:none; } -#notification{ z-index:101; background-color:#fc4; border:0; padding:0 .7em .3em; display:block; position:fixed; left:50%; top:0; +#notification{ z-index:101; cursor:pointer; background-color:#fc4; border:0; padding:0 .7em .3em; display:block; position:fixed; left:50%; top:0; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; } diff --git a/core/img/actions/go-home.png b/core/img/actions/go-home.png deleted file mode 100644 index 3802c98fc4..0000000000 Binary files a/core/img/actions/go-home.png and /dev/null differ diff --git a/core/img/actions/search.svg b/core/img/actions/search.svg new file mode 100644 index 0000000000..c8d9d848c4 --- /dev/null +++ b/core/img/actions/search.svg @@ -0,0 +1,1632 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/img/filetypes/audio.png b/core/img/filetypes/audio.png new file mode 100644 index 0000000000..4c844425d6 Binary files /dev/null and b/core/img/filetypes/audio.png differ diff --git a/core/img/filetypes/audio.svg b/core/img/filetypes/audio.svg new file mode 100644 index 0000000000..1f39766097 --- /dev/null +++ b/core/img/filetypes/audio.svg @@ -0,0 +1,1670 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/img/mimetypes/file.png b/core/img/filetypes/file.png similarity index 100% rename from core/img/mimetypes/file.png rename to core/img/filetypes/file.png diff --git a/core/img/filetypes/file.svg b/core/img/filetypes/file.svg new file mode 100644 index 0000000000..478714b75d --- /dev/null +++ b/core/img/filetypes/file.svg @@ -0,0 +1,1841 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/img/filetypes/image.png b/core/img/filetypes/image.png new file mode 100644 index 0000000000..980a7c6981 Binary files /dev/null and b/core/img/filetypes/image.png differ diff --git a/core/img/filetypes/image.svg b/core/img/filetypes/image.svg new file mode 100644 index 0000000000..26c3d6312c --- /dev/null +++ b/core/img/filetypes/image.svg @@ -0,0 +1,1697 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/files/img/loading.gif b/core/img/loading.gif similarity index 100% rename from files/img/loading.gif rename to core/img/loading.gif diff --git a/core/img/logo-wide.png b/core/img/logo-wide.png new file mode 100644 index 0000000000..b2c16a0f60 Binary files /dev/null and b/core/img/logo-wide.png differ diff --git a/core/img/logo-wide.svg b/core/img/logo-wide.svg new file mode 100644 index 0000000000..73b37cc7aa --- /dev/null +++ b/core/img/logo-wide.svg @@ -0,0 +1,875 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/core/img/mimetypes/audio.png b/core/img/mimetypes/audio.png deleted file mode 100644 index 6333b947f0..0000000000 Binary files a/core/img/mimetypes/audio.png and /dev/null differ diff --git a/core/img/mimetypes/image.png b/core/img/mimetypes/image.png deleted file mode 100644 index 3dda2729bc..0000000000 Binary files a/core/img/mimetypes/image.png and /dev/null differ diff --git a/core/img/owncloud-logo-small-white.png b/core/img/owncloud-logo-small-white.png deleted file mode 100644 index c0d8a92d83..0000000000 Binary files a/core/img/owncloud-logo-small-white.png and /dev/null differ diff --git a/core/img/places/folder.svg b/core/img/places/folder.svg new file mode 100644 index 0000000000..c04b00fedc --- /dev/null +++ b/core/img/places/folder.svg @@ -0,0 +1,1830 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/files/img/home.png b/core/img/places/home.png similarity index 100% rename from files/img/home.png rename to core/img/places/home.png diff --git a/core/img/places/home.svg b/core/img/places/home.svg new file mode 100644 index 0000000000..4b45ef12bc --- /dev/null +++ b/core/img/places/home.svg @@ -0,0 +1,1779 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/img/places/world.png b/core/img/places/world.png new file mode 100644 index 0000000000..b89aa3176b Binary files /dev/null and b/core/img/places/world.png differ diff --git a/core/img/places/world.svg b/core/img/places/world.svg new file mode 100644 index 0000000000..846e32f68e --- /dev/null +++ b/core/img/places/world.svg @@ -0,0 +1,300 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/js/js.js b/core/js/js.js index dc8345545a..30cf01d0b2 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -27,7 +27,7 @@ t.cache={}; OC={ webroot:oc_webroot, - currentUser:oc_current_user, + currentUser:(typeof oc_current_user!=='undefined')?oc_current_user:false, coreApps:['files','admin','log','search','settings','core','3rdparty'], /** * get an absolute url to a file in an appen @@ -202,6 +202,22 @@ $(document).ready(function(){ var src=element.attr('src'); element.attr('src',src.substr(0,src.length-3)+'png'); }); + $('.svg').each(function(index,element){ + element=$(element); + var background=element.css('background-image'); + if(background && background!='none'){ + background=background.substr(0,background.length-4)+'png)'; + element.css('background-image',background); + } + element.find('*').each(function(index,element) { + element=$(element); + var background=element.css('background-image'); + if(background && background!='none'){ + background=background.substr(0,background.length-4)+'png)'; + element.css('background-image',background); + } + }); + }); }; $('form.searchbox').submit(function(event){ event.preventDefault(); diff --git a/core/js/setup.js b/core/js/setup.js index 3fb895cc41..736bedac75 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -1,4 +1,5 @@ $(document).ready(function() { + $('#selectDbType').buttonset(); $('#datadirField').hide(250); if($('#hasSQLite').val()=='true'){ $('#databaseField').hide(250); diff --git a/core/templates/installation.php b/core/templates/installation.php index 80c3c27308..4371c4b17b 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -25,13 +25,15 @@
t( 'Configure the database' ); ?> +

t( 'SQLite will be used.' ); ?>

-

/>

+ /> + @@ -41,7 +43,8 @@

t( 'MySQL will be used.' ); ?>

- /> + /> + @@ -50,9 +53,11 @@

t( 'PostgreSQL will be used.' ); ?>

-

/>

+ + /> +
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 849d3a1a09..81c0e73ea4 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -29,15 +29,15 @@
'; if(name.indexOf('.')!=-1){ var basename=name.substr(0,name.indexOf('.')); diff --git a/files/js/files.js b/files/js/files.js index bc040b54d5..950f06a31a 100644 --- a/files/js/files.js +++ b/files/js/files.js @@ -12,6 +12,12 @@ $(document).ready(function() { $('#plugins>ul>li:first-child').data('dir',''); $('#plugins>ul>li:first-child').droppable(crumbDropOptions); + // Triggers invisible file input + $('#file_upload_button_wrapper').bind('click', function() { + $('#file_upload_start').trigger('click'); + return false; + }); + // Sets the file-action buttons behaviour : $('tr').live('mouseenter',function(event) { FileActions.display($(this).children('td.filename')); diff --git a/files/settings.php b/files/settings.php index 1f2e9d9868..2bbcb2acd3 100644 --- a/files/settings.php +++ b/files/settings.php @@ -27,7 +27,7 @@ require_once('../lib/base.php'); // Check if we are a user if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } diff --git a/files/templates/index.php b/files/templates/index.php index 137c5ce592..008051492d 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -5,14 +5,16 @@ -
- - +
+ + +
- +
diff --git a/files/templates/part.list.php b/files/templates/part.list.php index 8b3823f391..942f749c82 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -7,7 +7,7 @@ $relative_date_color = round((time()-$file['mtime'])/60/60/24*14); // the older the file, the brighter the shade of grey; days*14 if($relative_date_color>200) $relative_date_color = 200; ?>
'> -