Browse Source

Old theme files

Victor De la Rocha 16 years ago
parent
commit
94250eef66

+ 35 - 0
admin/themes/admin/template_add_conversation.htm View File

1
+		<div>
2
+			<label for="title">Title <span class="option">(optional)</span></label><br />
3
+			<input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
4
+		</div>
5
+		
6
+		<div>
7
+			<label for="description">Conversation</label>
8
+			<div style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
9
+				<span style="font-weight: bold;">Example</span><br>
10
+				<span style="font-style: italic;">
11
+					Geek: Wow an open source tumblelog CMS!!.<br>
12
+					Normal: Tumble... what??<br>
13
+					Geek: Read the wikipedia!!
14
+				</span>
15
+			</div>
16
+			<textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
17
+		</div>
18
+
19
+		<input type="hidden" name="url" id="url" value="" />
20
+		<input type="hidden" name="type" id="type" value="{type}" />
21
+		<input type="hidden" name="date" id="date" value="{date}" />
22
+		<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
23
+
24
+	<script>
25
+		$("#autosave").validate({
26
+			rules: {
27
+				description: "required"
28
+			},
29
+			errorElement: "span",
30
+			errorClass: "validate_span", 
31
+			errorPlacement: function(label, element) { 
32
+				label.prependTo(element.parent().children("label"))
33
+			} 
34
+		});
35
+	</script>

+ 38 - 0
admin/themes/admin/template_add_link.htm View File

1
+			
2
+			<div>
3
+				<label for="title">Name <span class="option">(optional)</span></label>			
4
+				<br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
5
+			</div>
6
+			<div>
7
+				<label for="url">URL</label>			
8
+				<br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
9
+			</div>
10
+			<div>
11
+				<div id="add_link_description" style="margin-top:5px;">
12
+					<a class="linkFrm" href="#" onclick="document.getElementById('link_description').style.display = ''; document.getElementById('add_link_description').style.display = 'none'; return false;" style="font-size:11px;">Add a description</a><br /><br />
13
+				</div>								
14
+				<div id="link_description" style="display:none;">
15
+					<label for="description">Description</label><br />								
16
+					<textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>											
17
+				</div>
18
+			</div>
19
+			<input type="hidden" name="type" id="type" value="{type}" />
20
+			<input type="hidden" name="date" id="date" value="{date}" />
21
+			<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
22
+
23
+
24
+	<script>
25
+		$("#autosave").validate({
26
+			rules: {
27
+				url: {
28
+					required: true,
29
+					url: true
30
+				}
31
+			},
32
+			errorElement: "span",
33
+			errorClass: "validate_span", 
34
+			errorPlacement: function(label, element) { 
35
+				label.prependTo(element.prev())
36
+			} 
37
+		});
38
+	</script>

+ 35 - 0
admin/themes/admin/template_add_mp3.htm View File

1
+									
2
+		<div>
3
+			<label for="url">MP3 URL</label>			
4
+			<br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
5
+			<div style="color: rgb(136, 136, 136); margin-bottom: 5px; font-size: 11px; font-weight: bold;">
6
+				This is the MP3 file URL or a GoEar URL or an Odeo URL.<br>
7
+				<span style="font-size: 10px; font-weight: normal;">(ie. http://www.goear.com/listen.php?v=c0a2c85)</span>
8
+			</div>
9
+		</div>								
10
+		<div>
11
+			<label for="description">Caption <span class="option">(optional)</span></label><br />
12
+			<textarea rows="12" cols="84" name="description" id="description" tabindex="2">{editBody}</textarea>											
13
+		</div>
14
+
15
+		<input type="hidden" name="title" id="title" value="" />
16
+		<input type="hidden" name="type" id="type" value="{type}" />
17
+		<input type="hidden" name="date" id="date" value="{date}" />
18
+		<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
19
+
20
+
21
+	<script>
22
+		$("#autosave").validate({
23
+			rules: {
24
+				url: {
25
+					required: true,
26
+					url: true
27
+				}
28
+			},
29
+			errorElement: "span",
30
+			errorClass: "validate_span", 
31
+			errorPlacement: function(label, element) { 
32
+				label.prependTo(element.prev())
33
+			} 
34
+		});
35
+	</script>

+ 76 - 0
admin/themes/admin/template_add_photo.htm View File

1
+
2
+
3
+	<div id="photo_upload">
4
+		<label for="description">Photo</label>												
5
+		<br /><input type="file" name="photo" id="photo" accept="image/gif,image/jpeg,image/jpg,image/png"/>
6
+		<div style="font-size:11px; color:#666; margin-top:5px;">
7
+			Supports JPEG, GIF and PNG.&nbsp; <strong>Max size is 10 MB.</strong>
8
+		</div>
9
+		<div style="font-size:11px; color:#666; margin-top:5px;">
10
+			<a href="#" class="linkFrm">Use a URL instead</a>								
11
+		</div>
12
+	</div>
13
+
14
+	<div id="photo_url">
15
+		<label for="description">Photo URL</label>
16
+		<br /><input class="input-text" type="text" name="url" id="url" size="80" value="{editUrl}" />
17
+		<div style="font-size:11px; color:#666; margin-top:5px;">
18
+			<a href="#" class="linkFrm">Use a upload form instead</a>
19
+		</div>
20
+	</div>
21
+
22
+	<div>
23
+		<label for="description" style="display:block;">Caption <span class="option">(optional)</span></label>
24
+		<textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>											
25
+	</div>
26
+
27
+	<input type="hidden" name="title" id="title" value="" />
28
+	<input type="hidden" name="MAX_FILE_SIZE" value="10485760" />
29
+	<input type="hidden" name="type" id="type" value="{type}" />
30
+	<input type="hidden" name="date" id="date" value="{date}" />
31
+	<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
32
+
33
+
34
+
35
+
36
+	<script>
37
+		$('#photo_url').css('display','none');
38
+		$("#autosave").validate({
39
+			rules: {				
40
+				photo: { 
41
+					required:  function() {
42
+ 						return ($('#photo_upload').css('display')!= 'none') ? true : false;
43
+  					},
44
+					accept: "(jpe?g|gif|png)" 
45
+				},
46
+ 				url: { 
47
+					required:  function() {
48
+ 						return ($('#photo_url').css('display')!= 'none') ? true : false;
49
+  					},
50
+					url: true
51
+				}
52
+			},
53
+			errorElement: "span",
54
+			errorClass: "validate_span", 
55
+			errorPlacement: function(label, element) { 
56
+				label.prependTo(element.prev())
57
+			}			 
58
+		});
59
+
60
+		$("#photo_upload a.linkFrm").click( function() {
61
+				$('#photo_upload').css('display','none');				
62
+				$('#photo_url').css('display','block'); 
63
+				$('#photo').val(''); 
64
+				return false;
65
+			} 
66
+		);
67
+		
68
+		$("#photo_url a.linkFrm").click( function() {
69
+				$('#photo_url').css('display','none');				
70
+				$('#photo_upload').css('display','block'); 
71
+				$('#url').val(''); 
72
+				return false;
73
+			} 
74
+		);
75
+
76
+	</script>

+ 66 - 0
admin/themes/admin/template_add_photo_bm.htm View File

1
+
2
+
3
+	<div id="photo_upload">
4
+		
5
+	</div>
6
+
7
+	<div id="photo_url">
8
+		<label for="description">Photo URL</label>
9
+		<br /><input class="input-text" type="text" name="url" id="url" size="80" value="{editUrl}" />
10
+	</div>
11
+
12
+	<div>
13
+		<label for="description" style="display:block;">Caption <span class="option">(optional)</span></label>
14
+		<br /><textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>											
15
+	</div>
16
+
17
+	<input type="hidden" name="title" id="title" value="" />
18
+	<input type="hidden" name="MAX_FILE_SIZE" value="10485760" />
19
+	<input type="hidden" name="type" id="type" value="{type}" />
20
+	<input type="hidden" name="date" id="date" value="{date}" />
21
+	<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
22
+
23
+
24
+
25
+
26
+	<script>
27
+		$('#photo_upload').css('display','none');	
28
+		$("#autosave").validate({
29
+			rules: {				
30
+				photo: { 
31
+					required:  function() {
32
+ 						return ($('#photo_upload').css('display')!= 'none') ? true : false;
33
+  					},
34
+					accept: "(jpe?g|gif|png)" 
35
+				},
36
+ 				url: { 
37
+					required:  function() {
38
+ 						return ($('#photo_url').css('display')!= 'none') ? true : false;
39
+  					},
40
+					url: true
41
+				}
42
+			},
43
+			errorElement: "span",
44
+			errorClass: "validate_span", 
45
+			errorPlacement: function(label, element) { 
46
+				label.prependTo(element.prev())
47
+			}			 
48
+		});
49
+
50
+		$("#photo_upload a.linkFrm").click( function() {
51
+				$('#photo_upload').css('display','none');				
52
+				$('#photo_url').css('display','block'); 
53
+				$('#photo').val(''); 
54
+				return false;
55
+			} 
56
+		);
57
+		
58
+		$("#photo_url a.linkFrm").click( function() {
59
+				$('#photo_url').css('display','none');				
60
+				$('#photo_upload').css('display','block'); 
61
+				$('#url').val(''); 
62
+				return false;
63
+			} 
64
+		);
65
+
66
+	</script>

+ 27 - 0
admin/themes/admin/template_add_post.htm View File

1
+	
2
+	<div>
3
+		<label for="title" style="display:block;">Title <span class="option">(optional)</span></label>
4
+		<br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
5
+	</div>	
6
+	<div>
7
+		<label for="description" style="display:block;">Body</label>
8
+		<textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>											
9
+	</div>
10
+
11
+	<input type="hidden" name="url" id="url" value="" />
12
+	<input type="hidden" name="type" id="type" value="{type}" />
13
+	<input type="hidden" name="date" id="date" value="{date}" />
14
+	<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
15
+
16
+	<script>
17
+		$("#autosave").validate({
18
+			rules: {
19
+				description: "required"
20
+			},
21
+			errorElement: "span",
22
+			errorClass: "validate_span", 
23
+			errorPlacement: function(label, element) { 
24
+				label.prependTo(element.prev())
25
+			} 
26
+		});
27
+	</script>

+ 29 - 0
admin/themes/admin/template_add_quote.htm View File

1
+		
2
+		
3
+		<div>
4
+			<label for="description">Quote</label>
5
+			<br /><textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>											
6
+		</div>
7
+		<div>
8
+			<label for="title">Source <span class="option">(optional)</span></label>
9
+			<br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
10
+		</div>
11
+
12
+		<input type="hidden" name="url" id="url" value="" />
13
+		<input type="hidden" name="type" id="type" value="{type}" />
14
+		<input type="hidden" name="date" id="date" value="{date}" />
15
+		<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
16
+
17
+
18
+	<script>
19
+		$("#autosave").validate({
20
+			rules: {
21
+				description: "required"
22
+			},
23
+			errorElement: "span",
24
+			errorClass: "validate_span", 
25
+			errorPlacement: function(label, element) { 
26
+				label.prependTo(element.prev())
27
+			} 
28
+		});
29
+	</script>

+ 36 - 0
admin/themes/admin/template_add_video.htm View File

1
+				
2
+		<div>
3
+			<label for="url">Video URL</label>			
4
+			<br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
5
+			<div style="color: rgb(136, 136, 136); margin-bottom: 5px; font-size: 11px; font-weight: bold;">
6
+				This is the URL from the video sites YouTube, Vimeo, Yahoo, Daily Motion <br />
7
+				or even an Slide Share Presentation.<br />
8
+				<span style="font-size: 10px; font-weight: normal;">(ie. http://youtube.com/watch?v=HcBFLN9cli0)</span>
9
+			</div>
10
+		</div>									
11
+		<div>
12
+			<label for="description">Caption <span class="option">(optional)</span></label><br />
13
+			<textarea rows="12" cols="84" name="description" id="description" tabindex="2">{editBody}</textarea>											
14
+		</div>
15
+
16
+		<input type="hidden" name="title" id="title" value="" />
17
+		<input type="hidden" name="type" id="type" value="{type}" />
18
+		<input type="hidden" name="date" id="date" value="{date}" />
19
+		<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
20
+
21
+
22
+	<script>
23
+		$("#autosave").validate({
24
+			rules: {
25
+				url: {
26
+					required: true,
27
+					url: true
28
+				}
29
+			},
30
+			errorElement: "span",
31
+			errorClass: "validate_span", 
32
+			errorPlacement: function(label, element) { 
33
+				label.prependTo(element.prev())
34
+			} 
35
+		});
36
+	</script>

+ 8 - 0
admin/themes/admin/template_comment.htm View File

1
+			<div class="entry">
2
+				<div class="info"><span class="compact"><a href="{Permalink}">Link</a>&nbsp;<a href="{URL_Tumble}/admin/comments.php?edit={Id_Comment}"><img src="{URL_Tumble}/admin/css/images/edit.png" alt="" title="" /></a>&nbsp;<a href="{URL_Tumble}/admin/comments.php?delete={Id_Comment}"><img src="{URL_Tumble}/admin/css/images/delete.png" alt="" title="" /></a></span>
3
+					<p>{Comment_Author}</p>
4
+				</div>
5
+				<div class="post">
6
+					<p>{Comment}</p>
7
+				</div>
8
+			</div>

+ 28 - 0
admin/themes/admin/template_comment_post.htm View File

1
+		<form action="{Form_Action}" method="post" name="commentForm" id="commentForm" class="newpost">
2
+			<fieldset>
3
+			<p>
4
+				<label for="username">Name</label>
5
+				<input class="txt" name="username" id="username" value="{User}" size="22" tabindex="1" type="text" />				
6
+			</p>
7
+			<p>
8
+				<label for="email">E-mail</label>
9
+				<input class="txt" name="email" id="email" value="{Email}" size="22" tabindex="2" type="text" />				
10
+			</p>
11
+			<p>
12
+				<label for="web">Website</label>
13
+				<input class="txt" name="web" id="web" value="{Web}" size="22" tabindex="3" type="text" />				
14
+			</p>			
15
+			<p>
16
+				<label for="description">Body</label><br />
17
+				<textarea name="content" id="content" cols="50" rows="10" tabindex="4">{Comment}</textarea>
18
+			</p>
19
+			<p>
20
+				<input type="submit" value="Modify comment" name="btnAdd" id="btnAdd" tabindex="5" />
21
+			</p>
22
+			<p>
23
+				<input name="id_post" id="id_post" value="{Id_Post}" type="hidden" />
24
+				<input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
25
+				<input name="id_comment" id="id_comment" value="{Id_Comment}" type="hidden" />
26
+			</p>
27
+			</fieldset>
28
+		</form>

+ 9 - 0
admin/themes/admin/template_conversation.htm View File

1
+			<div class="entry">
2
+				<div class="info"><span class="compact"><a href="{Permalink}">Link</a>&nbsp;<a href="{URL_Tumble}/admin/index.php?edit={Id_Post}"><img src="{URL_Tumble}/admin/css/images/edit.png" alt="" title="" /></a>&nbsp;<a href="{URL_Tumble}/admin/index.php?delete={Id_Post}"><img src="{URL_Tumble}/admin/css/images/delete.png" alt="" title="" /></a></span>
3
+					<p>{Date_Added}</p>
4
+				</div>
5
+				<div class="post">
6
+					<span class="option">{Title}</span>
7
+					<div class="conversation">{Conversation}</div>
8
+				</div>
9
+			</div>

+ 9 - 0
admin/themes/admin/template_mp3.htm View File

1
+			<div class="entry">
2
+				<div class="info"><span class="compact"><a href="{Permalink}">Link</a>&nbsp;<a href="{URL_Tumble}/admin/index.php?edit={Id_Post}"><img src="{URL_Tumble}/admin/css/images/edit.png" alt="" title="" /></a>&nbsp;<a href="{URL_Tumble}/admin/index.php?delete={Id_Post}"><img src="{URL_Tumble}/admin/css/images/delete.png" alt="" title="" /></a></span>
3
+					<p>{Date_Added}</p>
4
+				</div>
5
+				<div class="post">
6
+					<span class="option">{Caption}</span>
7
+					<p><img src="{URL_Tumble}/admin/css/images/music.png" alt="Play song" />&nbsp;<a href="{Permalink}">Play</a></p>
8
+				</div>
9
+			</div>

+ 9 - 0
admin/themes/admin/template_photo.htm View File

1
+			<div class="entry">
2
+				<div class="info"><span class="compact"><a href="{Permalink}">Link</a>&nbsp;<a href="{URL_Tumble}/admin/index.php?edit={Id_Post}"><img src="{URL_Tumble}/admin/css/images/edit.png" alt="" title="" /></a>&nbsp;<a href="{URL_Tumble}/admin/index.php?delete={Id_Post}"><img src="{URL_Tumble}/admin/css/images/delete.png" alt="" title="" /></a></span>
3
+					<p>{Date_Added}</p>
4
+				</div>
5
+				<div class="post">
6
+					<span class="option">{Caption}</span>
7
+					<p><a {Effect}><img src="{PhotoURL}" alt="{PhotoAlt}" /></a></a></p>
8
+				</div>
9
+			</div>

+ 9 - 0
admin/themes/admin/template_quote.htm View File

1
+			<div class="entry">
2
+				<div class="info"><span class="compact"><a href="{Permalink}">Link</a>&nbsp;<a href="{URL_Tumble}/admin/index.php?edit={Id_Post}"><img src="{URL_Tumble}/admin/css/images/edit.png" alt="" title="" /></a>&nbsp;<a href="{URL_Tumble}/admin/index.php?delete={Id_Post}"><img src="{URL_Tumble}/admin/css/images/delete.png" alt="" title="" /></a></span>
3
+					<p>{Date_Added}</p>
4
+				</div>
5
+				<div class="post">
6
+					<span class="option">&mdash; {Source}</span>
7
+					<p><big class="quote"><a href="{Permalink}">&#147;</a></big> {Quote}</p>
8
+				</div>
9
+			</div>

+ 9 - 0
admin/themes/admin/template_regular_post.htm View File

1
+			<div class="entry">
2
+				<div class="info"><span class="compact"><a href="{Permalink}">Link</a>&nbsp;<a href="{URL_Tumble}/admin/index.php?edit={Id_Post}"><img src="{URL_Tumble}/admin/css/images/edit.png" alt="" title="" /></a>&nbsp;<a href="{URL_Tumble}/admin/index.php?delete={Id_Post}"><img src="{URL_Tumble}/admin/css/images/delete.png" alt="" title="" /></a></span>
3
+					<p>{Date_Added}</p>
4
+				</div>
5
+				<div class="post">
6
+					<span class="option"><a href="{Permalink}">{Title}</a></span>
7
+					<p>{Body}</p>
8
+				</div>
9
+			</div>

+ 9 - 0
admin/themes/admin/template_url.htm View File

1
+			<div class="entry">
2
+				<div class="info"><span class="compact"><a href="{Permalink}">Link</a>&nbsp;<a href="{URL_Tumble}/admin/index.php?edit={Id_Post}"><img src="{URL_Tumble}/admin/css/images/edit.png" alt="" title="" /></a>&nbsp;<a href="{URL_Tumble}/admin/index.php?delete={Id_Post}"><img src="{URL_Tumble}/admin/css/images/delete.png" alt="" title="" /></a></span>
3
+					<p>{Date_Added}</p>
4
+				</div>
5
+				<div class="post">
6
+					<span class="option">&#187; <a href="{URL}">{Name}</a></span>
7
+					<p>{Description}</p>
8
+				</div>
9
+			</div>

+ 9 - 0
admin/themes/admin/template_video.htm View File

1
+			<div class="entry">
2
+				<div class="info"><span class="compact"><a href="{Permalink}">Link</a>&nbsp;<a href="{URL_Tumble}/admin/index.php?edit={Id_Post}"><img src="{URL_Tumble}/admin/css/images/edit.png" alt="" title="" /></a>&nbsp;<a href="{URL_Tumble}/admin/index.php?delete={Id_Post}"><img src="{URL_Tumble}/admin/css/images/delete.png" alt="" title="" /></a></span>
3
+					<p>{Date_Added}</p>
4
+				</div>
5
+				<div class="post">
6
+					<span class="option">{Caption}</span>
7
+					<p><img src="{URL_Tumble}/admin/css/images/film.png" alt="Watch video" />&nbsp;<a href="{Permalink}">Watch</a></p>
8
+				</div>
9
+			</div>