? sites/default/files
? sites/default/settings.php
Index: themes/bartik/template.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/template.php,v
retrieving revision 1.2
diff -u -p -r1.2 template.php
--- themes/bartik/template.php	11 Jul 2010 22:06:40 -0000	1.2
+++ themes/bartik/template.php	19 Jul 2010 23:12:44 -0000
@@ -100,6 +100,20 @@ function bartik_process_maintenance_page
 }
 
 /**
+ * Override or insert variables into the comment template.
+ */
+function bartik_process_comment(&$variables) {
+  $count = &drupal_static(__FUNCTION__);
+  if (!isset($count)) {
+    // If the comments are paginated, offset the count appropriately.
+    $count = isset($_GET['page']) ? $_GET['page'] * variable_get('comment_default_per_page_' . $variables['node']->type, 1) : 0;
+  }
+
+  // Reset the permalink variable to include the current count.
+  $variables['permalink'] = l('#' . ++$count, 'comment/' . $variables['comment']->cid, array('attributes' => array('class' => 'permalink'), 'fragment' => 'comment-' . $variables['comment']->cid));
+}
+
+/**
  * Override or insert variables into the block template.
  */
 function bartik_preprocess_block(&$variables) {
Index: themes/bartik/css/ie-rtl.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/css/ie-rtl.css,v
retrieving revision 1.1
diff -u -p -r1.1 ie-rtl.css
--- themes/bartik/css/ie-rtl.css	6 Jul 2010 05:25:51 -0000	1.1
+++ themes/bartik/css/ie-rtl.css	19 Jul 2010 23:12:44 -0000
@@ -9,3 +9,6 @@ fieldset legend {
 ul.action-links li a {
   zoom: 1;
 }
+#comments .comment-text {
+  zoom: 1;
+}
Index: themes/bartik/css/style-rtl.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/css/style-rtl.css,v
retrieving revision 1.2
diff -u -p -r1.2 style-rtl.css
--- themes/bartik/css/style-rtl.css	11 Jul 2010 22:12:26 -0000	1.2
+++ themes/bartik/css/style-rtl.css	19 Jul 2010 23:12:44 -0000
@@ -127,6 +127,11 @@ ul.tips {
   margin-right: 40px;
   margin-left: 0;
 }
+#comments .permalink {
+  right: 0;
+  left: 10px;
+  text-align: left;
+}
 
 /* -------------- Password Meter  ------------- */
 
Index: themes/bartik/css/style.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/css/style.css,v
retrieving revision 1.1
diff -u -p -r1.1 style.css
--- themes/bartik/css/style.css	6 Jul 2010 05:25:51 -0000	1.1
+++ themes/bartik/css/style.css	19 Jul 2010 23:12:44 -0000
@@ -524,6 +524,7 @@ h1#page-title,
 #comments .attribution {
   float: left; /* LTR */
   width: 110px;
+  padding-top: 10px;
 }
 #comments .attribution img {
   margin: 0;
@@ -553,10 +554,16 @@ h1#page-title,
   margin-left: 140px; /* LTR */
   padding: 10px 25px;
   border: 1px solid #d3d7d9;
+  position: relative;
 }
 #comments .indented {
   margin-left: 40px; /* LTR */
 }
+#comments .permalink {
+  position: absolute;
+  right: 10px; /* LTR */
+  top: 5px;
+}
 
 /* ------------------ Sidebar ----------------- */
 
Index: themes/bartik/templates/comment.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/bartik/templates/comment.tpl.php,v
retrieving revision 1.1
diff -u -p -r1.1 comment.tpl.php
--- themes/bartik/templates/comment.tpl.php	6 Jul 2010 05:25:51 -0000	1.1
+++ themes/bartik/templates/comment.tpl.php	19 Jul 2010 23:12:44 -0000
@@ -63,7 +63,6 @@
     <?php print $picture; ?>
 
     <div class="submitted">
-      <?php print $permalink; ?>
       <p class="commenter-name">
         <?php print $author; ?>
       </p>
@@ -75,7 +74,7 @@
 
   <div class="comment-text">
     <div class="comment-arrow"></div>
-
+    <?php print $permalink; ?>
     <?php if ($new): ?>
       <span class="new"><?php print $new; ?></span>
     <?php endif; ?>
