|
From: OryNider <ory...@us...> - 2008-03-13 00:43:15
|
Update of /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19578 Modified Files: functions_tools.php Log Message: <b> -> [b] in mx_mod Index: functions_tools.php =================================================================== RCS file: /cvsroot/mxbb/mx_mod_core/root/mx_mod/includes/functions_tools.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functions_tools.php 12 Mar 2008 23:11:23 -0000 1.2 --- functions_tools.php 13 Mar 2008 00:43:08 -0000 1.3 *************** *** 2036,2052 **** //$this->temp_url = PORTAL_URL . this_kb_mxurl("mode=" . "article&k=" . $this->data['item_id'], false, true); ! $this->auto_message = "<br />[b]" . $this->langs['item_title'] . ":[/b] " . $this->data['item_title'] . "<br />"; ! $this->auto_message .= "[b]" . $this->langs['author'] . ":[/b] " . $this->data['item_author'] . "<br />"; ! $this->auto_message .= "[b]" . $this->langs['item_description'] . ":</b> [i]" . $this->data['item_desc'] . "[/i]<br />"; ! ! if ($action != MX_DELETED_NOTIFICATION) { ! $this->auto_message .= "<br />[b][URL=" . $this->temp_url . "]" . $this->langs['read_full_item'] . "[/URL][/b]"; } ! // ! // Update message ! // ! $this->auto_message_update = "<br /><i>" . $this->langs['edited_item_info'] . $this->data['item_editor'] . "</i>" . "<br />"; // --- 2036,2070 ---- //$this->temp_url = PORTAL_URL . this_kb_mxurl("mode=" . "article&k=" . $this->data['item_id'], false, true); ! if (!$this->html_on) { ! $this->auto_message = "\n[b]" . $this->langs['item_title'] . ":[/b] " . $this->data['item_title'] . "\n"; ! $this->auto_message .= "[b]" . $this->langs['author'] . ":[/b] " . $this->data['item_author'] . "\n"; ! $this->auto_message .= "[b]" . $this->langs['item_description'] . ":[/b] [i]" . $this->data['item_desc'] . "[/i]\n"; ! ! if ($action != MX_DELETED_NOTIFICATION) ! { ! $this->auto_message .= "\n[b][URL=" . $this->temp_url . "]" . $this->langs['read_full_item'] . "[/URL][/b]"; ! } ! // ! // Update message ! // ! $this->auto_message_update = "\n[i]" . $this->langs['edited_item_info'] . $this->data['item_editor'] . "[/i]" . "\n"; } + else + { + $this->auto_message = "<br /><b>" . $this->langs['item_title'] . ":</b> " . $this->data['item_title'] . "<br />"; + $this->auto_message .= "<b>" . $this->langs['author'] . ":</b> " . $this->data['item_author'] . "<br />"; + $this->auto_message .= "<b>" . $this->langs['item_description'] . ":</b> <i>" . $this->data['item_desc'] . "</i><br />"; ! if ($action != MX_DELETED_NOTIFICATION) ! { ! $this->auto_message .= "<br /><b><a href=\"" . $this->temp_url . "\">" . $this->langs['read_full_item'] . "</a></b>"; ! } ! ! // ! // Update message ! // ! $this->auto_message_update = "<br /><i>" . $this->langs['edited_item_info'] . $this->data['item_editor'] . "</i>" . "<br />"; ! } // |