17.01.2015, 22:04
zobacz tak postbit_moderator_edit
Kod PHP:
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}">Edytuj post</a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div>
<div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div>
<div class="popup_item_container"><a href="modnotice.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_post_moderate}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
$("#edit_post_{$post['pid']}").popupMenu();
}
// -->
</script>