add extern link
This commit is contained in:
@ -81,7 +81,7 @@ class syntax_plugin_tile extends DokuWiki_Syntax_Plugin {
|
||||
$mailto = $email ? '<a class="mail JSnocheck" href="mailto:'.$email.'" >'.($name ? $name : $email).'</a>' : "";
|
||||
$renderer->doc .= '
|
||||
<div class="tile">
|
||||
<a href="'.wl ($id).'">
|
||||
<a href="'.(str_starts_with ($id, 'http') ? $id : wl ($id)).'">
|
||||
<p>'.$title.'</p>
|
||||
<div class="img"><span></span><img src="'.ml ($img, array ('cache'=>$_REQUEST['cache'], 'w'=>$this->iconSize)).'"'.$this->imgAttr.' alt="'.$title.'"/></div>
|
||||
</a>
|
||||
@ -101,6 +101,7 @@ class syntax_plugin_tile extends DokuWiki_Syntax_Plugin {
|
||||
' <ul>'.NL.
|
||||
' <li>Syntax : <b><tile [help] [width=pp]></b><br/>'.
|
||||
' | :dokuwiki:namespace:page | Short Description | :dokuwiki:namespace:icon.png | member.mel@some.where.org | nickname |<br/>'.
|
||||
' | http... | Short Description | :dokuwiki:namespace:icon.png | member.mel@some.where.org | nickname |<br/>'.
|
||||
' ...<br/>'.
|
||||
' <b></tile></b></li>'.NL.
|
||||
' <li>Info : <a class="urlextern" rel="nofollow" title="'.$url.'" href="'.$url.'">'.$url.'</a></li>'.NL.
|
||||
|
Reference in New Issue
Block a user