Project

General

Profile

« Previous | Next » 

Revision 1919

Added by Dietmar about 11 years ago

! /modules/form/ beginning recoding

View differences:

modify.php
4 4
 * @category        module
5 5
 * @package         Form
6 6
 * @author          WebsiteBaker Project
7
 * @copyright       2009-2012, WebsiteBaker Org. e.V.
8
 * @link			http://www.websitebaker2.org/
7
 * @copyright       2009-2013, WebsiteBaker Org. e.V.
8
 * @link            http://www.websitebaker.org/
9 9
 * @license         http://www.gnu.org/licenses/gpl.html
10 10
 * @platform        WebsiteBaker 2.8.x
11 11
 * @requirements    PHP 5.2.2 and higher
12 12
 * @version         $Id$
13
 * @filesource		$HeadURL$
13
 * @filesource      $HeadURL$
14 14
 * @lastmodified    $Date$
15 15
 * @description
16 16
 */
......
35 35

  
36 36
include_once(WB_PATH.'/framework/functions.php');
37 37

  
38
$sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? '#'.SEC_ANCHOR.$section['section_id'] : 'section_'.$section['section_id'] );
39

  
40 38
//Delete all form fields with no title
41 39
$sql  = 'DELETE FROM `'.TABLE_PREFIX.'mod_form_fields` ';
42 40
$sql .= 'WHERE page_id = '.(int)$page_id.' ';

Also available in: Unified diff