Dotclear

source: inc/admin/default-templates/js/_plugins.js @ 1056:b67f949a98f8

Revision 1056:b67f949a98f8, 247 bytes checked in by JcDenis, 13 years ago (diff)
  • Twig know loaded in dcCore
  • Admin context now loaded in admin prepend and avavailable under $_ctx
  • Copy admin theme features in default-templates
  • New URL argument to serve theme file as ?tf=my_theme_file
Line 
1$(function() {
2     $('table.plugins form input[type=submit][name=delete]').click(function() {
3          var p_name = $('input[name=plugin_id]',$(this).parent()).val();
4          return window.confirm(dotclear.msg.confirm_delete_plugin.replace('%s',p_name));
5     });
6});
Note: See TracBrowser for help on using the repository browser.

Sites map