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>