Commit d517ca3a4ca17271e16708cbe6d8381912f16988
1 parent
4f5a2f94
KTC-227
"Widget broken" Fixed. Html tags are now interpreted properly on the conditional metadata admin page. Committed By: Jonathan Byrne Reviewed By: Jalaloedien Abrahams git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8090 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
3 deletions
plugins/ktcore/admin/fieldsets/conditional.inc.php
| ... | ... | @@ -111,12 +111,15 @@ class ConditionalFieldsetManagementDispatcher extends BasicFieldsetManagementDis |
| 111 | 111 | // now prep for the warnings. |
| 112 | 112 | if ($this->oMasterfield) { |
| 113 | 113 | if (!empty($this->aFreeFields)) { |
| 114 | - $this->addErrorMessage(_kt("All fields must be assigned to an order in the conditional system. To correct this, please use the \"manage field ordering\" link below. <strong>This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.</strong>")); | |
| 114 | + $this->addErrorMessage(_kt("Al fields must be assigned to an order in the conditional system. To correct this, please use the \"manage field ordering\" link below. <b>This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.</b>")); | |
| 115 | + $this->oPage->booleanLink = true; | |
| 115 | 116 | } else if ($this->bIncomplete) { |
| 116 | - $this->addErrorMessage(sprintf(_kt("This fieldset is incomplete: %s <strong>This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.</strong>"), $sIncomplete)); | |
| 117 | + $this->addErrorMessage(sprintf(_kt("This fieldset is incomplete: %s <b>This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.</b>"), $sIncomplete)); | |
| 118 | + $this->oPage->booleanLink = true; | |
| 117 | 119 | } |
| 118 | 120 | } else { |
| 119 | - $this->addErrorMessage(_kt("A conditional fieldset must have a master field before it can be used. To correct this, please use the \"manage field ordering\" link below. <strong>This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.</strong>")); | |
| 121 | + $this->addErrorMessage(_kt("A conditional fieldset must have a master field before it can be used. To correct this, please use the \"manage field ordering\" link below. <b>This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.</b>")); | |
| 122 | + $this->oPage->booleanLink = true; | |
| 120 | 123 | } |
| 121 | 124 | |
| 122 | 125 | } | ... | ... |