Link to maintainership/funding post
[grauphel.git] / templates / gui-database.php
index 95c70d609f2a4705dd8715d920c5b28c55cd607e..22710ef086bc249adc7f59816b9bf66720a5e26a 100644 (file)
@@ -1,10 +1,8 @@
-<link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<?php style('grauphel', 'grauphel'); ?>
 
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
 
-<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
-
 <div id="app-content" class="content">
   <div id="searchresults" class="hidden"></div>
   <h1>Manage database</h1>
@@ -31,7 +29,7 @@
   <p>
    To reset the database, enter your user name and click "reset database":
   </p>
-  <form method="POST" action="<?php p(OCP\Util::linkToRoute('grauphel.gui.databaseReset')); ?>">
+  <form method="POST" action="<?php p(OC::$server->getURLGenerator()->linkToRoute('grauphel.gui.databaseReset')); ?>">
     <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>"/>
     <p>
      <label>Username: <input type="text" name="username" value="" autocomplete="off" /></label>