[geeklog-cvs] journal/public_html index.php,1.3,1.4

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Thu Aug 21 15:10:21 EDT 2003


Update of /usr/cvs/geeklog/journal/public_html
In directory geeklog_prod:/tmp/cvs-serv31827/public_html

Modified Files:
	index.php 
Log Message:
Allow for shorter URLs to display the Journal entries.
Some more HTML cleanup.


Index: index.php
===================================================================
RCS file: /usr/cvs/geeklog/journal/public_html/index.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** index.php	31 Jul 2003 17:58:40 -0000	1.3
--- index.php	21 Aug 2003 19:10:19 -0000	1.4
***************
*** 133,138 ****
          break;	
      default:
!         $display .= shownavigation($mode,$cur_journal);
!         $display .= listjournals($uid);
          break;
  }
--- 133,145 ----
          break;	
      default:
!         if (!empty ($je_id)) {
!             $jrn_id = DB_getItem ($_TABLES['journal_entry'], 'je_jrn_id',
!                                   "je_id = '$je_id'");
!             $display .= shownavigation($mode,$jrn_id);
!             $display .= printjournalentry($je_id);
!         } else {
!             $display .= shownavigation($mode,$cur_journal);
!             $display .= listjournals($uid);
!         }
          break;
  }





More information about the geeklog-cvs mailing list