Examples

&target_blank(https://google.com/);

https://google.com/

&target_blank(Google,https://google.com/);

Google

Source

plugin/target_blank.inc.php

<?php
function plugin_target_blank_inline(){
    $ret = '';
    $args = func_get_args();
    $frm = '<a href="%s" target="_blank">%s</a><sup><font size="-2">↑</font></sup>';
    if (isset($args[1]) && $args[1] != '') {
        $ret = sprintf($frm, $args[1], $args[0]);
    } else {
        $ret = sprintf($frm, $args[0], $args[0]);
    }
    return $ret;
}
?>

Today : 1 / Yesterday : 0 / Total : 215

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2024-12-27 (金) 22:44:15