hide "get word processor plug-ins" link in standalone

This commit is contained in:
Simon Kornblith 2011-01-14 21:25:05 +00:00
parent 06e446a527
commit a552bb19bd
2 changed files with 4 additions and 1 deletions

View File

@ -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;
}
}

View File

@ -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">