From: Eloi G. <ada...@us...> - 2011-01-03 06:02:14
|
Update of /cvsroot/phpwebsite-comm/modules/article In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv13381 Modified Files: index.php Log Message: + Times viewed is now stored in the associated Key for an article Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/index.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** index.php 21 Nov 2008 14:16:26 -0000 1.26 --- index.php 3 Jan 2011 06:02:06 -0000 1.27 *************** *** 42,47 **** $temp = new PHPWS_Article((int) $_REQUEST['id']); Layout::add($temp->view_full()); - /* Increment the articleview counter */ - $temp->increment_counter((int) $_REQUEST['id']); unset($temp); } --- 42,45 ---- *************** *** 63,68 **** $temp = new PHPWS_Article((int) $_REQUEST['id']); Layout::add($temp->view_full()); - /* Increment the articleview counter */ - $temp->increment_counter((int) $_REQUEST['id']); $GLOBALS['Layout'] = array('layout' => $GLOBALS['Layout']['layout']); unset($GLOBALS['Layout_Plugs']); --- 61,64 ---- |