server/php/basic/public_html/static/lib/renkan/js/templates.js
changeset 548 f5cd65589fa7
parent 504 3329b413db18
child 600 e12243191095
--- a/server/php/basic/public_html/static/lib/renkan/js/templates.js	Thu Sep 24 13:31:13 2015 +0200
+++ b/server/php/basic/public_html/static/lib/renkan/js/templates.js	Thu Sep 24 13:32:20 2015 +0200
@@ -385,9 +385,17 @@
 __e(renkan.translate("Edit Node")) +
 '</span>\n</h2>\n<p>\n    <label>' +
 __e(renkan.translate("Title:")) +
-'</label>\n    <input class="Rk-Edit-Title" type="text" value="' +
+'</label>\n    ';
+ if (options.show_node_editor_title_richtext) { ;
+__p += '\n        <div class="Rk-Edit-Title" contenteditable="true">' +
+((__t = (node.title)) == null ? '' : __t) +
+'</div>\n    ';
+ } else { ;
+__p += '\n        <input class="Rk-Edit-Title" type="text" value="' +
 __e(node.title) +
-'" />\n</p>\n';
+'" />\n    ';
+ } ;
+__p += '    \n</p>\n';
  if (options.show_node_editor_uri) { ;
 __p += '\n    <p>\n        <label>' +
 __e(renkan.translate("URI:")) +
@@ -545,7 +553,7 @@
 '" target="_blank">\n        ';
  } ;
 __p += '\n        ' +
-__e(node.title) +
+((__t = (node.title)) == null ? '' : __t) +
 '\n        ';
  if (node.uri) { ;
 __p += '</a>';
@@ -580,7 +588,7 @@
 __e( shortenText(node.created_by_title, 25) ) +
 '\n    </p>\n';
  } ;
-__p += '\n    <a href="#?idnode=' +
+__p += '\n    <a href="#?idNode=' +
 __e(node._id) +
 '">' +
 __e(renkan.translate("Link to the node")) +