Commit 6ca41b4f6b79bb4d1366d31f34abb7dd690c3c56

Authored by omar
1 parent c1285731

Some tweaking


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2190 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/groupmanagement/assignGroupToUnitUI.inc
@@ -235,7 +235,11 @@ function getAssignButton($oGroup) { @@ -235,7 +235,11 @@ function getAssignButton($oGroup) {
235 // show button after group selected 235 // show button after group selected
236 function getCancelButton($oGroup) { 236 function getCancelButton($oGroup) {
237 global $default; 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,7 +29,7 @@ if (checkSession()) {
29 if(checkSession()) { 29 if(checkSession()) {
30 global $default; 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 $main->setFormAction($_SERVER['PHP_SELF']); 34 $main->setFormAction($_SERVER['PHP_SELF']);
35 35