Old theme files

master
Victor De la Rocha 2008-10-29 02:06:21 +00:00
parent 5fd2206225
commit 94250eef66
17 changed files with 441 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<div>
<label for="title">Title <span class="option">(optional)</span></label><br />
<input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
</div>
<div>
<label for="description">Conversation</label>
<div style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
<span style="font-weight: bold;">Example</span><br>
<span style="font-style: italic;">
Geek: Wow an open source tumblelog CMS!!.<br>
Normal: Tumble... what??<br>
Geek: Read the wikipedia!!
</span>
</div>
<textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
</div>
<input type="hidden" name="url" id="url" value="" />
<input type="hidden" name="type" id="type" value="{type}" />
<input type="hidden" name="date" id="date" value="{date}" />
<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
<script>
$("#autosave").validate({
rules: {
description: "required"
},
errorElement: "span",
errorClass: "validate_span",
errorPlacement: function(label, element) {
label.prependTo(element.parent().children("label"))
}
});
</script>

View File

@ -0,0 +1,38 @@
<div>
<label for="title">Name <span class="option">(optional)</span></label>
<br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
</div>
<div>
<label for="url">URL</label>
<br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
</div>
<div>
<div id="add_link_description" style="margin-top:5px;">
<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 />
</div>
<div id="link_description" style="display:none;">
<label for="description">Description</label><br />
<textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
</div>
</div>
<input type="hidden" name="type" id="type" value="{type}" />
<input type="hidden" name="date" id="date" value="{date}" />
<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
<script>
$("#autosave").validate({
rules: {
url: {
required: true,
url: true
}
},
errorElement: "span",
errorClass: "validate_span",
errorPlacement: function(label, element) {
label.prependTo(element.prev())
}
});
</script>

View File

@ -0,0 +1,35 @@
<div>
<label for="url">MP3 URL</label>
<br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
<div style="color: rgb(136, 136, 136); margin-bottom: 5px; font-size: 11px; font-weight: bold;">
This is the MP3 file URL or a GoEar URL or an Odeo URL.<br>
<span style="font-size: 10px; font-weight: normal;">(ie. http://www.goear.com/listen.php?v=c0a2c85)</span>
</div>
</div>
<div>
<label for="description">Caption <span class="option">(optional)</span></label><br />
<textarea rows="12" cols="84" name="description" id="description" tabindex="2">{editBody}</textarea>
</div>
<input type="hidden" name="title" id="title" value="" />
<input type="hidden" name="type" id="type" value="{type}" />
<input type="hidden" name="date" id="date" value="{date}" />
<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
<script>
$("#autosave").validate({
rules: {
url: {
required: true,
url: true
}
},
errorElement: "span",
errorClass: "validate_span",
errorPlacement: function(label, element) {
label.prependTo(element.prev())
}
});
</script>

View File

@ -0,0 +1,76 @@
<div id="photo_upload">
<label for="description">Photo</label>
<br /><input type="file" name="photo" id="photo" accept="image/gif,image/jpeg,image/jpg,image/png"/>
<div style="font-size:11px; color:#666; margin-top:5px;">
Supports JPEG, GIF and PNG.&nbsp; <strong>Max size is 10 MB.</strong>
</div>
<div style="font-size:11px; color:#666; margin-top:5px;">
<a href="#" class="linkFrm">Use a URL instead</a>
</div>
</div>
<div id="photo_url">
<label for="description">Photo URL</label>
<br /><input class="input-text" type="text" name="url" id="url" size="80" value="{editUrl}" />
<div style="font-size:11px; color:#666; margin-top:5px;">
<a href="#" class="linkFrm">Use a upload form instead</a>
</div>
</div>
<div>
<label for="description" style="display:block;">Caption <span class="option">(optional)</span></label>
<textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
</div>
<input type="hidden" name="title" id="title" value="" />
<input type="hidden" name="MAX_FILE_SIZE" value="10485760" />
<input type="hidden" name="type" id="type" value="{type}" />
<input type="hidden" name="date" id="date" value="{date}" />
<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
<script>
$('#photo_url').css('display','none');
$("#autosave").validate({
rules: {
photo: {
required: function() {
return ($('#photo_upload').css('display')!= 'none') ? true : false;
},
accept: "(jpe?g|gif|png)"
},
url: {
required: function() {
return ($('#photo_url').css('display')!= 'none') ? true : false;
},
url: true
}
},
errorElement: "span",
errorClass: "validate_span",
errorPlacement: function(label, element) {
label.prependTo(element.prev())
}
});
$("#photo_upload a.linkFrm").click( function() {
$('#photo_upload').css('display','none');
$('#photo_url').css('display','block');
$('#photo').val('');
return false;
}
);
$("#photo_url a.linkFrm").click( function() {
$('#photo_url').css('display','none');
$('#photo_upload').css('display','block');
$('#url').val('');
return false;
}
);
</script>

View File

@ -0,0 +1,66 @@
<div id="photo_upload">
</div>
<div id="photo_url">
<label for="description">Photo URL</label>
<br /><input class="input-text" type="text" name="url" id="url" size="80" value="{editUrl}" />
</div>
<div>
<label for="description" style="display:block;">Caption <span class="option">(optional)</span></label>
<br /><textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
</div>
<input type="hidden" name="title" id="title" value="" />
<input type="hidden" name="MAX_FILE_SIZE" value="10485760" />
<input type="hidden" name="type" id="type" value="{type}" />
<input type="hidden" name="date" id="date" value="{date}" />
<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
<script>
$('#photo_upload').css('display','none');
$("#autosave").validate({
rules: {
photo: {
required: function() {
return ($('#photo_upload').css('display')!= 'none') ? true : false;
},
accept: "(jpe?g|gif|png)"
},
url: {
required: function() {
return ($('#photo_url').css('display')!= 'none') ? true : false;
},
url: true
}
},
errorElement: "span",
errorClass: "validate_span",
errorPlacement: function(label, element) {
label.prependTo(element.prev())
}
});
$("#photo_upload a.linkFrm").click( function() {
$('#photo_upload').css('display','none');
$('#photo_url').css('display','block');
$('#photo').val('');
return false;
}
);
$("#photo_url a.linkFrm").click( function() {
$('#photo_url').css('display','none');
$('#photo_upload').css('display','block');
$('#url').val('');
return false;
}
);
</script>

View File

@ -0,0 +1,27 @@
<div>
<label for="title" style="display:block;">Title <span class="option">(optional)</span></label>
<br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
</div>
<div>
<label for="description" style="display:block;">Body</label>
<textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
</div>
<input type="hidden" name="url" id="url" value="" />
<input type="hidden" name="type" id="type" value="{type}" />
<input type="hidden" name="date" id="date" value="{date}" />
<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
<script>
$("#autosave").validate({
rules: {
description: "required"
},
errorElement: "span",
errorClass: "validate_span",
errorPlacement: function(label, element) {
label.prependTo(element.prev())
}
});
</script>

View File

@ -0,0 +1,29 @@
<div>
<label for="description">Quote</label>
<br /><textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
</div>
<div>
<label for="title">Source <span class="option">(optional)</span></label>
<br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
</div>
<input type="hidden" name="url" id="url" value="" />
<input type="hidden" name="type" id="type" value="{type}" />
<input type="hidden" name="date" id="date" value="{date}" />
<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
<script>
$("#autosave").validate({
rules: {
description: "required"
},
errorElement: "span",
errorClass: "validate_span",
errorPlacement: function(label, element) {
label.prependTo(element.prev())
}
});
</script>

View File

@ -0,0 +1,36 @@
<div>
<label for="url">Video URL</label>
<br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
<div style="color: rgb(136, 136, 136); margin-bottom: 5px; font-size: 11px; font-weight: bold;">
This is the URL from the video sites YouTube, Vimeo, Yahoo, Daily Motion <br />
or even an Slide Share Presentation.<br />
<span style="font-size: 10px; font-weight: normal;">(ie. http://youtube.com/watch?v=HcBFLN9cli0)</span>
</div>
</div>
<div>
<label for="description">Caption <span class="option">(optional)</span></label><br />
<textarea rows="12" cols="84" name="description" id="description" tabindex="2">{editBody}</textarea>
</div>
<input type="hidden" name="title" id="title" value="" />
<input type="hidden" name="type" id="type" value="{type}" />
<input type="hidden" name="date" id="date" value="{date}" />
<input type="hidden" name="id_user" id="id_user" value="{id_user}" />
<script>
$("#autosave").validate({
rules: {
url: {
required: true,
url: true
}
},
errorElement: "span",
errorClass: "validate_span",
errorPlacement: function(label, element) {
label.prependTo(element.prev())
}
});
</script>

View File

@ -0,0 +1,8 @@
<div class="entry">
<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>
<p>{Comment_Author}</p>
</div>
<div class="post">
<p>{Comment}</p>
</div>
</div>

View File

@ -0,0 +1,28 @@
<form action="{Form_Action}" method="post" name="commentForm" id="commentForm" class="newpost">
<fieldset>
<p>
<label for="username">Name</label>
<input class="txt" name="username" id="username" value="{User}" size="22" tabindex="1" type="text" />
</p>
<p>
<label for="email">E-mail</label>
<input class="txt" name="email" id="email" value="{Email}" size="22" tabindex="2" type="text" />
</p>
<p>
<label for="web">Website</label>
<input class="txt" name="web" id="web" value="{Web}" size="22" tabindex="3" type="text" />
</p>
<p>
<label for="description">Body</label><br />
<textarea name="content" id="content" cols="50" rows="10" tabindex="4">{Comment}</textarea>
</p>
<p>
<input type="submit" value="Modify comment" name="btnAdd" id="btnAdd" tabindex="5" />
</p>
<p>
<input name="id_post" id="id_post" value="{Id_Post}" type="hidden" />
<input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
<input name="id_comment" id="id_comment" value="{Id_Comment}" type="hidden" />
</p>
</fieldset>
</form>

View File

@ -0,0 +1,9 @@
<div class="entry">
<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>
<p>{Date_Added}</p>
</div>
<div class="post">
<span class="option">{Title}</span>
<div class="conversation">{Conversation}</div>
</div>
</div>

View File

@ -0,0 +1,9 @@
<div class="entry">
<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>
<p>{Date_Added}</p>
</div>
<div class="post">
<span class="option">{Caption}</span>
<p><img src="{URL_Tumble}/admin/css/images/music.png" alt="Play song" />&nbsp;<a href="{Permalink}">Play</a></p>
</div>
</div>

View File

@ -0,0 +1,9 @@
<div class="entry">
<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>
<p>{Date_Added}</p>
</div>
<div class="post">
<span class="option">{Caption}</span>
<p><a {Effect}><img src="{PhotoURL}" alt="{PhotoAlt}" /></a></a></p>
</div>
</div>

View File

@ -0,0 +1,9 @@
<div class="entry">
<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>
<p>{Date_Added}</p>
</div>
<div class="post">
<span class="option">&mdash; {Source}</span>
<p><big class="quote"><a href="{Permalink}">&#147;</a></big> {Quote}</p>
</div>
</div>

View File

@ -0,0 +1,9 @@
<div class="entry">
<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>
<p>{Date_Added}</p>
</div>
<div class="post">
<span class="option"><a href="{Permalink}">{Title}</a></span>
<p>{Body}</p>
</div>
</div>

View File

@ -0,0 +1,9 @@
<div class="entry">
<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>
<p>{Date_Added}</p>
</div>
<div class="post">
<span class="option">&#187; <a href="{URL}">{Name}</a></span>
<p>{Description}</p>
</div>
</div>

View File

@ -0,0 +1,9 @@
<div class="entry">
<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>
<p>{Date_Added}</p>
</div>
<div class="post">
<span class="option">{Caption}</span>
<p><img src="{URL_Tumble}/admin/css/images/film.png" alt="Watch video" />&nbsp;<a href="{Permalink}">Watch</a></p>
</div>
</div>