From 393a91ea7857de46f22cd4d8460476505593e89f Mon Sep 17 00:00:00 2001 From: pixelroot Date: Sat, 8 Sep 2012 09:24:37 +0200 Subject: [PATCH] modified: view/theme/smoothly/comment_item.tpl new file: view/theme/smoothly/dot.png new file: view/theme/smoothly/moderated_comment.tpl modified: view/theme/smoothly/style.css modified: view/theme/smoothly/theme.php deleted: view/theme/smoothly/icons/dot.png deleted: view/theme/smoothly/js/jquery.ae.image.resize.js deleted: view/theme/smoothly/js/jquery.ae.image.resize.min.js --- view/theme/smoothly/comment_item.tpl | 93 +++++++++++++++------- view/theme/smoothly/dot.png | Bin 0 -> 74 bytes view/theme/smoothly/moderated_comment.tpl | 61 ++++++++++++++ view/theme/smoothly/style.css | 2 +- view/theme/smoothly/theme.php | 32 ++------ 5 files changed, 131 insertions(+), 57 deletions(-) mode change 100644 => 100755 view/theme/smoothly/comment_item.tpl create mode 100644 view/theme/smoothly/dot.png create mode 100755 view/theme/smoothly/moderated_comment.tpl 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 0000000000000000000000000000000000000000..6f532518e753104921e5ff425d698ac2779ebddd GIT binary patch literal 74 zcmeAS@N?(olHy`uVBq!ia0vp^%plCc1|-8Yw(bW~f}SppAr-fh6CBuid3paEvM?Hm WGBtekZ#oT>WbkzLb6Mw<&;$VOGY}O3 literal 0 HcmV?d00001 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'] .= ' -';} } -