Report#80:Add a custom block, managed in the ACP - display the settings separately for each block in the ACP.

This commit is contained in:
Kevin
2008-03-24 11:33:52 +00:00
parent 2630842d7d
commit a85f6a4a14
3 changed files with 6 additions and 1 deletions

View File

@@ -230,6 +230,7 @@ $lang = array_merge($lang, array(
'ACP_PORTAL_CUSTOM_INFO' => 'Aktiver Block', 'ACP_PORTAL_CUSTOM_INFO' => 'Aktiver Block',
'ACP_PORTAL_CUSTOM_SETTINGS' => 'Einstellungen für die aktiven Blöcke', 'ACP_PORTAL_CUSTOM_SETTINGS' => 'Einstellungen für die aktiven Blöcke',
'ACP_PORTAL_CUSTOM_SETTINGS_EXPLAIN' => 'Einstellungen für aktiven Blöcke ändern. Diese Blöcke können mit HTML oder BBCode für verschiedene Zwecke, wie Z.B Werbung, Videos, Flash oder Text genutzt werden. Gib einfach den gewünschten Code ein.', 'ACP_PORTAL_CUSTOM_SETTINGS_EXPLAIN' => 'Einstellungen für aktiven Blöcke ändern. Diese Blöcke können mit HTML oder BBCode für verschiedene Zwecke, wie Z.B Werbung, Videos, Flash oder Text genutzt werden. Gib einfach den gewünschten Code ein.',
'ACP_PORTAL_CUSTOM_SMALL_SETTINGS' => 'Einstellungen für den kleinen aktiven Block',
'PORTAL_CUSTOM_SMALL_HEADLINE' => 'Überschrift für den kleinen aktiven Block', 'PORTAL_CUSTOM_SMALL_HEADLINE' => 'Überschrift für den kleinen aktiven Block',
'PORTAL_CUSTOM_SMALL_HEADLINE_EXPLAIN' => 'Hier kannst du die Überschrift der Box ändern.', 'PORTAL_CUSTOM_SMALL_HEADLINE_EXPLAIN' => 'Hier kannst du die Überschrift der Box ändern.',
'PORTAL_CUSTOM_SMALL' => 'Kleinen aktiven Block anzeigen', 'PORTAL_CUSTOM_SMALL' => 'Kleinen aktiven Block anzeigen',
@@ -238,6 +239,7 @@ $lang = array_merge($lang, array(
'PORTAL_CUSTOM_SMALL_BBCODE_EXPLAIN' => 'BBCode kann dann in dieser Box benutzt werden. Ansonsten wird HTML direkt ausgegeben.', 'PORTAL_CUSTOM_SMALL_BBCODE_EXPLAIN' => 'BBCode kann dann in dieser Box benutzt werden. Ansonsten wird HTML direkt ausgegeben.',
'PORTAL_CUSTOM_CODE_SMALL' => 'Code für den kleinen aktiven Block', 'PORTAL_CUSTOM_CODE_SMALL' => 'Code für den kleinen aktiven Block',
'PORTAL_CUSTOM_CODE_SMALL_EXPLAIN' => 'Ändere den Code für die kleine ative Box (HTML oder BBCode).', 'PORTAL_CUSTOM_CODE_SMALL_EXPLAIN' => 'Ändere den Code für die kleine ative Box (HTML oder BBCode).',
'ACP_PORTAL_CUSTOM_CENTER_SETTINGS' => 'Einstellungen für den mittleren aktiven Block',
'PORTAL_CUSTOM_CENTER' => 'Mittleren aktiven Block anzeigen', 'PORTAL_CUSTOM_CENTER' => 'Mittleren aktiven Block anzeigen',
'PORTAL_CUSTOM_CENTER_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', 'PORTAL_CUSTOM_CENTER_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.',
'PORTAL_CUSTOM_CENTER_HEADLINE' => 'Überschrift für den mittleren aktiven Block', 'PORTAL_CUSTOM_CENTER_HEADLINE' => 'Überschrift für den mittleren aktiven Block',

View File

@@ -201,11 +201,12 @@ class acp_portal
$display_vars = array( $display_vars = array(
'title' => 'ACP_PORTAL_CUSTOM_SETTINGS', 'title' => 'ACP_PORTAL_CUSTOM_SETTINGS',
'vars' => array( 'vars' => array(
'legend1' => 'ACP_PORTAL_CUSTOM_SETTINGS', 'legend1' => 'ACP_PORTAL_CUSTOM_SMALL_SETTINGS',
'portal_custom_small' => array('lang' => 'PORTAL_CUSTOM_SMALL' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'portal_custom_small' => array('lang' => 'PORTAL_CUSTOM_SMALL' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'portal_custom_small_headline' => array('lang' => 'PORTAL_CUSTOM_SMALL_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true), 'portal_custom_small_headline' => array('lang' => 'PORTAL_CUSTOM_SMALL_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true),
'portal_custom_small_bbcode' => array('lang' => 'PORTAL_CUSTOM_SMALL_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'portal_custom_small_bbcode' => array('lang' => 'PORTAL_CUSTOM_SMALL_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'portal_custom_code_small' => array('lang' => 'PORTAL_CUSTOM_CODE_SMALL' , 'validate' => 'string', 'type' => 'textarea:6:6', 'explain' => true), 'portal_custom_code_small' => array('lang' => 'PORTAL_CUSTOM_CODE_SMALL' , 'validate' => 'string', 'type' => 'textarea:6:6', 'explain' => true),
'legend2' => 'ACP_PORTAL_CUSTOM_CENTER_SETTINGS',
'portal_custom_center' => array('lang' => 'PORTAL_CUSTOM_CENTER' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'portal_custom_center' => array('lang' => 'PORTAL_CUSTOM_CENTER' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'portal_custom_center_headline' => array('lang' => 'PORTAL_CUSTOM_CENTER_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true), 'portal_custom_center_headline' => array('lang' => 'PORTAL_CUSTOM_CENTER_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true),
'portal_custom_center_bbcode' => array('lang' => 'PORTAL_CUSTOM_CENTER_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'portal_custom_center_bbcode' => array('lang' => 'PORTAL_CUSTOM_CENTER_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),

View File

@@ -235,6 +235,7 @@ $lang = array_merge($lang, array(
'ACP_PORTAL_CUSTOM_INFO' => 'Custom block', 'ACP_PORTAL_CUSTOM_INFO' => 'Custom block',
'ACP_PORTAL_CUSTOM_SETTINGS' => 'Custom blocks settings', 'ACP_PORTAL_CUSTOM_SETTINGS' => 'Custom blocks settings',
'ACP_PORTAL_CUSTOM_SETTINGS_EXPLAIN' => 'Here you can change your custom blocks. These blocks could be filled with HTML or BBCode for several purposes like advertisement, videos, images, flash or text. Just insert the needed code.', 'ACP_PORTAL_CUSTOM_SETTINGS_EXPLAIN' => 'Here you can change your custom blocks. These blocks could be filled with HTML or BBCode for several purposes like advertisement, videos, images, flash or text. Just insert the needed code.',
'ACP_PORTAL_CUSTOM_SMALL_SETTINGS' => 'Custom blocks settings for the small block',
'PORTAL_CUSTOM_SMALL_HEADLINE' => 'Headline for the small custom block', 'PORTAL_CUSTOM_SMALL_HEADLINE' => 'Headline for the small custom block',
'PORTAL_CUSTOM_SMALL_HEADLINE_EXPLAIN' => 'Here you can change the headline for the small custom block.', 'PORTAL_CUSTOM_SMALL_HEADLINE_EXPLAIN' => 'Here you can change the headline for the small custom block.',
'PORTAL_CUSTOM_SMALL' => 'Display the small custom block', 'PORTAL_CUSTOM_SMALL' => 'Display the small custom block',
@@ -243,6 +244,7 @@ $lang = array_merge($lang, array(
'PORTAL_CUSTOM_SMALL_BBCODE_EXPLAIN' => 'BBCode could be used in this Box. If BBCode is not activated, HTML will be parsed.', 'PORTAL_CUSTOM_SMALL_BBCODE_EXPLAIN' => 'BBCode could be used in this Box. If BBCode is not activated, HTML will be parsed.',
'PORTAL_CUSTOM_CODE_SMALL' => 'Code for the small custom block', 'PORTAL_CUSTOM_CODE_SMALL' => 'Code for the small custom block',
'PORTAL_CUSTOM_CODE_SMALL_EXPLAIN' => 'Change the Code for the small custom Block (HTML or BBCode) here.', 'PORTAL_CUSTOM_CODE_SMALL_EXPLAIN' => 'Change the Code for the small custom Block (HTML or BBCode) here.',
'ACP_PORTAL_CUSTOM_CENTER_SETTINGS' => 'Custom blocks settings for the center block',
'PORTAL_CUSTOM_CENTER' => 'Display the center custom block', 'PORTAL_CUSTOM_CENTER' => 'Display the center custom block',
'PORTAL_CUSTOM_CENTER_EXPLAIN' => 'Display this block on portal.', 'PORTAL_CUSTOM_CENTER_EXPLAIN' => 'Display this block on portal.',
'PORTAL_CUSTOM_CENTER_HEADLINE' => 'Headline for the center custom block', 'PORTAL_CUSTOM_CENTER_HEADLINE' => 'Headline for the center custom block',