- expose the NSYN command to the webcit room sharing interface.
<input type="hidden" name="tab" value="sharing" />
<input type="hidden" name="cmd" value="remove" />
<input type="submit" name="unshare_button" value="<?_("Unshare")>" />
+ <a href="javascript:NetworkSynchronizeRoom('<?CONTEXTSTRARR(#"GNET_IGNET_NODE", "X")>')"><img src="static/webcit_icons/essen/16x16/refresh.png" alt='<?_("resend messages to this node")>' width="16" height="16"></a>
<script type="text/javascript">
<?#("if we already have this room, you can't add it anymore.")>
remove_something('ignet_share_node_add__<?CONTEXTSTRARR(#"GNET_IGNET_NODE", "U")>', "hidden");
<?_("If the remote room name is blank, it is assumed that the room name is identical on the remote node.")>
</li> <li>
<?_("If the remote room name is different, the remote node must also configure the name of the room here.")>
+ </li> <li>
+ (<img src="static/webcit_icons/essen/16x16/refresh.png" alt='<?_("resend messages to this node")>' width="16" height="16">)<?_("Re-sharing may stress your system and produce large spoolfiles that need to be transmitted; All messages in this room not originating from this node are re-spooled and re-sent with the next networker run.")>
</li>
</ul></div>
</div>
});
}
+function NetworkSynchronizeRoom(NodeName)
+{
+ var p;
+
+ p= encodeURI('g_cmd=NSYN ' + NodeName);
+ new Ajax.Request('ajax_servcmd', {
+ method: 'post',
+ parameters: p,
+ onComplete: function(transport) { ajax_important_message(transport.responseText.substr(4));}
+ });
+}
function ToggleVisibility ($Which)
{
if (document.getElementById)