Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2018-10-07 22:29:26 +0300
committerdartcafe <github@dartcafe.de>2018-10-07 22:29:26 +0300
commitcfcd1a054ff591690ae3d99a4d457118102218b8 (patch)
tree4808e171ad0e0b243d4e8f8ed865795356b00c0c /templates
parent1fe45cc6f8520108aba6d70863fd3980f7947b1e (diff)
Updates
Diffstat (limited to 'templates')
-rw-r--r--templates/goto.tmpl.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/goto.tmpl.php b/templates/goto.tmpl.php
index ea3f1eb8..df5d6f9c 100644
--- a/templates/goto.tmpl.php
+++ b/templates/goto.tmpl.php
@@ -22,11 +22,13 @@
*/
use OCP\User; //To do: replace according to API
+ use OCP\Util;
+ use OCP\Template;
- \OCP\Util::addStyle('polls', 'main');
- \OCP\Util::addStyle('polls', 'flex');
- \OCP\Util::addStyle('polls', 'vote');
- \OCP\Util::addStyle('polls', 'sidebar');
+ Util::addStyle('polls', 'main');
+ Util::addStyle('polls', 'flex');
+ Util::addStyle('polls', 'vote');
+ Util::addStyle('polls', 'sidebar');
if (!User::isLoggedIn()) {
Util::addStyle('polls', 'public');
}
@@ -137,7 +139,7 @@
</a>
</div>
- d<div id="votings" class="main-container">
+ <div id="votings" class="main-container">
<div class="wordwrap description">
<span>
<?php print_unescaped($description); ?>