Changesets der letzen 16 Tage

Template Änderungen im Zeitraum 05.October 2010 (Tuesday) - 21.October 2010 (Thursday)

Für Rückfragen steht Ihnen das Support Forum Templates & Sprachen zur Verfügung



05.October 2010 (Tuesday) - 21.October 2010 (Thursday)

Template: Standard Template
Template-Element: Beitrag bearbeiten im Template: Standard Template
(2 Changes, Last: 2010-10-20)
Developers: - iggy
  
2
3 <script LANGUAGE="javascript">
4 <!--
5
var showpreview = false;
6 var hasFiles = false;
7 function chkFormular() {
8
if(hasFiles) {
8
if(hasFiles && showpreview) {
9 check = confirm("{[thread_files_lost]}");
10 if(!check){return false;}
11 }
  
111 </td></tr>
112
113 {{canfiles==true.end}}
114
  <tr valign="top" align="center"><td colspan="2" class="ntop"><input type="Submit" name="Submit" value="{[editmessage_edit_submit]}" class="ntop" tabindex="3"><input type="submit" name="preview" value="{[new_submit_preview]}" class="nnor" tabindex="4"></td></tr>
114
  <tr valign="top" align="center"><td colspan="2" class="ntop"><input type="Submit" name="Submit" onclick="showpreview=false;" value="{[editmessage_edit_submit]}" class="ntop" tabindex="3"><input type="submit" name="preview" value="{[new_submit_preview]}" onclick="showpreview=true;" class="nnor" tabindex="4"></td></tr>
115 </table>
116 </form>
117 {{topic_moved==true.end}}
118
Template-Element: Beitrag bearbeiten - Thema teilen / verschmelzen im Template: Standard Template
(3 Changes, Last: 2010-10-20)
Developers: - iggy
  
14 {{chooseThread==true.start}}
15
16 <script language="Javascript">
17
18 function chkFormular() {
19 if(document.ein.zielThread.value == '0') {
20 alert('{[editmulti_error_nothread]}.');
21 return false;
22 }
23
disableSubmit();
24 return true;
25 }
26 </script>
  
38 <br><br>
39 <input type="radio" name="copy" value="0"{{copy==false.start}} checked{{copy==false.end}}><b>{[editmulti_move]}</b> oder <input type="radio" name="copy" value="1"{{copy==true.start}} checked{{copy==true.end}}><b>{[editmulti_copy]}</b>.
40
41
</td></tr><tr><td class="nnor" align=center><input type="submit" name="submit" value="{[name_submit]}">
41
</td></tr><tr><td class="nnor" align=center><input type="submit" id="merge_submit" name="submit" value="{[name_submit]}">
42 </td></tr></table>
43 <br>
44 <table cellpadding=4 cellspacing=0 width=100%><tr><td class=ntit>{[editmulti_messages_title]}</td></tr>
  
82 i++;
83 }
84 if(msg_checked) {
85
disableSubmit();
86 return true;
87 } else {
88 alert('{[editmulti_error_noselection]} ');
  
97 document.getElementById('zielThema').style.display = '';
98 }
99
100
function disableSubmit(){
101
document.getElementById('merge_submit').setAttribute('disabled',true);
102
}
103 </script>
104 <form method=post action="{{form_link}}" name="ein" onSubmit="return chkFormular()">
105 <table cellpadding=4 cellspacing=0 width=100%>
  
109 <div id="zielThemaName"><b>{[name_subject]}</b><br><input type="text" name="newTitle" value="" style="width:400px"><br><br></div>
110 <div id="zielThema" style="display:none"><b>{[editmulti_target_thread]}</b><br>{[editmulti_target_thread_nextpage]}<br><br></div>
111 <input type="radio" name="copy" value="0" checked><b>{[editmulti_move]}</b> oder <input type="radio" name="copy" value="1"><b>{[editmulti_copy]}</b>.
112
</td></tr><tr><td class="nnor" align=center><input type="submit" name="submit" value="{[name_submit]}">
112
</td></tr><tr><td class="nnor" align=center><input id="merge_submit" type="submit" name="submit" value="{[name_submit]}">
113 </td></tr></table>
114 <br>
115 <table cellpadding=4 cellspacing=0 width=100%><tr><td class=ntit>{[editmulti_messages_title]}</td></tr>
116
Template-Element: Bildergalerie - Home im Template: Standard Template
(10 Changes, Last: 2010-10-06)
Developers: - pede
  
198 return false;
199
200 }
201
202
function CheckCoverBox(pic_id) {
203
  var radio_btn = document.getElementById(pic_id);
204
  radio_btn.checked = !radio_btn.checked;
205
}
206 </script>
207
208
  
312 </td>
313 <td align="center" >{{cats:anzahl}} {[picture]}</td>
314 <td align="center" ><a href="{{cats:user_link}}" style="text-decoration:none">{{cats:creator}}</a></td>
315
				<td align="center"  align="right">{{cats:last_upload}}</td>
315
				<td align="center"  align="right">{{cats:last_upload|dateformat(d.m.Y H:i)}}</td>
316 <td>&nbsp;</td>
317
318 </tr>
  
410 <input type="submit" name="movepics" value="{[gallery_movepics_now]}" class="button1" style="margin-left: 30px;" />
411 <input class="button1" type="button" value="{[gallery_cancel_move]}" onClick="window.location.href='{{nav:cat_link}}';" />
412 {{errcat==true.start}}
413
						{[gallery_error_target]}
413
						<br/>{[gallery_error_target]}
414 {{errcat==true.end}}
415
					{{errpic==true.start}}<br>
416
						{[gallery_error_selected]}
415
					{{errpic==true.start}}
416
						<br/>{[gallery_error_selected]}
417 {{errpic==true.end}}
418 </td></tr>
419 {{showbox==true.end}}
  
468 <div id="checkbox" style="margin-top: 10px;"><input type="checkbox" name="pic_ids[]" id="pic{{pics:id}}" value="{{pics:id}}"></div>
469 {{showbox==true.end}}
470 {{showcover==true.start}}
471
									<div id="radiobox" style="float:left; width:3%; margin-top: 10px;"><input type="radio" name="picid" id="pic{{pics:id}}" value="{{pics:id}}" {{pics:iscoverpic==true.start}}checked{{pics:iscoverpic==true.end}}></div>
472
									<div style="clear: both;"></div>
471
									<div id="radiobox" style="float:left;"><input type="radio" name="picid" id="pic{{pics:id}}" value="{{pics:id}}" {{pics:iscoverpic==true.start}}checked{{pics:iscoverpic==true.end}}></div>
472 {{showcover==true.end}}
473
								<div id="title" style="border:0px solid #990000; width:100%; height:20px; vertical-align:top;font-size:120%; font-weight:bold;">
473
								<div id="title" style="border:0px solid #990000; text-align:left; vertical-align:top; font-weight:bold; float:left">
474 <a style="text-decoration:none"
475 {{showbox==true.start}}onclick="CheckBox('pic{{pics:id}}'); return false;" {{showbox==true.end}}
476
										{{showcover==true.start}}onclick="CheckCoverBox('pic{{pics:id}}'); return false;" {{showcover==true.end}} 
477 href="{{pics:view_pic_link}}" >{{pics:isnew==true.start}}{{pics:title|shortstring(10,"...")}}{{pics:isnew==true.else}}{{pics:title|shortstring(14,"...")}}{{pics:isnew==true.end}}
478 </a>{{pics:isnew==true.start}}<img src="{{global_img_new_index}}" border=0>{{pics:isnew==true.end}}
479 </div>
480
							        <div style="clear: both;"></div>
481 <div id="image" style=" padding:5px;" >
482 <div id="pic_{{pics:id}}" onmouseover="document.getElementById('edit_{{pics:id}}').style.visibility='visible';" onmouseout="document.getElementById('edit_{{pics:id}}').style.visibility='hidden';">
483 <a style="text-decoration:none" {{showbox==true.start}}onclick="CheckBox('pic{{pics:id}}'); return false;" {{showbox==true.end}} href="{{pics:view_pic_link}}" ><img src="{{pics:link}}" border="0"></a>
484
Template-Element: Neuen Beitrag schreiben im Template: Standard Template
(36 Changes, Last: 2010-10-21)
Developers: - iggy
1
<script type="text/javascript" src="https://img.homepagemodules.de/ds/static/jquery/min/jquery-1.4.2.min.js"></script>
2
<script type="text/javascript" src="https://img.homepagemodules.de/ds/static/jquery/plugins/jquery.form.js"></script>
3
4
5 {{error_no_write==true.start}}
6 <table celpadding="3" cellspacing="0" border=0 width="100%">
7 <tr><td class="ntit">&nbsp;{[error_occured]}</td></tr>
  
34 {{captcha_guestlink==true.end}}
35 <script LANGUAGE="javascript">
36 <!--
37
38 function chkFormular() {
39 if(document.getElementById('messagetext').value == "") {
40 alert("{[new_no_message]}");
  
55 //-->
56 </script>
57
58
<table cellspacing="1" cellpadding="4" border="0" width="100%" align="center">
58
<table cellspacing="1" cellpadding="4" border="0" width="100%" align="center" id="messagetable">
59 <tr>
60 <td align=left class="ntit">
61 <table cellpadding=0 cellspacing=0 border=0 width="100%"><td class=ntit>
  
128 <table cellpadding=0 cellspacing=0 border=0 width="100%"><tr><td class="nnor">
129 <input type="hidden" name="writemessage" value="1">
130 <input type="hidden" name="unique" value="{{uniquepostid}}">
131
 <input type=submit name="a1" value="{[new_submit]}" class="nnor" tabindex="3">
132
 <input type=submit name="preview" value="{[new_submit_preview]}" class="nnor"></td><td class="nnor" align="right">
131
 <input type=submit name="a1" value="{[new_submit]}"  class="nnor" tabindex="3">
132
 <input type=submit name="preview" id="previewbutton" value="{[new_submit_preview]}" class="nnor"></td><td class="nnor" align="right">
133 {{user_registered==true.start}}<input type="checkbox" name="topicabo" value="1">{[new_do_abo]}{{k.start}}, {{k.end}}{{user_registered==true.end}}
134 {{canvote==true.start}}{{k}}<input type="checkbox" name="appendvote" value="1">{[new_do_vote]}{{k.start}}, {{k.end}}{{canvote==true.end}}
135
       {{addfile==true.start}}{{k}}<a href="#"  onClick="window.open('{{addfile_link}}','uploadfile','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=350,height=320,screenX=10,screenY=10,left=0,top=0')">{[new_do_upload]}</a>{{addfile==true.end}}
136
<br/>{{k.start}}{{k.end}}
135
136
	   <br/>{{k.start}}{{k.end}}
137 {[integration_header]}: {{addintegrations.startlist}}{{k}}<a href="#" onclick="return (miranus_load_js('{{link_js_integration}}') && hpm_newDialog('{{addintegrations:url}}','700'));">{{addintegrations:name|gettranslation(integration)}}</a>{{k.start}}, {{k.end}}{{addintegrations.end}}
138
139 </td></tr></table>
140
 </td></tr></form></table>
141
</td></tr></table>
140
</td></tr>
141
142
143
 </table>
144
  </form>
145
</td></tr>
146
{{addfile==true.start}}
147
  <tr><td class="nnor" colspan="2">
148
<div id="upload_div" class="button1" style="float:left;margin-left:20px;">
149
<a href="javascript:void(0);" style="margin-left: 5px;" id="do_upload">{[new_do_upload]}</a>
150
</div>
151
  <div style="clear:both"></div>
152
</td></tr>  
153
{{addfile==true.end}}
154
155
</table>
156
  
157 {{reply==true.start}}
158 {{mult_answer==false.start}}
159 <br/>
  
171 </table>
172 {{mult_answer==false.end}}
173 {{reply==true.end}}
174
<script type="text/javascript">document.getElementById('messagetext').focus();</script>
174
<script type="text/javascript">
175
document.getElementById('messagetext').focus();
176
177
178
179
$('#previewbutton').click(function(event){
180
	if($('#fileslist').length){		
181
		conf = confirm("{[thread_files_lost]}");
182
		if(!conf){event.preventDefault();}
183
		
184
	}
185
});
186
$('#do_upload').click(function(){
187
	$(this).remove();
188
	initUploadForm();});
189
190
function initUploadForm(){
191
url = "{{addfile_link}}";
192
$.get(url,function(res){
193
		$upldiv = $('<div>').html(res);
194
		$upldiv.appendTo($('#upload_div'));
195
		applyFormBindings();
196
	});
197
198
}
199
200
function applyFormBindings(){
201
202
		/*apply bindings*/
203
		$('#u1').change(function(){$('#upload_form').submit();});
204
		$('.delfile').click(function(){$('#up_in_progress_text').html('{[upload_rem_file]}');$('#upload_form').submit();});
205
		
206
		
207
		/*apply template-specific styles*/
208
		$('#fileslist').css('width','350px');
209
		$('#uploadinfo').css('background-color','{{global_area3_bg}}').css('border','1px solid black').css('color','{{global_area3_color}}');
210
		$('#upload_div').removeClass('button1');
211
		$('#upload_div').css('width','300px').css('marginLeft','20px');		
212
		makeAjaxForm();
213
214
}
215
216
217
218
function makeAjaxForm(){
219
$('#upload_form').ajaxForm({
220
		beforeSubmit: function(){
221
			$('#upload_new').hide();			
222
			$('#upload_in_progress').show();							
223
		},
224
		success: function(res){
225
			$('#upload_in_progress').hide();
226
               $('#upload_div').html("<div>"+res+"</div>");			   
227
			   if($('#fileslist').length){$('#uplhead').hide()};				
228
			   applyFormBindings();	
229
            }});
230
}
231
</script>
  
233
Template-Element: Thread - Flat im Template: Standard Template
(1 Changes, Last: 2010-10-11)
Developers: - iggy
  
218
219 {{message:user_registered==true.start}}
220 <a href="{{message:user_link}}">
221
    {{message:usercolor==true.start}}
222
      <span style="color: {{message:usercolor}}">{{message:username}}</span>
223
    {{message:usercolor==true.else}}
224
    {{message:username}}{{message:usercolor==true.end}}</a> {{global_hideonlinestatus==false.start}}<small style="margin-left: 10px;">{{message:online==true.start}} {{global_messageonline==true.start}}<img src="{{global_messageonline}}" style="vertical-align: middle;"/>{{global_messageonline==true.end}} Online<br/> {{message:online==true.else}}{{global_messageoffline==true.start}}<img src="{{global_messageoffline}}" style="vertical-align: middle;"/>{{global_messageoffline==true.end}} Offline<br/>{{message:online==true.end}}</small><br/>{{global_hideonlinestatus==false.else}}<br/>{{global_hideonlinestatus==false.end}}
225
    {{message:usertitle}}<br/> 
226
    <span class="ifos">{[thread_user_messages]} {{message:user_posts|numberformat}}</span> 
227
    {{message:avatar==true.start}}<br/><img src="{{message:avatar}}" width="{{message:avatar_width}}" height="{{message:avatar_height}}">{{message:avatar==true.end}}
221
    {{message:usercolor==true.start}}<span style="color: {{message:usercolor}}">{{message:username}}</span>{{message:usercolor==true.else}}{{message:username}}{{message:usercolor==true.end}}</a> 
222
{{global_hideonlinestatus==false.start}}<small style="margin-left: 10px;">{{message:online==true.start}} {{global_messageonline==true.start}}<img src="{{global_messageonline}}" style="vertical-align: middle;"/>{{global_messageonline==true.end}} Online<br/> {{message:online==true.else}}{{global_messageoffline==true.start}}<img src="{{global_messageoffline}}" style="vertical-align: middle;"/>{{global_messageoffline==true.end}} Offline<br/>{{message:online==true.end}}</small><br/>{{global_hideonlinestatus==false.else}}<br/>{{global_hideonlinestatus==false.end}}{{message:usertitle}}<br/> 
223
<span class="ifos">{[thread_user_messages]} {{message:user_posts|numberformat}}</span> 
224
{{message:avatar==true.start}}<br/><img src="{{message:avatar}}" width="{{message:avatar_width}}" height="{{message:avatar_height}}">{{message:avatar==true.end}}
225 {{message:user_registered==true.else}}
226 {{message:username}}
227 {{message:user_registered==true.end}}
228
Template-Element: Neuen Beitrag schreiben - Datei Upload im Template: Standard Template
(37 Changes, Last: 2010-10-21)
Developers: - iggy
0
<style type="text/css">#fileslist li{float:none !important;}</style>
1
<script language="Javascript">
2
function deluploadbutton() {
3
	document.getElementById('upload_new').style.display = "none";
4
	document.getElementById('upload_in_progress').style.display = "block";
5
	
6
	/*document.getElementById('uploadbutton').innerHTML='{[upload_in_progress]}';*/
7
}
8
9
10
function upl_createRequestObject() {
11
  var ro;
12
  var browser = navigator.appName;
13
  if(browser == "Microsoft Internet Explorer"){
14
    ro = new ActiveXObject("Microsoft.XMLHTTP");
15
  }else{
16
    ro = new XMLHttpRequest();
17
  }
18
  return ro;
19
}
20
var http = upl_createRequestObject();
21
function upl_progress_status() {
22
23
  http.open('get', '{{progress_link}}');
24
  http.onreadystatechange = upl_handleResponse;
25
  http.send(null);
26
  
27
}
28
function upl_handleResponse() {
29
  if(http==null) return;
30
  if(http.readyState == 4) {
31
    var response = http.responseText;
32
    if(response.length>0 && response !='false') {	
33
	
34
      var resp = eval('(' + response + ')');	  
35
	  
36
        var current =  parseInt(resp['current']/1024) ;
37
        var total = parseInt(resp['total']/1024);
38
		
39
		
40
        if(total>0 && current>0){
41
			percent = current/total;
42
			document.getElementById('progressmeter').style.width = (percent*2+20)+'px';  
43
		}
44
        window.setTimeout("upl_progress_status()",500);
45
    }
46
  }
47
}
48
49
</script>
50
51
<form action="{{form_link}}" id="upload_form" method="post" enctype="multipart/form-data" name="ein" onsubmit="upl_progress_status();deluploadbutton() ">
52
{{files==true.start}}
53
<b><small>{[upload_uploaded_files]}</small></b>
54
<ul id="fileslist" style="margin: 0px;">
55
{{files.startlist}}
56
<li>
57
<input type="hidden" name="tempfiles[{{files:tempname}}]" value="{{files:filename}}">
58
<span style="display:inline-block; width:200px;">{{files:filename}}</span><label  class="delfile" for="delfile[{{files:tempname}}]"><input type="checkbox" name="delfile[{{files:tempname}}]" id="delfile[{{files:tempname}}]" value="1">{[name_delete]}</label>
59
</li>
60
{{files.end}}
61
</ul>
62
63
</hr>
64
{{files==true.end}}
65
<div id="upload_in_progress" style="display:none">
66
<center>
67
<div id='prog_bar' style="padding:0px; margin:0px;height: 20px; width: 220px; position:relative;">
68
	<div id="loadingimg" style="height: 20px; width: 220px; padding:0px; margin:0px;position:absolute; top:0px;left:0px; background-image:url(https://files.homepagemodules.de/b2001010/a_726_8a6270f9.gif);background-repeat: no-repeat;">&nbsp;</div>
69
	<div id="progressmeter" style="height: 20px; width:0px; padding:0px; margin:0px;position:absolute; top:0px;left:0px; background-image:url(https://files.homepagemodules.de/b2001010/a_727_d2039cc2.gif);background-repeat: no-repeat;">&nbsp;</div>
70
</div>
71
<small id="up_in_progress_text">{[upload_in_progress2]}</small>
72
73
</center>
74
</div>
75
<div id="upload_new">
76
<input type="hidden" name="APC_UPLOAD_PROGRESS" value="{{progress_id}}"/>
77
<div style="position:relative; display:inline;">	
78
	<div id="uploadinfo" style="display:none; width:320px;position:absolute; top:-10px;left:0px;  text-align:center;  -moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;" onmouseout="this.style.display = 'none';">
79
		<small>{[upload_info]}</small>
80
	</div>
81
</div>
82
<span id="uplhead"><b><small>{[upload_choose_file]}</small></b><img src="https://files.homepagemodules.de/b2001010/a_520.png" alt="info" onmouseover="document.getElementById('uploadinfo').style.display = 'block';"/><br/></span>
83
84
<input type="file" name="uploadfile[]" id="u1" maxlength="4194304" size=25 class="inputbox autowidth" />
85
86
87
</div>
88
89
90
91
92
</form>
93
94
95
96
Template: ProSilver
Template-Element: Beitrag bearbeiten im Template: ProSilver
(2 Changes, Last: 2010-10-20)
Developers: - iggy
  
2
3 <script LANGUAGE="javascript">
4 <!--
5
var showpreview = false;
6 var hasFiles = false;
7 function chkFormular() {
8
if(hasFiles) {
8
if(hasFiles && showpreview) {
9 check = confirm("{[thread_files_lost]}");
10 if(!check){return false;}
11 }
  
126 <div class="inner"><span class="corners-top"><span></span></span>
127
128 <fieldset class="submit-buttons">
129
						<input type="Submit" name="Submit" value="{[editmessage_edit_submit]}" class="button2" tabindex="3">
130
						<input type="submit" name="preview" value="{[new_submit_preview]}" class="button2" tabindex="4">
129
						<input type="Submit" name="Submit" value="{[editmessage_edit_submit]}" onclick="showpreview = false;" class="button2" tabindex="3">
130
						<input type="submit" name="preview" value="{[new_submit_preview]}" onclick="showpreview = true;" class="button2" tabindex="4">
131 </fieldset>
132
133 <span class="corners-bottom"><span></span></span></div>
134
Template-Element: Beitrag bearbeiten - Thema teilen / verschmelzen im Template: ProSilver
(1 Changes, Last: 2010-10-20)
Developers: - iggy
  
17
18 <script language="Javascript">
19 function chkFormular() {
20
21 if(document.ein.zielThread.value == '0') {
22 alert('{[editmulti_error_nothread]}.');
23 return false;
24 }
25
disableSubmit();
26 return true;
27 }
28 </script>
  
47 <div class="inner"><span class="corners-top"><span></span></span>
48
49 <fieldset class="submit-buttons">
50
						<input type="Submit" name="submit" value="{[name_submit]}" class="button1">
50
						<input type="Submit" id="merge_submit" name="submit" value="{[name_submit]}" class="button1">
51 </fieldset>
52
53 <span class="corners-bottom"><span></span></span></div>
  
111 i++;
112 }
113 if(msg_checked) {
114
disableSubmit();
115 return true;
116 } else {
117 alert('{[editmulti_error_noselection]} ');
  
126 document.getElementById('zielThema').style.display = '';
127 }
128
129
function disableSubmit(){
130
document.getElementById('merge_submit').setAttribute('disabled',true);
131
}
132
133 </script>
134 <form method=post action="{{form_link}}" name="ein" onSubmit="return chkFormular()">
135 <h3>{[editmulti_title]}</h3>
  
149 <div class="inner"><span class="corners-top"><span></span></span>
150
151 <fieldset class="submit-buttons">
152
						<input  type="submit" name="submit" value="{[name_submit]}" class="button1">
152
						<input id="merge_submit" type="submit" name="submit" value="{[name_submit]}" class="button1">
153 </fieldset>
154
155 <span class="corners-bottom"><span></span></span></div>
156
Template-Element: Forum Ansicht im Template: ProSilver
(2 Changes, Last: 2010-10-14)
Developers: - iggy
  
14 {{pages_offset.startint}}1{{pages_offset.end}}
15 {{global_on_page_0==true.end}}
16 {{tick(forums_cat_title)}}
17
<h2>{{showlast==true.start}} {[forum_title_newest]} {{showlast==true.end}}{{forum_title}}</h2>
17
<h2>{{showlast==true.start}} {[forum_title_newest]}</h2> {{showlast==true.else}}
18
19
<div id="breadcrumbs"  xmlns:v="http://rdf.data-vocabulary.org/#">
20
21
		{{breadcrumb.startlist}}
22
		{{breadcrumb:current==false.start}}
23
		<span typeof="v:Breadcrumb"><a href="{{breadcrumb:link}}" rel="v:url" property="v:title">{{breadcrumb:name}}</a> »</span>
24
25
		{{breadcrumb:current==false.else}}
26
			<h2 style="display:inline">{{breadcrumb:link==true.start}}	<span typeof="v:Breadcrumb"><a href="{{breadcrumb:link}}" rel="v:url" property="v:title">{{breadcrumb:name}}</a></span>		
27
			{{breadcrumb:link==true.else}}{{breadcrumb:name}}
28
			{{breadcrumb:link==true.end}}			
29
			</h2>
30
		{{breadcrumb:current==false.end}}
31
		{{breadcrumb.end}}
32
		
33
</div>
34
{{showlast==true.end}}
35
36 {{subforum==true.start}}
37
38
Template-Element: Neuen Beitrag schreiben im Template: ProSilver
(20 Changes, Last: 2010-10-21)
Developers: - iggy
1
<script type="text/javascript" src="https://img.homepagemodules.de/ds/static/jquery/min/jquery-1.4.2.min.js"></script>
2
<script type="text/javascript" src="https://img.homepagemodules.de/ds/static/jquery/plugins/jquery.form.js"></script>
3
4
5 {{bg1.start}}bg1{{bg1.end}}
6 {{bg2.start}}bg2{{bg2.end}}
7 {{bg.start}}bg1{{bg.end}}
  
77
78 <script LANGUAGE="javascript">
79 <!--
80
81 function chkFormular() {
82
83 if(document.getElementById('messagetext').value == "") {
84 alert("{[new_no_message]}");
85 document.getElementById('messagetext').focus();
  
140 <fieldset class="submit-buttons">
141 <input type="hidden" name="writemessage" value="1">
142 <input type="hidden" name="unique" value="{{uniquepostid}}">
143
 <input type=submit name="a1" value="{[new_submit]}" class="button1" tabindex="3">
144
<input type=submit name="preview" value="{[new_submit_preview]}" class="button1">
145
{{user_registered==true.start}}<input type="checkbox" name="topicabo" value="1"> {[new_do_abo]}{{k.start}}, {{k.end}}{{user_registered==true.end}}.
146
143
 <input type="submit" name="a1" value="{[new_submit]}" class="button1" tabindex="3"> 
144
<input type="submit" id="previewbutton" name="preview" value="{[new_submit_preview]}" class="button1"><br/>
145
<div style="width:auto;text-align:left">
146
{{user_registered==true.start}}<label><input type="checkbox" name="topicabo" value="1"> {[new_do_abo]}{{k.start}}, {{k.end}}</label>{{user_registered==true.end}}<br/>
147
{{canvote==true.start}}<label><input type="checkbox" name="appendvote" value="1"> {[new_do_vote]}{{k.start}}, {{k.end}}</label>{{canvote==true.end}}<br/>
148
149
150 {{k.start}}{{k.end}}
  
157 {{addintegrations.end}}
158
159
160
{{canvote==true.start}}{{k}}<input type="checkbox" name="appendvote" value="1"> {[new_do_vote]}{{k.start}}, {{k.end}}{{canvote==true.end}}
161
{{addfile==true.start}}{{k}}<a href="#"  onClick="window.open('{{addfile_link}}','uploadfile','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=350,height=320,screenX=10,screenY=10,left=0,top=0')"> {[new_do_upload]}</a>{{addfile==true.end}}
160
161
</div>
162 </fieldset>
163
  </form>
164
  {{addfile==true.start}}
165
<div id="upload_div" style="float:right;margin-top:-80px;margin-right:40px;">
166
<a style="margin-left: 5px;" class="button1" id="do_upload">{[new_do_upload]}</a>
167
</div>
168
  <div style="clear:both"></div>
169
170
{{addfile==true.end}}
171
172 <span class="corners-bottom"><span></span></span></div>
173 </div>
174
</form>
174
175
176 {{reply==true.start}}
177 {{mult_answer==false.start}}
178 <h3 id="review">{[new_reply_title]}</h3>
  
220 {{mult_answer==false.end}}
221 <p><a href="#postingbox" class="top2">{[go_on_top_style2]}</a></p>
222 {{reply==true.end}}
223
<script type="text/javascript">document.getElementById('messagetext').focus();</script>
224
<script type="text/javascript">
225
document.getElementById('messagetext').focus();
226
227
228
$('#previewbutton').click(function(event){
229
	if($('#fileslist').length){		
230
		conf = confirm("{[thread_files_lost]}");
231
		if(!conf){event.preventDefault();}
232
		
233
	}
234
});
235
$('#do_upload').click(function(){
236
	$(this).remove();
237
	initUploadForm();});
238
239
function initUploadForm(){
240
url = "{{addfile_link}}";
241
$.get(url,function(res){
242
		$upldiv = $('<div>').html(res);
243
		$upldiv.appendTo($('#upload_div'));
244
		applyFormBindings();
245
	});
246
247
}
248
249
function applyFormBindings(){
250
251
		/*apply bindings*/
252
		$('#u1').change(function(){$('#upload_form').submit();});
253
		$('.delfile').click(function(){$('#up_in_progress_text').html('{[upload_rem_file]}');$('#upload_form').submit();});
254
		
255
		
256
		/*apply template-specific styles*/
257
		$('#uploadinfo').css('background-color','{{global_panelbg}}').css('border','1px solid {{global_text_border}}').css('color','{{global_text_bodycolor}}');
258
		$('#upload_div').removeClass('button1');
259
		$('#upload_div').css('width','300px').css('marginLeft','20px');		
260
		makeAjaxForm();
261
262
}
263
264
265
266
function makeAjaxForm(){
267
$('#upload_form').ajaxForm({
268
		beforeSubmit: function(){
269
			$('#upload_new').hide();			
270
			$('#upload_in_progress').show();							
271
		},
272
		success: function(res){
273
			$('#upload_in_progress').hide();
274
               $('#upload_div').html("<div>"+res+"</div>");			   
275
			   if($('#fileslist').length){$('#uplhead').hide()};				
276
			   applyFormBindings();	
277
            }});
278
}
279
</script>
  
281
Template-Element: Thread - Flat im Template: ProSilver
(2 Changes, Last: 2010-10-14)
Developers: - iggy
  
29 {{pages_offset.startint}}1{{pages_offset.end}}
30 {{global_on_page_0==true.end}}
31 {{tick(forums_thread_title)}}
32
	<p><h2><a href="{{forum_link}}">{{forum_title}}</a></h2></p>
32
33
<div id="breadcrumbs" xmlns:v="http://rdf.data-vocabulary.org/#">
34
35
		{{breadcrumb.startlist}}
36
		{{breadcrumb:current==false.start}}
37
		<span typeof="v:Breadcrumb"><a href="{{breadcrumb:link}}" rel="v:url" property="v:title">{{breadcrumb:name}}</a> »</span>
38
39
		{{breadcrumb:current==false.else}}
40
			<h2 style="display:inline">{{breadcrumb:link==true.start}}	<span typeof="v:Breadcrumb"><a href="{{breadcrumb:link}}" rel="v:url" property="v:title">{{breadcrumb:name}}</a></span>		
41
			{{breadcrumb:link==true.else}}{{breadcrumb:name}}
42
			{{breadcrumb:link==true.end}}			
43
			</h2>
44
		{{breadcrumb:current==false.end}}
45
		{{breadcrumb.end}}
46
		
47
</div><br/>
48
49
	
50
51
52 <div class="topic-actions">
53 <div class="buttons">
54
Template-Element: Mitglieder Profil im Template: ProSilver
(2 Changes, Last: 2010-10-06)
Developers: - pede
  
46
47 {{usertitle==true.start}}<dt>{[userprofile_usertitle]}</dt>
48 <dd>{{usertitle}}</dd>{{usertitle==true.end}}
49
                <dt></dt><dd>{{avatar==true.start}}<img src="{{avatar}}">{{avatar==true.else}}<img src="{{global_avatar}}">{{avatar==true.end}}</dd>
49
                <dt></dt><dd>
50
51
{{avatar==true.start}}
52
	<img src="{{avatar}}" alt="avatar" />
53
{{avatar==true.else}}
54
	{{gender==true.start}}
55
		{{gender_m==true.start}}
56
			<img src="{{global_user_profile_genderM==true.start}}{{global_user_profile_genderM}}{{global_user_profile_genderM==true.else}}{{global_user_profile}}{{global_user_profile_genderM==true.end}}" alt="avatar_m" />
57
		{{gender_m==true.else}}
58
			{{gender_w==true.start}}
59
				<img src="{{global_user_profile_genderW==true.start}}{{global_user_profile_genderW}}{{global_user_profile_genderW==true.else}}{{global_user_profile}}{{global_user_profile_genderW==true.end}}" alt="avatar_w" />
60
			{{gender_w==true.end}}
61
		{{gender_m==true.end}}
62
	{{gender==true.else}}
63
		<img src="{{global_avatar}}" alt="avatar" />
64
	{{gender==true.end}}							
65
{{avatar==true.end}}
66
67
</dd>
68
69 </dl>
70
71
Template: Gaia Template
Template-Element: Einstellungen - Profil editieren im Template: Gaia Template
(4 Changes, Last: 2010-10-14)
Developers: - gustavNeu
1
Template-Element: Beitrag bearbeiten im Template: Gaia Template
(2 Changes, Last: 2010-10-20)
Developers: - iggy
  
2
3 <script LANGUAGE="javascript">
4 <!--
5
var showpreview = false;
6 var hasFiles = false;
7 function chkFormular() {
8
if(hasFiles) {
8
if(hasFiles && showpreview) {
9 check = confirm("{[thread_files_lost]}");
10 if(!check){return false;}
11 }
  
240
241
242 {{canfiles==true.end}}
243
  <input type="Submit" name="Submit" value="{[editmessage_edit_submit]}" tabindex="3" class="button1">
244
  <input type="submit" name="preview" value="{[new_submit_preview]}" class="button1"></td><td align="left">
243
  <input type="Submit" name="Submit" value="{[editmessage_edit_submit]}" onclick="showpreview=false;" tabindex="3" class="button1">
244
  <input type="submit" name="preview" value="{[new_submit_preview]}" onclick="showpreview=true;" class="button1"></td><td align="left">
245 </div><div class="c_r_bottom3"><div></div></div>
246 </div>
247 <div style="clear:both"></div>
248
Template-Element: Beitrag bearbeiten - Thema teilen / verschmelzen im Template: Gaia Template
(3 Changes, Last: 2010-10-20)
Developers: - iggy
0
{{bg1.start}}bg1{{bg1.end}}
1
{{bg2.start}}bg2{{bg2.end}}
2
{{bg.start}}bg1{{bg.end}}
3
4
{{done==true.start}}
5
6
<h2></h2>
7
<div class="c_r_cont3"><div class="c_r_top3"><div></div></div><div class="c_r_content3" >
8
<div>
9
10
<p>{[editmulti_done]}<br><br>
11
{[editmulti_done_new]} <a href="{{newThreadLink}}">{{newThreadTitle}}</a><br>
12
{{oldThreadLink==true.start}}{[editmulti_done_old]} <a href="{{oldThreadLink}}">{{oldThreadTitle}}</a>{{oldThreadLink==true.end}}
13
</p>
14
</div></div><div class="c_r_bottom3"><div></div></div>
15
    </div>
16
    <div style="clear:both"></div>
17
{{done==true.end}}
18
19
20
{{chooseThread==true.start}}
21
22
<script language="Javascript">
23
function chkFormular() {
24
 if(document.ein.zielThread.value == '0') {
25
   alert('{[editmulti_error_nothread]}.');
26
   return false;
27
 }
28
disableSubmit();
29
 return true;
30
}
31
</script>
32
<form method=post action="{{form_link}}" name="ein" onSubmit="return chkFormular()">
33
34
<h2>{[editmulti_info]}</h2>
35
<div class="c_r_cont3"><div class="c_r_top3"><div></div></div><div class="c_r_content3" >
36
<div>
37
<small>{[editmulti_info_select_all]}</small><br><br>
38
<input type="radio" name="newThread" value="0" checked>{[editmulti_use_old]}<br><br>
39
<b>{[editmulti_target_forum]}</b><br>{{forum_title}} <input type=hidden name="zielForum" value="{{zielForum}}"><br><br>
40
<b>{[editmulti_target_thread]}</b><br>
41
<select name="zielThread" style="width:60%" class="inputbox">
42
<option value="0" selected> - - {[editmulti_target_thread_select]} - - </option>
43
{{threads.startlist}}<option value="{{threads:id}}">{{threads:title}}</option>{{threads.end}}
44
</select>
45
<br><br>
46
<input type="radio" name="copy" value="0"{{copy==false.start}} checked{{copy==false.end}}><b>{[editmulti_move]}</b> oder <input type="radio" name="copy" value="1"{{copy==true.start}} checked{{copy==true.end}}><b>{[editmulti_copy]}</b>.
47
<br>
48
<input type="submit" id="merge_submit" name="submit" value="{[name_submit]}" class="button1">
49
</div></div><div class="c_r_bottom3"><div></div></div>
50
    </div>
51
    <div style="clear:both"></div>
52
<br>
53
54
55
<h2>{[editmulti_messages_title]}</h2>
56
<table width="100%"> 
57
<tr>
58
<td class="f_r_tmiddle" width="80">{[editmulti_selection]}</td>
59
<td width=140 class="f_r_tmiddle">{[name_author]}</td>
60
<td class="f_r_tmiddle">{[name_message]}</td>
61
</tr>
62
{{messages.startlist}}
63
<tr class="topiclist {{bg}}">
64
{{bg==bg1.start}}
65
{{bg.start}}bg2{{bg.end}}
66
{{bg==bg1.else}}
67
{{bg.start}}bg1{{bg.end}}
68
{{bg==bg1.end}}
69
<td align="center"><input type="checkbox" name="selMessage[{{messages:i}}]" value="{{messages:id}}" checked></td>
70
<td><small>{{messages:user_link==true.start}}<a href="{{messages:user_link}}">{{messages:username}}</a>{{messages:user_link==true.else}}{{message:username}}{{messages:user_link==true.end}}<br>{{messages:writetime|dateformat}}</small></td>
71
<td><small>{{messages:text_preview}}</small></td>
72
</tr>
73
{{messages.end}}
74
</table>
75
</form>
76
{{chooseThread==true.end}}
77
78
79
80
{{main==true.start}}
81
<script language="Javascript">
82
function allunder(ab) {
83
  var i = ab;
84
  while(document.forms.ein.elements['selMessage[' + i + ']']!=null) {
85
     document.forms.ein.elements['selMessage[' + i + ']'].checked = true;
86
     i++;
87
  }
88
}
89
function chkFormular() {
90
  if(document.ein.newThread[0].checked && document.ein.newTitle.value.length<2) {
91
    alert('{[editmulti_error_notitle]}');
92
    return false;
93
  }
94
  var i = 0;
95
  var msg_checked = false;
96
  var msg_unchecked = false;
97
  while( document.forms.ein.elements['selMessage[' + i + ']']!=null) {
98
     if( document.forms.ein.elements['selMessage[' + i + ']'].checked == true) {
99
        msg_checked = true;
100
     } else {
101
        msg_unchecked = true;
102
      }
103
     i++;
104
  }
105
   if(msg_checked) {
106
disableSubmit();
107
      return true;
108
   } else {
109
    alert('{[editmulti_error_noselection]} ');
110
    return false;
111
   }
112
  }
113
   function forNew() {
114
     document.getElementById('zielThemaName').style.display = '';
115
     document.getElementById('zielThema').style.display = 'none';
116
   }
117
   function forOld() {
118
     document.getElementById('zielThemaName').style.display = 'none';
119
     document.getElementById('zielThema').style.display = '';
120
   }
121
function disableSubmit(){
122
document.getElementById('merge_submit').setAttribute('disabled',true);
123
}
124
</script>
125
<form method=post action="{{form_link}}" name="ein" onSubmit="return chkFormular()">
126
127
<h2>{[name_split_thread]}</h2>
128
<div class="c_r_cont3"><div class="c_r_top3"><div></div></div><div class="c_r_content3" >
129
    <div>
130
<p>
131
{[editmulti_info]}<br>
132
<small>{[editmulti_info_select_all]}</small><br><br>
133
<input type="radio" name="newThread" value=1 checked onClick="javascript:forNew()">{[editmulti_use_new]}, <input type="radio" name="newThread" value="0" onClick="javascript:forOld()">{[editmulti_use_old]}<br><br>
134
<b>{[editmulti_target_forum]}</b><br><select size="1" name="zielForum" class="inputbox" style="width:200px;">{{forum_jump_optionfields}}</select><br><br>
135
<div id="zielThemaName"><b>{[name_subject]}</b><br><input type="text" name="newTitle" value="" style="width:400px" class="inputbox"><br><br></div>
136
<div id="zielThema" style="display:none"><b>{[editmulti_target_thread]}</b><br>{[editmulti_target_thread_nextpage]}<br><br></div>
137
<input type="radio" name="copy" value="0" checked><b>{[editmulti_move]}</b> oder <input type="radio" name="copy" value="1"><b>{[editmulti_copy]}</b>.
138
</p>
139
<input type="submit" id="merge_submit" name="submit" value="{[name_submit]}" class="button1">
140
141
142
<br/><br/><br/>
143
144
<b>{[editmulti_messages_title]}</b>
145
<table width="100%"> 
146
<tr>
147
<td width="10%" height="50px" align="center"><b>{[name_select]}</b></td>
148
<td width="20%" height="50px" align="center"><b>{[name_author]}</b></td>
149
<td width="70%" height="50px" align="center"><b>{[name_message]}</b></td>
150
</tr>
151
{{messages.startlist}}
152
153
<tr>
154
<td colspan="3"><hr/></td>
155
</tr>
156
157
<tr>
158
<td align="center" valign="top">
159
<small>
160
<input type="checkbox" name="selMessage[{{messages:i}}]" value="{{messages:id}}">
161
<br/><a href="javascript:allunder({{messages:i}});">{[name_get_all_from]}</a></small>
162
</td>
163
164
<td valign="top" align="center">
165
<small>{{messages:user_link==true.start}}<b>{{messages:username}}</b>{{messages:user_link==true.else}}{{message:username}}{{messages:user_link==true.end}}<br>{{messages:writetime|dateformat}}</small></td><td><small>{{messages:text}}</small></td>
166
167
</tr>
168
169
{{messages.end}}
170
 </table>
171
</form>
172
173
</div></div><div class="c_r_bottom3"><div></div></div>
174
    </div>
175
    <div style="clear:both"></div>
176
177
{{main==true.end}}
  
179
Template-Element: Bildergalerie - Home im Template: Gaia Template
(1 Changes, Last: 2010-10-12)
Developers: - iggy
1 <script language="javascript" src="{{js_uri}}jquery.js" type="text/javascript"></script>
2
<script type="text/javascript" language="text/javascript" src="{{js_uri}}ui/ui.core.js"></script>
3
<script type="text/javascript" language="text/javascript" src="{{js_uri}}ui/ui.draggable.js"></script>
4
<script type="text/javascript" language="text/javascript" src="{{js_uri}}ui/ui.droppable.js"></script>
5
<script type="text/javascript" language="text/javascript" src="{{js_uri}}ui/ui.sortable.js"></script>
2
{{jqui.start}}https://img.homepagemodules.de/ds/static/jquery/ui/jquery-ui-1.8.5.custom.js{{jqui.end}}
3
<script type="text/javascript" language="text/javascript" src="{{jqui}}"></script>
4
5 <!-- javascripts for this template element --->
6 {{drag_drop_js.start}}
7
8 <script language="javascript" type="text/javascript">
9 /*Id's and definitions:*/
10 var name_sort,date_sort,user_sort = 'desc';
11
Template-Element: Neuen Beitrag schreiben im Template: Gaia Template
(89 Changes, Last: 2010-10-21)
Developers: - iggy
1
 
1
<script type="text/javascript" src="https://img.homepagemodules.de/ds/static/jquery/min/jquery-1.4.2.min.js"></script>
2
<script type="text/javascript" src="https://img.homepagemodules.de/ds/static/jquery/plugins/jquery.form.js"></script>
3
4
5 <script type="text/javascript">
6
7 <!--
8
showpreview=false;
9 function chkFormular() {
10
11 var errormess = 0;
12 var mxt = document.getElementById('messagetext').value;
13 var mst = document.getElementById('messagetitle').value;
  
39 document.getElementById('messagetitle_e_m').style.display='none';
40 }
41
42
/*	
43
 //Validate Captcha
44
 captcha_valide = ValidateCaptcha(''+captcha_code+'');
45
if(!captcha_valide){
46
document.getElementById('captcha_div').style.border='2px solid #a71111';
47
	 document.getElementById('captcha_e').style.display='inline';
48
     document.getElementById('captcha').focus();
49
	 errormess = 1;
50
	 sydfvamyscmop();
51
}
52
else {
53
   document.getElementById('captcha_div').style.border='none'; 
54
   document.getElementById('captcha_e').style.display='none';
55
}
56
 */
57
 
58
 
42
43 if (errormess == 1 ) {return false;}
44 else {return true;}
45
  
179 <div style="clear:both";></div>
180
181
182
<div class="text" width="100%" style="text-align: justify;min-height:80px;" >
182
<div class="text" width="100%" style="text-align: justify;min-height:95px;" >
183 <div style="padding: 0px 5px 5px 20px; background-color: {{global_post_bg}}; float: right; margin-top: -50px; border: none !important;">
184
185
  
294 </div>
295 {{captcha==true.end}}
296
297
 <table cellpadding=0 cellspacing=0 border=0 width="100%"><tr><td align="left">
297
298
299
300
 <table cellpadding=0 cellspacing=0 border=0 style="width:auto"><tr><td align="left" style="width:300px">
301 <input type="hidden" name="writemessage" value="1">
302 <input type="hidden" name="unique" value="{{uniquepostid}}">
303
 <input type="submit" name="a1" value="{[new_submit]}" class="button1" tabindex="3">
304
 <input type="submit" name="preview" value="{[new_submit_preview]}" class="button1"></td><td align="left">
303
 <input type="submit" onclick="showpreview=false;" name="a1" value="{[new_submit]}" class="button1" tabindex="3">
304
 <input type="submit" name="preview" value="{[new_submit_preview]}" id="previewbutton" class="button1"></td><td align="left" style="padding-left:20px;">
305 {{user_registered==true.start}}<label><input type="checkbox" name="topicabo" value="1" style="vertical-align: middle;"><small style="margin-left: 5px;"><b>{[new_do_abo]}</b></small></label><br/>{{user_registered==true.end}}
306
{{canvote==true.start}}<label><input type="checkbox" name="appendvote" value="1" style="vertical-align: middle;"><small style="margin-left: 5px;"><b>{[new_do_vote]}</b></small></label>{{canvote==true.end}}
307
{{addfile==true.start}}<br/><a href="#" style="text-decoration: none;"  onClick="window.open('{{addfile_link}}','uploadfile','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=500,height=400,screenX=10,screenY=10,left=0,top=0')"><small>{[new_do_upload]}</small></a>{{addfile==true.end}} 
306
{{canvote==true.start}}<label><input type="checkbox" name="appendvote" value="1" style="vertical-align: middle;"><small style="margin-left: 5px;"><b>{[new_do_vote]}</b></small></label><br/>{{canvote==true.end}}
307
308 </td></tr></table>
309
  
310 </div>
311
	</form></div><div style="clear:both"></div><div class="c_r_bottom3"><div></div></div>
311
	</form>
312
	
313
	{{addfile==true.start}}
314
<div id="upload_div" class="button1" style="float:right;margin-top:-30px;margin-right:40px;">
315
<small style="margin-left: 5px;" id="do_upload"><b>{[new_do_upload]}</b></small>
316
</div>
317
  <div style="clear:both"></div>
318
319
{{addfile==true.end}}
320
	
321
	</div><div style="clear:both"></div><div class="c_r_bottom3"><div></div></div>
322 </div>
323 <div style="clear:both"></div>
324 {{reply==true.start}}
  
328 {{posts.startlist}}
329
330 <script language="javascript">
331
332
333 var replyquote_{{posts:number}} = "{{posts:replyquote}}";
334 var replyusernamequote_{{posts:number}} = "{{posts:replyusernamequote}}";
335
  
354 {{reply==true.end}}
355
356 <script type="text/javascript">
357
358
$('#previewbutton').click(function(event){
359
	if($('#fileslist').length){		
360
		conf = confirm("{[thread_files_lost]}");
361
		if(!conf){event.preventDefault();}
362
		
363
	}
364
});
365
$('#do_upload').click(function(){
366
	$(this).remove();
367
	initUploadForm();});
368
369
function initUploadForm(){
370
url = "{{addfile_link}}";
371
$.get(url,function(res){
372
		$upldiv = $('<div>').html(res);
373
		$upldiv.appendTo($('#upload_div'));
374
		applyFormBindings();
375
	});
376
377
}
378
379
function applyFormBindings(){
380
381
		/*apply bindings*/
382
		$('#u1').change(function(){$('#upload_form').submit();});
383
		$('.delfile').click(function(){$('#up_in_progress_text').html('{[upload_rem_file]}');$('#upload_form').submit();});
384
		
385
		
386
		/*apply template-specific styles*/
387
		$('#uploadinfo').css('background-color','{{global_post_bg}}').css('border','1px solid {{global_button_border}}').css('color','{{global_text_color}}');
388
		$('#upload_div').removeClass('button1');
389
		$('#upload_div').css('width','300px').css('marginLeft','20px').css('marginTop','-35px');
390
		
391
		makeAjaxForm();
392
393
}
394
395
396
397
function makeAjaxForm(){
398
$('#upload_form').ajaxForm({
399
		beforeSubmit: function(){
400
			$('#upload_new').hide();			
401
			$('#upload_in_progress').show();							
402
		},
403
		success: function(res){
404
			$('#upload_in_progress').hide();
405
               $('#upload_div').html("<div>"+res+"</div>");			   
406
			   if($('#fileslist').length){$('#uplhead').hide()};				
407
			   applyFormBindings();	
408
            }});
409
}
410
411
412 // <![CDATA[
413 subIconBars(show_panel);
414 // ]]>
415
Template-Element: Neuen Beitrag schreiben - Datei Upload im Template: Gaia Template
(20 Changes, Last: 2010-10-20)
Developers: - iggy
1
<HTML>
2
<HEAD>
3
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4
<meta http-equiv="Content-Language" content="{[meta_language]}">
5
<META NAME="robots" CONTENT="NOINDEX,FOLLOW">
6
<link rel="stylesheet" type="text/css" href="style.css">
7
<TITLE>{[upload_title]}</TITLE>
1
{{link_css.start}}style.css{{link_css.end}}
2
<html>
3
<head>
4
<link rel="stylesheet" type="text/css" href="{{link_css}}" />
5 <script language="Javascript">
6 function deluploadbutton() {
7
 document.getElementById('uploadbutton').innerHTML='{[upload_in_progress]}';
7
	document.getElementById('upload_form').style.display = "none";
8
	document.getElementById('upload_in_progress').style.display = "block";
9
	
10
	/*document.getElementById('uploadbutton').innerHTML='{[upload_in_progress]}';*/
11 }
12
13
14
function createRequestObject() {
14
function upl_createRequestObject() {
15 var ro;
16 var browser = navigator.appName;
17 if(browser == "Microsoft Internet Explorer"){
  
21 }
22 return ro;
23 }
24
var http = createRequestObject();
25
function progress_status() {
24
var http = upl_createRequestObject();
25
function upl_progress_status() {
26
27 http.open('get', '{{progress_link}}');
28
  http.onreadystatechange = handleResponse;
28
  http.onreadystatechange = upl_handleResponse;
29 http.send(null);
30
  
31 }
32
function handleResponse() {
32
function upl_handleResponse() {
33 if(http==null) return;
34 if(http.readyState == 4) {
35 var response = http.responseText;
36
    if(response.length>0) {
37
      var resp = eval('(' + response + ')');
36
    if(response.length>0) {	
37
	
38
      var resp = eval('(' + response + ')');	  
39
	  
40 var current = parseInt(resp['current']/1024) ;
41 var total = parseInt(resp['total']/1024);
42
        if(total>0 && current>0) document.getElementById('uploadbutton').innerHTML = '<b>{[upload_status]}</b>';
43
        window.setTimeout("progress_status()",1);
42
		
43
		
44
        if(total>0 && current>0){
45
			percent = current/total;
46
			document.getElementById('progressmeter').style.width = (percent*2+20)+'px';  
47
		}
48
        window.setTimeout("upl_progress_status()",500);
49 }
50 }
51 }
52
function checkempty() {
53
  var upload = false;
54
  if(!document.getElementById('u1').value) { /* document.getElementById('u1').disabled = true; */ } else upload = true;
55
  if(!document.getElementById('u2').value) { /* document.getElementById('u2').disabled = true; */ } else upload = true;
56
  if(!document.getElementById('u3').value) { /* document.getElementById('u3').disabled = true; */ } else upload = true;
57
  if(upload==true) window.setTimeout("progress_status()",1000);
58
  return true;
59
}
52
53 </script>
54
</HEAD>
55
<BODY marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" id="upl_form_body">
56
<form action="{{form_link}}" method="post" enctype="multipart/form-data" name="ein" onSubmit="javascript:checkempty();">
54
</head>
55
<body>
56
<div  class="c_r_content3" style="width:100%;padding:0px;height:100%;margin:0px;border:0px;">
57
<div style="padding:5px;">
58
<div id="upload_in_progress" style="display:none">
59
<center>
60
<div id='prog_bar' style="padding:0px; margin:0px;height: 40px; width: 220px; position:relative;">
61
	<div id="loadingimg" style="height: 20px; width: 220px; padding:0px; margin:0px;position:absolute; top:0px;left:0px; background-image:url(https://files.homepagemodules.de/b2001010/a_726_8a6270f9.gif);background-repeat: no-repeat;">&nbsp;</div>
62
	<div id="progressmeter" style="height: 20px; width:0px; padding:0px; margin:0px;position:absolute; top:0px;left:0px; background-image:url(https://files.homepagemodules.de/b2001010/a_727_d2039cc2.gif);background-repeat: no-repeat;">&nbsp;</div>
63
</div><br/>	
64
<strong>{[upload_in_progress2]}</strong><br/><small>{[upload_may_be_slow]}</small><br />
65
66
</center>
67
</div>
68
<form action="{{form_link}}" id="upload_form" method="post" enctype="multipart/form-data" name="ein" >
69 <input type="hidden" name="APC_UPLOAD_PROGRESS" value="{{progress_id}}"/>
70
 <h3>{[upload_title]}</h3>
71
<div class="c_r_cont3"><div class="c_r_top3"><div></div></div><div class="c_r_content3" >
72
    <div >
73
     <p>{[upload_choose_files]}</p>
74
 <input type="file" class="inputbox" name="uploadfile[]" id="u1" maxlength="4194304" size=25/ ><br>
75
<input type="file" class="inputbox" id="u2" name="uploadfile[]" maxlength="4194304" size=25 /><br>
76
<input type="file" class="inputbox" id="u3" name="uploadfile[]" maxlength="4194304" size=25 /><br>
77
{{kommentar.start}}
78
 <p>{[upload_choose_urls]}</p>
79
<input type="text" class="inputbox" id="u1" name="uploadurl[]" value="http://" style="width: 240px"><br>
80
<input type="text" class="inputbox" id="u2" name="uploadurl[]" value="http://" style="width: 240px"><br>
81
<input type="text" class="inputbox" id="u3" name="uploadurl[]" value="http://" style="width: 240px"><br>
82
{{kommentar.end}}
83
<br>
70
<div style="position:relative; display:inline;">
71
	<img src="https://files.homepagemodules.de/b2001010/a_520.png" alt="info" onmouseover="document.getElementById('uploadinfo').style.display = 'block';"/>
72
	<div id="uploadinfo" class="button1" style="display:none; width:320px;position:absolute; top:0px;left:0px;  text-align:center;  -moz-border-radius:8px;" onmouseout="this.style.display = 'none';">
73
		<small>{[upload_info]}</small>
74
	</div>
75
</div>
76
<b><small>{[upload_choose_file]}</small></b>
77
<br/>
78
<input type="file" name="uploadfile[]" id="u1" maxlength="4194304" size=25 class="inputbox autowidth" onchange="deluploadbutton();this.parentNode.submit();upl_progress_status();"/>
79
</hr>
80
81 {{files==true.start}}
82
<p>{[upload_uploaded_files]}</p>
82
<br/><br/>
83
<b><small>{[upload_uploaded_files]}</small></b>
84
<ul id="fileslist" style="margin: 0px;">
85 {{files.startlist}}
86
 
86
<li>
87 <input type="hidden" name="tempfiles[{{files:tempname}}]" value="{{files:filename}}">
88
{{files:filename}}<input type="checkbox" name="delfile[{{files:tempname}}]" value="1">{[name_delete]}<br>
88
<span style="display:inline-block; width:200px;">{{files:filename}}</span><input type="checkbox" name="delfile[{{files:tempname}}]" id="delfile[{{files:tempname}}]" value="1" onchange="checkDelFiles();"><label for="delfile[{{files:tempname}}]">{[name_delete]}</label>
89
</li>
90 {{files.end}}
91
</ul>
92 {{files==true.end}}
93
94
<div id="uploadbutton"><input type="submit" name=xyz value="{[upload_submit]}" class="button2"></div><br><br>
95
<small>{[upload_info]}</small>
96
</div></div><div class="c_r_bottom3"><div></div></div>
97
    </div>
98
    <div style="clear:both"></div>
94
<div id="uploadbutton" style="display:none"><input type="submit" name=xyz value="{[upload_remove_sel]}" class="button1"><br><br></div>
95
96 </form>
97
</BODY>
98
</HTML>
98
</div>
99
</div>
100
101
<script language="Javascript">
102
function checkDelFiles(){
103
var del_file = false;
104
checkboxes = document.getElementById('fileslist').getElementsByTagName("INPUT");
105
  for (var i=0; i<checkboxes.length; i++) {
106
    if (checkboxes[i].checked) {
107
      del_file = true;
108
    }
109
  }
110
  if(del_file){document.getElementById('uploadbutton').style.display = 'block';}
111
  else{document.getElementById('uploadbutton').style.display = 'none';}
112
}
113
</script>
114
115
</body></html>
  
117
Template-Element: Mitglieder Profil im Template: Gaia Template
(5 Changes, Last: 2010-10-07)
Developers: - iggy
  
528
529 {{userGbPosts==true.start}}
530 <div class="c_r_cont1"><div class="c_r_top1"><div></div></div><div class="c_r_content1">
531
<div style="float:left;">
531
 <table width="100%"><tr><td style="width:50%; text-align:left">
532 <a href="#" name="comments"></a><h2 style="display: inline;">{[userbook_title_my]}</h2> &nbsp;&nbsp;&nbsp;&nbsp;{{show_pages==true.start}}{{pages_html}}{{show_pages==true.end}}
533
</div>
534
533
</td>
534
<td style="width:50%; text-align:right">
535 {{user_gb_canpost==true.start}}<a href="#user_guestbook_new" style="float: right;"><small>{[userbook_new_link]}</small></a>{{user_gb_canpost==true.end}}
536
537
<div style="clear:both"></div>
538
536
</td></tr></table>
537
    <div style="clear:both"></div>
538
539 </div><div class="c_r_bottom1"><div></div></div>
540 </div>
541