Project

General

Profile

« Previous | Next » 

Revision 1772

Added by Dietmar about 12 years ago

  1. fixed show e-mail in submission overview
    ! set title to tooltip if you add a pageX
    ! optimize upgrade-script, add new fields to user table

View differences:

upgrade.php
65 65
					return $msg;
66 66
				} else {
67 67
					echo  ''.$MESSAGE['PAGES_CANNOT_CREATE_ACCESS_FILE'].'';
68
					return;
68
					return $msg;
69 69
				}
70 70
			}
71 71
            $msg[] = '<strong>Directory "'.PAGES_DIRECTORY.'/posts/" created</strong>';
......
79 79
			                        'INT NOT NULL DEFAULT \'0\' AFTER `commenting`')) {
80 80
				if($globalStarted){
81 81
					echo ''.$MESSAGE['RECORD_MODIFIED_FAILED'].'';
82
					return;
82
					return $msg;
83 83
				} else {
84 84
//					$admin->print_error($MESSAGE['RECORD_MODIFIED_FAILED']);
85 85
					$msg[] = $MESSAGE['RECORD_MODIFIED_FAILED'];
......
87 87
				}
88 88
			}
89 89

  
90
        if($globalStarted) {
91
            echo 'Datafield `'.TABLE_PREFIX.'mod_news_posts`.`created_when` added.<br />';
92
        }
90
            if($globalStarted) {
91
                echo 'Datafield `'.TABLE_PREFIX.'mod_news_posts`.`created_when` added.<br />';
92
            }
93 93
		} else { $doImportDate = false; }
94 94

  
95 95
		if(!$database->field_exists(TABLE_PREFIX.'mod_news_posts', 'created_by')) {
......
97 97
			                        'INT NOT NULL DEFAULT \'0\' AFTER `created_when`')) {
98 98
				if($globalStarted){
99 99
					echo ''.$MESSAGE['RECORD_MODIFIED_FAILED'].'';
100
					return;
100
					return $msg;
101 101
				}else {
102 102
//					$admin->print_error($MESSAGE['RECORD_MODIFIED_FAILED']);
103 103
					$msg[] = $MESSAGE['RECORD_MODIFIED_FAILED'];

Also available in: Unified diff