From 8e4d7a531b57ed7fa18a8fe0dd29eebdb528b9b3 Mon Sep 17 00:00:00 2001 From: Brad Shuttleworth Date: Mon, 24 Apr 2006 08:54:48 +0000 Subject: [PATCH] Bryn Divey 2006-04-24 Changed subscriptions to include full pathname and... Bryn Divey 2006-04-21 Added document title to version comparison. Change... Bryn Divey 2006-04-21 Fixed the error message displayed when an existing... Bryn Divey 2006-04-21 Removed upload thingie to merge Bryn Divey 2006-04-21 Allowing checkin with different filename Bryn Divey 2006-04-21 Rename on upload Bryn Divey 2006-04-20 Fixed the lookup tree display in IE --- lib/dashboard/Notification.inc.php | 4 +--- lib/documentmanagement/MDTree.inc | 17 ++++++++++++----- lib/documentmanagement/documentutil.inc.php | 51 ++++++++++++++++++++++++++++++++------------------- lib/subscriptions/subscriptions.inc.php | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------- lib/widgets/fieldsetDisplay.inc.php | 7 +++++-- plugins/ktcore/KTDocumentActions.php | 37 ++++++++++++++++++++++++++++++++++--- plugins/ktcore/admin/documentFields.php | 6 +++--- plugins/ktcore/folder/addDocument.php | 9 ++++++++- resources/css/kt-framing.css | 11 +++++++++++ resources/css/kt-ie-icons.css | 29 ++++++++++++++++++++++++++++- templates/kt3/fieldsets/generic_versioned.smarty | 18 +++++++++++++----- templates/kt3/fieldsets/simple_versioned.smarty | 2 +- templates/kt3/notifications/subscriptions.AddDocument.smarty | 3 ++- templates/kt3/notifications/subscriptions.AddFolder.smarty | 5 +++-- templates/kt3/notifications/subscriptions.CheckInDocument.smarty | 3 ++- templates/kt3/notifications/subscriptions.CheckOutDocument.smarty | 3 ++- templates/kt3/notifications/subscriptions.ModifyDocument.smarty | 3 ++- templates/kt3/notifications/subscriptions.MoveDocument.smarty | 3 ++- templates/kt3/notifications/subscriptions.RemoveChildDocument.smarty | 3 ++- templates/kt3/notifications/subscriptions.RemoveChildFolder.smarty | 3 ++- templates/kt3/notifications/subscriptions.RemoveSubscribedDocument.smarty | 3 ++- templates/kt3/notifications/subscriptions.RemoveSubscribedFolder.smarty | 3 ++- 22 files changed, 221 insertions(+), 106 deletions(-) diff --git a/lib/dashboard/Notification.inc.php b/lib/dashboard/Notification.inc.php index 1027665..2b7fae4 100644 --- a/lib/dashboard/Notification.inc.php +++ b/lib/dashboard/Notification.inc.php @@ -138,9 +138,7 @@ class KTNotificationHandler { function handleNotification($oKTNotification) { $oTemplating =& KTTemplating::getSingleton(); $oTemplate = $oTemplating->loadTemplate("kt3/notifications/generic"); - $aTemplateData = array( - "context" => $oKTNotification, - ); + $aTemplateData = array("context" => $oKTNotification,); return $oTemplate->render($aTemplateData); } diff --git a/lib/documentmanagement/MDTree.inc b/lib/documentmanagement/MDTree.inc index d1b8228..e57a371 100644 --- a/lib/documentmanagement/MDTree.inc +++ b/lib/documentmanagement/MDTree.inc @@ -268,8 +268,11 @@ class MDTree { $extraclass = ''; if (array_key_exists($subnode_val, $this->activenodes)) { $extraclass = ' active'; - } - $treeStr .= '
  • ' . $treeToRender->mapnodes[$subnode_val]->getName() . 'Root'; + } else { + $extraclass = ' inactive'; + } + + $treeStr .= '
  • ' . $treeToRender->mapnodes[$subnode_val]->getName() . 'Root'; $treeStr .= $this->_evilTreeRecursion($subnode_val, $treeToRender, $inputname); $treeStr .= '
  • '; } @@ -300,7 +303,7 @@ class MDTree { // $treeStr .= print_r($this->activenodes,true); // the inner section is generised. - //$treeStr .= '