fix some outdated naming

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2016-11-24 16:05:05 +01:00
parent d6ade509cf
commit e75dede590
4 changed files with 15 additions and 15 deletions

View File

@ -36,7 +36,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>"> <header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" <a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
title="" id="owncloud"> title="" id="nextcloud">
<div class="logo-icon svg"> <div class="logo-icon svg">
</div> </div>
</a> </a>

View File

@ -46,7 +46,7 @@
/* LOGO and APP NAME -------------------------------------------------------- */ /* LOGO and APP NAME -------------------------------------------------------- */
#owncloud { #nextcloud {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
@ -57,12 +57,12 @@
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
opacity: 1; opacity: 1;
} }
#owncloud:focus { #nextcloud:focus {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
opacity: .75; opacity: .75;
} }
#owncloud:hover, #nextcloud:hover,
#owncloud:active { #nextcloud:active {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
opacity: 1; opacity: 1;
} }

View File

@ -69,8 +69,8 @@ var OCP = {},
TAG_FAVORITE: '_$!<Favorite>!$_', TAG_FAVORITE: '_$!<Favorite>!$_',
/* jshint camelcase: false */ /* jshint camelcase: false */
/** /**
* Relative path to ownCloud root. * Relative path to Nextcloud root.
* For example: "/owncloud" * For example: "/nextcloud"
* *
* @type string * @type string
* *
@ -240,7 +240,7 @@ var OCP = {},
}, },
/** /**
* Protocol that is used to access this ownCloud instance * Protocol that is used to access this Nextcloud instance
* @return {string} Used protocol * @return {string} Used protocol
*/ */
getProtocol: function() { getProtocol: function() {
@ -248,7 +248,7 @@ var OCP = {},
}, },
/** /**
* Returns the host used to access this ownCloud instance * Returns the host used to access this Nextcloud instance
* Host is sometimes the same as the hostname but now always. * Host is sometimes the same as the hostname but now always.
* *
* Examples: * Examples:
@ -265,7 +265,7 @@ var OCP = {},
}, },
/** /**
* Returns the hostname used to access this ownCloud instance * Returns the hostname used to access this Nextcloud instance
* The hostname is always stripped of the port * The hostname is always stripped of the port
* *
* @return {string} hostname * @return {string} hostname
@ -276,7 +276,7 @@ var OCP = {},
}, },
/** /**
* Returns the port number used to access this ownCloud instance * Returns the port number used to access this Nextcloud instance
* *
* @return {int} port number * @return {int} port number
* *
@ -287,9 +287,9 @@ var OCP = {},
}, },
/** /**
* Returns the web root path where this ownCloud instance * Returns the web root path where this Nextcloud instance
* is accessible, with a leading slash. * is accessible, with a leading slash.
* For example "/owncloud". * For example "/nextcloud".
* *
* @return {string} web root path * @return {string} web root path
* *
@ -1404,7 +1404,7 @@ function initCore() {
// move triangle of apps dropdown to align with app name triangle // move triangle of apps dropdown to align with app name triangle
// 2 is the additional offset between the triangles // 2 is the additional offset between the triangles
if($('#navigation').length) { if($('#navigation').length) {
$('#header #owncloud + .menutoggle').one('click', function(){ $('#header #nextcloud + .menutoggle').one('click', function(){
var caretPosition = $('.header-appname + .icon-caret').offset().left - 2; var caretPosition = $('.header-appname + .icon-caret').offset().left - 2;
if(caretPosition > 255) { if(caretPosition > 255) {
// if the app name is longer than the menu, just put the triangle in the middle // if the app name is longer than the menu, just put the triangle in the middle

View File

@ -43,7 +43,7 @@
</div> </div>
<header role="banner"><div id="header"> <header role="banner"><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" <a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
id="owncloud" tabindex="1"> id="nextcloud" tabindex="1">
<div class="logo-icon"> <div class="logo-icon">
<h1 class="hidden-visually"> <h1 class="hidden-visually">
<?php p($theme->getName()); ?> <?php p($theme->getName()); ?>