Permalink
Browse files

initial release

  • Loading branch information...
0 parents commit 21453cb587e2e73fdd11127e741dde27029c2f91 @selfthinker committed Aug 30, 2009
Showing with 644 additions and 0 deletions.
  1. +30 −0 action.php
  2. +63 −0 ipa.css
  3. +518 −0 ipa.html
  4. +23 −0 ipa.js
  5. BIN ipa.png
  6. +10 −0 script.js
@@ -0,0 +1,30 @@
+<?php
+/**
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ * @author A.C. Henke <a.c.henke@arcor.de>
+ * @author http://de.wikipedia.org/wiki/Wikipedia:Helferlein/IPA_Typewriter
+ */
+
+if(!defined('DOKU_INC')) die();
+if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
+require_once(DOKU_PLUGIN.'action.php');
+
+class action_plugin_ipa extends DokuWiki_Action_Plugin {
+
+ function getInfo(){
+ return array(
+ 'author' => 'A.C. Henke',
+ 'email' => 'a.c.henke@arcor.de',
+ 'date' => '2006-11-12',
+ 'name' => 'IPA Plugin',
+ 'desc' => 'Pseudo-Plugin for adding an IPA Typewriter to the Toolbar',
+ 'url' => 'http://wiki.splitbrain.org/plugin:ipa',
+ );
+ }
+
+ function register(&$controller) {
+ return false;
+ }
+
+
+}
63 ipa.css
@@ -0,0 +1,63 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+body {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 90%;
+ margin: 10px;
+}
+
+table {
+ border: none;
+ text-align: center;
+ display: inline;
+ display: inline-table;
+ empty-cells: hide;
+ caption-side: top;
+}
+table.diacritics {
+ max-width: 30em;
+ min-width: 10em;
+}
+caption {
+ font-size: 75%;
+ text-align: left;
+ margin-left: 2px;
+}
+th {
+ display: none;
+}
+td {
+ border: 1px solid #ccc;
+}
+td,
+#txtIpa {
+ font-family: Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, TITUS Cyberbit Basic, Code2000, MV Boli, MS Mincho, DejaVu Sans, Arial, sans-serif;
+}
+table.diacritics td,
+td.combine {
+ font-size: 170%;
+}
+table.diacritics td {
+ float: left;
+ margin: 0 2px 2px 0;
+}
+td a {
+ padding: 0.05em 0.2em;
+ display: block;
+ color: #006 !important;
+ text-decoration: none;
+}
+td.impossible {
+ background-color: #ccc;
+}
+
+#copyIpa {
+ margin-top: 2em;
+ clear: both;
+}
+#txtIpa {
+ width: 95%;
+ margin-bottom: 0.5em;
+}
Oops, something went wrong.

0 comments on commit 21453cb

Please sign in to comment.