commit a552bb19bd44111ccff82ebbdb6372b4cfcac9d6 parent 06e446a5276e4ace27d3340c8a0c65da3bf3d159 Author: Simon Kornblith <simon@simonster.com> Date: Fri, 14 Jan 2011 21:25:05 +0000 hide "get word processor plug-ins" link in standalone Diffstat:
| M | chrome/content/zotero/preferences/preferences.js | | | 3 | +++ |
| M | chrome/content/zotero/preferences/preferences.xul | | | 2 | +- |
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js @@ -1823,4 +1823,7 @@ function updateWordProcessorInstructions() { if(document.getElementById("wordProcessors").childNodes.length == 2) { document.getElementById("wordProcessors-noWordProcessorPluginsInstalled").hidden = undefined; } + if(Zotero.isStandalone) { + document.getElementById("wordProcessors-getWordProcessorPlugins").hidden = true; + } } \ No newline at end of file diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul @@ -588,7 +588,7 @@ To add a new preference: <label id="wordProcessors-noWordProcessorPluginsInstalled" width="45em" hidden="true"> &zotero.preferences.cite.wordProcessors.noWordProcessorPluginsInstalled; </label> - <label class="text-link" href="http://www.zotero.org/support/word_processor_plugin_installation#word_processor_plugins_for_zotero_2.0" value="&zotero.preferences.cite.wordProcessors.getPlugins;"/> + <label id="wordProcessors-getWordProcessorPlugins" class="text-link" href="http://www.zotero.org/support/word_processor_plugin_installation#word_processor_plugins_for_zotero_2.0" value="&zotero.preferences.cite.wordProcessors.getPlugins;"/> </tabpanel> <tabpanel orient="vertical" id="styles"> <groupbox flex="1">