This question has been answered by neoziox. See the first response.
[ed. note: neoziox last edited this post 8 years, 9 months ago.]
<?php if($content['template'] == 11 && $content['published'] == 1) { ?>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><i class="fa fa-facebook-official fa-2x" aria-hidden="true"></i></td>
</tr>
<tr>
<td>Facebook Publication:</td>
<td><a href="/my-page.html?id=<?= $_REQUEST['id'] ?>" target="_blank">Publish</a></td>
</tr>
<?php } ?>I found a solution. Maybe not very clean, but very efficient.
I modified the file /manager/actions/document_data.static.php adding this (line 383):
<!--?php if($content['template'] == 11) { ?--> <i class="fa fa-facebook-official fa-2x" aria-hidden="true"></i> Facebook Publication: <a href="#" target="_blank">Publish</a> <!--?php } ?-->
)