diff --git a/include/application.php b/include/application.php index 4112c0b..2a1a704 100644 --- a/include/application.php +++ b/include/application.php @@ -1439,6 +1439,11 @@ class Application { return $iCount; } + public static function objectAllowMovingToNewParent() + { + return TRUE; + } + public static function allowAnonymousSubmissions() { return FALSE; diff --git a/include/objectManager.php b/include/objectManager.php index 4235279..3af090c 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -921,7 +921,8 @@ class ObjectManager $sClassDisplayName = $oParentOM->GetOptionalSetting('objectGetClassDisplayName', 'parent entry'); - echo '

Create and move to a new $sClassDisplayName

\n"; + if($this->GetOptionalSetting('objectAllowMovingToNewParent', false)) + echo '

Create and move to a new $sClassDisplayName

\n"; /* Display some help text */ echo "

Move ".$oObject->objectMakeLink()." to the $sClassDisplayName ";