Do not use OCP\Util anymore - API not avaiable in Nextcloud 14.
[grauphel.git] / templates / gui-note.php
index fb2d741..a182f5f 100644 (file)
@@ -1,12 +1,15 @@
-<link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
 
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
 
-<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
+<script type="text/javascript" src="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','js/grauphel.js')); ?>"></script>
 
 <div id="app-content" class="content">
+ <div id="searchresults" class="hidden"></div>
  <div class="actions">
+  <a class="button" href="<?php echo p($_['links']['html']); ?>">HTML</a>
+  <a class="button" href="<?php echo p($_['links']['text']); ?>">Text</a>
   <a class="button" href="<?php echo p($_['links']['json']); ?>">JSON</a>
   <a class="button" href="<?php echo p($_['links']['xml']); ?>">XML</a>
  </div>