Commit c98d52ee authored by  JosephK's avatar JosephK

Fix #13 + supprime les btn pour changer l'ordre

parent 81402705
u/*
\ No newline at end of file
u/*
shaarli/plugins/demo_plugin
shaarli/plugins/playvideos
\ No newline at end of file
......@@ -174,7 +174,7 @@ $t['You need to enable Javascript to change plugin loading order.'] = 'Vous deve
$t['Enabled Plugins'] = 'Plugins activés';
$t['No plugin enabled.'] = 'Pas de plugin activé';
$t['No requiered config parameters for any enabled plugins.'] = 'Les plugins activés ne requièrent pas de paramètre de configuration.';
$t['Disable'] = 'Désactivé';
$t['Disable'] = 'Désactiver';
$t['Order'] = 'Ordre';
$t['Name'] = 'Nom';
$t['Description'] = 'Description';
......@@ -182,7 +182,7 @@ $t['Plugins parameters'] = 'Paramètres des plugins';
$t['Save'] = 'Enregistrer';
$t['Disabled Plugins'] = 'Plugins désactivés';
$t['No plugin disabled.'] = 'Pas de plugin désactivé';
$t['Enable'] = 'Activé';
$t['Enable'] = 'Activer';
// tagcloud.html
// nothing to translate here
......
......@@ -58,7 +58,12 @@ jQuery(document).ready(function(){
// Locked plugins
if(/do=pluginadmin/i.test(window.location.href)) {
jQuery('#i18n, #myframa, #recovery, #tags_advanced').attr('disabled', 'true');
jQuery('#i18n, #myframa, #recovery, #tags_advanced<?php if (in_array('framanav',$GLOBALS['config']['ENABLED_PLUGINS'])) { echo ', #framanav'; } ?>')
.attr('readonly', 'true')
.parent().parent().find('a:contains("▲"),a:contains("▼")').remove();
jQuery('#plugin_table a:contains("▲"):visible:first').css('visibility','hidden');
jQuery('#plugin_table a:contains("▼"):visible:last').css('visibility','hidden');
jQuery('input[type="checkbox"][readonly]').on("click.readonly", function(event){event.preventDefault();});
}
if(/\&source\=bookmarklet/i.test(window.location.href)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment