Changeset 2747
- Timestamp:
- 11/12/10 01:59:27 (13 years ago)
- Location:
- plugins/wikiTables
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/wikiTables/_admin.php
r1218 r2747 3 3 # 4 4 # 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/) 6 6 # 7 7 # Wiki Tables is free software; you can redistribute it and/or … … 25 25 if (!defined('DC_CONTEXT_ADMIN')) {return;} 26 26 27 l10n::set(dirname(__FILE__).'/locales/'.$_lang.'/admin'); 28 27 29 $core->addBehavior('adminPostHeaders', 28 30 array('wikiTablesAdmin','postHeaders')); … … 34 36 class wikiTablesAdmin 35 37 { 36 public static function coreInitWikiPost( &$wiki2xhtml)38 public static function coreInitWikiPost($wiki2xhtml) 37 39 { 38 40 $wiki2xhtml->registerFunction('macro:table', … … 45 47 { 46 48 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"); 48 57 } 49 58 } -
plugins/wikiTables/_define.php
r1218 r2747 3 3 # 4 4 # 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/) 6 6 # 7 7 # Wiki Tables is free software; you can redistribute it and/or … … 29 29 /* Description*/ 'Create XHTML <table>s in Wiki with Wikimedia syntax', 30 30 /* Author */ 'Moe (http://gniark.net/)', 31 /* Version */ '0.1 ',31 /* Version */ '0.1.1', 32 32 /* Permissions */ 'usage,contentadmin' 33 33 ); -
plugins/wikiTables/_prepend.php
r1218 r2747 3 3 # 4 4 # 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/) 6 6 # 7 7 # Wiki Tables is free software; you can redistribute it and/or -
plugins/wikiTables/js/post.js
r1218 r2747 19 19 // ***** END LICENSE BLOCK ***** 20 20 21 jsToolBar.prototype.elements. table = {21 jsToolBar.prototype.elements.wiki_table = { 22 22 type: 'button', 23 title: ' Table',23 title: 'Wiki Table', 24 24 context: 'post', 25 icon: 'index.php?pf=wikiTable /icon.png',25 icon: 'index.php?pf=wikiTables/icon.png', 26 26 fn: { 27 27 wiki: function() {this.encloseSelection('///table\n','\n///')} -
plugins/wikiTables/lib/lib.wikiTables.php
r1218 r2747 3 3 # 4 4 # 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/) 6 6 # 7 7 # Wiki Tables is free software; you can redistribute it and/or
Note: See TracChangeset
for help on using the changeset viewer.