Dotclear

Changeset 2747


Ignore:
Timestamp:
11/12/10 01:59:27 (13 years ago)
Author:
Moe
Message:

Wiki Tables 0.1.1:

  • fixed bug with icon (closes #598)
  • compatibility with PHP 5.3 ?
  • added french locales
Location:
plugins/wikiTables
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/wikiTables/_admin.php

    r1218 r2747  
    33# 
    44# This file is part of Wiki Tables, a plugin for Dotclear 2 
    5 # Copyright (C) 2009 Moe (http://gniark.net/) 
     5# Copyright (C) 2009,2010 Moe (http://gniark.net/) 
    66# 
    77# Wiki Tables is free software; you can redistribute it and/or 
     
    2525if (!defined('DC_CONTEXT_ADMIN')) {return;} 
    2626 
     27l10n::set(dirname(__FILE__).'/locales/'.$_lang.'/admin'); 
     28 
    2729$core->addBehavior('adminPostHeaders', 
    2830     array('wikiTablesAdmin','postHeaders')); 
     
    3436class wikiTablesAdmin 
    3537{ 
    36      public static function coreInitWikiPost(&$wiki2xhtml) 
     38     public static function coreInitWikiPost($wiki2xhtml) 
    3739     { 
    3840          $wiki2xhtml->registerFunction('macro:table', 
     
    4547     { 
    4648          return('<script type="text/javascript" '. 
    47                'src="index.php?pf=wikiTables/js/post.js"></script>'); 
     49               'src="index.php?pf=wikiTables/js/post.js"></script>'. 
     50                
     51          '<script type="text/javascript">'."\n". 
     52          "//<![CDATA[\n". 
     53          dcPage::jsVar('jsToolBar.prototype.elements.wiki_table.title', 
     54               __('Wiki Table')). 
     55          "\n//]]>\n". 
     56          "</script>\n"); 
    4857     } 
    4958} 
  • plugins/wikiTables/_define.php

    r1218 r2747  
    33# 
    44# This file is part of Wiki Tables, a plugin for Dotclear 2 
    5 # Copyright (C) 2009 Moe (http://gniark.net/) 
     5# Copyright (C) 2009,2010 Moe (http://gniark.net/) 
    66# 
    77# Wiki Tables is free software; you can redistribute it and/or 
     
    2929     /* Description*/         'Create XHTML <table>s in Wiki with Wikimedia syntax', 
    3030     /* Author */                  'Moe (http://gniark.net/)', 
    31      /* Version */                 '0.1', 
     31     /* Version */                 '0.1.1', 
    3232     /* Permissions */        'usage,contentadmin' 
    3333); 
  • plugins/wikiTables/_prepend.php

    r1218 r2747  
    33# 
    44# This file is part of Wiki Tables, a plugin for Dotclear 2 
    5 # Copyright (C) 2009 Moe (http://gniark.net/) 
     5# Copyright (C) 2009,2010 Moe (http://gniark.net/) 
    66# 
    77# Wiki Tables is free software; you can redistribute it and/or 
  • plugins/wikiTables/js/post.js

    r1218 r2747  
    1919// ***** END LICENSE BLOCK ***** 
    2020 
    21 jsToolBar.prototype.elements.table = { 
     21jsToolBar.prototype.elements.wiki_table = { 
    2222     type: 'button', 
    23      title: 'Table', 
     23     title: 'Wiki Table', 
    2424     context: 'post', 
    25      icon: 'index.php?pf=wikiTable/icon.png', 
     25     icon: 'index.php?pf=wikiTables/icon.png', 
    2626     fn: { 
    2727          wiki: function() {this.encloseSelection('///table\n','\n///')} 
  • plugins/wikiTables/lib/lib.wikiTables.php

    r1218 r2747  
    33# 
    44# This file is part of Wiki Tables, a plugin for Dotclear 2 
    5 # Copyright (C) 2009 Moe (http://gniark.net/) 
     5# Copyright (C) 2009,2010 Moe (http://gniark.net/) 
    66# 
    77# Wiki Tables is free software; you can redistribute it and/or 
Note: See TracChangeset for help on using the changeset viewer.

Sites map