diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-01-06 17:04:06 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-01-06 17:04:06 +0300 |
commit | e2a32c728a64ca9d0bbbd2820223bc4f7525d5ab (patch) | |
tree | 66f6c46949c6c263526d9eecf9507fb0876678ab /templates | |
parent | 24fa7bc774eac26e6a3a9368b133540293e60783 (diff) |
rename
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/navigate.php | 37 | ||||
-rw-r--r-- | templates/settings.admin.php | 32 |
2 files changed, 57 insertions, 12 deletions
diff --git a/templates/navigate.php b/templates/navigate.php index 328a119..12ae046 100644 --- a/templates/navigate.php +++ b/templates/navigate.php @@ -1,19 +1,40 @@ <?php - - -use OCA\FullNextSearch\Api\v1\NextSearch; +/** + * FullTextSearch - Full text search framework for Nextcloud + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Maxence Lange <maxence@artificial-owl.com> + * @copyright 2018 + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +use OCA\FullTextSearch\Api\v1\FullTextSearch; use OCP\Util; -NextSearch::addJavascriptAPI(); -Util::addScript(NextSearch::appName(), 'fullnextsearch'); -Util::addStyle(NextSearch::appName(), 'fullnextsearch'); +FullTextSearch::addJavascriptAPI(); +Util::addScript(FullTextSearch::appName(), 'fulltextsearch'); +Util::addStyle(FullTextSearch::appName(), 'fulltextsearch'); ?> <div id="search_header"> <input id="search_input" placeholder="<?php p($l->t('Search on %s', [$_['themingName']])); ?>"> -<!-- <input id="search_submit" type="submit"--> -<!-- value="--><?php //p($l->t('Search on %s', [$_['themingName']])); ?><!--">--> </div> diff --git a/templates/settings.admin.php b/templates/settings.admin.php index 5d32d8b..237e61f 100644 --- a/templates/settings.admin.php +++ b/templates/settings.admin.php @@ -1,6 +1,30 @@ <?php +/** + * FullTextSearch - Full text search framework for Nextcloud + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Maxence Lange <maxence@artificial-owl.com> + * @copyright 2018 + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ -use OCA\FullNextSearch\AppInfo\Application; +use OCA\FullTextSearch\AppInfo\Application; use OCP\Util; Util::addScript(Application::APP_NAME, 'admin.elements'); @@ -14,14 +38,14 @@ Util::addStyle(Application::APP_NAME, 'admin'); <div id="fns" class="section"> <span> - <a href="https://github.com/nextcloud/fullnextsearch/wiki" target="_blank"> + <a href="https://github.com/nextcloud/fulltextsearch/wiki" target="_blank"> Please check the wiki</a> - for documentation related to the installation and the configuration of the Full Text Search within your Nextcloud + for documentation related to the installation and the configuration of the Full text search within your Nextcloud </span> <br/> <br/> - <h2><?php p($l->t('Full Next Search')) ?></h2> + <h2><?php p($l->t('Full text search')) ?></h2> <div class="div-table"> <div class="div-table-row"> |