diff options
-rw-r--r-- | admin/themes/clear/icon/warning.png | bin | 0 -> 680 bytes | |||
-rw-r--r-- | admin/themes/default/icon/warning.png | bin | 0 -> 680 bytes | |||
-rw-r--r-- | admin/themes/default/template/plugins_list.tpl | 9 | ||||
-rw-r--r-- | admin/themes/default/theme.css | 6 |
4 files changed, 14 insertions, 1 deletions
diff --git a/admin/themes/clear/icon/warning.png b/admin/themes/clear/icon/warning.png Binary files differnew file mode 100644 index 000000000..060b57707 --- /dev/null +++ b/admin/themes/clear/icon/warning.png diff --git a/admin/themes/default/icon/warning.png b/admin/themes/default/icon/warning.png Binary files differnew file mode 100644 index 000000000..060b57707 --- /dev/null +++ b/admin/themes/default/icon/warning.png diff --git a/admin/themes/default/template/plugins_list.tpl b/admin/themes/default/template/plugins_list.tpl index 19931a3bb..618104ca5 100644 --- a/admin/themes/default/template/plugins_list.tpl +++ b/admin/themes/default/template/plugins_list.tpl @@ -8,6 +8,11 @@ jQuery(document).ready(function() { jQuery('.incompatible').click(function() { return confirm(incompatible_msg); }); + jQuery('.warning').tipTip({ + 'delay' : 0, + 'fadeIn' : 200, + 'fadeOut' : 200 + }); }); {/literal}{/footer_script} @@ -42,7 +47,9 @@ jQuery(document).ready(function() { <div class="pluginBox"> <table> <tr> - <td class="pluginBoxNameCell">{$plugin.NAME}</td> + <td class="pluginBoxNameCell{if $plugin.INCOMPATIBLE} warning" title="{'WARNING! This plugin does not seem to be compatible with this version of Piwigo.'|@translate|@escape:'html'}{/if}"> + {$plugin.NAME} + </td> <td>{$plugin.DESC}</td> </tr> <tr> diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 13c499411..bb645c256 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -1043,3 +1043,9 @@ LEGEND { #batchManagerGlobal .removeFilter span {display:none} #batchManagerGlobal #applyFilterBlock {margin-top:20px;} #batchManagerGlobal .useFilterCheckbox {display:none} + +.warning { + background:url(icon/warning.png) no-repeat top left; + width: 130px; + padding-left: 20px; +} |