<input type="hidden" name="dir" id="dir" value="" />
<div class="hiddenuploadfield">
<input type="file" id="file_upload_start" class="hiddenuploadfield" name="files[]"
- data-url="<?php print_unescaped(OCP\Util::linkTo('files', 'ajax/upload.php')); ?>" />
+ data-url="<?php p(OCP\Util::linkTo('files', 'ajax/upload.php')); ?>" />
</div>
<?php endif; ?>
<footer>
}
public function getName() {
- return $this->config->getAppValue('theming', 'name', $this->name);
+ return strip_tags($this->config->getAppValue('theming', 'name', $this->name));
}
public function getHTMLName() {
}
public function getTitle() {
- return $this->config->getAppValue('theming', 'name', $this->name);
+ return $this->getName();
}
public function getEntity() {
- return $this->config->getAppValue('theming', 'name', $this->name);
+ return $this->getName();
}
public function getBaseUrl() {
}
public function getSlogan() {
- return $this->config->getAppValue('theming', 'slogan', $this->slogan);
+ return \OC_Util::sanitizeHTML($this->config->getAppValue('theming', 'slogan', $this->slogan));
}
public function getShortFooter() {