Commit 9e80560d4e23bd8f0aec210eb128fa4e5ba728be
1 parent
950944db
no message
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1420 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
0 additions
and
21 deletions
presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/removeDocFieldUI.inc
| ... | ... | @@ -34,10 +34,6 @@ function getDeletePage($fDocFieldID) { |
| 34 | 34 | $sToRender .= "<td>" . getDocFieldDataType($oDocField) . "</td>\n"; |
| 35 | 35 | $sToRender .= "</tr>\n"; |
| 36 | 36 | $sToRender .= "<tr>\n"; |
| 37 | - $sToRender .= "<td>" . getIsGenericCheckBox($oDocField) . "</td>\n"; | |
| 38 | - $sToRender .= "</tr>\n"; | |
| 39 | - $sToRender .= "<tr>\n"; | |
| 40 | - $sToRender .= "<td>" . getHasLookupCheckBox($oDocField) . "</td>\n"; | |
| 41 | 37 | $sToRender .= "</tr>\n"; |
| 42 | 38 | $sToRender .= "<tr>\n"; |
| 43 | 39 | $sToRender .= "</tr>\n"; |
| ... | ... | @@ -124,24 +120,7 @@ function getDocFieldDataType($oDocField) { |
| 124 | 120 | |
| 125 | 121 | } |
| 126 | 122 | |
| 127 | -// show check box | |
| 128 | -function getIsGenericCheckBox($oDocField) { | |
| 129 | - if (!isset($oDocField)) { | |
| 130 | - return ""; | |
| 131 | - } else { | |
| 132 | - return "Is Generic: </td><td> <input type=\"checkbox\" name=\"fDocFieldIsGeneric\" " . ($oDocField->getIsGeneric() ? "CHECKED " : " ") . " />"; | |
| 133 | - } | |
| 134 | -} | |
| 135 | 123 | |
| 136 | -// show text box | |
| 137 | -function getHasLookupCheckBox($oDocField) { | |
| 138 | - if (!isset($oDocField)) { | |
| 139 | - return ""; | |
| 140 | - } else { | |
| 141 | - return "Has Lookup: </td><td><input type=\"checkbox\" name=\"fDocFieldHasLookup\" " . ($oDocField->getHasLookup() ? "CHECKED " : " ") . " />"; | |
| 142 | - } | |
| 143 | - | |
| 144 | -} | |
| 145 | 124 | |
| 146 | 125 | // show delete button |
| 147 | 126 | function getDeleteButton($oDocField) { | ... | ... |