Commit 6ca41b4f6b79bb4d1366d31f34abb7dd690c3c56
1 parent
c1285731
Some tweaking
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2190 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
6 additions
and
2 deletions
presentation/lookAndFeel/knowledgeTree/administration/groupmanagement/assignGroupToUnitUI.inc
| ... | ... | @@ -235,7 +235,11 @@ function getAssignButton($oGroup) { |
| 235 | 235 | // show button after group selected |
| 236 | 236 | function getCancelButton($oGroup) { |
| 237 | 237 | global $default; |
| 238 | - return "<td align = right><a href=\"$default->rootUrl/control.php?action=listGroups\"><img src =\"$default->graphicsUrl/widgets/cancel.gif\" border = \"0\" /></a></td>\n"; | |
| 238 | + if ($oGroup){ | |
| 239 | + return "<td align = right><a href=\"$default->rootUrl/control.php?action=editGroupUnit&fGroupID=" . $oGroup->getID() . "\"><img src =\"$default->graphicsUrl/widgets/cancel.gif\" border = \"0\" /></a></td>\n"; | |
| 240 | + } else { | |
| 241 | + return "<td align = right><a href=\"$default->rootUrl/control.php?action=listGroups\"><img src =\"$default->graphicsUrl/widgets/cancel.gif\" border = \"0\" /></a></td>\n"; | |
| 242 | + } | |
| 239 | 243 | } |
| 240 | 244 | |
| 241 | 245 | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/websitemanagement/listWebsitesBL.php
| ... | ... | @@ -29,7 +29,7 @@ if (checkSession()) { |
| 29 | 29 | if(checkSession()) { |
| 30 | 30 | global $default; |
| 31 | 31 | |
| 32 | - $oPatternCustom->addHtml(renderHeading("Link Management")); // Create the Heading | |
| 32 | + $oPatternCustom->addHtml(renderHeading("Website Management")); // Create the Heading | |
| 33 | 33 | |
| 34 | 34 | $main->setFormAction($_SERVER['PHP_SELF']); |
| 35 | 35 | ... | ... |