mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
Allow simultaneous loading of config.ini and config.php in templates
This commit is contained in:
3
templates/kathrine/config.ini
Normal file
3
templates/kathrine/config.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
darkborder = "#d0cdb4"
|
||||
lightborder = "#e5e3d7"
|
||||
vdarkborder = "#afab89"
|
@@ -1,13 +1,8 @@
|
||||
<?php
|
||||
$config['darkborder'] = "#d0cdb4";
|
||||
$config['lightborder'] = "#e5e3d7";
|
||||
$config['vdarkborder'] = "#afab89";
|
||||
$config['menu_categories'] = array(
|
||||
MENU_CATEGORY_NEWS => array('id' => 'news', 'name' => 'Latest News'),
|
||||
MENU_CATEGORY_ACCOUNT => array('id' => 'account', 'name' => 'Account'),
|
||||
MENU_CATEGORY_COMMUNITY => array('id' => 'community', 'name' => 'Community'),
|
||||
MENU_CATEGORY_LIBRARY => array('id' => 'library', 'name' => 'Library'),
|
||||
MENU_CATEGORY_SHOP => array('id' => 'shops', 'name' => 'Shop')
|
||||
);
|
||||
|
||||
?>
|
||||
);
|
18
templates/tibiacom/config.ini
Normal file
18
templates/tibiacom/config.ini
Normal file
@@ -0,0 +1,18 @@
|
||||
darkborder = "#D4C0A1"
|
||||
lightborder = "#F1E0C6"
|
||||
vdarkborder = "#505050"
|
||||
|
||||
logo_monster = "Wyrm"
|
||||
|
||||
; List: newcomer,gallery,premium,poll,highscores,networks
|
||||
boxes = "highscores,newcomer,gallery,networks,poll"
|
||||
|
||||
; leave empty to disable
|
||||
network_facebook = "tibia"
|
||||
|
||||
; leave empty to disable
|
||||
network_twitter = "tibia"
|
||||
|
||||
background_image = "background-artwork.jpg"
|
||||
logo_image = "tibia-logo-artwork-top.gif"
|
||||
gallery_image_id_from_database = 1
|
@@ -1,18 +1,4 @@
|
||||
<?php
|
||||
$config['darkborder'] = "#D4C0A1";
|
||||
$config['lightborder'] = "#F1E0C6";
|
||||
$config['vdarkborder'] = "#505050";
|
||||
$config['logo_monster'] = "Wyrm";
|
||||
// separated by comma
|
||||
// sequence is important! they will be shown in same order that you add them to the list
|
||||
// List: newcomer,gallery,premium,poll,highscores,networks
|
||||
$config['boxes'] = "highscores,newcomer,gallery,networks,poll";
|
||||
$config['network_facebook'] = 'tibia'; // leave empty to disable
|
||||
$config['network_twitter'] = 'tibia'; // leave empty to disable
|
||||
|
||||
$config['background_image'] = "background-artwork.jpg";
|
||||
$config['logo_image'] = "tibia-logo-artwork-top.gif";
|
||||
$config['gallery_image_id_from_database'] = 1;
|
||||
$config['menu_categories'] = array(
|
||||
MENU_CATEGORY_NEWS => array('id' => 'news', 'name' => 'Latest News'),
|
||||
MENU_CATEGORY_ACCOUNT => array('id' => 'account', 'name' => 'Account'),
|
||||
@@ -21,4 +7,3 @@ $config['menu_categories'] = array(
|
||||
MENU_CATEGORY_LIBRARY => array('id' => 'library', 'name' => 'Library'),
|
||||
MENU_CATEGORY_SHOP => array('id' => 'shops', 'name' => 'Shop')
|
||||
);
|
||||
?>
|
||||
|
Reference in New Issue
Block a user