GNU General Public License, either version 2 or any later version

2008-11-19 rev.422
2008-07-05 rev.406


define('PLUGIN_SECEDIT_LINK_STYLE', '$1$2<a class="anchor_super" href="$3" title="Edit">' .

	' <img src="image/paraedit.png" alt="Edit" title="Edit" height="9" width="9" /></a>$4');~


define('PLUGIN_SECEDIT_LEVEL', true);

define('PLUGIN_SECEDIT_ENABLE_ON_KEITAI_PROFILE', false);

lib/pukiwiki.php

  1. require(PLUGIN_DIR . 'secedit.inc.php');

     /////////////////////////////////////////////////~
     // Main~
    lib/convert_html.php
     	function canContain(& $obj)~
     	{~
     		return FALSE;~
     	}~

  2. function wrap($string, $tag, $param = '', $canomit = TRUE)
  3. {
  4. $secedit = plugin_secedit_wrap($string, $tag, $param, $this->id);
  5. return $secedit ? $secedit : parent::wrap($string, $tag, $param, $canomit);
  6. }

     	function toString()~
     	{~
     		return $this->msg_top .  $this->wrap(parent::toString(),~
     			'h' . $this->level, ' id="' . $this->id . '"');~
     	}~
     }~

     // ----~
     // Horizontal Rule~