diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:34:44 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:34:44 +0200 |
commit | db18218a1bba86e364fd4fec08c2e1a0eb4e7b16 (patch) | |
tree | cfa630c22ea74e3d6bd6258b78776a1d8b5c84bd /apps | |
parent | 9e32e0730644a4340b2f88b0d8750fd1f8e8903a (diff) | |
download | nextcloud-server-db18218a1bba86e364fd4fec08c2e1a0eb4e7b16.tar.gz nextcloud-server-db18218a1bba86e364fd4fec08c2e1a0eb4e7b16.zip |
Space before tab fixes
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/part.breadcrumb.php | 2 | ||||
-rw-r--r-- | apps/files_external/templates/settings.php | 2 | ||||
-rw-r--r-- | apps/files_versions/appinfo/update.php | 15 | ||||
-rw-r--r-- | apps/files_versions/history.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/tests/group_ldap.php | 2 |
5 files changed, 11 insertions, 12 deletions
diff --git a/apps/files/templates/part.breadcrumb.php b/apps/files/templates/part.breadcrumb.php index 22d9bb4490d..875fc747bb7 100644 --- a/apps/files/templates/part.breadcrumb.php +++ b/apps/files/templates/part.breadcrumb.php @@ -1,6 +1,6 @@ <?php for($i=0; $i<count($_["breadcrumb"]); $i++): $crumb = $_["breadcrumb"][$i]; ?> <div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg" data-dir='<?php echo $crumb["dir"];?>' style='background-image:url("<?php echo OCP\image_path('core','breadcrumb.png');?>")'> - <a href="<?php echo $_['baseURL'].$crumb["dir"]; ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a> + <a href="<?php echo $_['baseURL'].$crumb["dir"]; ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a> </div> <?php endfor;?> diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index 7da96135721..c44b09b180f 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -82,7 +82,7 @@ <br /> <?php if (!$_['isAdminPage']): ?> - <table id="sslCertificate" data-admin='<?php echo json_encode($_['isAdminPage']); ?>'> + <table id="sslCertificate" data-admin='<?php echo json_encode($_['isAdminPage']); ?>'> <thead> <tr> <th><?php echo $l->t('SSL root certificates'); ?></th> diff --git a/apps/files_versions/appinfo/update.php b/apps/files_versions/appinfo/update.php index e289b927b3c..52a4850758a 100644 --- a/apps/files_versions/appinfo/update.php +++ b/apps/files_versions/appinfo/update.php @@ -5,12 +5,11 @@ $installedVersion=OCP\Config::getAppValue('files_versions', 'installed_version') if (version_compare($installedVersion, '1.0.2', '<')) { $users = \OCP\User::getUsers(); $datadir = \OCP\Config::getSystemValue('datadirectory').'/'; - foreach ($users as $user) { - $oldPath = $datadir.$user.'/versions'; - $newPath = $datadir.$user.'/files_versions'; - if(is_dir($oldPath)) { - rename($oldPath, $newPath); - } - } - + foreach ($users as $user) { + $oldPath = $datadir.$user.'/versions'; + $newPath = $datadir.$user.'/files_versions'; + if(is_dir($oldPath)) { + rename($oldPath, $newPath); + } + } } diff --git a/apps/files_versions/history.php b/apps/files_versions/history.php index ea36d6d9f88..0ebb34f45e4 100644 --- a/apps/files_versions/history.php +++ b/apps/files_versions/history.php @@ -35,7 +35,7 @@ if ( isset( $_GET['path'] ) ) { // roll back to old version if button clicked if( isset( $_GET['revert'] ) ) { - if( $versions->rollback( $path, $_GET['revert'] ) ) { + if( $versions->rollback( $path, $_GET['revert'] ) ) { $tmpl->assign( 'outcome_stat', 'success' ); diff --git a/apps/user_ldap/tests/group_ldap.php b/apps/user_ldap/tests/group_ldap.php index 106459580fa..ac66a608b76 100644 --- a/apps/user_ldap/tests/group_ldap.php +++ b/apps/user_ldap/tests/group_ldap.php @@ -29,7 +29,7 @@ class Test_Group_Ldap extends UnitTestCase { OC_Group::useBackend(new OCA\user_ldap\GROUP_LDAP()); $group_ldap = new OCA\user_ldap\GROUP_LDAP(); - $this->assertIsA(OC_Group::getGroups(),gettype(array())); + $this->assertIsA(OC_Group::getGroups(),gettype(array())); $this->assertIsA($group_ldap->getGroups(),gettype(array())); $this->assertFalse(OC_Group::inGroup('john','dosers'),gettype(false)); |