Project

General

Profile

« Previous | Next » 

Revision 1840

Added by Dietmar almost 12 years ago

! settings move website_signature to mailer settings
! fix html validate error in pages sections
! add pages field page_code to class.frontend.php
! optimized jsadmin backend.css

View differences:

settings.php
5 5
 * @package         pages
6 6
 * @author          Ryan Djurovich, WebsiteBaker Project
7 7
 * @copyright       2009-2012, WebsiteBaker Org. e.V.
8
 * @link			http://www.websitebaker2.org/
8
 * @link            http://www.websitebaker2.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
 *
16 16
 */
......
201 201
	}
202 202

  
203 203
/*-- collect page-icons for select boxes -----------------------------------------------*/
204
    $sAllowedImageTypes = '\.jpg|\.jpeg|\.png|\.gif';
204
  $sAllowedImageTypes = '\.jpg|\.jpeg|\.png|\.gif';
205 205
	$aPageIcons = array();
206 206
	$aIcon = array();
207 207
	$sTemplate = ($aCurrentPage['template'] == '' ? DEFAULT_TEMPLATE : $aCurrentPage['template']);
......
417 417
// Work-out if page languages feature is enabled
418 418
	$oTpl->set_block('main_block', 'show_page_code_block',  'show_page_code');
419 419
	if( (defined('PAGE_LANGUAGES') && PAGE_LANGUAGES) &&
420
		 isset($aCurrentPage['page_code']) &&
421
		 file_exists(WB_PATH.'/modules/mod_multilingual/update_keys.php') )
420
		 isset($aCurrentPage['page_code']) && class_exists('m_MultiLingual_Lib'))
422 421
	{
423 422
		// workout field is set but module missing
424 423
		$oTpl->set_var('TEXT_PAGE_CODE',
425
						   '<a href="'.WB_URL.'/modules/mod_multilingual/update_keys.php?page_id='.$page_id.'">'.$mLang->TEXT_PAGE_CODE.'</a>'
424
						   '<a href="'.WB_URL.'/modules/MultiLingual/update_keys.php?page_id='.$page_id.'">'.$mLang->TEXT_PAGE_CODE.'</a>'
426 425
		);
427 426
	/*-- begin recursive function page_code list ---------------------------------------*/
428 427
		function page_code_list($parent)
429 428

  

Also available in: Unified diff