[geeklog-cvs] Geeklog-1.x/system lib-story.php,1.130,1.131

Dirk Haun dhaun at qs1489.pair.com
Sat Aug 30 03:26:44 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv16226/system

Modified Files:
	lib-story.php 
Log Message:
Another sprinkle of semantics


Index: lib-story.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v
retrieving revision 1.130
retrieving revision 1.131
diff -C2 -d -r1.130 -r1.131
*** lib-story.php	16 Aug 2008 18:08:11 -0000	1.130
--- lib-story.php	30 Aug 2008 07:26:42 -0000	1.131
***************
*** 209,220 ****
  
      if ((($index != 'n') && ($index != 'p')) || !empty($query)) {
!         $article->set_var( 'start_storylink_anchortag', '<a href="'
!                 . $articleUrl . '" class="non-ul">' );
!         $article->set_var( 'end_storylink_anchortag', '</a>' );
!         $article->set_var( 'story_title_link',
              COM_createLink(
                      $story->DisplayElements('title'),
                      $articleUrl,
!                     array('class'=>'non-ul')
              )
          );
--- 209,226 ----
  
      if ((($index != 'n') && ($index != 'p')) || !empty($query)) {
!         $attributes = ' class="non-ul"';
!         $attr_array = array('class' => 'non-ul');
!         if (!empty($query)) {
!             $attributes .= ' rel="bookmark"';
!             $attr_array['rel'] = 'bookmark';
!         }
!         $article->set_var('start_storylink_anchortag',
!                           '<a href="' . $articleUrl . '"' . $attributes);
!         $article->set_var('end_storylink_anchortag', '</a>');
!         $article->set_var('story_title_link',
              COM_createLink(
                      $story->DisplayElements('title'),
                      $articleUrl,
!                     $attr_array
              )
          );




More information about the geeklog-cvs mailing list