mirror of
https://github.com/friendica/friendica
synced 2025-09-06 04:35:26 +02:00
lots of work, 2way friends, comments...
This commit is contained in:
parent
3713a9291c
commit
6817c5d59a
15 changed files with 335 additions and 159 deletions
16
view/comment_item.tpl
Normal file
16
view/comment_item.tpl
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
<div class="comment-edit" id="comment-edit-$id" onclick="openClose('comment-edit-wrapper-$id');" >Comments</div>
|
||||
<div class="comment-edit-wrapper" id="comment-edit-wrapper-$id" style="display: none;">
|
||||
<form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" >
|
||||
<input type="hidden" name="type" value="jot" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="parent" value="$id" />
|
||||
<textarea rows="3" cols="40" id="comment-edit-text-$id" name="body" ></textarea>
|
||||
|
||||
|
||||
<div id="comment-edit-submit-wrapper" >
|
||||
<input type="submit" id="comment-edit-submit" name="submit" value="Submit" />
|
||||
</div>
|
||||
<div id="comment-edit-end"></div>
|
||||
</form>
|
||||
</div>
|
|
@ -21,6 +21,20 @@ tinyMCE.init({
|
|||
|
||||
|
||||
});
|
||||
|
||||
|
||||
function openClose(theID) {
|
||||
if(document.getElementById(theID).style.display == "block") {
|
||||
document.getElementById(theID).style.display = "none"
|
||||
}
|
||||
else {
|
||||
document.getElementById(theID).style.display = "block"
|
||||
}
|
||||
}
|
||||
function openMenu(theID) {
|
||||
document.getElementById(theID).style.display = "block"
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<!--
|
||||
|
|
|
@ -15,4 +15,5 @@ What's on your mind?
|
|||
|
||||
</div>
|
||||
<div id="profile-jot-end"></div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
|
||||
<form action="register" method="post" />
|
||||
<form action="register" method="post" >
|
||||
$registertext
|
||||
<div id="register-name-wrapper" >
|
||||
<label for="register-name" id="label-register-name" >Your Full Name (e.g. Joe Smith): <label>
|
||||
<label for="register-name" id="label-register-name" >Your Full Name (e.g. Joe Smith): </label>
|
||||
<input type="text" maxlength="60" size="32" name="username" id="register-name" value="" >
|
||||
</div>
|
||||
<div id="register-name-end" ></div>
|
||||
<div id="register-email-wrapper" >
|
||||
<label for="register-email" id="label-register-email" >Your Email Address: <label>
|
||||
<label for="register-email" id="label-register-email" >Your Email Address: </label>
|
||||
<input type="text" maxlength="60" size="32" name="email" id="register-email" value="" >
|
||||
</div>
|
||||
<div id="register-email-end" ></div>
|
||||
<div id="register-submit-wrapper">
|
||||
<input type="submit" name="submit" id="register-submit-button" value="Register" />
|
||||
</div>
|
||||
<div id="register-submit-end" ></div>
|
||||
</form>
|
||||
|
|
|
@ -111,9 +111,10 @@ footer {
|
|||
#register-name, #register-email {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
#register-name-wrapper, #register-email-wrapper, #register-submit-wrapper {
|
||||
#register-name-end, #register-email-end, #register-submit-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
@ -371,6 +372,14 @@ input#dfrn-url {
|
|||
border: none;
|
||||
}
|
||||
|
||||
.comment-edit {
|
||||
font-size: 0.8em;
|
||||
cursor: pointer;
|
||||
color: #3172BD;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
|
||||
#profile-jot-submit-wrapper {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
<a href="$profile_url" title="View $name's profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-name-$id" >$name</span></a>
|
||||
<span class="wall-item-body" id="wall-item-body-$id" >$body</span>
|
||||
<div class="wall-item-ago" id="wall-item-ago-$id">$ago</div>
|
||||
|
||||
<div class="wall-item-comment-separator"></div>
|
||||
$comment
|
||||
</div>
|
||||
<div class="wall-item-wrapper-end"></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue