\n"
"Language: tr\n"
@@ -847,10 +847,10 @@ msgid "Dump has been saved to file %s."
msgstr "Döküm, %s dosyasına kaydedildi."
#: gis_data_editor.php:84
-#, fuzzy, php-format
+#, php-format
#| msgid "Values for the column \"%s\""
msgid "Value for the column \"%s\""
-msgstr "\"%s\" sütunu için değerler"
+msgstr "\"%s\" sütunu için değer"
#: gis_data_editor.php:113 tbl_gis_visualization.php:172
msgid "Use OpenStreetMaps as Base Layer"
@@ -858,7 +858,7 @@ msgstr "Taban Katman olarak OpenStreetMaps kullan"
#: gis_data_editor.php:134
msgid "SRID"
-msgstr ""
+msgstr "SRID"
#: gis_data_editor.php:151 js/messages.php:289
#: libraries/display_tbl.lib.php:663
@@ -868,72 +868,68 @@ msgstr "Geometri"
#: gis_data_editor.php:172 gis_data_editor.php:194 gis_data_editor.php:240
#: gis_data_editor.php:290 js/messages.php:286
msgid "Point"
-msgstr ""
+msgstr "Nokta"
#: gis_data_editor.php:173 gis_data_editor.php:195 gis_data_editor.php:241
#: gis_data_editor.php:291 js/messages.php:284
msgid "X"
-msgstr ""
+msgstr "X"
#: gis_data_editor.php:175 gis_data_editor.php:197 gis_data_editor.php:243
#: gis_data_editor.php:293 js/messages.php:285
msgid "Y"
-msgstr ""
+msgstr "Y"
#: gis_data_editor.php:202 gis_data_editor.php:246 gis_data_editor.php:296
#: js/messages.php:292
-#, fuzzy
#| msgid "Add routine"
msgid "Add a point"
-msgstr "Yordam ekle"
+msgstr "Nokta ekle"
#: gis_data_editor.php:218 js/messages.php:287
-#, fuzzy
#| msgid "Lines terminated by"
msgid "Linestring"
-msgstr "Satırı sonlandıran:"
+msgstr "Satır dizgisi"
#: gis_data_editor.php:221 gis_data_editor.php:275
msgid "Outer Ring:"
-msgstr ""
+msgstr "Dış Halka:"
#: gis_data_editor.php:223 gis_data_editor.php:277 js/messages.php:290
msgid "Inner Ring"
-msgstr ""
+msgstr "İç Halka"
#: gis_data_editor.php:248
-#, fuzzy
#| msgid "Add a new User"
msgid "Add a linestring"
-msgstr "Yeni Kullanıcı ekle"
+msgstr "Satır dizgisi ekle"
#: gis_data_editor.php:248 gis_data_editor.php:298 js/messages.php:293
-#, fuzzy
#| msgid "Add a new User"
msgid "Add an inner ring"
-msgstr "Yeni Kullanıcı ekle"
+msgstr "İç halka ekle"
#: gis_data_editor.php:262 js/messages.php:288
msgid "Polygon"
-msgstr ""
+msgstr "Poligon"
#: gis_data_editor.php:300 js/messages.php:294
-#, fuzzy
#| msgid "Add column"
msgid "Add a polygon"
-msgstr "Sütun ekle"
+msgstr "Poligon ekle"
#: gis_data_editor.php:304
-#, fuzzy
#| msgid "Geometry"
msgid "Add geometry"
-msgstr "Geometri"
+msgstr "Geometri ekle"
#: gis_data_editor.php:312
msgid ""
"Chose \"GeomFromText\" from the \"Function\" column and paste the below "
"string into the \"Value\" field"
msgstr ""
+"\"Function\" sütunundan \"GeomFromText\" seçin ve \"Value\" alanı içine alttaki "
+"dizgiyi yapıştırın"
#: import.php:57
#, php-format
@@ -1211,7 +1207,6 @@ msgid "Query statistics"
msgstr "Sorgu istatistikleri"
#: js/messages.php:93
-#, fuzzy
#| msgid "Local monitor configuration icompatible"
msgid "Local monitor configuration incompatible"
msgstr "Yerel izleme yapılandırması uyumsuz"
@@ -1562,7 +1557,7 @@ msgstr "Etkilenen satırlar:"
msgid "Failed parsing config file. It doesn't seem to be valid JSON code"
msgstr ""
"Yapılandırma dosyasının ayrıştırılması başarısız. Bu geçerli JSON kodu "
-"görünmüyor."
+"görünmüyor"
#: js/messages.php:189
msgid ""
@@ -1810,7 +1805,7 @@ msgstr "Kopyala"
#: js/messages.php:291
msgid "Outer Ring"
-msgstr ""
+msgstr "Dış Halka"
#: js/messages.php:297
msgid "Add columns"
@@ -2175,6 +2170,8 @@ msgstr "Saniye"
#, php-format
msgid "Failed formatting string for rule '%s'. PHP threw following error: %s"
msgstr ""
+"'%s' kuralı için dizgi biçimlendirme başarısız. PHP aşağıdaki hatayı "
+"yöneltti: %s"
#: libraries/Config.class.php:1159
msgid "Font size"
@@ -6718,29 +6715,30 @@ msgstr "Parasalları içe aktar (örn. $5.00'ı 5.00'a) "
#: libraries/import/shp.php:14
msgid "ESRI Shape File"
-msgstr ""
+msgstr "ESRI Şekil Dosyası"
#: libraries/import/shp.php:254
#, php-format
msgid "There was an error importing the ESRI shape file: \"%s\"."
-msgstr ""
+msgstr "ESRI şekil dosyasının içe aktarılmasında hata var: \"%s\"."
#: libraries/import/shp.php:310
msgid ""
"You tried to import an invalid file or the imported file contains invalid "
"data"
msgstr ""
+"Geçersiz bir dosyayı içe aktarmayı deniyorsunuz ya da içe aktarılan dosya "
+"geçersiz veri içeriyor"
#: libraries/import/shp.php:312
#, php-format
msgid "MySQL Spatial Extension does not support ESRI type \"%s\"."
-msgstr ""
+msgstr "MySQL Uzaysal Uzantısı ESRI türü \"%s\" desteklemiyor."
#: libraries/import/shp.php:350
-#, fuzzy
#| msgid "This page does not contain any tables!"
msgid "The imported file does not contain any data"
-msgstr "Bu sayfa herhangi bir tablo içermiyor!"
+msgstr "İçe aktarılan dosya herhangi bir veri içermiyor"
#: libraries/import/sql.php:33
msgid "SQL compatibility mode:"
@@ -7907,7 +7905,7 @@ msgstr "END RAW"
#: libraries/sqlparser.lib.php:382
msgid "Automatically appended backtick to the end of query!"
-msgstr "Otomatik olarak sorgunun sonuna ters işaret ekle"
+msgstr "Otomatik olarak sorgunun sonuna ters işaret ekle!"
#: libraries/sqlparser.lib.php:385
msgid "Unclosed quote"
@@ -8065,10 +8063,9 @@ msgid "Table Search"
msgstr "Tablo Arama"
#: libraries/tbl_select.lib.php:229 tbl_change.php:994
-#, fuzzy
#| msgid "Insert"
msgid "Edit/Insert"
-msgstr "Ekle"
+msgstr "Düzenle/Ekle"
#: libraries/transformations/application_octetstream__download.inc.php:10
msgid ""
@@ -9599,7 +9596,7 @@ msgid ""
"the replication section ."
msgstr ""
"Sunucudaki kopya etme durumuyla ilgili daha ayrıntılı bilgi için lütfen kopya etme bölümünü ziyaret edin."
+"href=\"#replication\">kopya etme bölümünü ziyaret edin."
#: server_status.php:979
msgid "Replication status"
@@ -10954,7 +10951,7 @@ msgstr "Sunucuya parolasız bağlanmaya izin verdiniz."
#: setup/lib/index.lib.php:389
msgid "Key is too short, it should have at least 8 characters."
-msgstr "Anahtar çok kısa, en az 8 karakter olmalıdır"
+msgstr "Anahtar çok kısa, en az 8 karakter olmalıdır."
#: setup/lib/index.lib.php:396
msgid "Key should contain letters, numbers [em]and[/em] special characters."
@@ -11144,7 +11141,7 @@ msgstr "-- Yok --"
#: tbl_gis_visualization.php:151
msgid "Spatial column"
-msgstr "Uzamsal sütun"
+msgstr "Uzaysal sütun"
#: tbl_gis_visualization.php:175
msgid "Redraw"
@@ -12032,6 +12029,8 @@ msgid ""
"The current ratio of free query cache memory to total query cache size is %s"
"%%. It should be above 80%%"
msgstr ""
+"Boş sorgu önbellek belleğinin, toplam sorgu önbelleği boyutuna şu anki oranı "
+"%%%s. Bu %%80'in üzerinde olmalıdır"
#: po/advisory_rules.php:85
msgid "Query cache fragmentation"
@@ -12039,7 +12038,7 @@ msgstr "Sorgu önbelleği parçalama"
#: po/advisory_rules.php:86
msgid "The query cache is considerably fragmented."
-msgstr ""
+msgstr "Sorgu önbelleği oldukça parçalanmış."
#: po/advisory_rules.php:87
msgid ""
@@ -12052,6 +12051,15 @@ msgid ""
"using this formula: (query_cache_size - qcache_free_memory) / "
"qcache_queries_in_cache"
msgstr ""
+"Şiddetli parçalanma Qcache_lowmem_prunes değerini muhtemelen (daha fazla) "
+"arttırır. Buna {query_cache_size} çok küçük olmasından dolayı çoğu düşük "
+"Sorgu önbellek belleği azalması sebep oluyor olabilir. Hemen ama kısa süreli "
+"onarım için sorgu önbelleğini (uzun bir süreliğine sorgu önbelleğini "
+"kilitleyebilir) temizleyebilirsiniz. {query_cache_min_res_unit}değerini daha "
+"düşük bir değere dikkatlice ayarlamak da yardımcı olabilir, örn. "
+"önbellekteki sorgularınızın ortalama boyutunu bu formülü kullanarak "
+"ayarlayabilirsiniz: (query_cache_size - qcache_free_memory) / "
+"qcache_queries_in_cache"
#: po/advisory_rules.php:88
#, php-format
@@ -12060,10 +12068,13 @@ msgid ""
"that the query cache is an alternating pattern of free and used blocks. This "
"value should be below 20%%."
msgstr ""
+"Önbellek şu an %%%s olarak parçalanmış, %%100 parçalanma, sorgu önbelleğinin "
+"boş ve kullanılan bloklarının alternatif bir kalıp olduğu anlamına gelir. "
+"Bu değer %%20'nin altında olmalıdır."
#: po/advisory_rules.php:90
msgid "Query cache low memory prunes"
-msgstr ""
+msgstr "Düşük sorgu önbellek belleği azalması"
#: po/advisory_rules.php:91
msgid ""
@@ -12079,12 +12090,16 @@ msgid ""
"overhead of maintaining the cache is likely to increase with its size, so do "
"this in small increments and monitor the results."
msgstr ""
+"Ancak aklınızdan çıkarmayın, önbellek koruması ek yükü muhtemelen boyutunu "
+"arttırır bu yüzden bunu küçük artışlarla yapın ve sonuçlarını izleyin."
#: po/advisory_rules.php:93
msgid ""
"The ratio of removed queries to inserted queries is %s%%. The lower this "
"value is, the better (This rules firing limit: 0.1%)"
msgstr ""
+"Kaldırılan sorguların eklenen sorgulara oranı %%%s. En düşük bu değer en "
+"iyisidir (Bu kuralları atan sınır: %0.1)"
#: po/advisory_rules.php:95
msgid "Query cache max size"
@@ -12095,12 +12110,14 @@ msgid ""
"The query cache size is above 128 MiB. Big query caches may cause "
"significant overhead that is required to maintain the cache."
msgstr ""
+"Sorgu önbelleği boyutu 128 MiB'ın üzerinde. Büyük sorgu önbellekleri, "
+"önbelleği korumak için gereken önemli ölçüde ek yüke sebep olabilir."
#: po/advisory_rules.php:97
msgid ""
"Depending on your environment, it might be performance increasing to reduce "
"this value."
-msgstr ""
+msgstr "Ortamınıza bağlıdır, bu değeri düşürmek performansı arttırabilir."
#: po/advisory_rules.php:98
#, php-format
@@ -12115,6 +12132,7 @@ msgstr "Sorgu önbelleği en az sonuç boyutu"
msgid ""
"The max size of the result set in the query cache is the default of 1 MiB."
msgstr ""
+"Sorgu önbelleğinde sonuç grubunun en fazla boyutu varsayılanı 1 MiB'tır."
#: po/advisory_rules.php:102
msgid ""
diff --git a/server_privileges.php b/server_privileges.php
index db4d5924a0..2735de9fba 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -1416,7 +1416,7 @@ if (isset($_REQUEST['flush_privileges'])) {
/**
* defines some standard links
*/
-$link_edit = '';
-$link_export = ' ' . "\n"
. ' ' . "\n";
- $user_form .= sprintf($link_edit, urlencode($current_user),
+ $user_form .= sprintf(
+ $link_edit,
+ urlencode($current_user),
urlencode($current_host),
urlencode(! isset($current['Db']) || $current['Db'] == '*' ? '' : $current['Db']),
'');
diff --git a/server_status.php b/server_status.php
index 52a7a9b003..d61af8f075 100644
--- a/server_status.php
+++ b/server_status.php
@@ -15,8 +15,9 @@ if (! defined('PMA_NO_VARIABLES_IMPORT')) {
define('PMA_NO_VARIABLES_IMPORT', true);
}
-if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true)
+if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
$GLOBALS['is_header_sent'] = true;
+}
require_once './libraries/common.inc.php';
@@ -31,22 +32,22 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
// real-time charting data
if (isset($_REQUEST['chart_data'])) {
switch($_REQUEST['type']) {
- // Process and Connections realtime chart
- case 'proc':
- $c = PMA_DBI_fetch_result("SHOW GLOBAL STATUS WHERE Variable_name = 'Connections'", 0, 1);
- $result = PMA_DBI_query('SHOW PROCESSLIST');
- $num_procs = PMA_DBI_num_rows($result);
+ // Process and Connections realtime chart
+ case 'proc':
+ $c = PMA_DBI_fetch_result("SHOW GLOBAL STATUS WHERE Variable_name = 'Connections'", 0, 1);
+ $result = PMA_DBI_query('SHOW PROCESSLIST');
+ $num_procs = PMA_DBI_num_rows($result);
- $ret = array(
- 'x' => microtime(true)*1000,
- 'y_proc' => $num_procs,
- 'y_conn' => $c['Connections']
- );
+ $ret = array(
+ 'x' => microtime(true) * 1000,
+ 'y_proc' => $num_procs,
+ 'y_conn' => $c['Connections']
+ );
- exit(json_encode($ret));
+ exit(json_encode($ret));
- // Query realtime chart
- case 'queries':
+ // Query realtime chart
+ case 'queries':
if (PMA_DRIZZLE) {
$sql = "SELECT concat('Com_', variable_name), variable_value
FROM data_dictionary.GLOBAL_STATEMENTS
@@ -57,151 +58,158 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
WHERE variable_name = 'Questions'";
$queries = PMA_DBI_fetch_result($sql, 0, 1);
} else {
- $queries = PMA_DBI_fetch_result(
- "SHOW GLOBAL STATUS
- WHERE (Variable_name LIKE 'Com_%' OR Variable_name = 'Questions')
- AND Value > 0'", 0, 1);
- }
- cleanDeprecated($queries);
- // admin commands are not queries
- unset($queries['Com_admin_commands']);
- $questions = $queries['Questions'];
- unset($queries['Questions']);
-
- //$sum=array_sum($queries);
- $ret = array(
- 'x' => microtime(true)*1000,
- 'y' => $questions,
- 'pointInfo' => $queries
- );
-
- exit(json_encode($ret));
-
- // Traffic realtime chart
- case 'traffic':
- $traffic = PMA_DBI_fetch_result(
+ $queries = PMA_DBI_fetch_result(
"SHOW GLOBAL STATUS
- WHERE Variable_name = 'Bytes_received'
- OR Variable_name = 'Bytes_sent'", 0, 1);
+ WHERE (Variable_name LIKE 'Com_%' OR Variable_name = 'Questions')
+ AND Value > 0'", 0, 1);
+ }
+ cleanDeprecated($queries);
+ // admin commands are not queries
+ unset($queries['Com_admin_commands']);
+ $questions = $queries['Questions'];
+ unset($queries['Questions']);
- $ret = array(
- 'x' => microtime(true)*1000,
- 'y_sent' => $traffic['Bytes_sent'],
- 'y_received' => $traffic['Bytes_received']
- );
+ //$sum=array_sum($queries);
+ $ret = array(
+ 'x' => microtime(true) * 1000,
+ 'y' => $questions,
+ 'pointInfo' => $queries
+ );
- exit(json_encode($ret));
+ exit(json_encode($ret));
- // Data for the monitor
- case 'chartgrid':
- $ret = json_decode($_REQUEST['requiredData'], true);
- $statusVars = array();
- $serverVars = array();
- $sysinfo = $cpuload = $memory = 0;
- $pName = '';
+ // Traffic realtime chart
+ case 'traffic':
+ $traffic = PMA_DBI_fetch_result(
+ "SHOW GLOBAL STATUS
+ WHERE Variable_name = 'Bytes_received'
+ OR Variable_name = 'Bytes_sent'", 0, 1);
- /* Accumulate all required variables and data */
- // For each chart
- foreach ($ret as $chart_id => $chartNodes) {
- // For each data series
- foreach ($chartNodes as $node_id => $nodeDataPoints) {
- // For each data point in the series (usually just 1)
- foreach ($nodeDataPoints as $point_id => $dataPoint) {
- $pName = $dataPoint['name'];
+ $ret = array(
+ 'x' => microtime(true) * 1000,
+ 'y_sent' => $traffic['Bytes_sent'],
+ 'y_received' => $traffic['Bytes_received']
+ );
- switch ($dataPoint['type']) {
- /* We only collect the status and server variables here to
- * read them all in one query, and only afterwards assign them.
- * Also do some white list filtering on the names
- */
- case 'servervar':
- if (!preg_match('/[^a-zA-Z_]+/', $pName))
- $serverVars[] = $pName;
- break;
+ exit(json_encode($ret));
- case 'statusvar':
- if (!preg_match('/[^a-zA-Z_]+/', $pName))
- $statusVars[] = $pName;
- break;
+ // Data for the monitor
+ case 'chartgrid':
+ $ret = json_decode($_REQUEST['requiredData'], true);
+ $statusVars = array();
+ $serverVars = array();
+ $sysinfo = $cpuload = $memory = 0;
+ $pName = '';
- case 'proc':
- $result = PMA_DBI_query('SHOW PROCESSLIST');
- $ret[$chart_id][$node_id][$point_id]['value'] = PMA_DBI_num_rows($result);
- break;
+ /* Accumulate all required variables and data */
+ // For each chart
+ foreach ($ret as $chart_id => $chartNodes) {
+ // For each data series
+ foreach ($chartNodes as $node_id => $nodeDataPoints) {
+ // For each data point in the series (usually just 1)
+ foreach ($nodeDataPoints as $point_id => $dataPoint) {
+ $pName = $dataPoint['name'];
- case 'cpu':
- if (!$sysinfo) {
- require_once('libraries/sysinfo.lib.php');
- $sysinfo = getSysInfo();
- }
- if (!$cpuload)
- $cpuload = $sysinfo->loadavg();
-
- if (PHP_OS == 'Linux') {
- $ret[$chart_id][$node_id][$point_id]['idle'] = $cpuload['idle'];
- $ret[$chart_id][$node_id][$point_id]['busy'] = $cpuload['busy'];
- } else
- $ret[$chart_id][$node_id][$point_id]['value'] = $cpuload['loadavg'];
-
- break;
-
- case 'memory':
- if (!$sysinfo) {
- require_once('libraries/sysinfo.lib.php');
- $sysinfo = getSysInfo();
- }
- if (!$memory)
- $memory = $sysinfo->memory();
-
- $ret[$chart_id][$node_id][$point_id]['value'] = $memory[$pName];
- break;
+ switch ($dataPoint['type']) {
+ /* We only collect the status and server variables here to
+ * read them all in one query, and only afterwards assign them.
+ * Also do some white list filtering on the names
+ */
+ case 'servervar':
+ if (!preg_match('/[^a-zA-Z_]+/', $pName)) {
+ $serverVars[] = $pName;
}
+ break;
+
+ case 'statusvar':
+ if (!preg_match('/[^a-zA-Z_]+/', $pName)) {
+ $statusVars[] = $pName;
+ }
+ break;
+
+ case 'proc':
+ $result = PMA_DBI_query('SHOW PROCESSLIST');
+ $ret[$chart_id][$node_id][$point_id]['value'] = PMA_DBI_num_rows($result);
+ break;
+
+ case 'cpu':
+ if (!$sysinfo) {
+ require_once('libraries/sysinfo.lib.php');
+ $sysinfo = getSysInfo();
+ }
+ if (!$cpuload) {
+ $cpuload = $sysinfo->loadavg();
+ }
+
+ if (PHP_OS == 'Linux') {
+ $ret[$chart_id][$node_id][$point_id]['idle'] = $cpuload['idle'];
+ $ret[$chart_id][$node_id][$point_id]['busy'] = $cpuload['busy'];
+ } else
+ $ret[$chart_id][$node_id][$point_id]['value'] = $cpuload['loadavg'];
+
+ break;
+
+ case 'memory':
+ if (!$sysinfo) {
+ require_once('libraries/sysinfo.lib.php');
+ $sysinfo = getSysInfo();
+ }
+ if (!$memory) {
+ $memory = $sysinfo->memory();
+ }
+
+ $ret[$chart_id][$node_id][$point_id]['value'] = $memory[$pName];
+ break;
+ } /* switch */
+ } /* foreach */
+ } /* foreach */
+ } /* foreach */
+
+ // Retrieve all required status variables
+ if (count($statusVars)) {
+ $statusVarValues = PMA_DBI_fetch_result(
+ "SHOW GLOBAL STATUS
+ WHERE Variable_name='" . implode("' OR Variable_name='", $statusVars) . "'", 0, 1);
+ } else {
+ $statusVarValues = array();
+ }
+
+ // Retrieve all required server variables
+ if (count($serverVars)) {
+ $serverVarValues = PMA_DBI_fetch_result(
+ "SHOW GLOBAL VARIABLES
+ WHERE Variable_name='" . implode("' OR Variable_name='", $serverVars) . "'", 0, 1);
+ } else {
+ $serverVarValues = array();
+ }
+
+ // ...and now assign them
+ foreach ($ret as $chart_id => $chartNodes) {
+ foreach ($chartNodes as $node_id => $nodeDataPoints) {
+ foreach ($nodeDataPoints as $point_id => $dataPoint) {
+ switch($dataPoint['type']) {
+ case 'statusvar':
+ $ret[$chart_id][$node_id][$point_id]['value'] = $statusVarValues[$dataPoint['name']];
+ break;
+ case 'servervar':
+ $ret[$chart_id][$node_id][$point_id]['value'] = $serverVarValues[$dataPoint['name']];
+ break;
}
}
}
+ }
- // Retrieve all required status variables
- if (count($statusVars)) {
- $statusVarValues = PMA_DBI_fetch_result(
- "SHOW GLOBAL STATUS
- WHERE Variable_name='" . implode("' OR Variable_name='", $statusVars) . "'", 0, 1);
- } else {
- $statusVarValues = array();
- }
+ $ret['x'] = microtime(true) * 1000;
- // Retrieve all required server variables
- if (count($serverVars)) {
- $serverVarValues = PMA_DBI_fetch_result(
- "SHOW GLOBAL VARIABLES
- WHERE Variable_name='" . implode("' OR Variable_name='", $serverVars) . "'", 0, 1);
- } else {
- $serverVarValues = array();
- }
-
- // ...and now assign them
- foreach ($ret as $chart_id => $chartNodes) {
- foreach ($chartNodes as $node_id => $nodeDataPoints) {
- foreach ($nodeDataPoints as $point_id => $dataPoint) {
- switch($dataPoint['type']) {
- case 'statusvar':
- $ret[$chart_id][$node_id][$point_id]['value'] = $statusVarValues[$dataPoint['name']];
- break;
- case 'servervar':
- $ret[$chart_id][$node_id][$point_id]['value'] = $serverVarValues[$dataPoint['name']];
- break;
- }
- }
- }
- }
-
- $ret['x'] = microtime(true)*1000;
-
- exit(json_encode($ret));
+ exit(json_encode($ret));
}
}
if (isset($_REQUEST['log_data'])) {
- if(PMA_MYSQL_INT_VERSION < 50106) exit('""');
+ if (PMA_MYSQL_INT_VERSION < 50106) {
+ /* FIXME: why this? */
+ exit('""');
+ }
$start = intval($_REQUEST['time_start']);
$end = intval($_REQUEST['time_end']);
@@ -221,19 +229,23 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
$type = strtolower(substr($row['sql_text'], 0, strpos($row['sql_text'], ' ')));
switch($type) {
- case 'insert':
- case 'update':
- // Cut off big inserts and updates, but append byte count therefor
- if(strlen($row['sql_text']) > 220)
- $row['sql_text'] = substr($row['sql_text'], 0, 200) . '... [' .
- implode(' ', PMA_formatByteDown(strlen($row['sql_text']), 2, 2)) . ']';
-
- break;
- default:
- break;
+ case 'insert':
+ case 'update':
+ // Cut off big inserts and updates, but append byte count therefor
+ if (strlen($row['sql_text']) > 220) {
+ $row['sql_text'] = substr($row['sql_text'], 0, 200)
+ . '... ['
+ . implode(' ', PMA_formatByteDown(strlen($row['sql_text']), 2, 2))
+ . ']';
+ }
+ break;
+ default:
+ break;
}
- if(!isset($return['sum'][$type])) $return['sum'][$type] = 0;
+ if (!isset($return['sum'][$type])) {
+ $return['sum'][$type] = 0;
+ }
$return['sum'][$type] += $row['#'];
$return['rows'][] = $row;
}
@@ -246,7 +258,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
exit(json_encode($return));
}
- if($_REQUEST['type'] == 'general') {
+ if ($_REQUEST['type'] == 'general') {
$limitTypes = (isset($_REQUEST['limitTypes']) && $_REQUEST['limitTypes'])
? 'AND argument REGEXP \'^(INSERT|SELECT|UPDATE|DELETE)\' ' : '';
@@ -268,39 +280,44 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
preg_match('/^(\w+)\s/', $row['argument'], $match);
$type = strtolower($match[1]);
- if(!isset($return['sum'][$type])) $return['sum'][$type] = 0;
+ if (!isset($return['sum'][$type])) {
+ $return['sum'][$type] = 0;
+ }
$return['sum'][$type] += $row['#'];
switch($type) {
- case 'insert':
- // Group inserts if selected
- if($removeVars && preg_match('/^INSERT INTO (`|\'|"|)([^\s\\1]+)\\1/i', $row['argument'], $matches)) {
- $insertTables[$matches[2]]++;
- if ($insertTables[$matches[2]] > 1) {
- $return['rows'][$insertTablesFirst]['#'] = $insertTables[$matches[2]];
+ case 'insert':
+ // Group inserts if selected
+ if ($removeVars && preg_match('/^INSERT INTO (`|\'|"|)([^\s\\1]+)\\1/i', $row['argument'], $matches)) {
+ $insertTables[$matches[2]]++;
+ if ($insertTables[$matches[2]] > 1) {
+ $return['rows'][$insertTablesFirst]['#'] = $insertTables[$matches[2]];
- // Add a ... to the end of this query to indicate that there's been other queries
- if($return['rows'][$insertTablesFirst]['argument'][strlen($return['rows'][$insertTablesFirst]['argument'])-1] != '.')
- $return['rows'][$insertTablesFirst]['argument'] .= ' ...';
-
- // Group this value, thus do not add to the result list
- continue 2;
- } else {
- $insertTablesFirst = $i;
- $insertTables[$matches[2]] += $row['#'] - 1;
+ // Add a ... to the end of this query to indicate that there's been other queries
+ if ($return['rows'][$insertTablesFirst]['argument'][strlen($return['rows'][$insertTablesFirst]['argument'])-1] != '.') {
+ $return['rows'][$insertTablesFirst]['argument'] .= ' ...';
}
+
+ // Group this value, thus do not add to the result list
+ continue 2;
+ } else {
+ $insertTablesFirst = $i;
+ $insertTables[$matches[2]] += $row['#'] - 1;
}
- // No break here
+ }
+ // No break here
- case 'update':
- // Cut off big inserts and updates, but append byte count therefor
- if(strlen($row['argument']) > 220)
- $row['argument'] = substr($row['argument'], 0, 200) . '... [' .
- implode(' ', PMA_formatByteDown(strlen($row['argument'])), 2, 2) . ']';
+ case 'update':
+ // Cut off big inserts and updates, but append byte count therefor
+ if (strlen($row['argument']) > 220) {
+ $row['argument'] = substr($row['argument'], 0, 200)
+ . '... ['
+ . implode(' ', PMA_formatByteDown(strlen($row['argument'])), 2, 2)
+ . ']';
+ }
+ break;
- break;
-
- default: break;
+ default: break;
}
$return['rows'][] = $row;
@@ -317,12 +334,15 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
}
if (isset($_REQUEST['logging_vars'])) {
- if(isset($_REQUEST['varName']) && isset($_REQUEST['varValue'])) {
+ if (isset($_REQUEST['varName']) && isset($_REQUEST['varValue'])) {
$value = PMA_sqlAddslashes($_REQUEST['varValue']);
- if(!is_numeric($value)) $value="'" . $value . "'";
+ if (!is_numeric($value)) {
+ $value="'" . $value . "'";
+ }
- if(! preg_match("/[^a-zA-Z0-9_]+/", $_REQUEST['varName']))
+ if (! preg_match("/[^a-zA-Z0-9_]+/", $_REQUEST['varName'])) {
PMA_DBI_query('SET GLOBAL ' . $_REQUEST['varName'] . ' = ' . $value);
+ }
}
@@ -330,14 +350,16 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
exit(json_encode($loggingVars));
}
- if(isset($_REQUEST['query_analyzer'])) {
+ if (isset($_REQUEST['query_analyzer'])) {
$return = array();
- if(strlen($_REQUEST['database']))
+ if (strlen($_REQUEST['database'])) {
PMA_DBI_select_db($_REQUEST['database']);
+ }
- if ($profiling = PMA_profilingSupported())
+ if ($profiling = PMA_profilingSupported()) {
PMA_DBI_query('SET PROFILING=1;');
+ }
// Do not cache query
$query = preg_replace('/^(\s*SELECT)/i', '\\1 SQL_NO_CACHE', $_REQUEST['query']);
@@ -355,7 +377,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
PMA_DBI_free_result($result);
- if($profiling) {
+ if ($profiling) {
$return['profiling'] = array();
$result = PMA_DBI_try_query('SELECT seq,state,duration FROM INFORMATION_SCHEMA.PROFILING WHERE QUERY_ID=1 ORDER BY seq');
while ($row = PMA_DBI_fetch_assoc($result)) {
@@ -367,7 +389,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
exit(json_encode($return));
}
- if(isset($_REQUEST['advisor'])) {
+ if (isset($_REQUEST['advisor'])) {
include('libraries/Advisor.class.php');
$advisor = new Advisor();
exit(json_encode($advisor->run()));
@@ -622,7 +644,8 @@ $links['innodb']['doc'] = 'innodb';
// Variable to contain all com_ variables (query statistics)
$used_queries = array();
-// Variable to map variable names to their respective section name (used for js category filtering)
+// Variable to map variable names to their respective section name
+// (used for js category filtering)
$allocationMap = array();
// Variable to mark used sections
@@ -636,7 +659,9 @@ foreach ($server_status as $name => $value) {
$allocationMap[$name] = $section;
$categoryUsed[$section] = true;
$section_found = true;
- if ($section == 'com' && $value > 0) $used_queries[$name] = $value;
+ if ($section == 'com' && $value > 0) {
+ $used_queries[$name] = $value;
+ }
break; // Only exits inner loop
}
}
@@ -647,29 +672,34 @@ foreach ($server_status as $name => $value) {
}
if(PMA_DRIZZLE) {
- $used_queries = PMA_DBI_fetch_result('SELECT * FROM data_dictionary.global_statements', 0, 1);
+ $used_queries = PMA_DBI_fetch_result(
+ 'SELECT * FROM data_dictionary.global_statements',
+ 0,
+ 1
+ );
unset($used_queries['admin_commands']);
} else {
- // admin commands are not queries (e.g. they include COM_PING, which is excluded from $server_status['Questions'])
+ // admin commands are not queries (e.g. they include COM_PING,
+ // which is excluded from $server_status['Questions'])
unset($used_queries['Com_admin_commands']);
}
/* Ajax request refresh */
if (isset($_REQUEST['show']) && isset($_REQUEST['ajax_request'])) {
switch($_REQUEST['show']) {
- case 'query_statistics':
- printQueryStatistics();
- exit();
- case 'server_traffic':
- printServerTraffic();
- exit();
- case 'variables_table':
- // Prints the variables table
- printVariablesTable();
- exit();
+ case 'query_statistics':
+ printQueryStatistics();
+ exit();
+ case 'server_traffic':
+ printServerTraffic();
+ exit();
+ case 'variables_table':
+ // Prints the variables table
+ printVariablesTable();
+ exit();
- default:
- break;
+ default:
+ break;
}
}
@@ -677,14 +707,38 @@ $server_db_isLocal = strtolower($cfg['Server']['host']) == 'localhost'
|| $cfg['Server']['host'] == '127.0.0.1'
|| $cfg['Server']['host'] == '::1';
-PMA_AddJSCode('pma_token = \'' . $_SESSION[' PMA_token '] . "';\n" .
- 'url_query = \'' . str_replace('&', '&', PMA_generate_common_url($db)) . "';\n" .
- 'server_time_diff = new Date().getTime() - ' . (microtime(true)*1000) . ";\n" .
- 'server_os = \'' . PHP_OS . "';\n" .
- 'is_superuser = ' . (PMA_isSuperuser() ? 'true' : 'false') . ";\n" .
- 'server_db_isLocal = ' . ($server_db_isLocal ? 'true' : 'false') . ";\n" .
- 'profiling_docu = \'' . PMA_showMySQLDocu('general-thread-states', 'general-thread-states') . "';\n" .
- 'explain_docu = \'' . PMA_showMySQLDocu('explain-output', 'explain-output') . ";'\n");
+PMA_AddJSVar(
+ 'pma_token',
+ $_SESSION[' PMA_token ']
+);
+PMA_AddJSVar(
+ 'url_query',
+ str_replace('&', '&', PMA_generate_common_url($db))
+);
+PMA_AddJSVar(
+ 'server_time_diff',
+ 'new Date().getTime() - ' . (microtime(true) * 1000)
+);
+PMA_AddJSVar(
+ 'server_os',
+ PHP_OS
+);
+PMA_AddJSVar(
+ 'is_superuser',
+ PMA_isSuperuser()
+);
+PMA_AddJSVar(
+ 'server_db_isLocal',
+ $server_db_isLocal
+);
+PMA_AddJSVar(
+ 'profiling_docu',
+ PMA_showMySQLDocu('general-thread-states', 'general-thread-states')
+);
+PMA_AddJSVar(
+ 'explain_docu',
+ PMA_showMySQLDocu('explain-output', 'explain-output')
+);
/**
* start output
@@ -807,7 +861,9 @@ echo __('Runtime Information');
echo ' ';
$i=0;
foreach ($section_links as $link_name => $link_url) {
- if ($i > 0) echo ', ';
+ if ($i > 0) {
+ echo ', ';
+ }
if ('doc' == $link_name) {
echo PMA_showMySQLDocu($link_url, $link_url);
} else {
@@ -929,9 +985,11 @@ function printQueryStatistics()
$name = str_replace(array('Com_', '_'), array('', ' '), $name);
// Group together values that make out less than 2% into "Other", but only if we have more than 6 fractions already
- if ($value < $query_sum * 0.02 && count($chart_json)>6)
+ if ($value < $query_sum * 0.02 && count($chart_json)>6) {
$other_sum += $value;
- else $chart_json[$name] = $value;
+ } else {
+ $chart_json[$name] = $value;
+ }
?>
@@ -950,8 +1008,9 @@ function printQueryStatistics()
0)
+ if ($other_sum > 0) {
$chart_json[__('Other')] = $other_sum;
+ }
echo json_encode($chart_json);
?>
@@ -1006,8 +1065,7 @@ function printServerTraffic()
}
/* if the server works as master or slave in replication process, display useful information */
- if ($server_master_status || $server_slave_status)
- {
+ if ($server_master_status || $server_slave_status) {
?>
@@ -1170,12 +1228,16 @@ function printServerTraffic()
-
+
+
@@ -1529,7 +1591,7 @@ function printMonitor()
-
+
$value) {
if (is_numeric($value)) {
- if ($i++ > 0) echo ", ";
+ if ($i++ > 0) {
+ echo ", ";
+ }
echo "'" . $name . "'";
}
}
@@ -1691,10 +1755,11 @@ function refreshList($name, $defaultRate=5, $refreshRates=Array(1, 2, 5, 10, 20,
foreach ($refreshRates as $rate) {
$selected = ($rate == $defaultRate)?' selected="selected"':'';
- if ($rate<60)
+ if ($rate<60) {
echo '' . sprintf(_ngettext('%d second', '%d seconds', $rate), $rate) . ' ';
- else
+ } else {
echo '' . sprintf(_ngettext('%d minute', '%d minutes', $rate/60), $rate/60) . ' ';
+ }
}
?>
diff --git a/server_variables.php b/server_variables.php
index ca39a5ed4f..af47f1fe83 100644
--- a/server_variables.php
+++ b/server_variables.php
@@ -16,9 +16,9 @@ require_once './libraries/common.inc.php';
$GLOBALS['js_include'][] = 'server_variables.js';
-PMA_AddJSCode('pma_token = \'' . $_SESSION[' PMA_token '] . "';\n" .
- 'is_superuser = ' . (PMA_isSuperuser() ? 'true' : 'false') . ";\n" .
- 'url_query = \'' . str_replace('&', '&', PMA_generate_common_url($db)) . "';\n");
+PMA_AddJSVar('pma_token', $_SESSION[' PMA_token ']);
+PMA_AddJSVar('url_query', str_replace('&', '&', PMA_generate_common_url($db)));
+PMA_AddJSVar('is_superuser', PMA_isSuperuser() ? true : false);
/**
@@ -43,11 +43,26 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
switch($_REQUEST['type']) {
case 'getval':
$varValue = PMA_DBI_fetch_single_row('SHOW GLOBAL VARIABLES WHERE Variable_name="' . PMA_sqlAddslashes($_REQUEST['varName']) . '";', 'NUM');
+ if (isset($VARIABLE_DOC_LINKS[$_REQUEST['varName']][3])
+ && $VARIABLE_DOC_LINKS[$_REQUEST['varName']][3] == 'byte') {
+ exit(implode(' ', PMA_formatByteDown($varValue[1],3,3)));
+ }
exit($varValue[1]);
break;
+
case 'setval':
- $value = PMA_sqlAddslashes($_REQUEST['varValue']);
- if (!is_numeric($value)) $value="'" . $value . "'";
+ $value = $_REQUEST['varValue'];
+
+ if (isset($VARIABLE_DOC_LINKS[$_REQUEST['varName']][3])
+ && $VARIABLE_DOC_LINKS[$_REQUEST['varName']][3] == 'byte'
+ && preg_match('/^\s*(\d+(\.\d+)?)\s*(mb|kb|mib|kib|gb|gib)\s*$/i',$value,$matches)) {
+ $exp = array('kb' => 1, 'kib' => 1, 'mb' => 2, 'mib' => 2, 'gb' => 3, 'gib' => 3);
+ $value = floatval($matches[1]) * pow(1024, $exp[strtolower($matches[3])]);
+ } else {
+ $value = PMA_sqlAddslashes($value);
+ }
+
+ if (! is_numeric($value)) $value="'" . $value . "'";
if (! preg_match("/[^a-zA-Z0-9_]+/", $_REQUEST['varName']) && PMA_DBI_query('SET GLOBAL ' . $_REQUEST['varName'] . ' = ' . $value)) {
// Some values are rounded down etc.
@@ -164,4 +179,4 @@ function formatVariable($name,$value)
*/
require './libraries/footer.inc.php';
-?>
\ No newline at end of file
+?>
diff --git a/test/libraries/js_escape_test.php b/test/libraries/js_escape_test.php
new file mode 100644
index 0000000000..ff185ef878
--- /dev/null
+++ b/test/libraries/js_escape_test.php
@@ -0,0 +1,36 @@
+assertEquals($expected, PMA_getJsValue($key, $value));
+ }
+
+ public function variables() {
+ return array(
+ array('foo', true, "foo = true;\n"),
+ array('foo', false, "foo = false;\n"),
+ array('foo', 100, "foo = 100;\n"),
+ array('foo', 0, "foo = 0;\n"),
+ array('foo', 'text', "foo = \"text\";\n"),
+ array('foo', 'quote"', "foo = \"quote\\\"\";\n"),
+ array('foo', 'apostroph\'', "foo = \"apostroph\\'\";\n"),
+ );
+ }
+}
+?>
diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php
index 8b026d856f..db12843190 100644
--- a/themes/original/css/theme_right.css.php
+++ b/themes/original/css/theme_right.css.php
@@ -279,10 +279,10 @@ button {
img.sortableIcon { background-position: -1727px 0; }
/* Same as s_asc */
-th.headerSortUp img.sortableIcon { background-position: 0 -1445px; width: 11px; height: 9px; }
+th.headerSortUp img.sortableIcon { background-position: 0 -1528px; width: 11px; height: 9px; }
/* Same as s_desc */
-th.headerSortDown img.sortableIcon { background-position: 0 -1528px; width: 11px; height: 9px; }
+th.headerSortDown img.sortableIcon { background-position: 0 -1445px; width: 11px; height: 9px; }
/* Fix position */
.ic_more { vertical-align: middle; }
@@ -2311,7 +2311,7 @@ span.CodeMirror-selected {
.CodeMirror-matchingbracket {color: #0f0 !important;}
.CodeMirror-nonmatchingbracket {color: #f22 !important;}
-span.cm-keyword {
+span.cm-keyword, span.cm-statement-verb {
color: ;
}
span.cm-variable {
diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php
index 7e6c4aae50..3d3d5082f4 100644
--- a/themes/pmahomme/css/theme_right.css.php
+++ b/themes/pmahomme/css/theme_right.css.php
@@ -467,10 +467,10 @@ select[multiple] {
img.sortableIcon { background-position: -1812px 0; }
/* Same as s_asc */
-th.headerSortUp img.sortableIcon { background-position: -1516px 0; }
+th.headerSortUp img.sortableIcon { background-position: 0 0; }
/* Same as s_desc */
-th.headerSortDown img.sortableIcon { background-position: 0 0; }
+th.headerSortDown img.sortableIcon { background-position: -1516px 0; }
/* Fix position */
.ic_more { vertical-align: middle; }
@@ -1467,7 +1467,7 @@ div#queryAnalyzerDialog div.CodeMirror-scroll {
}
div#queryAnalyzerDialog div#queryProfiling {
- height: 250px;
+ height: 250px;
}
div#queryAnalyzerDialog td.explain {
@@ -1475,9 +1475,9 @@ div#queryAnalyzerDialog td.explain {
}
div#queryAnalyzerDialog table.queryNums {
- display: none;
- border:0;
- text-align:left;
+ display: none;
+ border:0;
+ text-align:left;
}
.smallIndent {
@@ -2732,7 +2732,7 @@ span.CodeMirror-selected {
.CodeMirror-matchingbracket {color: #0f0 !important;}
.CodeMirror-nonmatchingbracket {color: #f22 !important;}
-span.cm-keyword {
+span.cm-keyword, span.cm-statement-verb {
color: ;
}
span.cm-variable {
@@ -3024,3 +3024,523 @@ span.cm-number {
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
+
+/* Designer */
+.input_tab {
+ background-color: #A6C7E1;
+ color: #000000;
+}
+
+#canvas {
+ background-color: #FFFFFF;
+ color: #000000;
+}
+
+canvas.pmd {
+ display: inline-block;
+ overflow: hidden;
+ text-align: left;
+}
+
+canvas.pmd * {
+ behavior: url(#default#VML);
+}
+
+.pmd_tab {
+ background-color: #FFFFFF;
+ color: #000000;
+ border-collapse: collapse;
+ border: 1px solid #AAAAAA;
+ z-index: 1;
+ -moz-user-select: none;
+}
+
+.tab_zag {
+ background-image: url(images/Header.png);
+ background-repeat: repeat-x;
+ text-align: center;
+ cursor: move;
+ padding: 1px;
+ font-weight: bold;
+}
+
+.tab_zag_2 {
+ background-image: url(images/Header_Linked.png);
+ background-repeat: repeat-x;
+ text-align: center;
+ cursor: move;
+ padding: 1px;
+ font-weight: bold;
+}
+
+.tab_field {
+ background: #FFFFFF;
+ color: #000000;
+ cursor: default;
+}
+
+.tab_field_2 {
+ background-color: #CCFFCC;
+ color: #000000;
+ background-repeat: repeat-x;
+ cursor: default;
+}
+
+.tab_field_3 {
+ background-color: #FFE6E6; /*#DDEEFF*/
+ color: #000000;
+ cursor: default;
+}
+
+#pmd_hint {
+ white-space: nowrap;
+ position: absolute;
+ background-color: #99FF99;
+ color: #000000;
+ left: 200px;
+ top: 50px;
+ z-index: 3;
+ border: #00CC66 solid 1px;
+ display: none;
+}
+
+.scroll_tab {
+ overflow: auto;
+ width: 100%;
+ height: 500px;
+}
+
+.pmd_Tabs {
+ cursor: default;
+ color: #0055bb;
+ white-space: nowrap;
+ text-decoration: none;
+ text-indent: 3px;
+ font-weight: bold;
+ margin-left: 2px;
+ text-align: left;
+ background-color: #FFFFFF;
+ background-image: url(images/left_panel_butt.png);
+ border: #CCCCCC solid 1px;
+}
+
+.pmd_Tabs2 {
+ cursor: default;
+ color: #0055bb;
+ background: #FFEE99;
+ text-indent: 3px;
+ font-weight: bold;
+ white-space: nowrap;
+ text-decoration: none;
+ border: #9999FF solid 1px;
+ text-align: left;
+}
+
+.owner {
+ font-weight: normal;
+ color: #888888;
+}
+
+.option_tab {
+ padding-left: 2px;
+ padding-right: 2px;
+ width: 5px;
+}
+
+.select_all {
+ vertical-align: top;
+ padding-left: 2px;
+ padding-right: 2px;
+ cursor: default;
+ width: 1px;
+ color: #000000;
+ background-image: url(images/Header.png);
+ background-repeat: repeat-x;
+}
+
+.small_tab {
+ vertical-align: top;
+ background-color: #0064ea;
+ color: #FFFFFF;
+ background-image: url(images/small_tab.png);
+ cursor: default;
+ text-align: center;
+ font-weight: bold;
+ padding-left: 2px;
+ padding-right: 2px;
+ width: 1px;
+ text-decoration: none;
+}
+
+.small_tab2 {
+ vertical-align: top;
+ color: #FFFFFF;
+ background-color: #FF9966;
+ cursor: default;
+ padding-left: 2px;
+ padding-right: 2px;
+ text-align: center;
+ font-weight: bold;
+ width: 1px;
+ text-decoration: none;
+}
+
+.small_tab_pref {
+ background-image: url(images/Header.png);
+ background-repeat: repeat-x;
+ text-align: center;
+ width: 1px;
+}
+
+.small_tab_pref2 {
+ vertical-align: top;
+ color: #FFFFFF;
+ background-color: #FF9966;
+ cursor: default;
+ text-align: center;
+ font-weight: bold;
+ width: 1px;
+ text-decoration: none;
+}
+
+.butt {
+ border: #4477aa solid 1px;
+ font-weight: bold;
+ height: 19px;
+ width: 70px;
+ background-color: #FFFFFF;
+ color: #000000;
+ vertical-align: baseline;
+}
+
+.L_butt2_1 {
+ padding: 1px;
+ text-decoration: none;
+ background-color: #ffffff;
+ color: #000000;
+ vertical-align: middle;
+ cursor: default;
+}
+
+.L_butt2_2 {
+ padding: 0;
+ border: #0099CC solid 1px;
+ background: #FFEE99;
+ text-decoration: none;
+ color: #000000;
+ cursor: default;
+}
+
+/* ---------------------------------------------------------------------------*/
+.bor {
+ width: 10px;
+ height: 10px;
+}
+
+.frams1 {
+ background: url(images/1.png) no-repeat right bottom;
+}
+
+.frams2 {
+ background: url(images/2.png) no-repeat left bottom;
+}
+
+.frams3 {
+ background: url(images/3.png) no-repeat left top;
+}
+
+.frams4 {
+ background: url(images/4.png) no-repeat right top;
+}
+
+.frams5 {
+ background: url(images/5.png) repeat-x center bottom;
+}
+
+.frams6 {
+ background: url(images/6.png) repeat-y left;
+}
+
+.frams7 {
+ background: url(images/7.png) repeat-x top;
+}
+
+.frams8 {
+ background: url(images/8.png) repeat-y right;
+}
+
+#osn_tab {
+ background-color: #FFFFFF;
+ color: #000000;
+ border: #A9A9A9 solid 1px;
+}
+
+.header {
+ background-color: #EAEEF0;
+ color: #000000;
+ text-align: center;
+ font-weight: bold;
+ margin: 0;
+ padding: 0;
+ background-image: url(images/top_panel.png);
+ background-position: top;
+ background-repeat: repeat-x;
+ border-right: #999999 solid 1px;
+ border-left: #999999 solid 1px;
+ height: 28px;
+}
+
+.header a {
+ display: block;
+ float: left;
+ margin: 3px 1px 4px 1px;
+ height: 20px;
+ border: 1px dotted #ffffff;
+}
+
+.header .M_bord {
+ display: block;
+ float: left;
+ margin: 4px;
+ height: 20px;
+ width: 2px;
+}
+
+.header a.first {
+ margin-right: 1em;
+}
+
+.header a.last {
+ margin-left: 1em;
+}
+
+a.M_butt_Selected_down_IE,
+a.M_butt_Selected_down {
+ border: 1px solid #C0C0BB;
+ background-color: #99FF99;
+ color: #000000;
+}
+
+a.M_butt_Selected_down_IE:hover,
+a.M_butt_Selected_down:hover,
+a.M_butt:hover {
+ border: 1px solid #0099CC;
+ background-color: #FFEE99;
+ color: #000000;
+}
+
+#layer_menu {
+ z-index: 1000;
+ position: absolute;
+ left: 0;
+ background-color: #EAEEF0;
+ border: #999999 solid 1px;
+}
+
+#layer_action {
+ position: absolute;
+ left: 638px;
+ top: 52px;
+ z-index: 1000;
+ background-color: #CCFF99;
+ padding: 3px;
+ border: #009933 solid 1px;
+ white-space: nowrap;
+ font-weight: bold;
+}
+
+#layer_upd_relation {
+ position: absolute;
+ left: 637px;
+ top: 224px;
+ z-index: 1000;
+}
+
+#layer_new_relation {
+ position: absolute;
+ left: 636px;
+ top: 85px;
+ z-index: 1000;
+ width: 153px;
+}
+
+#pmd_optionse {
+ position: absolute;
+ left: 636px;
+ top: 85px;
+ z-index: 1000;
+ width: 153px;
+}
+
+#layer_menu_sizer {
+ background-image: url(../../images/resize.png);
+ cursor: nw-resize;
+ width: 16px;
+ height: 16px;
+}
+
+.panel {
+ position: fixed;
+ top: 50px;
+ right: 0;
+ display: none;
+ background: #FFF;
+ border:1px solid #F5F5F5;
+ width: 350 px;
+ height: auto;
+ padding: 30px 170px 30px 30px;
+ color:#FFF;
+ z-index:99;
+}
+
+a.trigger{
+ position: fixed;
+ text-decoration: none;
+ top: 60px; right: 0;
+ color:#fff;
+ padding: 10px 40px 10px 15px;
+ background:#333333 url(images/plus.png) 85% 55% no-repeat;
+ border:1px solid #444444;
+ display: block;
+}
+
+a.trigger:hover{
+ position: fixed;
+ text-decoration: none;
+ top: 60px; right: 0;
+ color:#080808;
+ padding: 10px 40px 10px 15px;
+ background:#fff696 url(images/plus.png) 85% 55% no-repeat;
+ border:1px solid #999;
+ display: block;
+}
+
+a.active.trigger {
+ background:#222222 url(images/minus.png) 85% 55% no-repeat;
+ z-index:999;
+}
+
+a.active.trigger:hover {
+ background:#fff696 url(images/minus.png) 85% 55% no-repeat;
+ z-index:999;
+}
+
+h2.tiger{
+ background-repeat: repeat-x;
+ padding: 1px;
+ font-weight: bold;
+ padding: 50 20 50 20px;
+ margin: 0 0 5px 0;
+ width: 250px;
+ float: left;
+ color : #333;
+ text-align: center;
+}
+
+h2.tiger a {
+ background-image: url(images/Header.png);
+ text-align: center;
+ text-decoration: none;
+ color : #333;
+ display: block;
+}
+
+h2.tiger a:hover {
+ color: #000;
+ background-image: url(images/Header_Linked.png);
+}
+
+h2.active {
+ background-image: url(images/Header.png);
+ background-repeat: repeat-x;
+ padding: 1px;
+ background-position: left bottom;
+}
+
+.toggle_container {
+ margin: 0 0 5px;
+ padding: 0;
+ border-top: 1px solid #d6d6d6;
+ background: #FFF ;
+ width: 250px;
+ overflow: hidden;
+ font-size: 1.2em;
+ clear: both;
+}
+
+.toggle_container .block {
+ background-color: #DBE4E8;
+ padding:40 15 40 15px; /*--Padding of Container--*/
+ border:1px solid #999;
+ color:#000;
+}
+
+.history_table {
+ text-align: center;
+ background-color: #9999CC;
+}
+
+.history_table2 {
+ text-align: center;
+ background-color: #DBE4E8;
+}
+
+#filter {
+ display: none;
+ position: absolute;
+ top: 0%;
+ left: 0%;
+ width: 100%;
+ height: 100%;
+ background-color: #CCA;
+ z-index:10;
+ opacity:0.5;
+ filter: alpha(opacity=50);
+}
+
+#box {
+ display: none;
+ position: absolute;
+ top: 20%;
+ left: 30%;
+ width: 500px;
+ height: 220px;
+ padding: 48px;
+ margin:0;
+ border: 1px solid black;
+ background-color: white;
+ z-index:101;
+ overflow: visible;
+}
+
+#boxtitle {
+ position:absolute;
+ float:center;
+ top:0;
+ left:0;
+ width:593px;
+ height:20px;
+ padding:0;
+ padding-top:4px;
+ left-padding:8px;
+ margin:0;
+ border-bottom:4px solid #3CF;
+ background-color: #D0DCE0;
+ color:black;
+ font-weight:bold;
+ padding-left: 2px;
+ text-align:left;
+}
+
+#tblfooter {
+ background-color: #D3DCE3;
+ float: right;
+ padding-top:10px;
+ color: black;
+ font-weight: normal;
+}
+
+input.btn {
+ color:#333;
+ background-color: #D0DCE0;
+}