Source: site.view [edit]
Function name: delete
Arguments: funcname
Description: Deletes a WubHub command
Page type: webl
Render function:  
Module: site

Page source:

var finfo = Wub_GetFunctionInfo(funcname);
var s;
if (finfo == nil) then
   s = "<b>Delete: function '" + funcname + "' not found.</b>"
else
   var f = finfo.module + "." + finfo.name;

   s = `
      <h2>Are you sure you want to <b>delete  '` + f + `'?</b></h2>

   <ul>
   <a href="/webl/WubHub_DeleteFunction?name=` + f + `">[YES - DELETE]</a>
     &nbsp;
   <a href="/webl/WubHub_DoIt?cmdline=home">[NO - CANCEL]</a>
   </ul>`
end;
NewPiece(s, "text/html");