[Betterawstats-cvs] betterawstats/includes bawstats.admin.inc, 1.3, 1.4 bawstats.config.inc, 1.3, 1
Brought to you by:
tokyoahead
From: Oliver S. <tok...@us...> - 2008-03-18 01:07:36
|
Update of /cvsroot/betterawstats/betterawstats/includes In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11752 Modified Files: bawstats.admin.inc bawstats.config.inc bawstats.stats.inc Log Message: more url changes Index: bawstats.config.inc =================================================================== RCS file: /cvsroot/betterawstats/betterawstats/includes/bawstats.config.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bawstats.config.inc 16 Mar 2008 14:14:46 -0000 1.3 --- bawstats.config.inc 18 Mar 2008 01:07:41 -0000 1.4 *************** *** 10,14 **** * * For more information about BetterAWstats see: ! * http://www.tokyoahead.com/main/staticpages/index.php/betterawstats * * This program is free software; you can redistribute it and/or modify --- 10,14 ---- * * For more information about BetterAWstats see: ! * http://betterawstats.com/ * * This program is free software; you can redistribute it and/or modify *************** *** 30,34 **** $bawstats_path = drupal_get_path('module', 'bawstats'); ! /** * beterawstats globals and libraries * --- 30,34 ---- $bawstats_path = drupal_get_path('module', 'bawstats'); ! /** * beterawstats globals and libraries * Index: bawstats.stats.inc =================================================================== RCS file: /cvsroot/betterawstats/betterawstats/includes/bawstats.stats.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** bawstats.stats.inc 16 Mar 2008 14:14:46 -0000 1.4 --- bawstats.stats.inc 18 Mar 2008 01:07:41 -0000 1.5 *************** *** 10,14 **** * * For more information about BetterAWstats see: ! * http://www.tokyoahead.com/main/staticpages/index.php/betterawstats * * This program is free software; you can redistribute it and/or modify --- 10,14 ---- * * For more information about BetterAWstats see: ! * http://betterawstats.com/ * * This program is free software; you can redistribute it and/or modify Index: bawstats.admin.inc =================================================================== RCS file: /cvsroot/betterawstats/betterawstats/includes/bawstats.admin.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bawstats.admin.inc 16 Mar 2008 14:14:46 -0000 1.3 --- bawstats.admin.inc 18 Mar 2008 01:07:41 -0000 1.4 *************** *** 10,14 **** * * For more information about BetterAWstats see: ! * http://www.tokyoahead.com/main/staticpages/index.php/betterawstats * * This program is free software; you can redistribute it and/or modify --- 10,14 ---- * * For more information about BetterAWstats see: ! * http://betterawstats.com/ * * This program is free software; you can redistribute it and/or modify *************** *** 115,119 **** function _bawstats_remove_slash($path) { ! if (substr($path,strlen($path)-1,1)=='/') return substr($path,0,strlen($path)-1); return $path; } --- 115,119 ---- function _bawstats_remove_slash($path) { ! if (substr($path,strlen($path)-1,1)=='/') return substr($path,0,strlen($path)-1); return $path; } *************** *** 150,154 **** form_set_error('bawstats_lib', t('AWstats library directory "') . $lib_dir . t('" does not contain the necessary library files?')); $settingOK = FALSE; ! } } else { form_set_error('bawstats_lib', t('AWstats library directory "') . $lib_dir . t('" is not accessible.')); --- 150,154 ---- form_set_error('bawstats_lib', t('AWstats library directory "') . $lib_dir . t('" does not contain the necessary library files?')); $settingOK = FALSE; ! } } else { form_set_error('bawstats_lib', t('AWstats library directory "') . $lib_dir . t('" is not accessible.')); *************** *** 207,211 **** $value = _bawstats_remove_slash($value); // do some further checking ! $count = count(glob($value . "/*.txt")); if ($count==0) drupal_set_message(t('Warning, the AWstats data directory "') . $value . t('" does not contain any text data files'),'warning'); } --- 207,211 ---- $value = _bawstats_remove_slash($value); // do some further checking ! $count = count(glob($value . "/*.txt")); if ($count==0) drupal_set_message(t('Warning, the AWstats data directory "') . $value . t('" does not contain any text data files'),'warning'); } *************** *** 236,240 **** } } else { ! drupal_set_message(t('Warning, the AWstats icon path "') . $value . t('" is not a directory.'),'warning'); } } --- 236,240 ---- } } else { ! drupal_set_message(t('Warning, the AWstats icon path "') . $value . t('" is not a directory.'),'warning'); } } *************** *** 243,247 **** variable_set($key, $value); } ! } if ($op == t('Reset to defaults')) { --- 243,247 ---- variable_set($key, $value); } ! } if ($op == t('Reset to defaults')) { *************** *** 258,262 **** foreach ($BAW_LIB['item_groups'] as $group => $group_details) { $statgroups[check_plain($group)] = check_plain($group_details['title']); ! } variable_set('bawstats_groups',$statgroups); --- 258,262 ---- foreach ($BAW_LIB['item_groups'] as $group => $group_details) { $statgroups[check_plain($group)] = check_plain($group_details['title']); ! } variable_set('bawstats_groups',$statgroups); |