diff options
author | korelstar <korelstar@users.noreply.github.com> | 2018-12-12 19:23:27 +0300 |
---|---|---|
committer | korelstar <korelstar@users.noreply.github.com> | 2018-12-12 19:23:27 +0300 |
commit | 67ea6a969b827cd922a7229b8874caae0ea1a666 (patch) | |
tree | 865927f0c5ea9426ac963f310416708536065c48 /templates/main.php | |
parent | 2018e50582452bd87fbb64400b3a90593d46a6dc (diff) |
require at least NC14
Diffstat (limited to 'templates/main.php')
-rw-r--r-- | templates/main.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/templates/main.php b/templates/main.php index c9b284e1..cc4580ec 100644 --- a/templates/main.php +++ b/templates/main.php @@ -23,7 +23,7 @@ style('notes', [ ?> <div id="app" ng-app="Notes" ng-controller="AppController" - ng-init="init('<?= $_['lastViewedNote'] ?>','<?= $_['errorMessage'] ?>', <?= $_['useSearchAPI'] ?>)" ng-cloak> + ng-init="init('<?= $_['lastViewedNote'] ?>','<?= $_['errorMessage'] ?>')" ng-cloak> <script type="text/ng-template" id="note.html"> <?php print_unescaped($this->inc('note')); ?> @@ -42,15 +42,6 @@ style('notes', [ <ul class="with-icon"> - <!-- old style search (before NC 14) --> -<?php if(!$_['useSearchAPI']) { ?> - <li class="note-search"> - <span class="nav-entry icon-search"> - <input type="text" ng-model="search" /> - </span> - </li> -<?php } ?> - <!-- category selector --> <li class="collapsible app-navigation-noclose separator-below" ng-class="{ open: folderSelectorOpen, 'current-category-item': !folderSelectorOpen && filterCategory!=null }" ng-show="notes.length>1"> <a class="nav-icon-files svg" ng-click="toggleFolderSelector()">{{!folderSelectorOpen && SelectedCategory ? SelectedCategory : '<?php p($l->t('Categories')); ?>' | categoryTitle}}</a> |