diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-06-29 19:35:28 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-06-29 19:35:57 -0400 |
commit | edc6a648d1d667d3179e51c98ab937cf35e4a333 (patch) | |
tree | 74b64373e0ad84bf2839e3a55edf4c1ce6eb41d4 /apps/files_external/templates | |
parent | 2c35e185f714f24c6c1a2a53a47e33cf01310ebe (diff) | |
download | nextcloud-server-edc6a648d1d667d3179e51c98ab937cf35e4a333.tar.gz nextcloud-server-edc6a648d1d667d3179e51c98ab937cf35e4a333.zip |
Fix placeholder value for optional fields in external storage UI
Diffstat (limited to 'apps/files_external/templates')
-rw-r--r-- | apps/files_external/templates/settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index 069599d028f..e651c4574d7 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -39,7 +39,7 @@ <?php elseif(strpos($placeholder, '!') !== false): ?> <label><input type="checkbox" data-parameter="<?php echo $parameter; ?>" <?php if ($value == 'true') echo ' checked="checked"'; ?> /><?php echo substr($placeholder, 1); ?></label> <?php elseif (strpos($placeholder, '&') !== false): ?> - <input type="text" class="optional" data-parameter="<?php echo $parameter; ?>" value="<?php echo $value; ?>" placeholder="<?php echo substr($placeholder, 1); ?>" /> + <input type="text" class="optional" data-parameter="<?php echo $parameter; ?>" value="<?php echo $value; ?>" placeholder="<?php echo substr($placeholder, 5); ?>" /> <?php elseif (strpos($placeholder, '#') !== false): ?> <input type="hidden" data-parameter="<?php echo $parameter; ?>" value="<?php echo $value; ?>" /> <?php else: ?> |