com web/wiki: Replace doodle images with UTF-8 icons: dokuwiki/lib/plugins/doodle/syntax.php

From: Date: Wed, 25 Oct 2017 15:05:38 +0000
Subject: com web/wiki: Replace doodle images with UTF-8 icons: dokuwiki/lib/plugins/doodle/syntax.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-26506@lists.php.net to get a copy of this message
Commit: 5229a4e9d6b8ed04c2b11caa3d751eb34e215fab Author: Niklas Keller <me@kelunik.com> Thu, 28 Sep 2017 20:26:08 +0200 Parents: 40d25e9671217a4733f06572c8552f00d03aab9c Branches: master Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=5229a4e9d6b8ed04c2b11caa3d751eb34e215fab Log: Replace doodle images with UTF-8 icons These images have been deleted during the latest upgrade and are not available anymore in newer releases. It's easier to replace them than having to maintain the data/files.deleted file. Changed paths: M dokuwiki/lib/plugins/doodle/syntax.php Diff: diff --git a/dokuwiki/lib/plugins/doodle/syntax.php b/dokuwiki/lib/plugins/doodle/syntax.php index 0eaba76..c8ecec7 100755 --- a/dokuwiki/lib/plugins/doodle/syntax.php +++ b/dokuwiki/lib/plugins/doodle/syntax.php @@ -312,10 +312,10 @@ class syntax_plugin_doodle extends DokuWiki_Syntax_Plugin // the javascript source of these functions is in script.js $this->template['doodleData']["$fullname"]['editLinks'] = '<a href="javascript:editEntry(\''.$formId.'\',\''.$fullname.'\')">'. - ' <img src="'.DOKU_BASE.'lib/images/pencil.png" alt="edit entry" style="float:left">'. + ' <b title="edit entry">&#9998;</b>'. '</a>'. '<a href="javascript:deleteEntry(\''.$formId.'\',\''.$fullname.'\')">'. - ' <img src="'.DOKU_BASE.'lib/images/del.png" alt="delete entry" style="float:left">'. + ' <b title="delete entry">&#128465;</b>'. '</a>'; } }

« previous php.webmaster (#26506) next »