Merge pull request #5424 from owncloud/sharing-directlink

Added direct link in public share page
This commit is contained in:
Vincent Petry 2013-10-21 08:26:51 -07:00
commit a1038c271c
3 changed files with 14 additions and 0 deletions

View File

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

View File

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

View File

@ -95,6 +95,7 @@
</li> </li>
</ul> </ul>
<?php endif; ?> <?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; ?> <?php endif; ?>
</div> </div>
<footer> <footer>