Commit 9d3d9167350a97c6119a342649da465b83d3d4b6

Authored by bshuttle
1 parent 3aea2a61

KTS-748: improved message on doctype change.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5309 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
edit.php
... ... @@ -184,7 +184,7 @@ class KTEditDocumentDispatcher extends KTStandardDispatcher {
184 184 $this->errorRedirectToMain(_kt("Invalid type selected."));
185 185 }
186 186  
187   - $_SESSION['KTInfoMessage'][] = _kt('Document Type Changed. Please review the information below, and update as appropriate.');
  187 + $this->addInfoMessage(sprintf(_kt('You have selected a different document type (%s). Please review the information below, and save changes to the metadata once you are satisfied.'), $oType->getName()));
188 188 $_REQUEST['setType'] = $newType;
189 189  
190 190 return $this->do_main($newType);
... ...