diff --git a/src/mibew/libs/common/configurations.php b/src/mibew/libs/common/configurations.php
index 5215814a..b6d4af3c 100644
--- a/src/mibew/libs/common/configurations.php
+++ b/src/mibew/libs/common/configurations.php
@@ -39,7 +39,7 @@ function get_core_style_config() {
$base_path = realpath(dirname(dirname(dirname(__FILE__))));
// Load config
- $config = read_config_file($base_path.'/view/config.ini');
+ $config = read_config_file($base_path.'/styles/operator_pages/default/config.ini');
// Set default values
$config = ($config === false) ? array() : $config;
diff --git a/src/mibew/libs/view.php b/src/mibew/libs/view.php
index c41f13c0..67b52810 100644
--- a/src/mibew/libs/view.php
+++ b/src/mibew/libs/view.php
@@ -39,7 +39,8 @@ function render_view($view_name) {
// Build full view name. Remove '\' and '/' characters form the specified
// view name
- $full_view_name = dirname(dirname(__FILE__)) . '/view/' .
+ $full_view_name = dirname(dirname(__FILE__)) .
+ '/styles/operator_pages/default/views/' .
str_replace("/\\", '', $view_name) . '.php';
// Load and execute the view
diff --git a/src/mibew/view/config.ini b/src/mibew/styles/operator_pages/default/config.ini
similarity index 100%
rename from src/mibew/view/config.ini
rename to src/mibew/styles/operator_pages/default/config.ini
diff --git a/src/mibew/default.css b/src/mibew/styles/operator_pages/default/css/default.css
similarity index 90%
rename from src/mibew/default.css
rename to src/mibew/styles/operator_pages/default/css/default.css
index 3ad11203..06ac7385 100644
--- a/src/mibew/default.css
+++ b/src/mibew/styles/operator_pages/default/css/default.css
@@ -25,7 +25,7 @@ h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
q:before,q:after { content:''; }
body {
- background: #FFFFFF url(images/header.gif) repeat-x;
+ background: #FFFFFF url(../images/header.gif) repeat-x;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 0.8em;
line-height: 140%;
@@ -92,7 +92,7 @@ a {
}
#footer {
- background: white url(images/footer.gif) bottom repeat-x;
+ background: white url(../images/footer.gif) bottom repeat-x;
font-size:11px;
position:relative;
@@ -131,7 +131,7 @@ a {
margin: 0px -2px 10px 0px;
padding-top: 10px;
padding-bottom: 10px;
- background: url(images/graydot.gif) repeat-x left bottom;
+ background: url(../images/graydot.gif) repeat-x left bottom;
display: block;
}
@@ -206,7 +206,7 @@ img.logo {
#sidebar h2 {
text-transform: lowercase;
margin-bottom: 10px;
- background: url(images/graydot.gif) repeat-x left bottom;
+ background: url(../images/graydot.gif) repeat-x left bottom;
font-size: 1.3em;
font-weight: bold;
}
@@ -236,7 +236,7 @@ img.logo {
.submenu span.small { font-size: 80%; padding-left: 5px; }
.submenu .active a {
- background: url(images/li.gif) no-repeat left 1px;
+ background: url(../images/li.gif) no-repeat left 1px;
color: #555;
}
@@ -251,7 +251,7 @@ img.logo {
/* form, tabbed form */
.mform {
- background: url(images/loginbg.gif);
+ background: url(../images/loginbg.gif);
clear: both;
width: 100%;
}
@@ -276,17 +276,17 @@ img.logo {
}
.tabs li.active a {
- background: url(images/loginbg.gif);
+ background: url(../images/loginbg.gif);
border-left:1px solid #bbbbbb;border-top:1px solid #bbbbbb;border-right:1px solid #bbbbbb;
color: #000;
text-decoration: none;
}
.formtop, .formbottom, .formtopi, .formbottomi { height: 15px;}
-.formtop { background: url(images/logincrnrt.gif) no-repeat top right;}
-.formtopi { background: url(images/logincrnlt.gif) no-repeat top left; }
-.formbottom { background: url(images/logincrnrb.gif) no-repeat bottom right; }
-.formbottomi { background: url(images/logincrnlb.gif) no-repeat bottom left; }
+.formtop { background: url(../images/logincrnrt.gif) no-repeat top right;}
+.formtopi { background: url(../images/logincrnlt.gif) no-repeat top left; }
+.formbottom { background: url(../images/logincrnrb.gif) no-repeat bottom right; }
+.formbottomi { background: url(../images/logincrnlb.gif) no-repeat bottom left; }
.forminner { margin: 0px 15px;}
.forminner p { margin-bottom: 1em; }
@@ -339,7 +339,7 @@ div.errinfo {
.field .subfield {
padding-left: 30px;
- background: url(images/subitem.gif) no-repeat 10px 2px;
+ background: url(../images/subitem.gif) no-repeat 10px 2px;
}
.forminner .level0{
@@ -391,7 +391,7 @@ div.errinfo {
}
.fbutton {
- background: url(images/formline.gif) repeat-x;
+ background: url(../images/formline.gif) repeat-x;
margin-top: 20px;
padding-top: 10px;
}
@@ -473,7 +473,7 @@ input.formauth {
}
.tabletitle {
- background: url(images/graydot.gif) repeat-x left bottom;
+ background: url(../images/graydot.gif) repeat-x left bottom;
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 1.4em;
margin: 10px 0px 20px;
@@ -515,7 +515,7 @@ table.translate td {
}
table.list td a.man {
- background: url(images/tbliclogin.gif) no-repeat left center;
+ background: url(../images/tbliclogin.gif) no-repeat left center;
padding-left: 15px;
}
@@ -634,19 +634,19 @@ table.awaiting .no-threads, table.awaiting .no-visitors {
}
.open-control {
- background: no-repeat top left url('images/tbliclspeak.gif');
+ background: no-repeat top left url('../images/tbliclspeak.gif');
}
.view-control {
- background: no-repeat top left url('images/tbliclread.gif');
+ background: no-repeat top left url('../images/tbliclread.gif');
}
.track-control {
- background: no-repeat top left url('images/tblictrack.gif');
+ background: no-repeat top left url('../images/tblictrack.gif');
}
.ban-control {
- background: no-repeat top left url('images/ban.gif');
+ background: no-repeat top left url('../images/ban.gif');
}
#sound-region {
@@ -669,10 +669,10 @@ table.awaiting .no-threads, table.awaiting .no-visitors {
margin-right: 2px;
}
.agent-status-away {
- background-image: url("images/opaway.gif");
+ background-image: url("../images/opaway.gif");
}
.agent-status-online {
- background-image: url("images/oponline.gif");
+ background-image: url("../images/oponline.gif");
}
/* search */
@@ -766,7 +766,7 @@ table.awaiting .no-threads, table.awaiting .no-visitors {
}
.submit {
- background: url(images/submitbg.gif) repeat-x;
+ background: url(../images/submitbg.gif) repeat-x;
vertical-align: top;
}
@@ -968,7 +968,7 @@ table.awaiting .no-threads, table.awaiting .no-visitors {
.lrtl .field .subfield {
padding-right: 30px;
- background: url(images/subitem_rtl.gif) no-repeat 99% 2px;
+ background: url(../images/subitem_rtl.gif) no-repeat 99% 2px;
}
diff --git a/src/mibew/default_ie.css b/src/mibew/styles/operator_pages/default/css/default_ie.css
similarity index 100%
rename from src/mibew/default_ie.css
rename to src/mibew/styles/operator_pages/default/css/default_ie.css
diff --git a/src/mibew/images/ban.gif b/src/mibew/styles/operator_pages/default/images/ban.gif
similarity index 100%
rename from src/mibew/images/ban.gif
rename to src/mibew/styles/operator_pages/default/images/ban.gif
diff --git a/src/mibew/images/blank.html b/src/mibew/styles/operator_pages/default/images/blank.html
similarity index 100%
rename from src/mibew/images/blank.html
rename to src/mibew/styles/operator_pages/default/images/blank.html
diff --git a/src/mibew/images/buttons/createagent.gif b/src/mibew/styles/operator_pages/default/images/buttons/createagent.gif
similarity index 100%
rename from src/mibew/images/buttons/createagent.gif
rename to src/mibew/styles/operator_pages/default/images/buttons/createagent.gif
diff --git a/src/mibew/images/buttons/createban.gif b/src/mibew/styles/operator_pages/default/images/buttons/createban.gif
similarity index 100%
rename from src/mibew/images/buttons/createban.gif
rename to src/mibew/styles/operator_pages/default/images/buttons/createban.gif
diff --git a/src/mibew/images/buttons/createdep.gif b/src/mibew/styles/operator_pages/default/images/buttons/createdep.gif
similarity index 100%
rename from src/mibew/images/buttons/createdep.gif
rename to src/mibew/styles/operator_pages/default/images/buttons/createdep.gif
diff --git a/src/mibew/images/dash/blocked.gif b/src/mibew/styles/operator_pages/default/images/dash/blocked.gif
similarity index 100%
rename from src/mibew/images/dash/blocked.gif
rename to src/mibew/styles/operator_pages/default/images/dash/blocked.gif
diff --git a/src/mibew/images/dash/canned.gif b/src/mibew/styles/operator_pages/default/images/dash/canned.gif
similarity index 100%
rename from src/mibew/images/dash/canned.gif
rename to src/mibew/styles/operator_pages/default/images/dash/canned.gif
diff --git a/src/mibew/images/dash/close.gif b/src/mibew/styles/operator_pages/default/images/dash/close.gif
similarity index 100%
rename from src/mibew/images/dash/close.gif
rename to src/mibew/styles/operator_pages/default/images/dash/close.gif
diff --git a/src/mibew/images/dash/dep.gif b/src/mibew/styles/operator_pages/default/images/dash/dep.gif
similarity index 100%
rename from src/mibew/images/dash/dep.gif
rename to src/mibew/styles/operator_pages/default/images/dash/dep.gif
diff --git a/src/mibew/images/dash/exit.gif b/src/mibew/styles/operator_pages/default/images/dash/exit.gif
similarity index 100%
rename from src/mibew/images/dash/exit.gif
rename to src/mibew/styles/operator_pages/default/images/dash/exit.gif
diff --git a/src/mibew/images/dash/getcode.gif b/src/mibew/styles/operator_pages/default/images/dash/getcode.gif
similarity index 100%
rename from src/mibew/images/dash/getcode.gif
rename to src/mibew/styles/operator_pages/default/images/dash/getcode.gif
diff --git a/src/mibew/images/dash/history.gif b/src/mibew/styles/operator_pages/default/images/dash/history.gif
similarity index 100%
rename from src/mibew/images/dash/history.gif
rename to src/mibew/styles/operator_pages/default/images/dash/history.gif
diff --git a/src/mibew/images/dash/locale.gif b/src/mibew/styles/operator_pages/default/images/dash/locale.gif
similarity index 100%
rename from src/mibew/images/dash/locale.gif
rename to src/mibew/styles/operator_pages/default/images/dash/locale.gif
diff --git a/src/mibew/images/dash/operators.gif b/src/mibew/styles/operator_pages/default/images/dash/operators.gif
similarity index 100%
rename from src/mibew/images/dash/operators.gif
rename to src/mibew/styles/operator_pages/default/images/dash/operators.gif
diff --git a/src/mibew/images/dash/profile.gif b/src/mibew/styles/operator_pages/default/images/dash/profile.gif
similarity index 100%
rename from src/mibew/images/dash/profile.gif
rename to src/mibew/styles/operator_pages/default/images/dash/profile.gif
diff --git a/src/mibew/images/dash/readme.txt b/src/mibew/styles/operator_pages/default/images/dash/readme.txt
similarity index 100%
rename from src/mibew/images/dash/readme.txt
rename to src/mibew/styles/operator_pages/default/images/dash/readme.txt
diff --git a/src/mibew/images/dash/settings.gif b/src/mibew/styles/operator_pages/default/images/dash/settings.gif
similarity index 100%
rename from src/mibew/images/dash/settings.gif
rename to src/mibew/styles/operator_pages/default/images/dash/settings.gif
diff --git a/src/mibew/images/dash/stat.gif b/src/mibew/styles/operator_pages/default/images/dash/stat.gif
similarity index 100%
rename from src/mibew/images/dash/stat.gif
rename to src/mibew/styles/operator_pages/default/images/dash/stat.gif
diff --git a/src/mibew/images/dash/updates.gif b/src/mibew/styles/operator_pages/default/images/dash/updates.gif
similarity index 100%
rename from src/mibew/images/dash/updates.gif
rename to src/mibew/styles/operator_pages/default/images/dash/updates.gif
diff --git a/src/mibew/images/dash/visitors.gif b/src/mibew/styles/operator_pages/default/images/dash/visitors.gif
similarity index 100%
rename from src/mibew/images/dash/visitors.gif
rename to src/mibew/styles/operator_pages/default/images/dash/visitors.gif
diff --git a/src/mibew/images/dash/warn.gif b/src/mibew/styles/operator_pages/default/images/dash/warn.gif
similarity index 100%
rename from src/mibew/images/dash/warn.gif
rename to src/mibew/styles/operator_pages/default/images/dash/warn.gif
diff --git a/src/mibew/images/favicon.ico b/src/mibew/styles/operator_pages/default/images/favicon.ico
similarity index 100%
rename from src/mibew/images/favicon.ico
rename to src/mibew/styles/operator_pages/default/images/favicon.ico
diff --git a/src/mibew/images/footer.gif b/src/mibew/styles/operator_pages/default/images/footer.gif
similarity index 100%
rename from src/mibew/images/footer.gif
rename to src/mibew/styles/operator_pages/default/images/footer.gif
diff --git a/src/mibew/images/formline.gif b/src/mibew/styles/operator_pages/default/images/formline.gif
similarity index 100%
rename from src/mibew/images/formline.gif
rename to src/mibew/styles/operator_pages/default/images/formline.gif
diff --git a/src/mibew/images/free.gif b/src/mibew/styles/operator_pages/default/images/free.gif
similarity index 100%
rename from src/mibew/images/free.gif
rename to src/mibew/styles/operator_pages/default/images/free.gif
diff --git a/src/mibew/images/graydot.gif b/src/mibew/styles/operator_pages/default/images/graydot.gif
similarity index 100%
rename from src/mibew/images/graydot.gif
rename to src/mibew/styles/operator_pages/default/images/graydot.gif
diff --git a/src/mibew/images/header.gif b/src/mibew/styles/operator_pages/default/images/header.gif
similarity index 100%
rename from src/mibew/images/header.gif
rename to src/mibew/styles/operator_pages/default/images/header.gif
diff --git a/src/mibew/images/icon_err.gif b/src/mibew/styles/operator_pages/default/images/icon_err.gif
similarity index 100%
rename from src/mibew/images/icon_err.gif
rename to src/mibew/styles/operator_pages/default/images/icon_err.gif
diff --git a/src/mibew/images/li.gif b/src/mibew/styles/operator_pages/default/images/li.gif
similarity index 100%
rename from src/mibew/images/li.gif
rename to src/mibew/styles/operator_pages/default/images/li.gif
diff --git a/src/mibew/images/lidiv.gif b/src/mibew/styles/operator_pages/default/images/lidiv.gif
similarity index 100%
rename from src/mibew/images/lidiv.gif
rename to src/mibew/styles/operator_pages/default/images/lidiv.gif
diff --git a/src/mibew/images/loginbg.gif b/src/mibew/styles/operator_pages/default/images/loginbg.gif
similarity index 100%
rename from src/mibew/images/loginbg.gif
rename to src/mibew/styles/operator_pages/default/images/loginbg.gif
diff --git a/src/mibew/images/logincrnlb.gif b/src/mibew/styles/operator_pages/default/images/logincrnlb.gif
similarity index 100%
rename from src/mibew/images/logincrnlb.gif
rename to src/mibew/styles/operator_pages/default/images/logincrnlb.gif
diff --git a/src/mibew/images/logincrnlt.gif b/src/mibew/styles/operator_pages/default/images/logincrnlt.gif
similarity index 100%
rename from src/mibew/images/logincrnlt.gif
rename to src/mibew/styles/operator_pages/default/images/logincrnlt.gif
diff --git a/src/mibew/images/logincrnrb.gif b/src/mibew/styles/operator_pages/default/images/logincrnrb.gif
similarity index 100%
rename from src/mibew/images/logincrnrb.gif
rename to src/mibew/styles/operator_pages/default/images/logincrnrb.gif
diff --git a/src/mibew/images/logincrnrt.gif b/src/mibew/styles/operator_pages/default/images/logincrnrt.gif
similarity index 100%
rename from src/mibew/images/logincrnrt.gif
rename to src/mibew/styles/operator_pages/default/images/logincrnrt.gif
diff --git a/src/mibew/images/logo.png b/src/mibew/styles/operator_pages/default/images/logo.png
similarity index 100%
rename from src/mibew/images/logo.png
rename to src/mibew/styles/operator_pages/default/images/logo.png
diff --git a/src/mibew/images/mibewlogo.gif b/src/mibew/styles/operator_pages/default/images/mibewlogo.gif
similarity index 100%
rename from src/mibew/images/mibewlogo.gif
rename to src/mibew/styles/operator_pages/default/images/mibewlogo.gif
diff --git a/src/mibew/images/nextpage.gif b/src/mibew/styles/operator_pages/default/images/nextpage.gif
similarity index 100%
rename from src/mibew/images/nextpage.gif
rename to src/mibew/styles/operator_pages/default/images/nextpage.gif
diff --git a/src/mibew/images/opaway.gif b/src/mibew/styles/operator_pages/default/images/opaway.gif
similarity index 100%
rename from src/mibew/images/opaway.gif
rename to src/mibew/styles/operator_pages/default/images/opaway.gif
diff --git a/src/mibew/images/oponline.gif b/src/mibew/styles/operator_pages/default/images/oponline.gif
similarity index 100%
rename from src/mibew/images/oponline.gif
rename to src/mibew/styles/operator_pages/default/images/oponline.gif
diff --git a/src/mibew/images/prevpage.gif b/src/mibew/styles/operator_pages/default/images/prevpage.gif
similarity index 100%
rename from src/mibew/images/prevpage.gif
rename to src/mibew/styles/operator_pages/default/images/prevpage.gif
diff --git a/src/mibew/images/subitem.gif b/src/mibew/styles/operator_pages/default/images/subitem.gif
similarity index 100%
rename from src/mibew/images/subitem.gif
rename to src/mibew/styles/operator_pages/default/images/subitem.gif
diff --git a/src/mibew/images/subitem_rtl.gif b/src/mibew/styles/operator_pages/default/images/subitem_rtl.gif
similarity index 100%
rename from src/mibew/images/subitem_rtl.gif
rename to src/mibew/styles/operator_pages/default/images/subitem_rtl.gif
diff --git a/src/mibew/images/submit.gif b/src/mibew/styles/operator_pages/default/images/submit.gif
similarity index 100%
rename from src/mibew/images/submit.gif
rename to src/mibew/styles/operator_pages/default/images/submit.gif
diff --git a/src/mibew/images/submitbg.gif b/src/mibew/styles/operator_pages/default/images/submitbg.gif
similarity index 100%
rename from src/mibew/images/submitbg.gif
rename to src/mibew/styles/operator_pages/default/images/submitbg.gif
diff --git a/src/mibew/images/submitrest.gif b/src/mibew/styles/operator_pages/default/images/submitrest.gif
similarity index 100%
rename from src/mibew/images/submitrest.gif
rename to src/mibew/styles/operator_pages/default/images/submitrest.gif
diff --git a/src/mibew/images/tablediv3.gif b/src/mibew/styles/operator_pages/default/images/tablediv3.gif
similarity index 100%
rename from src/mibew/images/tablediv3.gif
rename to src/mibew/styles/operator_pages/default/images/tablediv3.gif
diff --git a/src/mibew/images/tbliclogin.gif b/src/mibew/styles/operator_pages/default/images/tbliclogin.gif
similarity index 100%
rename from src/mibew/images/tbliclogin.gif
rename to src/mibew/styles/operator_pages/default/images/tbliclogin.gif
diff --git a/src/mibew/images/tbliclread.gif b/src/mibew/styles/operator_pages/default/images/tbliclread.gif
similarity index 100%
rename from src/mibew/images/tbliclread.gif
rename to src/mibew/styles/operator_pages/default/images/tbliclread.gif
diff --git a/src/mibew/images/tbliclspeak.gif b/src/mibew/styles/operator_pages/default/images/tbliclspeak.gif
similarity index 100%
rename from src/mibew/images/tbliclspeak.gif
rename to src/mibew/styles/operator_pages/default/images/tbliclspeak.gif
diff --git a/src/mibew/images/tblictrack.gif b/src/mibew/styles/operator_pages/default/images/tblictrack.gif
similarity index 100%
rename from src/mibew/images/tblictrack.gif
rename to src/mibew/styles/operator_pages/default/images/tblictrack.gif
diff --git a/src/mibew/images/tblicusers.gif b/src/mibew/styles/operator_pages/default/images/tblicusers.gif
similarity index 100%
rename from src/mibew/images/tblicusers.gif
rename to src/mibew/styles/operator_pages/default/images/tblicusers.gif
diff --git a/src/mibew/images/tblicusers2.gif b/src/mibew/styles/operator_pages/default/images/tblicusers2.gif
similarity index 100%
rename from src/mibew/images/tblicusers2.gif
rename to src/mibew/styles/operator_pages/default/images/tblicusers2.gif
diff --git a/src/mibew/images/tblicusers3.gif b/src/mibew/styles/operator_pages/default/images/tblicusers3.gif
similarity index 100%
rename from src/mibew/images/tblicusers3.gif
rename to src/mibew/styles/operator_pages/default/images/tblicusers3.gif
diff --git a/src/mibew/images/tbllabyel.gif b/src/mibew/styles/operator_pages/default/images/tbllabyel.gif
similarity index 100%
rename from src/mibew/images/tbllabyel.gif
rename to src/mibew/styles/operator_pages/default/images/tbllabyel.gif
diff --git a/src/mibew/images/topdiv.gif b/src/mibew/styles/operator_pages/default/images/topdiv.gif
similarity index 100%
rename from src/mibew/images/topdiv.gif
rename to src/mibew/styles/operator_pages/default/images/topdiv.gif
diff --git a/src/mibew/view/.htaccess b/src/mibew/styles/operator_pages/default/views/.htaccess
similarity index 100%
rename from src/mibew/view/.htaccess
rename to src/mibew/styles/operator_pages/default/views/.htaccess
diff --git a/src/mibew/view/agent.php b/src/mibew/styles/operator_pages/default/views/agent.php
similarity index 100%
rename from src/mibew/view/agent.php
rename to src/mibew/styles/operator_pages/default/views/agent.php
diff --git a/src/mibew/view/agents.php b/src/mibew/styles/operator_pages/default/views/agents.php
similarity index 97%
rename from src/mibew/view/agents.php
rename to src/mibew/styles/operator_pages/default/views/agents.php
index 9ecc5741..68edee99 100644
--- a/src/mibew/view/agents.php
+++ b/src/mibew/styles/operator_pages/default/views/agents.php
@@ -63,7 +63,7 @@ require_once(dirname(__FILE__).'/inc_errors.php');