diff --git a/view/theme/smoothly/comment_item.tpl b/view/theme/smoothly/comment_item.tpl old mode 100644 new mode 100755 index 2e9dc5160..f64ae753b --- a/view/theme/smoothly/comment_item.tpl +++ b/view/theme/smoothly/comment_item.tpl @@ -1,31 +1,66 @@ -
-
- - - - - - +
+ {{ if $threaded }} + $comment + + {{ else }} + + {{ endif }} + + + + + + + +
+ $mytitle +
+
+
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+
+ + {{ if $qcomment }} + + {{ endif }} + +
+ + +
+ -
- $mytitle
-
- - {{ if $qcomment }} - {{ for $qcomment as $qc }} - $qc -   - {{ endfor }} - {{ endif }} - -
- - -
- -
- diff --git a/view/theme/smoothly/dot.png b/view/theme/smoothly/dot.png new file mode 100644 index 000000000..6f532518e Binary files /dev/null and b/view/theme/smoothly/dot.png differ diff --git a/view/theme/smoothly/moderated_comment.tpl b/view/theme/smoothly/moderated_comment.tpl new file mode 100755 index 000000000..b0451c8c6 --- /dev/null +++ b/view/theme/smoothly/moderated_comment.tpl @@ -0,0 +1,61 @@ +
+
+ + + + + + + +
+ $mytitle +
+
+ +
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+
+ + +
+ + +
+
+ +
diff --git a/view/theme/smoothly/style.css b/view/theme/smoothly/style.css index d1f50b04d..9667eaf1d 100644 --- a/view/theme/smoothly/style.css +++ b/view/theme/smoothly/style.css @@ -3314,7 +3314,7 @@ ul.menu-popup { } hr.line-dots { - background: url("icons/dot.png") repeat-x scroll left center transparent; + background: url("dot.png") repeat-x scroll left center transparent; border: medium none; /*padding: 0.5em 0;*/ } diff --git a/view/theme/smoothly/theme.php b/view/theme/smoothly/theme.php index 95cc9bd73..e69b8a3b9 100644 --- a/view/theme/smoothly/theme.php +++ b/view/theme/smoothly/theme.php @@ -6,16 +6,14 @@ * Version: 0.4 * Author: Alex * Maintainer: Alex - * Screenshot: Screenshot + * Screenshot: Screenshot */ -$a->theme_info = array( - 'extends' => 'smoothly', -); +$a->theme_info = array(); + function smoothly_init(&$a) { $a->page['htmlhead'] .= <<< EOT EOT; -// get resize configuration - -$resize=false; -$site_resize = get_config('smoothly', 'resize' ); -if(local_user()) $resize = get_pconfig(local_user(), 'smoothly', 'resize' ); - -if ($resize===false) $resize=$site_resize; -if ($resize===false) $resize=0; - -if (intval($resize) > 0) { -//load jquery.ae.image.resize.js -$imageresizeJS = $a->get_baseurl($ssl_state)."/view/theme/smoothly/js/jquery.ae.image.resize.js"; -$a->page['htmlhead'] .= sprintf('', $imageresizeJS); -$a->page['htmlhead'] .= ' -';} } -