To make it possible for apps to find out whether they are running in
public mode, the flag "isPublic" will now be present in the DOM.
Backport of
6a36d7fa864ec241d05a00b419ca48cf84ca41ff required by other
fixes.
<?php $defaults = new OCP\Defaults(); // initialize themable default strings and urls ?>
+<input type="hidden" id="isPublic" name="isPublic" value="1">
<input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir">
<input type="hidden" name="downloadURL" value="<?php p($_['downloadURL']) ?>" id="downloadURL">
<input type="hidden" name="filename" value="<?php p($_['filename']) ?>" id="filename">