GNU General Public License, either version 2 or any later version
2008-11-19 rev.422
2008-07-05 rev.406
#aa{{
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');
}}
#aa{{
define('PLUGIN_SECEDIT_LEVEL', true);
}}
#aa{{
define('PLUGIN_SECEDIT_ENABLE_ON_KEITAI_PROFILE', false);
}}
lib/pukiwiki.php
#aa{{
+require(PLUGIN_DIR . 'secedit.inc.php');
/////////////////////////////////////////////////
// Main
}}
lib/convert_html.php
#aa{{
function canContain(& $obj)
{
return FALSE;
}
+ function wrap($string, $tag, $param = '', $canomit = TRUE)
+ {
+ $secedit = plugin_secedit_wrap($string, $tag, $param, $this->id);
+ return $secedit ? $secedit : parent::wrap($string, $tag, $param, $canomit);
+ }
function toString()
{
return $this->msg_top . $this->wrap(parent::toString(),
'h' . $this->level, ' id="' . $this->id . '"');
}
}
// ----
// Horizontal Rule
}}