objectManager: Show reply text when users edit their own entries
This commit is contained in:
@@ -416,10 +416,6 @@ class ObjectManager
|
|||||||
|
|
||||||
$this->oObject = $oObject;
|
$this->oObject = $oObject;
|
||||||
|
|
||||||
/* if this is a queue add a dialog for replying to the submitter of the
|
|
||||||
queued entry */
|
|
||||||
if($this->getIsQueue() || ($oObject->objectGetSubmitterId() && $oObject->objectGetSubmitterId() != $_SESSION['current']->iUserId))
|
|
||||||
{
|
|
||||||
/* If it isn't implemented, that means there is no default text */
|
/* If it isn't implemented, that means there is no default text */
|
||||||
$sDefaultReply = $this->getOptionalSetting("getDefaultReply", "");
|
$sDefaultReply = $this->getOptionalSetting("getDefaultReply", "");
|
||||||
|
|
||||||
@@ -477,18 +473,6 @@ class ObjectManager
|
|||||||
echo '</td></tr>',"\n";
|
echo '</td></tr>',"\n";
|
||||||
echo '</table>';
|
echo '</table>';
|
||||||
echo html_frame_end();
|
echo html_frame_end();
|
||||||
} else
|
|
||||||
{
|
|
||||||
// display the move children entry
|
|
||||||
$this->displayMoveChildren($oObject);
|
|
||||||
|
|
||||||
echo '<tr valign=top><td class=color3 align=center colspan=2>',"\n";
|
|
||||||
echo '<input name="sSubmit" type="submit" value="Submit" class="button">'.
|
|
||||||
' ',"\n";
|
|
||||||
echo '<input name="sSubmit" type="submit" value="Delete" class="button">'."\n";
|
|
||||||
$this->handle_preview_button();
|
|
||||||
echo "</td></tr>\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user