Merge pull request #75 from owncloud/sharewithlinkfix

Fixed share with link that doesn't appear
This commit is contained in:
Frank Karlitschek 2013-10-22 07:41:59 -07:00
commit 4080653af5
2 changed files with 2 additions and 0 deletions

View File

@ -49,5 +49,6 @@ $tmpl->assign('useUnstable', $unstable);
$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign('uploadMaxHumanFilesize', \OCP\Util::humanFileSize($maxUploadFilesize));
$tmpl->assign('savePath', $savePath);
$tmpl->assign("allowShareWithLink", \OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes'));
$tmpl->printPage();

View File

@ -34,3 +34,4 @@
</ul>
</div>
<input type="hidden" id="webodf-unstable" value="<?php p($_['useUnstable']) ?>" />
<input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" />