there is a contrib module admin_links that does this - is this helpful in some way?<br><br><div class="gmail_quote">On Thu, Jun 11, 2009 at 4:52 PM, Michael Favia <span dir="ltr"><<a href="mailto:michael@favias.org">michael@favias.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Llu¨ªs wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I need to add a "delete" tab for some content types, but I can't<br>
figure out what 'file' should be; if I use "drupal_get_path('module',<br>
'node').'/node.pages.inc'" I get<br>
'sites/all/modules/my_module/node/node.pages.inc'<br>
<br>
</blockquote></div>
Wrote this functioning patch to promote delete to a MENU_LOCAL_TASK for D7 but was eventually shot down by webchick over concerns that the usability work of Mark and Leisa might eventually take us in another direction. I disagree with holding up real world patches that fix existing bugs (sufficiently privileged users cant delete their content if the don't also have edit permission) and make incremental improvements because someones ideas (not code) for the future MIGHT disagree with it. My next step was to introduce modal popups for confirmations and ditch the page reloads for "Are you sure?" If you think this would be useful or an improvement your voice would be appreciated on the issue. <a href="http://drupal.org/node/196758" target="_blank">http://drupal.org/node/196758</a> -mf<br>
</blockquote></div><br><br clear="all"><br>-- <br>"§¦§ã§ä§î §é§ä§à-§ä§à §Ò§à§Ý§Ö§Ö §Ó§Ñ§Ø§ß§à§Ö, §é§Ö§Þ §Ó§Ý§Ñ§ã§ä§î §Ú§Ý§Ú §ã§Ú§Ý§Ñ. §¦§ã§ä§î §Ö§ë§× §ß§Ñ §ã§Ó§Ö§ä§Ö §§ð§Ò§à§Ó§î..." - §³§Ó§Ö§ä§Ý§Ñ§ß§Ñ §Õ§Ö §²§à§Ô§Ñ§ß-§§Ö§Ó§Ñ§ê§à§Ó§Ñ - <a href="http://levashov.info">http://levashov.info</a><br>