//
//Theme settings
//
//set the theme-title
$themeTitle = 'Partnertesting - Relationsanalys';
//Setup allowed HTML-tags
$themeAllowedHtml = array('b','i','u','pre', 'br');
//set avail theme-localizations (will be overriden by local-settings later on)
$themeLocalizations = array(
0 => 'us_EN',
1 => 'se_SE'
);
//which locale to use
$themeLocale = 1;
//default timezone offset
$themeTimezoneOffset = +1;
//set smarty template cache (should be TRUE during dev and FALSE when live)
$themeSmartyTemplateCache = FALSE;
//
// Mod_rewrite
//
//define if we're using mod_rewrite or not.
$themeModRewrite = TRUE;
//mod_rewrite translation-table, if urls should look different from the module-name
// WARNING: if we need both 'foo' => 'mypage' and 'bar' => 'mypage/edit' then 'foo' ALWAYS comes LAST!
// when we wanna reverse the change and scan the array in reverse order we'll get the right module
// otherwise -- the url 'mypage/edit/1' would first match 'mypage' and think we're in module 'foo', not 'bar'
// -druid
$themeModRewriteTranslationTable = array(
'index' => 'start',
'newsshow' => 'news',
'reviewsshow' => 'reviews',
'articlesshow' => 'articles',
'mypage_guestbook' => 'mypage/guestbook',
'mypage_friends' => 'mypage/friends',
'mypage_edit' => 'mypage/edit',
'mypage_profile' => 'mypage',
);
// force to show all menuitems
$themeMenuForce = 1;
//Setup the menu
$themeMenu = array(
0 => array(
'name' => 'Startsidan',
'module' => 'pages',
'hook' => 'welcome',
'slugg' => 'pid',
'submenus' => array(
),
),
1 => array(
'name' => ' Tester',
'module' => 'pages',
'hook' => 'tester',
'slugg' => 'pid',
'submenus' => array(
0 => array(
'name' => 'Relationsstatus',
'module' => 'pages',
'hook' => 'relationsstatus',
'slugg' => 'pid',
),
1 => array(
'name' => 'RelationStyle',
'module' => 'pages',
'hook' => 'relationstyle',
'slugg' => 'pid',
),
2 => array(
'name' => 'LoverStyle',
'module' => 'pages',
'hook' => 'loverstyle',
'slugg' => 'pid',
),
3 => array(
'name' => 'Lilla kunskapstestet',
'module' => 'pages',
'hook' => 'lillakunskapstestet',
'slugg' => 'pid',
),
4 => array(
'name' => 'Stora kunskapstestet',
'module' => 'pages',
'hook' => 'kunskapstestet',
'slugg' => 'pid',
),
),
),
2 => array(
'name' => ' Gör Test',
'module' => 'dotest',
'submenus' => array(
0 => array(
'name' => 'Gör Test',
'module' => 'dotest'
),
1 => array(
'name' => 'Hämta färdigt test',
'module' => 'result',
'hook' => '1',
'slugg' => 'isLog',
),
),
),
3 => array(
'name' => 'Användare',
'module' => 'pages',
'hook' => 'provat',
'slugg' => 'pid',
'submenus' => array(
),
),
4 => array(
'name' => 'Info',
'module' => 'pages',
'hook' => 'more-info',
'slugg' => 'pid',
),
5 => array(
'name' => 'Blogg',
'module' => 'pages',
'hook' => 'blogg-index',
'slugg' => 'pid',
),
6 => array(
'name' => ' Demo',
'module' => 'pages',
'hook' => 'demo',
'slugg' => 'pid',
'submenus' => array(
0 => array(
'name' => 'RelationStyle',
'module' => 'demotest-relationsstyle'
),
1 => array(
'name' => 'LoverStyle',
'module' => 'demotest-loverstyle'
),
),
),
7 => array(
'name' => 'Kontakt',
'module' => 'pages',
'hook' => 'contact',
'slugg' => 'pid',
),
8 => array(
'name' => 'Tipsa',
'module' => 'tipsa',
),
);
//Setup avail display-modules for the content-module
$themeSectionModules = array(
1 => array(
'name' => 'News',
'categories' => array(
),
'templates' => array(
1 => array(
'name' => 'template name',
'data' => 'template data...'
),
),
),
2 => array(
'name' => 'Reviews',
'categories' => array(
),
'templates' => array(
1 => array(
'name' => 'template name',
'data' => 'template data...'
),
),
),
3 => array(
'name' => 'Articles',
'categories' => array(
),
'templates' => array(
1 => array(
'name' => 'template name',
'data' => 'template data...'
),
),
),
4 => array(
'name' => 'Pages',
'categories' => array(
1 => 'General'
),
'templates' => array(
1 => array(
),
),
),
);
//available css-tags for placement of content
$themeContentStyles = array(
1 => 'floatLeft',
2 => 'floatLeftBorder',
3 => 'floatRight',
4 => 'floatRightBorder',
5 => 'floatAbove',
6 => 'floatAboveBorder',
7 => 'floatCentered',
8 => 'floatCenteredBorder',
);
?>
Warning: Undefined variable $themeSectionModules in /web/se/www4.ultimatrekrytering.se/_api/omg.theme.php on line 20
Warning: Undefined variable $themeModRewrite in /web/se/www4.ultimatrekrytering.se/_api/omg.theme.php on line 21
Warning: Undefined variable $themeModRewrite in /web/se/www4.ultimatrekrytering.se/_api/omg.theme.php on line 23
//
//Theme settings
//
//setup global blocks/modules
$themeGlobalModules = array(
'menu',
'login',
'poll'
);
//Theme/page setup local modules
switch(omgGetCurrentModule()){
case 'pages':
$themeLocalModules = array(
'pages' => array (
'isSpot' => FALSE
)
);
$menuGroupId = '5';
break;
case 'dotest':
//Get the local modules
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'dotest'
),
'relationstest_login' => array (
'isSpot' => FALSE
)
);
break;
case 'demotest':
//Get the local modules
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'freetest',
'listNum' => '15'
),
'relationstest' => array (
'isSpot' => FALSE
)
);
break;
case 'buy':
//Get the local modules
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'buyheader',
'listNum' => '15'
),
'relationstestbuy' => array (
'isSpot' => FALSE
)
);
break;
case 'specialtest':
//Get the local modules
if ($_GET[type] == 57) {
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'specialtest-dualquestions',
'listNum' => '15'
),
'rt_specialtest' => array (
'isSpot' => FALSE
)
);
}else if ($_GET[type] == 45) {
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'specialtest-relationsstatus',
'listNum' => '15'
),
'rt_specialtest' => array (
'isSpot' => FALSE
)
);
} else if ($_GET[type] == 46) {
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'specialtest-relationsstatus-carrer',
'listNum' => '15'
),
'rt_specialtest_carrer' => array (
'isSpot' => FALSE
)
);
} else if ($_GET[type] == 50) {
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'specialtest-relationsstatus-knowlege',
'listNum' => '15'
),
'rt_specialtest_knowlege' => array (
'isSpot' => FALSE
)
);
} else if ($_GET[type] == 55) {
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'specialtest-relationsstatus-knowlege',
'listNum' => '15'
),
'rt_specialtest_knowlege' => array (
'isSpot' => FALSE
)
);
}
break;
case 'freetest':
//Get the local modules
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'freetest',
'listNum' => '15'
),
'relationstest' => array (
'isSpot' => FALSE
)
);
break;
case 'result':
//Get the local modules
$themeLocalModules = array(
'relationstest_login' => array (
'isSpot' => FALSE
),
'relationstestpublic' => array (
'isSpot' => FALSE
)
);
break;
case 'tipsa':
//Get the local modules
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'tipsa-en-van',
'listNum' => '15'
),
'tellafriend' => array (
'isSpot' => FALSE
)
);
break;
case 'test':
//Get the local modules
$themeLocalModules = array(
'relationstest_login' => array (
'isSpot' => FALSE
),
'relationstest' => array (
'isSpot' => FALSE
)
);
break;
case 'staticpage':
//Get the local modules
$themeLocalModules = array(
'staticpage' => array (
'isSpot' => FALSE
)
);
break;
case 'permissiondenied':
//it's a permission denied
$themeLocalModules = array(
'permissiondenied' => array (
'isSpot' => FALSE
)
);
break;
default:
$themeLocalModules = array(
'pages' => array (
'isSpot' => TRUE,
'pagesPage' => 'welcome',
'listNum' => '15'
),
'staticpage' => array (
'isSpot' => FALSE,
'page' => 'relationsanalyz'
)
);
}
//
//Module settings
//
/*
* Content settings
*/
$content = TRUE;
$content = array(
'allowedBBCode' => 'a,b,link,literal,i,u,omgimage,omgpagebreak',
);
/*
* Relationstest settings
*/
$relationstest = TRUE;
$relationstest = array(
'hasSpot' => 0,
'db' => 'relationstest',
'dateListFormat' => 'd/m/y',
);
/*
* Staticpage settings
*/
$staticpage = TRUE;
$staticpage = array(
'hasSpot' => 0,
'pages' => array(
'info',
'relationsanalyz'
)
);
?>
Warning: Undefined variable $themeLocale in /web/se/www4.ultimatrekrytering.se/_api/omg.theme.php on line 35
Warning: Undefined variable $themeGlobalModules in /web/se/www4.ultimatrekrytering.se/_api/omg.theme.php on line 60
Warning: Undefined variable $themeLocalModules in /web/se/www4.ultimatrekrytering.se/_api/omg.theme.php on line 71
Warning: Trying to access array offset on value of type null in /web/se/www4.ultimatrekrytering.se/_api/omg.permission.php on line 100
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /web/se/www4.ultimatrekrytering.se/_api/omg.permission.php:28
Stack trace:
#0 /web/se/www4.ultimatrekrytering.se/index.php(117): omgGetPermissions()
#1 {main}
thrown in /web/se/www4.ultimatrekrytering.se/_api/omg.permission.php on line 28