[UseBook-Checkins] UseBook config.php,1.6,1.7 index.php,1.6,1.7 post.php,1.1,1.2
Status: Inactive
Brought to you by:
pc_freak
|
From: Vandamme S. <kid...@us...> - 2005-07-28 10:17:00
|
Update of /cvsroot/usebook/UseBook In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13233 Modified Files: config.php index.php post.php Log Message: UseBook 0.3 RC Index: config.php =================================================================== RCS file: /cvsroot/usebook/UseBook/config.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** config.php 7 Jul 2005 16:38:09 -0000 1.6 --- config.php 28 Jul 2005 10:16:50 -0000 1.7 *************** *** 54,60 **** $config['gb_descr'] = 'The usable guestbook.'; $config['closed'] = 0; ! $config['closed_title']= 'Closed *****!'; ! $config['closed_msg'] = 'Work Work Work'; ! $config['posts_page'] = 5; $config['date_format'] = 'D M d, Y g:i a'; $config['timezone'] = 0; --- 54,60 ---- $config['gb_descr'] = 'The usable guestbook.'; $config['closed'] = 0; ! $config['closed_title']= 'Closed for repairs!'; ! $config['closed_msg'] = 'Closed'; ! $config['posts_page'] = 100; $config['date_format'] = 'D M d, Y g:i a'; $config['timezone'] = 0; *************** *** 76,83 **** // $config['output_compression'] = 0; ! $config['target_blank'] = 0; $config['rel_nofollow'] = 0; $config['auto_free_sql_results'] = 1; ! $config['friendly_urls'] = 0; // --- 76,85 ---- // $config['output_compression'] = 0; ! $config['target_blank'] = 1; $config['rel_nofollow'] = 0; $config['auto_free_sql_results'] = 1; ! $config['friendly_urls'] = 1; ! $config['hide_undefined_template_setting_warnings'] = 0; ! $config['hide_undefined_template_warnings'] = 0; // Index: post.php =================================================================== RCS file: /cvsroot/usebook/UseBook/post.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** post.php 18 Jun 2005 12:28:38 -0000 1.1 --- post.php 28 Jul 2005 10:16:50 -0000 1.2 *************** *** 34,38 **** // ! if ( !empty($_POST['post_message']) && is_string($_POST['post_message']) ) { $error = array(); --- 34,38 ---- // ! if ( !empty($_POST['post_message']) && is_string($_POST['post_message']) && $admin->posttime < (time()-$functions->get_config('antispam'))) { $error = array(); Index: index.php =================================================================== RCS file: /cvsroot/usebook/UseBook/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 7 Jul 2005 16:38:09 -0000 1.6 --- index.php 28 Jul 2005 10:16:50 -0000 1.7 *************** *** 56,60 **** $pages .= '<b>'.$i.'</b> '; else ! $pages .= '<a href="index.php?page='.$i.'">'.$i.'</a> '; } --- 56,60 ---- $pages .= '<b>'.$i.'</b> '; else ! $pages .= '<a href="'.$functions->make_url('index.php',array('page' => $i)).'">'.$i.'</a> '; } *************** *** 77,81 **** 'name' => $posts['name'], 'mail' => ( !empty($posts['mail']) ) ? $lang['Email'].': '.$functions->show_email($posts['mail']) : '', ! 'site' => ( !empty($posts['site']) ) ? $lang['Website'].': '.$posts['site'] : '', 'date' => $functions->make_date($posts['date']), 'post' => $functions->markup($posts['post'])) ); --- 77,81 ---- '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>' : '', 'date' => $functions->make_date($posts['date']), 'post' => $functions->markup($posts['post'])) ); |