Problem mit gesendeten PNs

11.12.2011 13:22
#1 Problem mit gesendeten PNs
avatar
Mitglied

Hi, hab das Problem das meinen Mitglieder bei uns die gesendeten Mails speichern wollen -dauerhaft.
Nur leider ist das bei uns nicht möglich da man das bei jeder PN erst manuell einstellen muss!

Was doch mal schnell vergessen wird!

Könntet ihr mir mal helfen wie,wo ich das einstellen kann das es IMMER Aktiv ist!?! Gerade da wir jetzt Händler bei uns mit in Forum nehmen möchte ich das doch gern das diese Funktion auch bei uns im Forum geht!!!


 Antworten

 Beitrag melden
11.12.2011 13:46
#2 RE: Problem mit gesendeten PNs
avatar
Mitglied
Mit freundlichen Grüssen
Gabriella

http://www.musengarten.com/
http://www.garten-der-poesie.de/

Layout: Business

 Antworten

 Beitrag melden
11.12.2011 14:30
#3 RE: Problem mit gesendeten PNs
avatar
Mitglied

der Tipp ist gut .. nur bin ich zu doof dazu???

kann man das nicht einfach irgendwo "anklicken" oder seinen hacken setzen???

Bitte helft mir mal SICHER weiter!



bin auf Template gegangen und nun????



das ProSilver ist aktiv aber wenn ich auf Kopie anlegen klicke ist da nichts drin! ... und HTML Kenntnisse hab ich nicht


 Antworten

 Beitrag melden
11.12.2011 15:37
avatar  Sachse
#4 RE: Problem mit gesendeten PNs
avatar
Mitglied

Klicke auf aktivieren und dann auf edit ,dann kannst Du es bearbeiten
Siehe Screenshot

LG Sachse
Wenn nicht anders kenntlich gemacht, dann entspricht alles was ich hier schreibe selbstredend meiner persönlichen Meinung und erhebt keinen Anspruch auf Allgemeingültigkeit!

Mehr unter:
http://www.gartenfreunde-pirna.de/


 Antworten

 Beitrag melden
11.12.2011 18:34
#5 RE: Problem mit gesendeten PNs
avatar
Mitglied

:D danke

ABER es geht nicht :(

hier mein Code:
siehe ROT
dann gespeichert.... nicht passiert :/

<h2>{[pm_new_title]}</h2>
<form method="POST" action="{{form_link}}" name="sendmail" onSubmit="return chkFormular()">

{{preview==true.start}}
<div class="post bg2" id="preview">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody">
<h3>{[new_preview_title]} - {[pm_preview_title]}</h3>
<div class="content">{{pm_parsed_text}}</div>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>

<hr />

{{preview==true.end}}
<style>
<body { z-index:1 }
</style>
<script language="Javascript">

var send = true;

/*add the indexOf-Method for IE */
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i<this.length; i++){
if(this[i]==obj){
return i;
}
}
return -1;
}
}

{{moreuser==true.start}}
{{first.start}}1{{first.end}}
var recipients = [
{{touser.startlist}}{{first==false.start}},{{first==false.end}}{{touser:id}}
{{first.start}}0{{first.end}}
{{lastid.start}}{{touser:id}}{{lastid.end}}
{{touser.end}}];
var rec_id={{lastid}};

{{moreuser==true.else}}
var recipients = [1];
var rec_id=1;
{{moreuser==true.end}}

var rec_count=recipients.length;
var rec_limit=false
var input_shown=true;
if (rec_count >= {{max_recipients}}){rec_limit = true; input_shown=false;}

function chkFormular() {
if (send) {}
else {return false;}

if(document.sendmail.title.value == "") {
alert("{[pm_error_subject]}");
document.sendmail.title.focus();
return false;
}
if(document.sendmail.text.value == "") {
alert("{[pm_error_body]}");
document.sendmail.text.focus();
return false;
}



try{
span = document.getElementById('errorspan');
rec = recipients[recipients.length-1];
inp = document.getElementById('username_'+rec);
alert(inp.value +" "+ span.innerHTML);


document.getElementById('username_'+rec).focus();
return false;
}
catch(err){/*span doesn't exist, so there's no error*/}

if(recipients.length==1) {
rec = recipients[0];
/*theres only 1 recipient, check if it is an empty input field*/

inp = document.getElementById('username_'+rec);
if(inp.value==""){alert("{[pm_error_to]}");inp.focus(); return false;}
}
}
function createRequestObject() {
var ro;
var browser = navigator.appName;
if(browser == "Microsoft Internet Explorer"){
ro = new ActiveXObject("Microsoft.XMLHTTP");
}else{
ro = new XMLHttpRequest();
}
return ro;
}
var http = createRequestObject();
function fixedEncodeURIComponent (str) {
/*escapes all special chars and ! ' ( ) * */
return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/\*/g, '%2A');
}

function tousers(id) {
val = fixedEncodeURIComponent(document.getElementById('username_'+id).value);
window.setTimeout("tousersnow('"+val+"','"+id+"')", 100);
}

function tousersnow(tempusername,id) {

if(tempusername.length>0 && fixedEncodeURIComponent(document.getElementById('username_'+id).value) == tempusername) {
http.open('get', '{{ajax_prefix}}' + tempusername);
http.onreadystatechange = function(){
handleResponse(id);
}
http.send(null);
} else {
document.getElementById('touser_'+id).innerHTML = '';
document.getElementById('touser_'+id).style.display = 'none';
}
}

function settouser(username,id) {

if(navigator.appName == 'Microsoft Internet Explorer'){username = escape(username);} //IE braucht hier noch ein 'escape' - andere Browser sehen das als Fehler...
username = decodeURIComponent(username);

users = document.getElementById('recipients');
cur = document.getElementById('touser_'+id+'_dd');
cur.parentNode.removeChild(cur);

input_shown=false;

newinput = document.createElement("input");
newinput.id = 'touser_'+id+'_input';
newinput.type = 'hidden';
newinput.name = 'name[]';
newinput.value = username;

newdiv = document.createElement("dd");
newdiv.id = 'touser_'+id+'_dd';
newdiv.style.marginBottom = '0px';
newdiv.innerHTML = "<span class='userDiv'>"+username+"<a href='javascript:void(0);' onclick='remRecipient("+id+");'>&nbsp;&nbsp;X</a></span>";
newdiv.appendChild(newinput);

users.appendChild(newdiv);

checkAddButton(id);
if(rec_limit){document.getElementById('pm_subject_inp').focus();}

}
function remRecipient(id){
rec = document.getElementById('touser_'+id+'_dd');
rec.parentNode.removeChild(rec);


var index = recipients.indexOf(id);
recipients.splice(index, 1);

if(recipients.length == 0){addRecipient();}
if(rec_limit){rec_limit = false;}

checkAddButton()

}

function addRecipient(){
recs = document.getElementById('recipients');


rec_id++;
recipients.push(rec_id);
if (recipients.length>={{max_recipients}}){rec_limit=true;}



var newdiv = document.createElement("dd");
newdiv.id = 'touser_'+rec_id+'_dd';
newdiv.width = "80%";
var inner="";
if(recipients.length > 1){inner = '<div style="clear:both;"></div><br/>';}
inner = inner+'<input style="width:80%" type="text" name="name[]" value="" onKeyUp="javascript:tousers(\''+rec_id+'\')" id="username_'+rec_id+'" class="inputbox" autocomplete="off" />'+
'<div id="touser_'+rec_id+'" style="display:none; padding: 5px 10px; border: 2px solid {{global_line_color}};"></div>';
newdiv.innerHTML = inner;
recs.appendChild(newdiv);
input_shown=true;
document.getElementById('addmore').style.display="none";
document.getElementById('username_'+rec_id).focus();
}

function checkAddButton(){
try{addbutton = document.getElementById('addmore');
addbutton.style.display = 'none';
addbutton.parentNode.removeChild(addbutton);
}
catch(err){
addbutton = document.createElement("span");
addbutton.id='addmore';
addbutton.style.margin = '0px 0px 0px 20px';
addbutton.innerHTML = "<a href='javascript:void(0);' onclick='addRecipient();' style='text-decoration: none;'><img src='https://files.homepagemodules.de/b2001010/a_635.png' style='vertical-align: middle; margin-right:5px;'/><small>{[pm_addRecipiant]}</small></a>";
}

lastid = recipients[recipients.length-1];
lastuser = document.getElementById('touser_'+lastid+'_dd');
lastuser.appendChild(addbutton);

if (!rec_limit && !input_shown){addbutton.style.display = 'inline';}

}




function handleResponse(id){
if(http.readyState == 4){
var response = http.responseText;
var users = eval('('+response+')');
if(!response){
document.getElementById('touser_'+id).innerHTML='';
document.getElementById('touser_'+id).style.display = 'none';
}
else if(users && users.length > 0){
var out = '<span><b><small>{{pm_to_suggestion}}</small></b>';
var tr = '';
for (var i = 0; i < users.length; i++) {
out += tr + '<a style="text-decoration: none;" href="javascript:settouser(' + "'" + encodeURIComponent(users[i]).replace(/\'/, "\\\'" ) + "'" + ','+"'"+id+"'"+')">' + users[i] + '</a>';
tr = ', ';
}
document.getElementById('touser_'+id).innerHTML = out+'<small><b>?</b></small></span>';
document.getElementById('touser_'+id).style.display = '';
}
else {
if(document.getElementById('username_'+id).value != ''){
document.getElementById('touser_'+id).innerHTML = '<span class=\"error\"><img src=\"{{global_alert}}\" style=\"vertical-align: middle; margin-right: 3px; border: none;\" /><small><b>"'+decodeURIComponent(document.getElementById('username_'+id).value)+'..." <span id="errorspan">{[pm_to_suggestion_na]}</span></b></small></span>';
document.getElementById('touser_'+id).style.display = '';
}
else {
document.getElementById('touser_'+id).innerHTML = '';
}
}
}
}


var reply_quote = "{{reply_quote}}";
</script>
<style type="text/css">
.userDiv{-moz-border-radius:3px 3px 3px 3px;
border:1px solid #CCCCCC;
float:left;
font-weight:bold;
margin:0 5px 3px 0;
padding:3px 10px;}
</style>
<span id='addmore' style='display:none; margin-left: 20px;'><a href="javascript:void(0);" onclick="addRecipient();" style="text-decoration: none;"><img src='https://files.homepagemodules.de/b2001010/a_635.png' style='vertical-align: middle; margin-right: 5px;'/><small>{[pm_addRecipiant]}</small></a></span>

{{single_user_input.start}}
<dl id="recipients" style="clear: left;">
<dt><label>{[pm_to]}</label></dt>
<dd id="touser_1_dd"><input style="width:100%" type="text" name="name[]" size="40" value="{{to_user}}" onKeyUp="javascript:tousers(1)" id="username_1" class="inputbox autowidth" autocomplete="off">
<div id="touser_1" style="display:none" class="panel bg1"></div>
</dd>
</dl>

{{single_user_input.end}}


<div class="panel" id="postingbox">
<div class="inner"><span class="corners-top"><span></span></span>
<fieldset class="fields1">

{{datasubmited==true.start}}
{{moreuser==true.start}}
<dl id="recipients" style="clear: left;">
<dt><label>{[pm_to]}</label></dt>
{{touser.startlist}}
<dd id='touser_{{touser:id}}_dd' style="margin-bottom:0px" width="100%">
<span class='userDiv'>{{touser:name}} <a href='javascript:void(0);' onclick='remRecipient({{touser:id}});'>&nbsp;&nbsp;X</a></span>
<input style="width:80%" type="hidden" name="name[]" value="{{touser:name}}" onKeyUp="javascript:tousers({{touser:id}})" id="username_{{touser:id}}" />
</dd>
{{nextid.startint}}{{touser:id}}+1{{nextid.end}}
{{touser.end}}
</dl>
<script type="text/javascript">
checkAddButton();
</script>

{{nextid<=max_recipients.start}}
<script type="text/javascript">document.getElementById('addmore').style.display='inline';</script>
{{nextid<=max_recipients.end}}


{{moreuser==true.else}}
{{single_user_input}}
{{moreuser==true.end}}
{{datasubmited==true.else}}
{{single_user_input}}
{{datasubmited==true.end}}






<dl style="clear: left;">
<dt><label for="subject">{[pm_subject]}</label></dt>
<dd><input id="pm_subject_inp" type="text" name="title" maxlength="60" value="{{pm_title}}" class="inputbox autowidth" size="48"></dd>
</dl>
<div id="smiley-box">
{{iconbar}}
</div>
<div id="message-box">
<script type="text/javascript" >miranus_add_iconbar_textarea('messagetext');</script>
<textarea rows="10" name="text" cols="50" style="width:100%" id="messagetext" class="inputbox">{{pm_text}}</textarea>
</div>
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel bg2">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>{[pm_options]}</h3>
<fieldset class="submit-buttons">
<label><input type="checkbox" name="options[readreceipt]" value="1" {{pm_options_receipt==true.start}}checked="checked"{{pm_options_receipt==true.end}} > {[pm_options_receipt]}</label>
<label><input checked type="checkbox" name="options[outbox]" value="1" {{pm_options_outbox==true.start}}checked="checked"{{pm_options_outbox==true.end}}> {[pm_options_save]}</label>
<input type="submit" value="{[pm_new_submit]}" name="send" class="button1">
<input type="submit" value="{[pm_preview_submit]}" name="preview" class="button1">
</fieldset>

<span class="corners-bottom"><span></span></span></div>
</div>
</form>



{{reply==true.start}}
<h3 id="review">{[pm_reply_title]}</h3>
<div id="topicreview">
<div class="post bg1">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody">
<h3>{{reply_title}}</h3>
<p class="author">{[thread_of_style2]} <strong><a href="{{reply_user_link}}" target="_blank" >{{reply_user}}</a></strong> , {{reply_messagetime|dateformat}} <small><a href='javascript:returnTag("[quote=\"{{reply_username_quote}}\"]" + reply_quote + "[/quote]")'>{[new_reply_quote]}</a></small> </p>

<div class="content">{{reply_text}}</div>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
</div>
{{reply==true.end}}
<script type="text/javascript">document.getElementById('messagetext').focus();</script>


 Antworten

 Beitrag melden
11.12.2011 18:53
#6 RE: Problem mit gesendeten PNs
avatar
Mitglied

Habs hinbekommen :D DANKE


 Antworten

 Beitrag melden
11.12.2011 18:53 (zuletzt bearbeitet: 11.12.2011 19:04)
avatar  Sachse
#7 RE: Problem mit gesendeten PNs
avatar
Mitglied

Wenn Du sonst keine Veränderungen in "Private Mails - Neue Nachricht" hast kannst Du das so komplett übernehmen.Funktioniert.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
 
<h2>{[pm_new_title]}</h2>
<form method="POST" action="{{form_link}}" name="sendmail" onSubmit="return chkFormular()">
 
{{preview==true.start}}
<div class="post bg2" id="preview">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody">
<h3>{[new_preview_title]} - {[pm_preview_title]}</h3>
<div class="content">{{pm_parsed_text}}</div>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
 
<hr />
 
{{preview==true.end}}
<style>
<body { z-index:1 }
</style>
<script language="Javascript">
 
var send = true;
 
/*add the indexOf-Method for IE */
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i<this.length; i++){
if(this[i]==obj){
return i;
}
}
return -1;
}
}
 
{{moreuser==true.start}}
{{first.start}}1{{first.end}}
var recipients = [
{{touser.startlist}}{{first==false.start}},{{first==false.end}}{{touser:id}}
{{first.start}}0{{first.end}}
{{lastid.start}}{{touser:id}}{{lastid.end}}
{{touser.end}}];
var rec_id={{lastid}};

{{moreuser==true.else}}
var recipients = [1];
var rec_id=1;
{{moreuser==true.end}}
 
var rec_count=recipients.length;
var rec_limit=false
var input_shown=true;
if (rec_count >= {{max_recipients}}){rec_limit = true; input_shown=false;}
 
function chkFormular() {
if (send) {}
else {return false;}

if(document.sendmail.title.value == "") {
alert("{[pm_error_subject]}");
document.sendmail.title.focus();
return false;
}
if(document.sendmail.text.value == "") {
alert("{[pm_error_body]}");
document.sendmail.text.focus();
return false;
}



try{
span = document.getElementById('errorspan');
rec = recipients[recipients.length-1];
inp = document.getElementById('username_'+rec);
alert(inp.value +" "+ span.innerHTML);


document.getElementById('username_'+rec).focus();
return false;
}
catch(err){/*span doesn't exist, so there's no error*/}

if(recipients.length==1) {
rec = recipients[0];
/*theres only 1 recipient, check if it is an empty input field*/

inp = document.getElementById('username_'+rec);
if(inp.value==""){alert("{[pm_error_to]}");inp.focus(); return false;}
}
}
function createRequestObject() {
var ro;
var browser = navigator.appName;
if(browser == "Microsoft Internet Explorer"){
ro = new ActiveXObject("Microsoft.XMLHTTP");
}else{
ro = new XMLHttpRequest();
}
return ro;
}
var http = createRequestObject();
function fixedEncodeURIComponent (str) {
/*escapes all special chars and ! ' ( ) * */
return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/\*/g, '%2A');
}
 
function tousers(id) {
val = fixedEncodeURIComponent(document.getElementById('username_'+id).value);
window.setTimeout("tousersnow('"+val+"','"+id+"')", 100);
}
 
function tousersnow(tempusername,id) {
 
if(tempusername.length>0 && fixedEncodeURIComponent(document.getElementById('username_'+id).value) == tempusername) {
http.open('get', '{{ajax_prefix}}' + tempusername);
http.onreadystatechange = function(){
handleResponse(id);
}
http.send(null);
} else {
document.getElementById('touser_'+id).innerHTML = '';
document.getElementById('touser_'+id).style.display = 'none';
}
}
 
function settouser(username,id) {
 
if(navigator.appName == 'Microsoft Internet Explorer'){username = escape(username);} //IE braucht hier noch ein 'escape' - andere Browser sehen das als Fehler...
username = decodeURIComponent(username);
 
users = document.getElementById('recipients');
cur = document.getElementById('touser_'+id+'_dd');
cur.parentNode.removeChild(cur);
 
input_shown=false;
 
newinput = document.createElement("input");
newinput.id = 'touser_'+id+'_input';
newinput.type = 'hidden';
newinput.name = 'name[]';
newinput.value = username;
 
newdiv = document.createElement("dd");
newdiv.id = 'touser_'+id+'_dd';
newdiv.style.marginBottom = '0px';
newdiv.innerHTML = "<span class='userDiv'>"+username+"<a href='javascript:void(0);' onclick='remRecipient("+id+");'>&nbsp;&nbsp;X</a></span>";
newdiv.appendChild(newinput);
 
users.appendChild(newdiv);
 
checkAddButton(id);
if(rec_limit){document.getElementById('pm_subject_inp').focus();}
 
}
function remRecipient(id){
rec = document.getElementById('touser_'+id+'_dd');
rec.parentNode.removeChild(rec);
 

var index = recipients.indexOf(id);
recipients.splice(index, 1);
 
if(recipients.length == 0){addRecipient();}
if(rec_limit){rec_limit = false;}
 
checkAddButton()
 
}
 
function addRecipient(){
recs = document.getElementById('recipients');
 

rec_id++;
recipients.push(rec_id);
if (recipients.length>={{max_recipients}}){rec_limit=true;}
 

 
var newdiv = document.createElement("dd");
newdiv.id = 'touser_'+rec_id+'_dd';
newdiv.width = "80%";
var inner="";
if(recipients.length > 1){inner = '<div style="clear:both;"></div><br/>';}
inner = inner+'<input style="width:80%" type="text" name="name[]" value="" onKeyUp="javascript:tousers(\''+rec_id+'\')" id="username_'+rec_id+'" class="inputbox" autocomplete="off" />'+
'<div id="touser_'+rec_id+'" style="display:none; padding: 5px 10px; border: 2px solid {{global_line_color}};"></div>';
newdiv.innerHTML = inner;
recs.appendChild(newdiv);
input_shown=true;
document.getElementById('addmore').style.display="none";
document.getElementById('username_'+rec_id).focus();
}
 
function checkAddButton(){
try{addbutton = document.getElementById('addmore');
addbutton.style.display = 'none';
addbutton.parentNode.removeChild(addbutton);
}
catch(err){
addbutton = document.createElement("span");
addbutton.id='addmore';
addbutton.style.margin = '0px 0px 0px 20px';
addbutton.innerHTML = "<a href='javascript:void(0);' onclick='addRecipient();' style='text-decoration: none;'><img src='https://files.homepagemodules.de/b2001010/a_635.png' style='vertical-align: middle; margin-right:5px;'/><small>{[pm_addRecipiant]}</small></a>";
}

lastid = recipients[recipients.length-1];
lastuser = document.getElementById('touser_'+lastid+'_dd');
lastuser.appendChild(addbutton);

if (!rec_limit && !input_shown){addbutton.style.display = 'inline';}
 
}
 

 

function handleResponse(id){
if(http.readyState == 4){
var response = http.responseText;
var users = eval('('+response+')');
if(!response){
document.getElementById('touser_'+id).innerHTML='';
document.getElementById('touser_'+id).style.display = 'none';
}
else if(users && users.length > 0){
var out = '<span><b><small>{{pm_to_suggestion}}</small></b>';
var tr = '';
for (var i = 0; i < users.length; i++) {
out += tr + '<a style="text-decoration: none;" href="javascript:settouser(' + "'" + encodeURIComponent(users[i]).replace(/\'/, "\\\'" ) + "'" + ','+"'"+id+"'"+')">' + users[i] + '</a>';
tr = ', ';
}
document.getElementById('touser_'+id).innerHTML = out+'<small><b>?</b></small></span>';
document.getElementById('touser_'+id).style.display = '';
}
else {
if(document.getElementById('username_'+id).value != ''){
document.getElementById('touser_'+id).innerHTML = '<span class=\"error\"><img src=\"{{global_alert}}\" style=\"vertical-align: middle; margin-right: 3px; border: none;\" /><small><b>"'+decodeURIComponent(document.getElementById('username_'+id).value)+'..." <span id="errorspan">{[pm_to_suggestion_na]}</span></b></small></span>';
document.getElementById('touser_'+id).style.display = '';
}
else {
document.getElementById('touser_'+id).innerHTML = '';
}
}
}
}
 

var reply_quote = "{{reply_quote}}";
</script>
<style type="text/css">
.userDiv{-moz-border-radius:3px 3px 3px 3px;
border:1px solid #CCCCCC;
float:left;
font-weight:bold;
margin:0 5px 3px 0;
padding:3px 10px;}
</style>
<span id='addmore' style='display:none; margin-left: 20px;'><a href="javascript:void(0);" onclick="addRecipient();" style="text-decoration: none;"><img src='https://files.homepagemodules.de/b2001010/a_635.png' style='vertical-align: middle; margin-right: 5px;'/><small>{[pm_addRecipiant]}</small></a></span>
 
{{single_user_input.start}}
<dl id="recipients" style="clear: left;">
<dt><label>{[pm_to]}</label></dt>
<dd id="touser_1_dd"><input style="width:100%" type="text" name="name[]" size="40" value="{{to_user}}" onKeyUp="javascript:tousers(1)" id="username_1" class="inputbox autowidth" autocomplete="off">
<div id="touser_1" style="display:none" class="panel bg1"></div>
</dd>
</dl>

{{single_user_input.end}}
 

<div class="panel" id="postingbox">
<div class="inner"><span class="corners-top"><span></span></span>
<fieldset class="fields1">

{{datasubmited==true.start}}
{{moreuser==true.start}}
<dl id="recipients" style="clear: left;">
<dt><label>{[pm_to]}</label></dt>
{{touser.startlist}}
<dd id='touser_{{touser:id}}_dd' style="margin-bottom:0px" width="100%">
<span class='userDiv'>{{touser:name}} <a href='javascript:void(0);' onclick='remRecipient({{touser:id}});'>&nbsp;&nbsp;X</a></span>
<input style="width:80%" type="hidden" name="name[]" value="{{touser:name}}" onKeyUp="javascript:tousers({{touser:id}})" id="username_{{touser:id}}" />
</dd>
{{nextid.startint}}{{touser:id}}+1{{nextid.end}}
{{touser.end}}
</dl>
<script type="text/javascript">
checkAddButton();
</script>

{{nextid<=max_recipients.start}}
<script type="text/javascript">document.getElementById('addmore').style.display='inline';</script>
{{nextid<=max_recipients.end}}


{{moreuser==true.else}}
{{single_user_input}}
{{moreuser==true.end}}
{{datasubmited==true.else}}
{{single_user_input}}
{{datasubmited==true.end}}






<dl style="clear: left;">
<dt><label for="subject">{[pm_subject]}</label></dt>
<dd><input id="pm_subject_inp" type="text" name="title" maxlength="60" value="{{pm_title}}" class="inputbox autowidth" size="48"></dd>
</dl>
<div id="smiley-box">
{{iconbar}}
</div>
<div id="message-box">
<script type="text/javascript" >miranus_add_iconbar_textarea('messagetext');</script>
<textarea rows="10" name="text" cols="50" style="width:100%" id="messagetext" class="inputbox">{{pm_text}}</textarea>
</div>
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel bg2">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>{[pm_options]}</h3>
<fieldset class="submit-buttons">
<label><input type="checkbox" name="options[readreceipt]" value="1" {{pm_options_receipt==true.start}}checked="checked"{{pm_options_receipt==true.end}} > {[pm_options_receipt]}</label>
<label><input checked type="checkbox" name="options[outbox]" value="1" {{pm_options_outbox==true.start}}checked="checked"{{pm_options_outbox==true.end}}> {[pm_options_save]}</label>
<input type="submit" value="{[pm_new_submit]}" name="send" class="button1">
<input type="submit" value="{[pm_preview_submit]}" name="preview" class="button1">
</fieldset>
 
<span class="corners-bottom"><span></span></span></div>
</div>
</form>
 

 
{{reply==true.start}}
<h3 id="review">{[pm_reply_title]}</h3>
<div id="topicreview">
<div class="post bg1">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody">
<h3>{{reply_title}}</h3>
<p class="author">{[thread_of_style2]} <strong><a href="{{reply_user_link}}" target="_blank" >{{reply_user}}</a></strong> , {{reply_messagetime|dateformat}} <small><a href='javascript:returnTag("[quote=\"{{reply_username_quote}}\"]" + reply_quote + "[/quote]")'>{[new_reply_quote]}</a></small> </p>
 
<div class="content">{{reply_text}}</div>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
</div>
{{reply==true.end}}
<script type="text/javascript">document.getElementById('messagetext').focus();</script>
 

LG Sachse
Wenn nicht anders kenntlich gemacht, dann entspricht alles was ich hier schreibe selbstredend meiner persönlichen Meinung und erhebt keinen Anspruch auf Allgemeingültigkeit!

Mehr unter:
http://www.gartenfreunde-pirna.de/


 Antworten

 Beitrag melden
Bereits Mitglied?
Jetzt anmelden!
Mitglied werden?
Jetzt registrieren!