initializing git repo
This commit is contained in:
commit
3df8fc53b8
86 changed files with 5649 additions and 0 deletions
22
pages/show_part_delete_part.php
Executable file
22
pages/show_part_delete_part.php
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
if (UserHasRight('EditParts'))
|
||||
{
|
||||
global $GlobalMysqlHandler;
|
||||
global $PartId;
|
||||
global $Part;
|
||||
|
||||
$GlobalContent .= "<h1>".LangSpellHtml('SentenceShureToDeletePart')."</h1>";
|
||||
$GlobalContent .= "<strong>".$Part['Name']."</strong> ".$Part['ShortDesc']."<br><br>\n";
|
||||
$GlobalContent .= '<form action="index.php?Page=PartsByType&ToDo=ToggleTypeSelectorVisibility&SublistId='.$Part['TypeId'].'" method="post">';
|
||||
$GlobalContent .= '<input type="hidden" name="DeletePartId" value="'.$PartId.'">';
|
||||
$GlobalContent .= LangSpellHtml('SentenceShureToDeletePart').': <input type="checkbox" name="DeletePartShure" value="True">';
|
||||
$GlobalContent .= ' <input type="submit" value="'.LangSpellHtml('ButtonProceed').'">';
|
||||
$GlobalContent .= '</form>';
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageError(LangSpell("ScentenceNoUserRights"));
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue