Print standout boxes with section links at the head of every section.

        Patch by denise. 

diffs (38 lines):

diff -r baea7ab6dbd5 -r 8c60dc737e7e htdocs/manage/circle/edit.bml
--- a/htdocs/manage/circle/edit.bml     Fri Oct 23 00:04:21 2009 -0500
+++ b/htdocs/manage/circle/edit.bml     Fri Oct 23 07:40:19 2009 -0500
@@ -49,6 +49,10 @@ body<=
         $ret .= LJ::form_auth();
         $ret .= "<p>" . BML::ml( '.circle.intro', { aopts1 => 
"href='#editpeople'", aopts2 => "href='#editcomms'", aopts3 => 
"href='#editfeeds'" }) . "</p>\n\n";
         $ret .= "<?h2 $ML{'.circle.header'} h2?>\n";
+
+        # little standout box to repeat before each section:
+
+        my $standoutbox .= "<?standout " . BML::ml( '.circle.standout', { 
aopts1 => "href='#editpeople'", aopts2 => "href='#editcomms'", aopts3 => 
"href='#editfeeds'" }) . "standout?><br />\n\n";
 
         # does the circle exist
         if ( @trusted_userids || keys %$watch_list || @trusted_by_userids || 
@watched_by_userids || @member_of_userids ) {
@@ -200,8 +204,11 @@ body<=
 
             # print tables
             $ret .= "<div class='editfriendsframe'>\n";
+            $ret .= $standoutbox;
             $ret .= $generate_table->( 'people', \...@person_userids ) . 
"<br>";
+            $ret .= $standoutbox;
             $ret .= $generate_table->( 'comms', \...@comm_userids ) . "<br>";
+            $ret .= $standoutbox;
             $ret .= $generate_table->( 'feeds', \...@feed_userids ) . "<br>";
             $ret .= "</div>";
 
diff -r baea7ab6dbd5 -r 8c60dc737e7e htdocs/manage/circle/edit.bml.text
--- a/htdocs/manage/circle/edit.bml.text        Fri Oct 23 00:04:21 2009 -0500
+++ b/htdocs/manage/circle/edit.bml.text        Fri Oct 23 07:40:19 2009 -0500
@@ -57,6 +57,8 @@
 .circle.nocircle=(You do not have any accounts in your circle.)
 
 .circle.none=(None)
+
+.circle.standout=Jump to: <a [[aopts1]]>People</a> | <a 
[[aopts2]]>Communities</a> | <a [[aopts3]]>Feeds</a> 
 
 .circle.status=Circle status
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to