diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-05 14:00:49 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-05 14:03:44 +0100 |
commit | 30673e478672af316c057f562a8a02babdbd3160 (patch) | |
tree | 90c5156def04dee80e9f96ce41ad2e49c34bb3df /files | |
parent | 25e777ef5e9c68ac45d32b71a0174febf74d47ef (diff) | |
download | nextcloud-server-30673e478672af316c057f562a8a02babdbd3160.tar.gz nextcloud-server-30673e478672af316c057f562a8a02babdbd3160.zip |
writable not writeable
Diffstat (limited to 'files')
-rw-r--r-- | files/index.php | 2 | ||||
-rw-r--r-- | files/templates/part.list.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/index.php b/files/index.php index fbf7a4901a1..f166790ba9c 100644 --- a/files/index.php +++ b/files/index.php @@ -94,7 +94,7 @@ $tmpl = new OC_Template( "files", "index", "user" ); $tmpl->assign( "fileList", $list->fetchPage() ); $tmpl->assign( "breadcrumb", $breadcrumbNav->fetchPage() ); $tmpl->assign( 'dir', $dir); -$tmpl->assign( 'readonly', !OC_Filesystem::is_writeable($dir)); +$tmpl->assign( 'readonly', !OC_Filesystem::is_writable($dir)); $tmpl->assign( "files", $files ); $tmpl->assign( 'uploadMaxFilesize', $maxUploadFilesize); $tmpl->assign( 'uploadMaxHumanFilesize', OC_Helper::humanFileSize($maxUploadFilesize)); diff --git a/files/templates/part.list.php b/files/templates/part.list.php index 92b6f37d8e7..b117d81a1a5 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -1,5 +1,5 @@ <?php foreach($_['files'] as $file): - $write = ($file['writeable']) ? 'true' : 'false'; + $write = ($file['writable']) ? 'true' : 'false'; $simple_file_size = simple_file_size($file['size']); $simple_size_color = intval(200-$file['size']/(1024*1024)*2); // the bigger the file, the darker the shade of grey; megabytes*2 if($simple_size_color<0) $simple_size_color = 0; |