'name' => 'Tomboy notes'
)
);
-\OC_Search::registerProvider('OCA\Grauphel\Search\Provider');
+
+\OC::$server->getSearch()->registerProvider(
+ 'OCA\Grauphel\Search\Provider', array('apps' => array('grauphel'))
+);
+
\OCP\Util::addscript('grauphel', 'loader');
?>
vertical-align: middle;
}
-table.table th, table.table td {
+table.table th, table.table td, #searchresults td {
border-bottom:1px solid #ddd;
text-align:left;
font-weight:normal;
}
.note-content a {
text-decoration: underline;
+}
+
+#searchresults {
+ margin-top: 0px;
+ min-height: 100%;
+ margin-bottom: 50px;
}
\ No newline at end of file
<link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
<div id="app-content" class="content">
+ <div id="searchresults" class="hidden"></div>
<div>
<h1>grauphel - Tomboy notes server</h1>
<h2>Error</h2>
<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
<div id="app-content" class="content">
+ <div id="searchresults" class="hidden"></div>
<h1>Manage database</h1>
<p>
In case something went seriously wrong during synchronization, you may reset your
<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
<div id="app-content" class="content">
+ <div id="searchresults" class="hidden"></div>
<div class="actions">
<a class="button" href="<?php echo p($_['links']['html']); ?>">HTML</a>
<a class="button" href="<?php echo p($_['links']['text']); ?>">Text</a>
<?php $_['appNavigation']->printPage(); ?>
<div id="app-content" class="content">
+ <div id="searchresults" class="hidden"></div>
<div>
<h1>grauphel - Tomboy notes server</h1>
<p>
<?php $_['appNavigation']->printPage(); ?>
<div id="app-content" class="list">
+ <div id="searchresults" class="hidden"></div>
<h1>Notebook: <?php p($_['tag']); ?></h1>
<table class="table" id="grauphel-notes">
<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
<div id="app-content" class="list">
+ <div id="searchresults" class="hidden"></div>
<h1>Manage access tokens</h1>
<p>
Here you see which applications have access to the notes.