Project

General

Profile

« Previous | Next » 

Revision 1724

Added by Luisehahne over 12 years ago

  1. fixed form submission output if no entry exist

View differences:

branches/2.8.x/CHANGELOG
13 13

  
14 14

  
15 15

  
16
30 Aug-2012 Build 1724 Dietmar Woellbrink (Luisehahne)
17
# fixed form submission output if no entry exist
18
30 Aug-2012 Build 1723 Dietmar Woellbrink (Luisehahne)
19
# fixed missing class.admin
20
# check droplet skype if no existing user 
16 21
30 Aug-2012 Build 1722 Dietmar Woellbrink (Luisehahne)
17 22
# fixed missing login template after install
18 23
29 Aug-2012 Build 1721 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1722');
54
if(!defined('REVISION')) define('REVISION', '1724');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/modules/form/modify.php
235 235
		'TEXT_EMAIL' => $TEXT['EMAIL'],
236 236
		'MOD_FORM_FROM' => $MOD_FORM['FROM'],
237 237
		'TEXT_NONE_FOUND' => '',
238
		'SUBMISSION_ID' => '',
239
		'SUBMISSION_CREATE_WHEN' => '',
240
		'SUBMISSION_BY' => '',
241
		'SUBMISSION_EMAIL' => '',
242
		'loop_submmission' => '',
238 243
		)
239 244
	);
240 245

  
241
	$oTpl->set_block('main_block', 'language_list_block', 'language_list');
246
//	$oTpl->set_block('main_block', 'language_list_block', 'language_list');
247
	$oTpl->set_block('main_block', 'loop_submmission_block', 'loop_submmission');
242 248
	if($query_submissions->numRows() > 0) {
243 249
//print '<pre style="text-align: left;"><strong>function '.__FUNCTION__.'( '.''.' );</strong>  basename: '.basename(__FILE__).'  line: '.__LINE__.' -> <br />';
244 250
//print_r( $_SERVER ); print '</pre>'; // flush ();sleep(10); die();
......
250 256
		// List submissions
251 257
        $currentrow = 0;
252 258
		$row = 'a';
253
    	$oTpl->set_block('main_block', 'loop_submmission_block', 'loop_submmission');
259
//    	$oTpl->set_block('main_block', 'loop_submmission_block', 'loop_submmission');
254 260
		while($submission = $query_submissions->fetchRow(MYSQL_ASSOC) )
255 261
        {
256 262
			$currentrow++;
......
288 294
    	);
289 295

  
290 296
	} else {
291
			$oTpl->set_var('TEXT_NONE_FOUND', $TEXT['NONE_FOUND']);
297
    	$oTpl->set_block('loop_submmission_block', '');
298
		$oTpl->set_var('TEXT_NONE_FOUND', $TEXT['NONE_FOUND']);
292 299
    }
293 300
} else {
294 301
	echo $database->get_error().'<br />';

Also available in: Unified diff