Update of /cvsroot/usebook/UseBook
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12038
Modified Files:
changelog.txt config.php index.php
Log Message:
Preparing 0.3.5 release
Index: config.php
===================================================================
RCS file: /cvsroot/usebook/UseBook/config.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** config.php 21 Aug 2005 11:13:21 -0000 1.8
--- config.php 25 Aug 2005 21:27:29 -0000 1.9
***************
*** 43,46 ****
--- 43,47 ----
// Admin
//
+ // Does not work (yet)
$config['admin'] = array (
'admin' => '098f6bcd4621d373cade4e832627b4f6'
Index: changelog.txt
===================================================================
RCS file: /cvsroot/usebook/UseBook/changelog.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** changelog.txt 21 Aug 2005 11:13:21 -0000 1.8
--- changelog.txt 25 Aug 2005 21:27:29 -0000 1.9
***************
*** 1,5 ****
$Header$
! UseBook 0.4 Changelog
------------------------------
- Added quote
--- 1,5 ----
$Header$
! UseBook 0.3.5 Changelog
------------------------------
- Added quote
Index: index.php
===================================================================
RCS file: /cvsroot/usebook/UseBook/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** index.php 21 Aug 2005 11:13:21 -0000 1.8
--- index.php 25 Aug 2005 21:27:29 -0000 1.9
***************
*** 61,65 ****
$order = ( $functions->get_config('post_order') == 1 ) ? 'DESC': 'ASC';
! $data = $db->query('SELECT * FROM '.TABLE_PREFIX.'posts ORDER BY id '.$order.' LIMIT '.$functions->get_config('posts_page')*$page.', '.$functions->get_config('posts_page'));
if ( $db->num_rows($data) == 0 )
--- 61,68 ----
$order = ( $functions->get_config('post_order') == 1 ) ? 'DESC': 'ASC';
! /*USEBOOK0.4-$private = ( $admin->login == true ) ? '':'WHERE private = 0';*/
! $private = '';
!
! $data = $db->query('SELECT * FROM '.TABLE_PREFIX.'posts '.$private.' ORDER BY id '.$order.' LIMIT '.$functions->get_config('posts_page')*$page.', '.$functions->get_config('posts_page'));
if ( $db->num_rows($data) == 0 )
***************
*** 81,85 ****
'color' => $post_color,
'id' => ( $admin->login ) ? '<a href="'.$functions->make_url('stats.php', array('id' => $posts['id'])).'">'.$posts['id'].'</a>' : '#'.$posts['id'],
! 'name' => $posts['name'],
'mail' => ( !empty($posts['mail']) ) ? $lang['Email'].': '.$functions->show_email($posts['mail']) : '',
'site' => ( !empty($posts['site']) ) ? $lang['Website'].': <a href="'.$posts['site'].'" target="_BLANK">'.$posts['site'].'</a>' : '',
--- 84,88 ----
'color' => $post_color,
'id' => ( $admin->login ) ? '<a href="'.$functions->make_url('stats.php', array('id' => $posts['id'])).'">'.$posts['id'].'</a>' : '#'.$posts['id'],
! 'name' => ( $posts['admin'] == 1) ? '<u>'.$posts['name'].'</u>': $posts['name'],
'mail' => ( !empty($posts['mail']) ) ? $lang['Email'].': '.$functions->show_email($posts['mail']) : '',
'site' => ( !empty($posts['site']) ) ? $lang['Website'].': <a href="'.$posts['site'].'" target="_BLANK">'.$posts['site'].'</a>' : '',
***************
*** 115,118 ****
--- 118,122 ----
'message' => '<textarea rows="10" cols="60" name="post_message">'.$message.'</textarea>',
'website' => '<input type="text" name="post_website" size="25" maxlength="255" value="'.$website.'"/>',
+ /*USEBOOK0.4-'private' => '<input type="checkbox" name="private" id="private" value="1" />',*/
'form_start' => '<form method="POST" action="'.$functions->make_url('index.php').'">',
'form_end' => '</form>'
|