This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
/
manifest.xml
58 lines (58 loc) · 2.71 KB
/
manifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8"?>
<meta id="meta.comments" label="CONF_MESSAGE[Comments Feed]" description="CONF_MESSAGE[Let user comment filesystem items]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<class_definition filename="plugins/meta.comments/class.CommentsMetaManager.php" classname="CommentsMetaManager"/>
<client_settings>
<resources>
<i18n namespace="meta.comments" path="plugins/meta.comments/i18n" />
<css file="plugins/meta.comments/comments_feed.css" autoload="true"/>
<js file="plugins/meta.comments/class.CommentsPanel.js" className="CommentsPanel" autoload="true"/>
</resources>
</client_settings>
<server_settings>
<param name="COMMENT_SIZE_LIMIT" type="integer" label="Comment limit"
description="Maximum number of characters for each comment" default="1000" />
</server_settings>
<registry_contributions>
<hooks>
<serverCallback hookName="node.info" methodName="mergeMeta" applyCondition="$apply=($args[2]!='minimal');"></serverCallback>
<serverCallback hookName="node.change" methodName="moveMeta" defer="true"/>
</hooks>
<client_configs>
<component_config className="InfoPanel">
<infoPanelExtension mime="meta:ajxp_has_comments_feed,ajxp_root_node" attributes="" modifier="CommentsPanel.prototype.loadInfoPanel">
<html><![CDATA[
<div id="ajxp_comments_info_panel">
<div class="panelHeader infoPanelGroup" colspan="2"><span class="icon-comments-alt" data-ajxpAction="comments" title="Users Comments"></span>Users Comments</div>
<div id="comments_container"></div>
<div id="comments_form">
<textarea placeholder="Enter your comment here..."></textarea>
<div><input type="button" value="Post" id="comments_submit"></div>
</div>
</div>
]]></html>
</infoPanelExtension>
</component_config>
</client_configs>
<actions>
<action name="load_comments_feed">
<processing>
<serverCallback methodName="switchActions"/>
</processing>
</action>
<action name="post_comment">
<processing>
<serverCallback methodName="switchActions"/>
</processing>
</action>
<action name="delete_comment">
<processing>
<serverCallback methodName="switchActions"/>
</processing>
</action>
</actions>
</registry_contributions>
<dependencies>
<!-- Wrapper type plugins only -->
<pluginClass pluginName="access.fs|access.ftp|access.demo|access.remote_fs"/>
</dependencies>
</meta>