diff --git a/view/theme/blog/comment_item.tpl b/view/theme/blog/comment_item.tpl new file mode 100644 index 0000000..f933fe6 --- /dev/null +++ b/view/theme/blog/comment_item.tpl @@ -0,0 +1,29 @@ +
+
+

+ Leave a Reply +

+
+ + + + + + + + + +

+ + +

+ +

+ + {{ if $preview }}$preview{{ endif }} +

+
+ +
+ +
\ No newline at end of file diff --git a/view/theme/blog/config.php b/view/theme/blog/config.php new file mode 100644 index 0000000..7ad3538 --- /dev/null +++ b/view/theme/blog/config.php @@ -0,0 +1,62 @@ + t("None"), + ".willow.jpg" => "willow.jpg", + ".wheel.jpg" => "wheel.jpg", + ); + + + $t = get_markup_template("config.tpl" ); + $o .= replace_macros($t, array( + '$submit' => t('Submit'), + '$baseurl' => $a->get_baseurl(), + '$title' => t("Theme settings"), + '$headimg' => array('blog_headimg', t('Header image'), $headimg, '', $imgs ), + '$headimghome' => array('blog_headimghome', t('Header image only on profile pages'), $headimghome, ''), + )); + return $o; +} diff --git a/view/theme/blog/config.tpl b/view/theme/blog/config.tpl new file mode 100644 index 0000000..3fb45e6 --- /dev/null +++ b/view/theme/blog/config.tpl @@ -0,0 +1,9 @@ + +{{inc field_select.tpl with $field=$headimg}}{{endinc}} + +{{inc field_yesno.tpl with $field=$headimghome}}{{endinc}} + +
+ +
+ diff --git a/view/theme/blog/contact_template.tpl b/view/theme/blog/contact_template.tpl new file mode 100644 index 0000000..231eb9a --- /dev/null +++ b/view/theme/blog/contact_template.tpl @@ -0,0 +1,9 @@ +
+ $contact.name + + {{ if $contact.photo_menu }} + + {{ endif }} +
diff --git a/view/theme/blog/contacts-head.tpl b/view/theme/blog/contacts-head.tpl new file mode 100644 index 0000000..011f55b --- /dev/null +++ b/view/theme/blog/contacts-head.tpl @@ -0,0 +1,17 @@ + + + + + diff --git a/view/theme/blog/contacts-template.tpl b/view/theme/blog/contacts-template.tpl new file mode 100644 index 0000000..288f953 --- /dev/null +++ b/view/theme/blog/contacts-template.tpl @@ -0,0 +1,26 @@ +
+

$header{{ if $total }} ($total){{ endif }}

+ + {{ if $finding }}

$finding

{{ endif }} + +
+
+ $desc + + +
+
+ + $tabs + + + {{ for $contacts as $contact }} + {{ inc contact_template.tpl }}{{ endinc }} + {{ endfor }} +
+ + $paginate + + +
+ diff --git a/view/theme/blog/default.php b/view/theme/blog/default.php index bf2727e..82c868a 100755 --- a/view/theme/blog/default.php +++ b/view/theme/blog/default.php @@ -1,21 +1,40 @@ - +module!='profile') $headimg=""; + + if ($headimg === False) $headimg = $a->get_baseurl()."/view/theme/blog/headers/willow.jpg"; + + + + // if mod==display whe are looking a single thread, delete aside content + if ($a->module=='display') { unset($page['aside']); unset($page['right_aside']); } + + // if no aside content, show page in singular mode + $bodyclass=""; + if (!x($page,'aside') && !x($page,'right_aside')) $bodyclass.=" singular"; + + +?> <?php if(x($page,'title')) echo $page['title'] ?> -
get_baseurl()."/view/theme/blog/headers/willow.jpg"; - echo str_replace("~blog.header.image~", $img, + echo str_replace("~blog.header.image~", $headimg, str_replace("~config.sitename~",get_config('config','sitename'), str_replace("~system.banner~",get_config('system','banner'), $page['nav'] @@ -30,7 +49,7 @@
- diff --git a/view/theme/blog/headers/wheel.jpg b/view/theme/blog/headers/wheel.jpg new file mode 100644 index 0000000..c5b9878 Binary files /dev/null and b/view/theme/blog/headers/wheel.jpg differ diff --git a/view/theme/blog/icons/pencil.png b/view/theme/blog/icons/pencil.png new file mode 100644 index 0000000..9abd765 Binary files /dev/null and b/view/theme/blog/icons/pencil.png differ diff --git a/view/theme/blog/images/comment-arrow.png b/view/theme/blog/images/comment-arrow.png new file mode 100644 index 0000000..60a6d5d Binary files /dev/null and b/view/theme/blog/images/comment-arrow.png differ diff --git a/view/theme/blog/jot.tpl b/view/theme/blog/jot.tpl index e48fc66..4c14eff 100644 --- a/view/theme/blog/jot.tpl +++ b/view/theme/blog/jot.tpl @@ -21,7 +21,7 @@ {{ endif }}
- +
diff --git a/view/theme/blog/profile-hide-friends.tpl b/view/theme/blog/profile-hide-friends.tpl new file mode 100644 index 0000000..b32c132 --- /dev/null +++ b/view/theme/blog/profile-hide-friends.tpl @@ -0,0 +1,8 @@ +
+ +
+ + $no_str + $yes_str +
+
diff --git a/view/theme/blog/profile-hide-wall.tpl b/view/theme/blog/profile-hide-wall.tpl new file mode 100644 index 0000000..10185e2 --- /dev/null +++ b/view/theme/blog/profile-hide-wall.tpl @@ -0,0 +1,16 @@ +

+$desc +

+ +
+ + + +
+
+
+ + + +
+
diff --git a/view/theme/blog/profile_advanced.tpl b/view/theme/blog/profile_advanced.tpl new file mode 100644 index 0000000..1eb1525 --- /dev/null +++ b/view/theme/blog/profile_advanced.tpl @@ -0,0 +1,171 @@ +
+

$title

+ +
+
$profile.fullname.0
+
$profile.fullname.1
+
+ + {{ if $profile.gender }} +
+
$profile.gender.0
+
$profile.gender.1
+
+ {{ endif }} + + {{ if $profile.birthday }} +
+
$profile.birthday.0
+
$profile.birthday.1
+
+ {{ endif }} + + {{ if $profile.age }} +
+
$profile.age.0
+
$profile.age.1
+
+ {{ endif }} + + {{ if $profile.marital }} +
+
$profile.marital.0
+
$profile.marital.1{{ if $profile.marital.with }} ($profile.marital.with){{ endif }}{{ if $profile.howlong }} $profile.howlong{{ endif }}
+
+ {{ endif }} + + {{ if $profile.sexual }} +
+
$profile.sexual.0
+
$profile.sexual.1
+
+ {{ endif }} + + {{ if $profile.pub_keywords }} +
+
$profile.pub_keywords.0
+
$profile.pub_keywords.1
+
+ {{ endif }} + + {{ if $profile.homepage }} +
+
$profile.homepage.0
+
$profile.homepage.1
+
+ {{ endif }} + + {{ if $profile.hometown }} +
+
$profile.hometown.0
+
$profile.hometown.1
+
+ {{ endif }} + + {{ if $profile.politic }} +
+
$profile.politic.0
+
$profile.politic.1
+
+ {{ endif }} + + {{ if $profile.religion }} +
+
$profile.religion.0
+
$profile.religion.1
+
+ {{ endif }} + + {{ if $profile.about }} +
+
$profile.about.0
+
$profile.about.1
+
+ {{ endif }} + + {{ if $profile.interest }} +
+
$profile.interest.0
+
$profile.interest.1
+
+ {{ endif }} + + {{ if $profile.likes }} +
+
$profile.likes.0
+
$profile.likes.1
+
+ {{ endif }} + + {{ if $profile.dislikes }} +
+
$profile.dislikes.0
+
$profile.dislikes.1
+
+ {{ endif }} + + {{ if $profile.contact }} +
+
$profile.contact.0
+
$profile.contact.1
+
+ {{ endif }} + + + {{ if $profile.music }} +
+
$profile.music.0
+
$profile.music.1
+
+ {{ endif }} + + + {{ if $profile.book }} +
+
$profile.book.0
+
$profile.book.1
+
+ {{ endif }} + + + {{ if $profile.tv }} +
+
$profile.tv.0
+
$profile.tv.1
+
+ {{ endif }} + + + {{ if $profile.film }} +
+
$profile.film.0
+
$profile.film.1
+
+ {{ endif }} + + + {{ if $profile.romance }} +
+
$profile.romance.0
+
$profile.romance.1
+
+ {{ endif }} + + + {{ if $profile.work }} +
+
$profile.work.0
+
$profile.work.1
+
+ {{ endif }} + + {{ if $profile.education }} +
+
$profile.education.0
+
$profile.education.1
+
+ {{ endif }} + +
+ + diff --git a/view/theme/blog/profile_edit.tpl b/view/theme/blog/profile_edit.tpl new file mode 100644 index 0000000..fbe6d2f --- /dev/null +++ b/view/theme/blog/profile_edit.tpl @@ -0,0 +1,235 @@ +
+ $default + + + {{ if $disabled }}{{ else }} +
+ $del_prof +
+ {{ endif }} + +

$banner

+ +
+ + + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + $gender +
+ +
+ + $dob $age +
+ + $hide_friends + + +
+ +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+ +
+ + +
+ + $marital +
+ +
+ + +
+ +
+ + +
+ + +
+ + $sexual +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + + $lbl_pubdsc +
+ +
+ + + $lbl_prvdsc +
+ + +
+ +
+ + + +
+ + +
+ + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ + +
+ + +
+ +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ + +
\ No newline at end of file diff --git a/view/theme/blog/profile_edlink.tpl b/view/theme/blog/profile_edlink.tpl new file mode 100644 index 0000000..e69de29 diff --git a/view/theme/blog/profile_entry.tpl b/view/theme/blog/profile_entry.tpl new file mode 100644 index 0000000..075a254 --- /dev/null +++ b/view/theme/blog/profile_entry.tpl @@ -0,0 +1,5 @@ +
+ $alt +

$profile_name

+ $visible +
diff --git a/view/theme/blog/profile_listing_header.tpl b/view/theme/blog/profile_listing_header.tpl new file mode 100644 index 0000000..10029cb --- /dev/null +++ b/view/theme/blog/profile_listing_header.tpl @@ -0,0 +1,6 @@ +
+

$header

+ \ No newline at end of file diff --git a/view/theme/blog/profile_vcard.tpl b/view/theme/blog/profile_vcard.tpl index c397f87..5f5fb53 100644 --- a/view/theme/blog/profile_vcard.tpl +++ b/view/theme/blog/profile_vcard.tpl @@ -2,6 +2,21 @@
$profile.name
+ {{ if $profile.edit }} +
+ $profile.edit.1 + +
+ {{ endif }}

$profile.name

@@ -29,6 +44,7 @@ {{ if $marital }}
$marital
$profile.marital
{{ endif }} {{ if $homepage }}
$homepage
$profile.homepage
{{ endif }} + {{ inc diaspora_vcard.tpl }}{{ endinc }} diff --git a/view/theme/blog/search_item.tpl b/view/theme/blog/search_item.tpl new file mode 100644 index 0000000..13b0235 --- /dev/null +++ b/view/theme/blog/search_item.tpl @@ -0,0 +1,27 @@ + + diff --git a/view/theme/blog/style.css b/view/theme/blog/style.css index fb5afc8..39d25a9 100755 --- a/view/theme/blog/style.css +++ b/view/theme/blog/style.css @@ -20,13 +20,13 @@ a.button:hover { .buttonbar { clear: both; - margin: 5px 0px; + margin: 10px 0px 20px 0px; padding: 10px; text-align: right; background: #eee; } -footer { margin-top: 20px; } /*?*/ +footer.entry-meta { margin-top: 20px; } /*?*/ /* header */ input#search { @@ -81,6 +81,7 @@ input#searchsubmit { text-align: right; top: 8.5em; } +#headerimage img[src=""] { display: none; } /* user bar */ #tools { @@ -215,7 +216,8 @@ input#searchsubmit { /* popup menu (author link) */ #main .dropmenu:hover { background-color: #f9f9f9; } #main .dropmenu:hover > ul.menu-popup { display: block; } -span.author.vcard { position: relative; } +span.fn.dropmenu, +span.author.vcard.dropmenu { position: relative; } ul.menu-popup { -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 3px 3px; -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 3px 3px; @@ -271,6 +273,7 @@ ul.menu-popup a:hover { #primary { float: left; margin: 0 -26.4% 0 0; width: 100%; } #secondary { float: right; margin-right: 7.6%; width: 18.8%; position: relative;} #secondary.overlap { top: -200px; } +#secondary.overlap.lower { top: -120px; } #content { margin: 0 34% 0 7.6%; width: 58.4%; } /* Singular */ @@ -373,20 +376,12 @@ ul.tabs li a.active { background-color: #1982D1; color: #ffffff; } .toolbox.center { text-align: center;} .toolbox dd { display: inline; } -/* jot icons */ -.icon { display: inline-block; margin: 0px; padding: 0px; width: 16px; height: 16px; } -.icon.camera { background: url(icons/image.png) transparent center center no-repeat; } -.icon.attach { background: url(icons/attachment.png) transparent center center no-repeat; } -.icon.link { background: url(icons/link.png) transparent center center no-repeat; } -.icon.video { background: url(icons/youtube2.png) transparent center center no-repeat; } -.icon.audio { background: url(icons/headphones.png) transparent center center no-repeat; } -.icon.globe { background: url(icons/location.png) transparent center center no-repeat; } -.icon.noglobe { background: url(icons/globe.png) transparent center center no-repeat; } -.icon.lock { background: url(icons/lock2.png) transparent center center no-repeat; } -.icon.unlock { background: url(icons/unlocked.png) transparent center center no-repeat; } +.acpopup { z-index: 12000; background-color: #ffffff; border: 1px solid #cccccc; } +.acpopupitem.selected { background-color: #c6d8f3; } /* content */ +#profile-edit-default-desc, /* un'altro html da buttare */ .info-message { background-color: #E9E9E9; color: #505050; @@ -401,7 +396,8 @@ ul.tabs li a.active { background-color: #1982D1; color: #ffffff; } .field { margin-bottom: 0.8em;} .field label { display: inline-block; width: 59%; } .field.radio label, .field.checkbox label , .field.yesno label { width: 70% } -.field input, .field select{ display: inline-block; width: 39%; } +.field.textarea label { display: block; width: 100%; } +.field input, .field select, .field span.multiselect{ display: inline-block; width: 39%; } .field input[type="checkbox"], .field input[type="radio"] { width: auto; } .field .field_help { display: block; margin-left: 10%; color: #666666; } /* field onoff (from duepuntozero) */ @@ -432,6 +428,7 @@ ul.tabs li a.active { background-color: #1982D1; color: #ffffff; } text-align: left; } .hidden { display: none!important; } +.field.multiselect select { width: auto;} /* oauth settings */ .oauthapp { margin-top: 30px; height: auto; overflow: auto; } @@ -451,3 +448,106 @@ ul.tabs li a.active { background-color: #1982D1; color: #ffffff; } border-radius: 16px 16px 16px 16px; } +/* comments thread */ +.reply li.comment { position: relative; margin-left: 40px; background-color:rgba(0, 0, 0, 0.03); padding-left: 20px;} +.reply .avatar { left: -40px; width: 32px; height: 32px; background-color: #fff;} + + +/* comment form */ +.respond { height: auto; overflow: auto; } +.respond .form-submit { margin-top: 20px; } +.respond.thread { + background-color: transparent; + border: 0px; + width: 100%; + margin: 0px; + padding: 0px; +} +.respond.thread textarea { width: 94% } +.respond .comment-edit-preview { + clear: both; + margin-top: 40px; +} +/* search item */ +article.search { + background: #F6F6F6; + border: 1px solid #DDDDDD; + border-radius: 3px; + margin: 0px 0px 1.63em 100px; + padding: 1.63em; + position: relative; +} +article.search::before { + content: url("images/comment-arrow.png"); + left: -21px; + position: absolute; +} +article.search .avatar { + border-radius: 3px; + -moz-box-shadow: 0px 1px 2px #CCCCCC; + -webkit-box-shadow: 0px 1px 2px #CCCCCC; + box-shadow: 0px 1px 2px #CCCCCC; + left: -102px; + padding: 0px; + position: absolute; + top: 0px; +} +.search-meta { + color: #666666; + font-size: 12px; + line-height: 2.2em; +} +.search-header h1 { font-size: 20px; font-weight: bold;} +.search-header h1 a { color: #000; } + +/* search page search box */ +#search-box #search-text { display: block; } +#search-box input[type="submit"]{ margin: 1em 2em 2em 0px; } +#content > h2 { margin-bottom: 2em; } /* evabbe', poi tolgo l'html da 'sto schifo di php */ + +/* profile menu */ +ul#profiles-menu { top: 2em; left: 9px; width: 176px; } +ul#profiles-menu li img { width: 16px; vertical-align: middle; margin-right: 10px;} + +/* member editor */ +.contact_list, +#prof-members, #prof-all-contacts { + height: 200px; overflow-y:scoll; border: 1px solid #cccccc; background-color: #efefef; +} + +/* jquery autocomplete */ +.autocomplete { background-color: #ffffff; border: 1px solid #cccccc; } + +/*contact item */ +.contact.dropmenu { + background: #EEEEEE !important; + margin-bottom: 1.63em; + max-width: 96%; + padding: 9px; + position: relative; +} +.contact.dropmenu .menu-popup { left: 120px; top: 0px;} + +/* icons */ +.icon { display: inline-block; margin: 0px; padding: 0px; width: 16px; height: 16px; } +.icon.camera { background: url(icons/image.png) transparent center center no-repeat; } +.icon.attach { background: url(icons/attachment.png) transparent center center no-repeat; } +.icon.link { background: url(icons/link.png) transparent center center no-repeat; } +.icon.video { background: url(icons/youtube2.png) transparent center center no-repeat; } +.icon.audio { background: url(icons/headphones.png) transparent center center no-repeat; } +.icon.globe { background: url(icons/location.png) transparent center center no-repeat; } +.icon.noglobe { background: url(icons/globe.png) transparent center center no-repeat; } +.icon.lock { background: url(icons/lock2.png) transparent center center no-repeat; } +.icon.unlock { background: url(icons/unlocked.png) transparent center center no-repeat; } +.icon.edit { background: url(icons/pencil.png) transparent center center no-repeat; } + +.icon.on { border: 1px solid #cccccc; background-color: #56ef46; + -webkit-border-radius: 16px 16px 16px 16px; + -moz-border-radius: 16px 16px 16px 16px; + border-radius: 16px 16px 16px 16px; +} +.icon.off { border: 1px solid #cccccc; background-color: #ef4646; + -webkit-border-radius: 16px 16px 16px 16px; + -moz-border-radius: 16px 16px 16px 16px; + border-radius: 16px 16px 16px 16px; +} diff --git a/view/theme/blog/theme.php b/view/theme/blog/theme.php index 57b86f8..4e853fd 100755 --- a/view/theme/blog/theme.php +++ b/view/theme/blog/theme.php @@ -1,18 +1,21 @@ Twenty Eleven wordpress theme * Author: Fabio * Maintainer: Fabio */ -$a->theme_info = array( -); function blog_init(&$a) { + $a->theme_info = array(); } -function blogtemplate($item) { - return $item['template']; +function blogtheme_imgurl($headimg) { + $a = get_app(); + if ($headimg[0]==".") return $a->get_baseurl().'/view/theme/blog/headers/'.substr($headimg,1); + if ($headimg == "~none~") return ""; + return False; } \ No newline at end of file diff --git a/view/theme/blog/threaded_conversation.tpl b/view/theme/blog/threaded_conversation.tpl index 8acc6df..eb942d6 100644 --- a/view/theme/blog/threaded_conversation.tpl +++ b/view/theme/blog/threaded_conversation.tpl @@ -18,14 +18,21 @@ $live_update +{# scroll to and hiligh comment in display mode #} {{ if $mode == display }} {{ endif }} \ No newline at end of file diff --git a/view/theme/blog/twentyeleven_style.css b/view/theme/blog/twentyeleven_style.css index ea1319e..5aadbd0 100644 --- a/view/theme/blog/twentyeleven_style.css +++ b/view/theme/blog/twentyeleven_style.css @@ -306,7 +306,7 @@ body { top: 2.2em; left: 2.2em; } -.one-column #respond { +.one-column .respond { width: auto; } @@ -2048,12 +2048,12 @@ a.comment-reply-link > span { width: auto; } /* And a full-width comment form */ -.page-template-sidebar-page-php #respond { +.page-template-sidebar-page-php .respond { width: auto; } /* Comment Form */ -#respond { +.respond { background: #ddd; border: 1px solid #d3d3d3; -moz-border-radius: 3px; @@ -2063,8 +2063,8 @@ a.comment-reply-link > span { position: relative; width: 68.9%; } -#respond input[type="text"], -#respond textarea { +.respond input[type="text"], +.respond textarea { background: #fff; border: 4px solid #eee; -moz-border-radius: 5px; @@ -2076,16 +2076,16 @@ a.comment-reply-link > span { padding: 10px; text-indent: 80px; } -#respond .comment-form-author, -#respond .comment-form-email, -#respond .comment-form-url, -#respond .comment-form-comment { +.respond .comment-form-author, +.respond .comment-form-email, +.respond .comment-form-url, +.respond .comment-form-comment { position: relative; } -#respond .comment-form-author label, -#respond .comment-form-email label, -#respond .comment-form-url label, -#respond .comment-form-comment label { +.respond .comment-form-author label, +.respond .comment-form-email label, +.respond .comment-form-url label, +.respond .comment-form-comment label { background: #eee; -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); @@ -2100,17 +2100,17 @@ a.comment-reply-link > span { top: 40px; z-index: 1; } -#respond input[type="text"]:focus, -#respond textarea:focus { +.respond input[type="text"]:focus, +.respond textarea:focus { text-indent: 0; z-index: 1; } -#respond textarea { +.respond textarea { resize: vertical; width: 95%; } -#respond .comment-form-author .required, -#respond .comment-form-email .required { +.respond .comment-form-author .required, +.respond .comment-form-email .required { color: #bd3500; font-size: 22px; font-weight: bold; @@ -2119,18 +2119,18 @@ a.comment-reply-link > span { top: 45px; z-index: 1; } -#respond .comment-notes, -#respond .logged-in-as { +.respond .comment-notes, +.respond .logged-in-as { font-size: 13px; } -#respond p { +.respond p { margin: 10px 0; } -#respond .form-submit { +.respond .form-submit { float: right; margin: -20px 0 10px; } -#respond input#submit { +.respond input#submit { background: #222; border: none; -moz-border-radius: 3px; @@ -2147,20 +2147,20 @@ a.comment-reply-link > span { left: 30px; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); } -#respond input#submit:active { +.respond input#submit:active { background: #1982d1; color: #bfddf3; } -#respond #cancel-comment-reply-link { +.respond #cancel-comment-reply-link { color: #666; margin-left: 10px; text-decoration: none; } -#respond .logged-in-as a:hover, -#respond #cancel-comment-reply-link:hover { +.respond .logged-in-as a:hover, +.respond #cancel-comment-reply-link:hover { text-decoration: underline; } -.commentlist #respond { +.commentlist .respond { margin: 1.625em 0 0; width: auto; } @@ -2188,15 +2188,15 @@ a.comment-reply-link > span { #cancel-comment-reply-link:hover { color: #ff4b33; } -#respond label { +.respond label { line-height: 2.2em; } -#respond input[type=text] { +.respond input[type=text] { display: block; height: 24px; width: 75%; } -#respond p { +.respond p { font-size: 12px; } p.comment-form-comment { @@ -2354,7 +2354,7 @@ p.comment-form-comment { width: auto; } /* And a full-width comment form */ - #respond { + .respond { width: auto; } /* No need to float footer widgets at this size */ @@ -2456,11 +2456,11 @@ p.comment-form-comment { top: 2.2em; } /* Use the available space in the smaller comment form */ - #respond input[type="text"] { + .respond input[type="text"] { width: 95%; } - #respond .comment-form-author .required, - #respond .comment-form-email .required { + .respond .comment-form-author .required, + .respond .comment-form-email .required { left: 95%; } #content .gallery-columns-3 .gallery-item { @@ -2595,7 +2595,7 @@ p.comment-form-comment { margin: 2.2em 0 0; padding: 0; } - #respond { + .respond { display: none; } .widget-area { diff --git a/view/theme/blog/wall_thread.tpl b/view/theme/blog/wall_thread.tpl index 1bc3795..5977448 100755 --- a/view/theme/blog/wall_thread.tpl +++ b/view/theme/blog/wall_thread.tpl @@ -61,6 +61,8 @@ +{{ if $mode != profile }} +

$item.total_comments_num $item.total_comments_text on “$item.title” @@ -73,52 +75,7 @@ -
-

- Leave a Reply - - - -

-
-

- Your email address will not be published. Required fields are marked - * -

-

- - -

- -

- - -

-

- - -

-

- You may use these - HTML - tags and attributes: - <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> -

-

- - - -

-
-
- + + $item.comment

+{{ endif }} \ No newline at end of file diff --git a/view/theme/blog/wall_thread_comment.tpl b/view/theme/blog/wall_thread_comment.tpl index 1b134a4..09d3802 100644 --- a/view/theme/blog/wall_thread_comment.tpl +++ b/view/theme/blog/wall_thread_comment.tpl @@ -1,28 +1,38 @@ -
  • -
    +
  • +
    -

    I never could remember more than the first few lines of that nursery rhyme.

    +

    $item.body

    -
    + {{ for $item.children as $child }} + {{ inc wall_thread_comment.tpl with $item=$child }}{{ endinc }} + {{ endfor }} + +
    - {{ for $item.children as $child }} - {{ inc wall_thread_comment.tpl with $item=$child }}{{ endinc }} - {{ endfor }} -
  • \ No newline at end of file + $item.comment +