Rename controllers
This commit is contained in:
@@ -65,11 +65,11 @@
|
||||
<strong><?= $this->text->bytes($db_size) ?></strong>
|
||||
</li>
|
||||
<li>
|
||||
<?= $this->url->link(t('Download the database'), 'config', 'downloadDb', array(), true) ?>
|
||||
<?= $this->url->link(t('Download the database'), 'ConfigController', 'downloadDb', array(), true) ?>
|
||||
<?= t('(Gzip compressed Sqlite file)') ?>
|
||||
</li>
|
||||
<li>
|
||||
<?= $this->url->link(t('Optimize the database'), 'config', 'optimizeDb', array(), true) ?>
|
||||
<?= $this->url->link(t('Optimize the database'), 'ConfigController', 'optimizeDb', array(), true) ?>
|
||||
<?= t('(VACUUM command)') ?>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -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>
|
||||
</section>
|
||||
|
||||
@@ -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() ?>
|
||||
|
||||
|
||||
@@ -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() ?>
|
||||
|
||||
|
||||
@@ -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() ?>
|
||||
|
||||
|
||||
@@ -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)) ?>
|
||||
|
||||
|
||||
@@ -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() ?>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user