Project

General

Profile

« Previous | Next » 

Revision 1108

Added by Matthias over 15 years ago

Fixed again some bugs in news modul (ticket #756) (Thanks to Aldus and Luisehahne)

View differences:

modify_settings.php
77 77
		<tr>
78 78
			<td class="setting_name"><?php echo $TEXT['HEADER']; ?>:</td>
79 79
			<td class="setting_value">
80
				<textarea name="header" style="width: 98%; height: 80px;"><?php echo ($fetch_content['header']); ?></textarea>
80
				<textarea name="header" rows="10" cols="1" style="width: 98%; height: 80px;"><?php echo ($fetch_content['header']); ?></textarea>
81 81
			</td>
82 82
		</tr>
83 83
		<tr>
84 84
			<td class="setting_name"><?php echo $TEXT['POST'].' '.$TEXT['LOOP']; ?>:</td>
85 85
			<td class="setting_value">
86
				<textarea name="post_loop" style="width: 98%; height: 60px;"><?php echo ($fetch_content['post_loop']); ?></textarea>
86
				<textarea name="post_loop" rows="10" cols="1" style="width: 98%; height: 60px;"><?php echo ($fetch_content['post_loop']); ?></textarea>
87 87
			</td>
88 88
		</tr>
89 89
		<tr>
90 90
			<td class="setting_name"><?php echo $TEXT['FOOTER']; ?>:</td>
91 91
			<td class="setting_value">
92
				<textarea name="footer" style="width: 98%; height: 80px;"><?php echo str_replace($raw, $friendly, ($fetch_content['footer'])); ?></textarea>
92
				<textarea name="footer" rows="10" cols="1" style="width: 98%; height: 80px;"><?php echo str_replace($raw, $friendly, ($fetch_content['footer'])); ?></textarea>
93 93
			</td>
94 94
		</tr>
95 95
		<tr>
96 96
			<td class="setting_name"><?php echo $TEXT['POST_HEADER']; ?>:</td>
97 97
			<td class="setting_value">
98
				<textarea name="post_header" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['post_header'])); ?></textarea>
98
				<textarea name="post_header" rows="10" cols="1" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['post_header'])); ?></textarea>
99 99
			</td>
100 100
		</tr>
101 101
		<tr>
102 102
			<td class="setting_name"><?php echo $TEXT['POST_FOOTER']; ?>:</td>
103 103
			<td class="setting_value">
104
				<textarea name="post_footer" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['post_footer'])); ?></textarea>
104
				<textarea name="post_footer" rows="10" cols="1" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['post_footer'])); ?></textarea>
105 105
			</td>
106 106
		</tr>
107 107
		<tr>
......
166 166
		<tr>
167 167
			<td class="setting_name"><?php echo $TEXT['COMMENTS'].' '.$TEXT['HEADER']; ?>:</td>
168 168
			<td class="setting_value">
169
				<textarea name="comments_header" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['comments_header'])); ?></textarea>
169
				<textarea name="comments_header" rows="10" cols="1" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['comments_header'])); ?></textarea>
170 170
			</td>
171 171
		</tr>
172 172
		<tr>
173 173
			<td class="setting_name"><?php echo $TEXT['COMMENTS'].' '.$TEXT['LOOP']; ?>:</td>
174 174
			<td class="setting_value">
175
				<textarea name="comments_loop" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['comments_loop'])); ?></textarea>
175
				<textarea name="comments_loop" rows="10" cols="1" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['comments_loop'])); ?></textarea>
176 176
			</td>
177 177
		</tr>
178 178
		<tr>
179 179
			<td class="setting_name"><?php echo $TEXT['COMMENTS'].' '.$TEXT['FOOTER']; ?>:</td>
180 180
			<td class="setting_value">
181
				<textarea name="comments_footer" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['comments_footer'])); ?></textarea>
181
				<textarea name="comments_footer" rows="10" cols="1" style="width: 98%; height: 60px;"><?php echo str_replace($raw, $friendly, ($fetch_content['comments_footer'])); ?></textarea>
182 182
			</td>
183 183
		</tr>
184 184
		<tr>
185 185
			<td class="setting_name"><?php echo $TEXT['COMMENTS'].' '.$TEXT['PAGE']; ?>:</td>
186 186
			<td class="setting_value">
187
				<textarea name="comments_page" style="width: 98%; height: 80px;"><?php echo str_replace($raw, $friendly, ($fetch_content['comments_page'])); ?></textarea>
187
				<textarea name="comments_page" rows="10" cols="1" style="width: 98%; height: 80px;"><?php echo str_replace($raw, $friendly, ($fetch_content['comments_page'])); ?></textarea>
188 188
			</td>
189 189
		</tr>
190 190
	</table>
191 191
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
192 192
		<tr>
193 193
			<td align="left">
194
				<input name="save" type="submit" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;">
194
				<input name="save" type="submit" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;" />
195 195
			</td>
196 196
			<td align="right">
197 197
				<input type="button" value="<?php echo $TEXT['CANCEL']; ?>" onclick="javascript: window.location = '<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page_id; ?>';" style="width: 100px; margin-top: 5px;" />

Also available in: Unified diff