Merge pull request #5424 from owncloud/sharing-directlink

Added direct link in public share page
remotes/origin/stable6
Vincent Petry 12 years ago
commit a1038c271c
  1. 11
      apps/files_sharing/css/public.css
  2. 2
      apps/files_sharing/js/public.js
  3. 1
      apps/files_sharing/templates/public.php

@ -132,3 +132,14 @@ thead{
top: -2px;
color: #555;
}
.directLink {
margin-bottom: 20px;
}
.directLink label {
font-weight: normal;
}
.directLink input {
margin-left: 10px;
width: 300px;
}

@ -67,4 +67,6 @@ $(document).ready(function() {
procesSelection();
});
$('#directLink').focus();
});

@ -95,6 +95,7 @@
</li>
</ul>
<?php endif; ?>
<div class="directLink"><label for="directLink"><?php p($l->t('Direct link')) ?></label><input id="directLink" type="text" readonly value="<?php p($_['downloadURL']); ?>"></input></div>
<?php endif; ?>
</div>
<footer>

Loading…
Cancel
Save