Project

General

Profile

« Previous | Next » 

Revision 1914

Added by Dietmar over 11 years ago

! /admin/pages/ add/change to new Translate class
add a default.ini with a list of protected basenames,
and a PagesEnvironment to force writing the accessfile forever

View differences:

modify.php
4 4
 * @category        admin
5 5
 * @package         pages
6 6
 * @author          Ryan Djurovich, 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
 * @platform        WebsiteBaker 2.8.x
10
 * @platform        WebsiteBaker 2.8.4
11 11
 * @requirements    PHP 5.2.2 and higher and higher
12 12
 * @version         $Id$
13
 * @filesource		$HeadURL$
13
 * @filesource      $HeadURL$
14 14
 * @lastmodified    $Date$
15 15
 *
16 16
 */
......
205 205
$query_sections = $database->query($sql);
206 206
if($query_sections->numRows() > 0)
207 207
{
208
	while($section = $query_sections->fetchRow())
208
	while($section = $query_sections->fetchRow(MYSQL_ASSOC))
209 209
    {
210 210
		$section_id = $section['section_id'];
211 211
		$module = $section['module'];
......
225 225
							$block_name = '#' . (int) $section['block'];
226 226
						}
227 227
					}
228
					$sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? 'id="'.SEC_ANCHOR.$section['section_id'].'"' : 'section_'.$section_id);
229
					print '<div class="section-info" '.$sec_anchor.' ><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name;
228
					$sSectionIdPrefix = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? SEC_ANCHOR : 'Sec');
229
					print '<div class="section-info" id="'.$sSectionIdPrefix.$section['section_id'].'" ><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name;
230 230
					print '<b>  Modul: </b>' . $section['module']." ";
231 231
					print '<b>  ID: </b>' . $section_id."</div>\n";
232 232
//				}

Also available in: Unified diff