Link to maintainership/funding post
[grauphel.git] / templates / tokens.php
index 52bbdb4ab55baeeedf74516f1a46d960d42c6427..9d812ebe52e7a8e1c7d5636c589eb7c56db9e455 100644 (file)
@@ -1,5 +1,5 @@
-<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
-<script type="text/javascript" src="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','js/grauphel.js')); ?>"></script>
+<?php style('grauphel', 'grauphel'); ?>
+<?php script('grauphel', 'grauphel'); ?>
 
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
 
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
@@ -26,7 +26,7 @@
        <td><?php p($token->tokenKey); ?></td>
        <td title="<?php p($token->client); ?>"><?php p($_['client']->getNiceName($token->client)); ?></td>
        <td>
        <td><?php p($token->tokenKey); ?></td>
        <td title="<?php p($token->client); ?>"><?php p($_['client']->getNiceName($token->client)); ?></td>
        <td>
-        <?php p(\OCP\Util::formatDate($token->lastuse)); ?>
+        <?php p($_['date']->formatDate($token->lastuse)); ?>
         <form method="POST" action="<?php p(OC::$server->getURLGenerator()->linkToRoute('grauphel.token.delete', array('username' => $_['username'], 'tokenKey' => $token->tokenKey))); ?>">
            <input type="hidden" name="delete" value="1" />
            <button type="submit" class="icon-delete delete action"
         <form method="POST" action="<?php p(OC::$server->getURLGenerator()->linkToRoute('grauphel.token.delete', array('username' => $_['username'], 'tokenKey' => $token->tokenKey))); ?>">
            <input type="hidden" name="delete" value="1" />
            <button type="submit" class="icon-delete delete action"