diff options
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/authenticate.php | 2 | ||||
-rwxr-xr-x | apps/files_sharing/templates/public.php | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php index 41064d51464..9695caebf18 100644 --- a/apps/files_sharing/templates/authenticate.php +++ b/apps/files_sharing/templates/authenticate.php @@ -1,4 +1,4 @@ -<form action="index.php" method="post"> +<form action="<?php echo $_['URL']; ?>" method="post"> <fieldset> <p> <label for="password" class="infield"><?php echo $l->t('Password'); ?></label> diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 065818c2200..36e159dafee 100755 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -2,12 +2,16 @@ <input type="hidden" name="downloadURL" value="<?php echo $_['downloadURL'] ?>" id="downloadURL"> <input type="hidden" name="filename" value="<?php echo $_['filename'] ?>" id="filename"> <input type="hidden" name="mimetype" value="<?php echo $_['mimetype'] ?>" id="mimetype"> +<header><div id="header"> + <a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img class="svg" src="<?php echo image_path('', 'logo-wide.svg'); ?>" alt="ownCloud" /></a> + <div class="header-right"> + <span id="details"><?php echo $_['details']; ?></span> + <a href="<?php echo $_['downloadURL']; ?>" id="download"><img class="svg" alt="Download" src="<?php echo OCP\image_path("core", "actions/download.svg"); ?>" /><?php echo $l->t('Download')?></a> + </div> +</div></header> <div id="preview"> - <p><?php echo $_['owner']; ?> shared the file <?php echo $_['name'] ?> with you</p> -</div> -<div id="content"> <?php if (substr($_['mimetype'], 0 , strpos($_['mimetype'], '/')) == 'image'): ?> <img src="<?php echo $_['downloadURL']; ?>" /> <?php endif; ?> </div> -<a href="<?php echo $_['downloadURL']; ?>">Download</a>
\ No newline at end of file +<footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> – <?php echo $l->t('web services under your control'); ?></p></footer>
\ No newline at end of file |