From 76c1c091e8c027ce77dea8d76ceb2fef5d4cecb4 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 21 May 2010 00:19:03 +0200 Subject: [PATCH] Consistently use lowercase file names. --- ansel/js/embed.js | 0 ansel/js/lightbox.js | 0 ansel/js/slideshow.js | 0 ansel/js/slugcheck.js | 0 ansel/js/tagactions.js | 0 ansel/js/togglewidget.js | 0 chora/browsefile.php | 2 +- chora/patchsets.php | 2 +- .../Ajax/lib/Horde/Ajax/Imple/AutoCompleter.php | 2 +- .../Ajax/lib/Horde/Ajax/Imple/SpellChecker.php | 4 +- horde/js/SpellChecker.js | 284 --------------------- horde/js/autocomplete.js | 2 +- .../{ContextSensitive.js => contextsensitive.js} | 0 horde/js/{dhtmlHistory.js => dhtmlhistory.js} | 0 horde/js/{Growler.js => growler.js} | 0 horde/js/{ieEscGuard.js => ieescguard.js} | 0 horde/js/{KeyNavList.js => keynavlist.js} | 0 horde/js/{QuickFinder.js => quickfinder.js} | 0 horde/js/{TextareaResize.js => textarearesize.js} | 0 imp/compose-dimp.php | 2 +- imp/compose.php | 2 +- imp/index-dimp.php | 6 +- imp/js/{DimpBase.js => dimpbase.js} | 2 +- imp/js/{DimpCore.js => dimpcore.js} | 2 +- imp/js/{ViewPort.js => viewport.js} | 2 +- imp/lib/Ajax/Application.php | 6 +- imp/lib/Dimp.php | 4 +- imp/message-dimp.php | 4 +- jonah/channels/index.php | 2 +- kronolith/lib/Kronolith.php | 4 +- kronolith/templates/panel.inc | 2 +- mnemo/list.php | 2 +- mnemo/notes/index.php | 2 +- nag/list.php | 2 +- nag/tasks/index.php | 2 +- skoli/list.php | 2 +- skoli/search.php | 2 +- skoli/templates/panel.inc | 2 +- turba/lib/View/Browse.php | 2 +- turba/search.php | 2 +- 40 files changed, 34 insertions(+), 318 deletions(-) mode change 100755 => 100644 ansel/js/embed.js mode change 100755 => 100644 ansel/js/lightbox.js mode change 100755 => 100644 ansel/js/slideshow.js mode change 100755 => 100644 ansel/js/slugcheck.js mode change 100755 => 100644 ansel/js/tagactions.js mode change 100755 => 100644 ansel/js/togglewidget.js delete mode 100644 horde/js/SpellChecker.js rename horde/js/{ContextSensitive.js => contextsensitive.js} (100%) rename horde/js/{dhtmlHistory.js => dhtmlhistory.js} (100%) rename horde/js/{Growler.js => growler.js} (100%) rename horde/js/{ieEscGuard.js => ieescguard.js} (100%) rename horde/js/{KeyNavList.js => keynavlist.js} (100%) rename horde/js/{QuickFinder.js => quickfinder.js} (100%) rename horde/js/{TextareaResize.js => textarearesize.js} (100%) rename imp/js/{DimpBase.js => dimpbase.js} (99%) rename imp/js/{DimpCore.js => dimpcore.js} (99%) rename imp/js/{ViewPort.js => viewport.js} (99%) diff --git a/ansel/js/embed.js b/ansel/js/embed.js old mode 100755 new mode 100644 diff --git a/ansel/js/lightbox.js b/ansel/js/lightbox.js old mode 100755 new mode 100644 diff --git a/ansel/js/slideshow.js b/ansel/js/slideshow.js old mode 100755 new mode 100644 diff --git a/ansel/js/slugcheck.js b/ansel/js/slugcheck.js old mode 100755 new mode 100644 diff --git a/ansel/js/tagactions.js b/ansel/js/tagactions.js old mode 100755 new mode 100644 diff --git a/ansel/js/togglewidget.js b/ansel/js/togglewidget.js old mode 100755 new mode 100644 diff --git a/chora/browsefile.php b/chora/browsefile.php index 74f324b10..0748e58c2 100644 --- a/chora/browsefile.php +++ b/chora/browsefile.php @@ -48,7 +48,7 @@ if ($VC->hasFeature('branches')) { } Horde::addScriptFile('tables.js', 'horde'); -Horde::addScriptFile('QuickFinder.js', 'horde'); +Horde::addScriptFile('quickfinder.js', 'horde'); Horde::addScriptFile('revlog.js', 'chora'); require CHORA_TEMPLATES . '/common-header.inc'; require CHORA_TEMPLATES . '/menu.inc'; diff --git a/chora/patchsets.php b/chora/patchsets.php index 91b4863af..7bc7196c0 100644 --- a/chora/patchsets.php +++ b/chora/patchsets.php @@ -52,7 +52,7 @@ Horde::addScriptFile('tables.js', 'horde'); // JS search not needed if showing a single patchset if ($ps_id) { - Horde::addScriptFile('QuickFinder.js', 'horde'); + Horde::addScriptFile('quickfinder.js', 'horde'); } require CHORA_TEMPLATES . '/common-header.inc'; diff --git a/framework/Ajax/lib/Horde/Ajax/Imple/AutoCompleter.php b/framework/Ajax/lib/Horde/Ajax/Imple/AutoCompleter.php index 951333862..8d61c11de 100644 --- a/framework/Ajax/lib/Horde/Ajax/Imple/AutoCompleter.php +++ b/framework/Ajax/lib/Horde/Ajax/Imple/AutoCompleter.php @@ -46,7 +46,7 @@ abstract class Horde_Ajax_Imple_AutoCompleter extends Horde_Ajax_Imple_Base $config = $this->_attach(array('tokens' => array(',', ';'))); Horde::addScriptFile('autocomplete.js', 'horde'); - Horde::addScriptFile('KeyNavList.js', 'horde'); + Horde::addScriptFile('keynavlist.js', 'horde'); Horde::addScriptFile('liquidmetal.js', 'horde'); if (isset($config['ajax'])) { $func = 'Ajax.Autocompleter'; diff --git a/framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php b/framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php index be51f6de0..81e7962a2 100644 --- a/framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php +++ b/framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php @@ -57,8 +57,8 @@ class Horde_Ajax_Imple_SpellChecker extends Horde_Ajax_Imple_Base { Horde::addScriptFile('prototype.js', 'horde'); Horde::addScriptFile('effects.js', 'horde'); - Horde::addScriptFile('KeyNavList.js', 'horde'); - Horde::addScriptFile('SpellChecker.js', 'horde'); + Horde::addScriptFile('keynavlist.js', 'horde'); + Horde::addScriptFile('spellchecker.js', 'horde'); $opts = array( 'locales' => $this->_params['locales'], diff --git a/horde/js/SpellChecker.js b/horde/js/SpellChecker.js deleted file mode 100644 index 2b8a8c67b..000000000 --- a/horde/js/SpellChecker.js +++ /dev/null @@ -1,284 +0,0 @@ -/** - * This spell checker was inspired by work done by Garrison Locke, but - * was rewritten almost completely by Chuck Hagenbuch to use - * Prototype/Scriptaculous. - * - * Requires: prototype.js (v1.6.1+), KeyNavList.js - * - * Copyright 2005-2010 The Horde Project (http://www.horde.org/) - * - * Custom Events: - * -------------- - * Custom events are triggered on the target element. - * - * 'SpellChecker:after' - * Fired when the spellcheck processing ends. - * - * 'SpellChecker:before' - * Fired before the spellcheck is performed. - * - * 'SpellChecker:noerror' - * Fired when no spellcheck errors are found. - * - * See the enclosed file COPYING for license information (GPL). If you - * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. - */ - -var SpellChecker = Class.create({ - - // Vars used and defaulting to null: - // bad, choices, disabled, htmlAreaParent, lc, locale, reviewDiv, - // statusButton, statusClass, suggestions, target, url - options: {}, - resumeOnDblClick: true, - state: 'CheckSpelling', - - // Options: - // bs = (array) Button states - // locales = (array) List of locales. See KeyNavList for structure. - // sc = (string) Status class - // statusButton = (string/element) DOM ID or element of the status - // button - // target = (string|Element) DOM element containing data - // url = (string) URL of specllchecker handler - initialize: function(opts) - { - var d, lc, tmp, ul; - - this.url = opts.url; - this.target = $(opts.target); - this.statusButton = $(opts.statusButton); - this.buttonStates = opts.bs; - this.statusClass = opts.sc || ''; - this.disabled = false; - - this.options.onComplete = this.onComplete.bind(this); - - document.observe('click', this.onClick.bindAsEventListener(this)); - - if (opts.locales) { - this.lc = new KeyNavList(this.statusButton, { - list: opts.locales, - onChoose: this.setLocale.bindAsEventListener(this) - }); - - this.statusButton.insert({ after: new Element('SPAN', { className: 'spellcheckPopdownImg' }) }); - } - - this.setStatus('CheckSpelling'); - }, - - setLocale: function(locale) - { - this.locale = locale; - }, - - targetValue: function() - { - return Object.isUndefined(this.target.value) - ? this.target.innerHTML - : this.target.value; - }, - - spellCheck: function() - { - this.target.fire('SpellChecker:before'); - - var opts = Object.clone(this.options), - p = $H(), - url = this.url; - - this.setStatus('Checking'); - - p.set(this.target.identify(), this.targetValue()); - opts.parameters = p.toQueryString(); - - if (this.locale) { - url += '/locale=' + this.locale; - } - if (this.htmlAreaParent) { - url += '/html=1'; - } - - new Ajax.Request(url, opts); - }, - - onComplete: function(request) - { - var bad, content, washidden, - i = 0, - result = request.responseJSON; - - if (Object.isUndefined(result)) { - this.setStatus('Error'); - return; - } - - this.suggestions = result.suggestions || []; - - if (!this.suggestions.size()) { - this.setStatus('CheckSpelling'); - this.target.fire('SpellChecker:noerror'); - return; - } - - bad = result.bad || []; - - content = this.targetValue(); - content = this.htmlAreaParent - ? content.replace(/\r?\n/g, '') - : content.replace(/\r?\n/g, '~~~').escapeHTML(); - - $A(bad).each(function(node) { - var re_text = '' + node + ''; - content = content.replace(new RegExp("(?:^|\\b)" + RegExp.escape(node) + "(?:\\b|$)", 'g'), re_text); - - // Go through and see if we matched anything inside a tag (i.e. - // class/spellcheckIncorrect is often matched if using a - // non-English lang). - content = content.replace(new RegExp("(<[^>]*)" + RegExp.escape(re_text) + "([^>]*>)", 'g'), '\$1' + node + '\$2'); - }, this); - - if (!this.reviewDiv) { - this.reviewDiv = new Element('DIV', { className: this.target.readAttribute('class') }).addClassName('spellcheck').setStyle({ overflow: 'auto' }); - if (this.resumeOnDblClick) { - this.reviewDiv.observe('dblclick', this.resume.bind(this)); - } - } - - if (!this.target.visible()) { - this.target.show(); - washidden = true; - } - this.reviewDiv.setStyle({ width: this.target.clientWidth + 'px', height: this.target.clientHeight + 'px'}); - if (washidden) { - this.target.hide(); - } - - if (!this.htmlAreaParent) { - content = content.replace(/~~~/g, '
'); - } - this.reviewDiv.update(content); - - if (this.htmlAreaParent) { - $(this.htmlAreaParent).insert({ bottom: this.reviewDiv }); - } else { - this.target.hide().insert({ before: this.reviewDiv }); - } - - this.setStatus('ResumeEdit'); - }, - - onClick: function(e) - { - var data = [], index, elt = e.element(); - - if (this.disabled) { - return; - } - - if (elt == this.statusButton) { - switch (this.state) { - case 'CheckSpelling': - this.spellCheck(); - break; - - case 'ResumeEdit': - this.resume(); - break; - } - - e.stop(); - } else if (elt.hasClassName('spellcheckPopdownImg')) { - this.lc.show(); - this.lc.ignoreClick(e); - e.stop(); - } else if (elt.hasClassName('spellcheckIncorrect')) { - index = e.element().readAttribute('index'); - - $A(this.suggestions[index]).each(function(node) { - data.push({ l: node, v: node }); - }); - - if (this.choices) { - this.choices.updateBase(elt); - this.choices.opts.onChoose = function(val) {elt.update(val).writeAttribute({ className: 'spellcheckCorrected' });}; - } else { - this.choices = new KeyNavList(elt, { - esc: true, - onChoose: function(val) { - elt.update(val).writeAttribute({ className: 'spellcheckCorrected' }); - } - }); - } - - this.choices.show(data); - this.choices.ignoreClick(e); - e.stop(); - } - }, - - resume: function() - { - if (!this.reviewDiv) { - return; - } - - var t; - - this.reviewDiv.select('span.spellcheckIncorrect').each(function(n) { - n.replace(n.innerHTML); - }); - - t = this.reviewDiv.innerHTML; - if (!this.htmlAreaParent) { - t = t.replace(/
/gi, '~~~').unescapeHTML().replace(/~~~/g, "\n"); - } - this.target.setValue(t); - this.target.enable(); - - if (this.resumeOnDblClick) { - this.reviewDiv.stopObserving('dblclick'); - } - this.reviewDiv.remove(); - this.reviewDiv = null; - - this.setStatus('CheckSpelling'); - - if (!this.htmlAreaParent) { - this.target.show(); - } - - this.target.fire('SpellChecker:after'); - }, - - setStatus: function(state) - { - if (!this.statusButton) { - return; - } - - this.state = state; - switch (this.statusButton.tagName) { - case 'INPUT': - this.statusButton.setValue(this.buttonStates[state]); - break; - - case 'A': - this.statusButton.update(this.buttonStates[state]); - break; - } - this.statusButton.className = this.statusClass + ' spellcheck' + state; - }, - - isActive: function() - { - return this.reviewDiv; - }, - - disable: function(disable) - { - this.disabled = disable; - } - -}); diff --git a/horde/js/autocomplete.js b/horde/js/autocomplete.js index aaea2d45f..f12471731 100644 --- a/horde/js/autocomplete.js +++ b/horde/js/autocomplete.js @@ -1,7 +1,7 @@ /** * autocomplete.js - A javascript library which implements autocomplete. * Requires prototype.js v1.6.0.2+, scriptaculous v1.8.0+ (effects.js), - * and KeyNavList.js. + * and keynavlist.js. * * Adapted from script.aculo.us controls.js v1.8.0 * (c) 2005-2007 Thomas Fuchs, Ivan Krstic, and Jon Tirsen diff --git a/horde/js/ContextSensitive.js b/horde/js/contextsensitive.js similarity index 100% rename from horde/js/ContextSensitive.js rename to horde/js/contextsensitive.js diff --git a/horde/js/dhtmlHistory.js b/horde/js/dhtmlhistory.js similarity index 100% rename from horde/js/dhtmlHistory.js rename to horde/js/dhtmlhistory.js diff --git a/horde/js/Growler.js b/horde/js/growler.js similarity index 100% rename from horde/js/Growler.js rename to horde/js/growler.js diff --git a/horde/js/ieEscGuard.js b/horde/js/ieescguard.js similarity index 100% rename from horde/js/ieEscGuard.js rename to horde/js/ieescguard.js diff --git a/horde/js/KeyNavList.js b/horde/js/keynavlist.js similarity index 100% rename from horde/js/KeyNavList.js rename to horde/js/keynavlist.js diff --git a/horde/js/QuickFinder.js b/horde/js/quickfinder.js similarity index 100% rename from horde/js/QuickFinder.js rename to horde/js/quickfinder.js diff --git a/horde/js/TextareaResize.js b/horde/js/textarearesize.js similarity index 100% rename from horde/js/TextareaResize.js rename to horde/js/textarearesize.js diff --git a/imp/compose-dimp.php b/imp/compose-dimp.php index 093df5309..7f64324e6 100644 --- a/imp/compose-dimp.php +++ b/imp/compose-dimp.php @@ -211,7 +211,7 @@ $scripts = array( array('compose-base.js', 'imp'), array('compose-dimp.js', 'imp'), array('md5.js', 'horde'), - array('TextareaResize.js', 'horde') + array('textarearesize.js', 'horde') ); if (!($prefs->isLocked('default_encrypt')) && diff --git a/imp/compose.php b/imp/compose.php index 6377d48c3..4d32807fe 100644 --- a/imp/compose.php +++ b/imp/compose.php @@ -579,7 +579,7 @@ if ($browser->hasFeature('javascript')) { Horde::logMessage($e, 'ERR'); } } - Horde::addScriptFile('ieEscGuard.js', 'horde'); + Horde::addScriptFile('ieescguard.js', 'horde'); } } diff --git a/imp/index-dimp.php b/imp/index-dimp.php index 826968257..3ad9fe60a 100644 --- a/imp/index-dimp.php +++ b/imp/index-dimp.php @@ -18,12 +18,12 @@ require_once dirname(__FILE__) . '/lib/Application.php'; Horde_Registry::appInit('imp', array('impmode' => 'dimp')); $scripts = array( - array('DimpBase.js', 'imp'), - array('ViewPort.js', 'imp'), + array('dimpbase.js', 'imp'), + array('viewport.js', 'imp'), array('dialog.js', 'imp'), array('mailbox-dimp.js', 'imp'), array('imp.js', 'imp'), - array('ContextSensitive.js', 'horde'), + array('contextsensitive.js', 'horde'), array('dragdrop2.js', 'horde'), array('popup.js', 'horde'), array('redbox.js', 'horde'), diff --git a/imp/js/DimpBase.js b/imp/js/dimpbase.js similarity index 99% rename from imp/js/DimpBase.js rename to imp/js/dimpbase.js index e640987a9..bccdd4a65 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/dimpbase.js @@ -1,5 +1,5 @@ /** - * DimpBase.js - Javascript used in the base DIMP page. + * dimpbase.js - Javascript used in the base DIMP page. * * Copyright 2005-2010 The Horde Project (http://www.horde.org/) * diff --git a/imp/js/DimpCore.js b/imp/js/dimpcore.js similarity index 99% rename from imp/js/DimpCore.js rename to imp/js/dimpcore.js index 04cbc29e6..369aa0e98 100644 --- a/imp/js/DimpCore.js +++ b/imp/js/dimpcore.js @@ -1,5 +1,5 @@ /** - * DimpCore.js - Dimp UI application logic. + * dimpcore.js - Dimp UI application logic. * * Copyright 2005-2010 The Horde Project (http://www.horde.org/) * diff --git a/imp/js/ViewPort.js b/imp/js/viewport.js similarity index 99% rename from imp/js/ViewPort.js rename to imp/js/viewport.js index 22c43b99d..7fb8cde04 100644 --- a/imp/js/ViewPort.js +++ b/imp/js/viewport.js @@ -1,5 +1,5 @@ /** - * ViewPort.js - Code to create a viewport window, with optional split pane + * viewport.js - Code to create a viewport window, with optional split pane * functionality. * * Usage: diff --git a/imp/lib/Ajax/Application.php b/imp/lib/Ajax/Application.php index c30d09436..9fcb2568e 100644 --- a/imp/lib/Ajax/Application.php +++ b/imp/lib/Ajax/Application.php @@ -466,8 +466,8 @@ class IMP_Ajax_Application extends Horde_Ajax_Application_Base *
      * 'checkcache' - (integer) If 1, only send data if cache has been
      *                invalidated.
-     * 'rangeslice' - (string) Range slice. See js/ViewPort.js.
-     * 'requestid' - (string) Request ID. See js/ViewPort.js.
+     * 'rangeslice' - (string) Range slice. See js/viewport.js.
+     * 'requestid' - (string) Request ID. See js/viewport.js.
      * 'sortby' - (integer) The Horde_Imap_Client sort constant.
      * 'sortdir' - (integer) 0 for ascending, 1 for descending.
      * 'view' - (string) The current full mailbox name.
@@ -1695,7 +1695,7 @@ class IMP_Ajax_Application extends Horde_Ajax_Application_Base
     }
 
     /**
-     * Generates the delete data needed for DimpBase.js.
+     * Generates the delete data needed for dimpbase.js.
      *
      * See the list of variables needed for _viewPortData().
      *
diff --git a/imp/lib/Dimp.php b/imp/lib/Dimp.php
index f68b6ff6d..8210e582d 100644
--- a/imp/lib/Dimp.php
+++ b/imp/lib/Dimp.php
@@ -58,8 +58,8 @@ class IMP_Dimp
         $core_scripts = array(
             array('effects.js', 'horde'),
             array('horde.js', 'horde'),
-            array('DimpCore.js', 'imp'),
-            array('Growler.js', 'horde')
+            array('dimpcore.js', 'imp'),
+            array('growler.js', 'horde')
         );
         foreach (array_merge($core_scripts, $scripts) as $val) {
             call_user_func_array(array('Horde', 'addScriptFile'), $val);
diff --git a/imp/message-dimp.php b/imp/message-dimp.php
index c03e68b72..3a5c9a8e0 100644
--- a/imp/message-dimp.php
+++ b/imp/message-dimp.php
@@ -56,8 +56,8 @@ if (isset($show_msg_result['error'])) {
 }
 
 $scripts = array(
-    array('ContextSensitive.js', 'horde'),
-    array('TextareaResize.js', 'horde'),
+    array('contextsensitive.js', 'horde'),
+    array('textarearesize.js', 'horde'),
     array('fullmessage-dimp.js', 'imp'),
     array('imp.js', 'imp'),
     array('md5.js', 'horde')
diff --git a/jonah/channels/index.php b/jonah/channels/index.php
index aa04165a7..0107773bc 100644
--- a/jonah/channels/index.php
+++ b/jonah/channels/index.php
@@ -96,7 +96,7 @@ $template->set('notify', Horde::endBuffer());
 $title = _("Feeds");
 Horde::addScriptFile('prototype.js', 'horde', true);
 Horde::addScriptFile('tables.js', 'horde', true);
-Horde::addScriptFile('QuickFinder.js', 'horde', true);
+Horde::addScriptFile('quickfinder.js', 'horde', true);
 require JONAH_TEMPLATES . '/common-header.inc';
 echo $template->fetch(JONAH_TEMPLATES . '/channels/index.html');
 require $registry->get('templates', 'horde') . '/common-footer.inc';
diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php
index e2c0e5b7c..fadd0ab7d 100644
--- a/kronolith/lib/Kronolith.php
+++ b/kronolith/lib/Kronolith.php
@@ -69,8 +69,8 @@ class Kronolith
         Horde::addScriptFile('sound.js', 'horde');
         Horde::addScriptFile('horde.js', 'horde');
         Horde::addScriptFile('dragdrop2.js', 'horde');
-        Horde::addScriptFile('Growler.js', 'horde');
-        Horde::addScriptFile('dhtmlHistory.js', 'horde');
+        Horde::addScriptFile('growler.js', 'horde');
+        Horde::addScriptFile('dhtmlhistory.js', 'horde');
         Horde::addScriptFile('redbox.js', 'horde');
         Horde::addScriptFile('tooltips.js', 'horde');
         Horde::addScriptFile('colorpicker.js', 'horde');
diff --git a/kronolith/templates/panel.inc b/kronolith/templates/panel.inc
index 80bc4621c..0762f782a 100644
--- a/kronolith/templates/panel.inc
+++ b/kronolith/templates/panel.inc
@@ -7,7 +7,7 @@ function toggleTags(domid)
 }
 
 notify();
diff --git a/mnemo/notes/index.php b/mnemo/notes/index.php
index 7d01021b7..228c83880 100644
--- a/mnemo/notes/index.php
+++ b/mnemo/notes/index.php
@@ -40,7 +40,7 @@ $memos = $search_results;
 Horde::addScriptFile('tooltips.js', 'horde', true);
 Horde::addScriptFile('tables.js', 'horde', true);
 Horde::addScriptFile('prototype.js', 'horde', true);
-Horde::addScriptFile('QuickFinder.js', 'horde', true);
+Horde::addScriptFile('quickfinder.js', 'horde', true);
 
 require MNEMO_TEMPLATES . '/common-header.inc';
 require MNEMO_TEMPLATES . '/menu.inc';
diff --git a/nag/list.php b/nag/list.php
index df3d74a49..d0df3a8f1 100644
--- a/nag/list.php
+++ b/nag/list.php
@@ -87,7 +87,7 @@ default:
 
 Horde::addScriptFile('tooltips.js', 'horde');
 Horde::addScriptFile('effects.js', 'horde');
-Horde::addScriptFile('QuickFinder.js', 'horde');
+Horde::addScriptFile('quickfinder.js', 'horde');
 
 require NAG_TEMPLATES . '/common-header.inc';
 require NAG_TEMPLATES . '/menu.inc';
diff --git a/nag/tasks/index.php b/nag/tasks/index.php
index b8a0de564..16dfc98e1 100644
--- a/nag/tasks/index.php
+++ b/nag/tasks/index.php
@@ -47,7 +47,7 @@ $actionID = null;
 
 Horde::addScriptFile('tooltips.js', 'horde');
 Horde::addScriptFile('effects.js', 'horde');
-Horde::addScriptFile('QuickFinder.js', 'horde');
+Horde::addScriptFile('quickfinder.js', 'horde');
 
 require NAG_TEMPLATES . '/common-header.inc';
 require NAG_TEMPLATES . '/menu.inc';
diff --git a/skoli/list.php b/skoli/list.php
index 9072af195..4dddfaeb1 100644
--- a/skoli/list.php
+++ b/skoli/list.php
@@ -100,7 +100,7 @@ default:
 
 Horde::addScriptFile('tooltips.js', 'horde');
 Horde::addScriptFile('effects.js', 'horde');
-Horde::addScriptFile('QuickFinder.js', 'horde');
+Horde::addScriptFile('quickfinder.js', 'horde');
 
 require SKOLI_TEMPLATES . '/common-header.inc';
 require SKOLI_TEMPLATES . '/menu.inc';
diff --git a/skoli/search.php b/skoli/search.php
index 551a5b8c7..e2a5e856b 100644
--- a/skoli/search.php
+++ b/skoli/search.php
@@ -120,7 +120,7 @@ if ($conf['objects']['allow_absences']) {
 $title = _("Search");
 $notification->push('document.skoli_searchform.stext.focus();', 'javascript');
 
-Horde::addScriptFile('QuickFinder.js', 'horde');
+Horde::addScriptFile('quickfinder.js', 'horde');
 Horde::addScriptFile('effects.js', 'horde');
 Horde::addScriptFile('redbox.js', 'horde');
 require SKOLI_TEMPLATES . '/common-header.inc';
diff --git a/skoli/templates/panel.inc b/skoli/templates/panel.inc
index e67660e42..ead9ed579 100644
--- a/skoli/templates/panel.inc
+++ b/skoli/templates/panel.inc
@@ -1,5 +1,5 @@
 push('document.directory_search.name.focus();', 'javascript');
 }
 
-Horde::addScriptFile('QuickFinder.js', 'horde');
+Horde::addScriptFile('quickfinder.js', 'horde');
 Horde::addScriptFile('effects.js', 'horde');
 Horde::addScriptFile('redbox.js', 'horde');
 require TURBA_TEMPLATES . '/common-header.inc';
-- 
2.11.0