From: Eloi G. <ada...@us...> - 2004-06-18 23:31:21
|
Update of /cvsroot/phpwebsite-comm/modules/article In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7283 Modified Files: index.php Log Message: 2.3 Release Files Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/index.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.php 19 Feb 2004 21:46:48 -0000 1.7 --- index.php 18 Jun 2004 23:31:10 -0000 1.8 *************** *** 3,6 **** --- 3,8 ---- * This is the index file for the article module. * + * @version $Id$ + * * @author Eloi George <el...@NO...> * @module Article Manager *************** *** 214,224 **** if ($_REQUEST['IMGLib_op']=='select_image') { $_POST['IMGLib_selected_image'] = pos($_POST['IMGLib_selected_image']); - echo 'Selected image is:'.$_POST['IMGLib_selected_image'].' in:'.$_POST['IMGLib_selected_gallery']; - echo 'Section id is:'.$_SESSION['SES_ART_section']->id; $_SESSION['SES_ART_section']->update(); $_SESSION['SES_ART_article']->edit_article($_SESSION['SES_ART_section']->id); return; } ! /* Show the image galleries. linkBack, current_image, & current_gallery * are already set as POSTs from the calling form in /inc/S_edit.php */ --- 216,234 ---- if ($_REQUEST['IMGLib_op']=='select_image') { $_POST['IMGLib_selected_image'] = pos($_POST['IMGLib_selected_image']); $_SESSION['SES_ART_section']->update(); $_SESSION['SES_ART_article']->edit_article($_SESSION['SES_ART_section']->id); return; } ! /* Handle gallery exit requests */ ! if ($_REQUEST['IMGLib_op']=='exit') { ! if ($_REQUEST['IMGLib_return_data']=='edit') ! $_SESSION['SES_ART_article']->edit_article($_SESSION['SES_ART_section']->id); ! else { ! $_SESSION['SES_ART_master']->main_menu(); ! $_SESSION['SES_ART_master']->list_articles(); ! } ! return; ! } ! /* Show the image galleries. return_data, current_image, & current_gallery * are already set as POSTs from the calling form in /inc/S_edit.php */ *************** *** 240,244 **** . implode('","', $_POST['IMGLib_selected_image']) . '")'; - echo $sql; /* Change directory names in all relevant sections */ $GLOBALS['core']->query($sql, true); --- 250,253 ---- |