summaryrefslogtreecommitdiff
path: root/app/Template/config
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 11:31:54 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 11:31:54 -0400
commitab48a09f0d674b703467975b376c5ac7352670ae (patch)
tree99fbb0cf719acee8c500622d498bd7f6375b62a1 /app/Template/config
parent82b5b491bec94cb3d40a5820fbef9959435309be (diff)
Rename controllers
Diffstat (limited to 'app/Template/config')
-rw-r--r--app/Template/config/about.php4
-rw-r--r--app/Template/config/api.php4
-rw-r--r--app/Template/config/application.php2
-rw-r--r--app/Template/config/board.php2
-rw-r--r--app/Template/config/calendar.php2
-rw-r--r--app/Template/config/integrations.php2
-rw-r--r--app/Template/config/project.php2
-rw-r--r--app/Template/config/sidebar.php36
-rw-r--r--app/Template/config/webhook.php4
9 files changed, 29 insertions, 29 deletions
diff --git a/app/Template/config/about.php b/app/Template/config/about.php
index 7c599ef7..8e2d1325 100644
--- a/app/Template/config/about.php
+++ b/app/Template/config/about.php
@@ -65,11 +65,11 @@
<strong><?= $this->text->bytes($db_size) ?></strong>
</li>
<li>
- <?= $this->url->link(t('Download the database'), 'config', 'downloadDb', array(), true) ?>&nbsp;
+ <?= $this->url->link(t('Download the database'), 'ConfigController', 'downloadDb', array(), true) ?>&nbsp;
<?= t('(Gzip compressed Sqlite file)') ?>
</li>
<li>
- <?= $this->url->link(t('Optimize the database'), 'config', 'optimizeDb', array(), true) ?>&nbsp;
+ <?= $this->url->link(t('Optimize the database'), 'ConfigController', 'optimizeDb', array(), true) ?>&nbsp;
<?= t('(VACUUM command)') ?>
</li>
</ul>
diff --git a/app/Template/config/api.php b/app/Template/config/api.php
index 3ebbb956..95f77355 100644
--- a/app/Template/config/api.php
+++ b/app/Template/config/api.php
@@ -12,7 +12,7 @@
<input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->base().'jsonrpc.php' ?>">
</li>
<li>
- <?= $this->url->link(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>
+ <?= $this->url->link(t('Reset token'), 'ConfigController', 'token', array('type' => 'api'), true) ?>
</li>
</ul>
-</section> \ No newline at end of file
+</section>
diff --git a/app/Template/config/application.php b/app/Template/config/application.php
index ee0e147b..0f842f6e 100644
--- a/app/Template/config/application.php
+++ b/app/Template/config/application.php
@@ -1,7 +1,7 @@
<div class="page-header">
<h2><?= t('Application settings') ?></h2>
</div>
-<form method="post" action="<?= $this->url->href('config', 'save', array('redirect' => 'application')) ?>" autocomplete="off">
+<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'application')) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
diff --git a/app/Template/config/board.php b/app/Template/config/board.php
index 75cd40ef..62a736e7 100644
--- a/app/Template/config/board.php
+++ b/app/Template/config/board.php
@@ -1,7 +1,7 @@
<div class="page-header">
<h2><?= t('Board settings') ?></h2>
</div>
-<form method="post" action="<?= $this->url->href('config', 'save', array('redirect' => 'board')) ?>" autocomplete="off">
+<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'board')) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
diff --git a/app/Template/config/calendar.php b/app/Template/config/calendar.php
index 37084a8b..90e034e9 100644
--- a/app/Template/config/calendar.php
+++ b/app/Template/config/calendar.php
@@ -2,7 +2,7 @@
<h2><?= t('Calendar settings') ?></h2>
</div>
<section>
-<form method="post" action="<?= $this->url->href('config', 'save', array('redirect' => 'calendar')) ?>" autocomplete="off">
+<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'calendar')) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php
index 2a29b358..3ba4e865 100644
--- a/app/Template/config/integrations.php
+++ b/app/Template/config/integrations.php
@@ -2,7 +2,7 @@
<h2><?= t('Integration with third-party services') ?></h2>
</div>
-<form method="post" action="<?= $this->url->href('config', 'save', array('redirect' => 'integrations')) ?>" autocomplete="off">
+<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'integrations')) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
<?= $this->hook->render('template:config:integrations', array('values' => $values)) ?>
diff --git a/app/Template/config/project.php b/app/Template/config/project.php
index b0112773..6d8d131a 100644
--- a/app/Template/config/project.php
+++ b/app/Template/config/project.php
@@ -1,7 +1,7 @@
<div class="page-header">
<h2><?= t('Project settings') ?></h2>
</div>
-<form method="post" action="<?= $this->url->href('config', 'save', array('redirect' => 'project')) ?>" autocomplete="off">
+<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'project')) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
diff --git a/app/Template/config/sidebar.php b/app/Template/config/sidebar.php
index a2a5a6cb..e6b4631d 100644
--- a/app/Template/config/sidebar.php
+++ b/app/Template/config/sidebar.php
@@ -1,35 +1,35 @@
<div class="sidebar">
<h2><?= t('Actions') ?></h2>
<ul>
- <li <?= $this->app->checkMenuSelection('config', 'index') ?>>
- <?= $this->url->link(t('About'), 'config', 'index') ?>
+ <li <?= $this->app->checkMenuSelection('ConfigController', 'index') ?>>
+ <?= $this->url->link(t('About'), 'ConfigController', 'index') ?>
</li>
- <li <?= $this->app->checkMenuSelection('config', 'application') ?>>
- <?= $this->url->link(t('Application settings'), 'config', 'application') ?>
+ <li <?= $this->app->checkMenuSelection('ConfigController', 'application') ?>>
+ <?= $this->url->link(t('Application settings'), 'ConfigController', 'application') ?>
</li>
- <li <?= $this->app->checkMenuSelection('config', 'project') ?>>
- <?= $this->url->link(t('Project settings'), 'config', 'project') ?>
+ <li <?= $this->app->checkMenuSelection('ConfigController', 'project') ?>>
+ <?= $this->url->link(t('Project settings'), 'ConfigController', 'project') ?>
</li>
- <li <?= $this->app->checkMenuSelection('config', 'board') ?>>
- <?= $this->url->link(t('Board settings'), 'config', 'board') ?>
+ <li <?= $this->app->checkMenuSelection('ConfigController', 'board') ?>>
+ <?= $this->url->link(t('Board settings'), 'ConfigController', 'board') ?>
</li>
- <li <?= $this->app->checkMenuSelection('config', 'calendar') ?>>
- <?= $this->url->link(t('Calendar settings'), 'config', 'calendar') ?>
+ <li <?= $this->app->checkMenuSelection('ConfigController', 'calendar') ?>>
+ <?= $this->url->link(t('Calendar settings'), 'ConfigController', 'calendar') ?>
</li>
<li <?= $this->app->checkMenuSelection('link') ?>>
<?= $this->url->link(t('Link settings'), 'link', 'index') ?>
</li>
- <li <?= $this->app->checkMenuSelection('currency', 'index') ?>>
- <?= $this->url->link(t('Currency rates'), 'currency', 'index') ?>
+ <li <?= $this->app->checkMenuSelection('CurrencyController', 'index') ?>>
+ <?= $this->url->link(t('Currency rates'), 'CurrencyController', 'index') ?>
</li>
- <li <?= $this->app->checkMenuSelection('config', 'integrations') ?>>
- <?= $this->url->link(t('Integrations'), 'config', 'integrations') ?>
+ <li <?= $this->app->checkMenuSelection('ConfigController', 'integrations') ?>>
+ <?= $this->url->link(t('Integrations'), 'ConfigController', 'integrations') ?>
</li>
- <li <?= $this->app->checkMenuSelection('config', 'webhook') ?>>
- <?= $this->url->link(t('Webhooks'), 'config', 'webhook') ?>
+ <li <?= $this->app->checkMenuSelection('ConfigController', 'webhook') ?>>
+ <?= $this->url->link(t('Webhooks'), 'ConfigController', 'webhook') ?>
</li>
- <li <?= $this->app->checkMenuSelection('config', 'api') ?>>
- <?= $this->url->link(t('API'), 'config', 'api') ?>
+ <li <?= $this->app->checkMenuSelection('ConfigController', 'api') ?>>
+ <?= $this->url->link(t('API'), 'ConfigController', 'api') ?>
</li>
<?= $this->hook->render('template:config:sidebar') ?>
</ul>
diff --git a/app/Template/config/webhook.php b/app/Template/config/webhook.php
index 3bba907c..e3245873 100644
--- a/app/Template/config/webhook.php
+++ b/app/Template/config/webhook.php
@@ -2,7 +2,7 @@
<h2><?= t('Webhook settings') ?></h2>
</div>
<section>
-<form method="post" action="<?= $this->url->href('config', 'save', array('redirect' => 'webhook')) ?>" autocomplete="off">
+<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'webhook')) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
@@ -25,7 +25,7 @@
<strong><?= $this->text->e($values['webhook_token']) ?></strong>
</li>
<li>
- <?= $this->url->link(t('Reset token'), 'config', 'token', array('type' => 'webhook'), true) ?>
+ <?= $this->url->link(t('Reset token'), 'ConfigController', 'token', array('type' => 'webhook'), true) ?>
</li>
</ul>
</section>