diff options
author | Andrew Dolgov <[email protected]> | 2021-02-19 17:15:22 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-19 17:15:22 +0300 |
commit | d445530fa08cdbe2088150a3e7d23596eab9b142 (patch) | |
tree | 0c9e9a44cfd5f38835857fd961ee17c11e9e54f9 /classes/article.php | |
parent | 4fa8450d38ccafdfa1117aa8a6fa570ce9fecb09 (diff) |
format note on the client
Diffstat (limited to 'classes/article.php')
-rwxr-xr-x | classes/article.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/classes/article.php b/classes/article.php index 1e90c843e..e64c17a32 100755 --- a/classes/article.php +++ b/classes/article.php @@ -419,21 +419,6 @@ class Article extends Handler_Protected { return $tags; } - static function _format_note_html($id, $note, $allow_edit = true) { - if ($allow_edit) { - $onclick = "onclick='Plugins.Note.edit($id)'"; - $note_class = 'editable'; - } else { - $onclick = ''; - $note_class = ''; - } - - return "<div class='article-note $note_class'> - <i class='material-icons'>note</i> - <div $onclick class='body'>$note</div> - </div>"; - } - function getmetadatabyid() { $id = clean($_REQUEST['id']); |