Commit 41021df2 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1285 - Support messages are not listed for the client under Help >...

Fixed: FS#1285 - Support messages are not listed for the client under Help > Support > View messages 
parent f95b0e3d
......@@ -62,7 +62,7 @@ $form["tabs"]['message'] = array (
'validators' => array ( 0 => array ( 'type' => 'ISINT',
'errmsg'=> 'recipient_id_is_not_integer'),
'value' => array(1 => 'Administrator')
'value' => ($_SESSION['s']['user']['typ'] != 'admin')?array(1 => 'Administrator'):''
'sender_id' => array (
'datatype' => 'INTEGER',
......@@ -7,20 +7,13 @@
<fieldset class="inlineLabels"><legend>Message</legend>
<div class="ctrlHolder">
<label for="subject">{tmpl_var name='subject_txt'}</label>
<input name="subject" id="subject" value="{tmpl_var name='subject'}" size="30" maxlength="255" type="text" class="textInput" />
<p>{tmpl_var name='subject'}</p>
<div class="ctrlHolder">
<label for="message">{tmpl_var name='message_txt'}</label>
<textarea name="message" id="message" rows='10' cols='30'>{tmpl_var name='message'}</textarea>
<p>{tmpl_var name='message'}</p>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
<div class="buttonHolder buttons">
<button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','help/support_message_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('help/support_message_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment