-
-
Save anonymous/559ddaf5c1d237cd20f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cgi/config.c b/cgi/config.c | |
index 4488ae7..6280f02 100644 | |
--- a/cgi/config.c | |
+++ b/cgi/config.c | |
@@ -423,7 +423,7 @@ void display_hosts(void) { | |
char *processed_string = NULL; | |
int options = 0; | |
int odd = 0; | |
- char time_string[16]; | |
+ char time_string[24]; | |
const char *bg_class = ""; | |
int num_contacts = 0; | |
@@ -1159,7 +1159,7 @@ void display_services(void) { | |
char *command_name; | |
int options; | |
int odd = 0; | |
- char time_string[16]; | |
+ char time_string[24]; | |
const char *bg_class; | |
int num_contacts = 0; | |
@@ -1818,7 +1818,7 @@ void display_serviceescalations(void) { | |
serviceescalation *temp_se = NULL; | |
contactsmember *temp_contactsmember = NULL; | |
contactgroupsmember *temp_contactgroupsmember = NULL; | |
- char time_string[16] = ""; | |
+ char time_string[24] = ""; | |
int options = FALSE; | |
int odd = 0; | |
const char *bg_class = ""; | |
@@ -2042,7 +2042,7 @@ void display_hostescalations(void) { | |
hostescalation *temp_he = NULL; | |
contactsmember *temp_contactsmember = NULL; | |
contactgroupsmember *temp_contactgroupsmember = NULL; | |
- char time_string[16] = ""; | |
+ char time_string[24] = ""; | |
int options = FALSE; | |
int odd = 0; | |
const char *bg_class = ""; | |
diff --git a/cgi/status.c b/cgi/status.c | |
index fca8903..75812e6 100644 | |
--- a/cgi/status.c | |
+++ b/cgi/status.c | |
@@ -2061,15 +2061,15 @@ void show_host_detail(void) { | |
printf("<table border=0 class='status' width='100%%'>\n"); | |
printf("<tr>\n"); | |
- printf("<th class='status'>Host <a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='ホスト名で並び替え(昇順)' TITLE='ホスト名で並び替え(昇順)'></a><a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='ホスト名で並び替え(降順)' TITLE='ホスト名で並び替え(降順)'></a></th>", temp_url, SORT_ASCENDING, SORT_HOSTNAME, url_images_path, UP_ARROW_ICON, temp_url, SORT_DESCENDING, SORT_HOSTNAME, url_images_path, DOWN_ARROW_ICON); | |
+ printf("<th class='status'>ホスト名 <a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='ホスト名で並び替え(昇順)' TITLE='ホスト名で並び替え(昇順)'></a><a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='ホスト名で並び替え(降順)' TITLE='ホスト名で並び替え(降順)'></a></th>", temp_url, SORT_ASCENDING, SORT_HOSTNAME, url_images_path, UP_ARROW_ICON, temp_url, SORT_DESCENDING, SORT_HOSTNAME, url_images_path, DOWN_ARROW_ICON); | |
printf("<TH CLASS='status'>エイリアス </TH>"); | |
- printf("<th class='status'>Status <a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='ホスト稼動状態で並び替え(昇順)' TITLE='ホスト稼動状態で並び替え(昇順)'></a><a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='ホスト稼動状態で並び替え(降順)' TITLE='ホスト稼動状態で並び替え(降順)'></a></th>", temp_url, SORT_ASCENDING, SORT_HOSTSTATUS, url_images_path, UP_ARROW_ICON, temp_url, SORT_DESCENDING, SORT_HOSTSTATUS, url_images_path, DOWN_ARROW_ICON); | |
+ printf("<th class='status'>状態 <a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='ホスト稼動状態で並び替え(昇順)' TITLE='ホスト稼動状態で並び替え(昇順)'></a><a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='ホスト稼動状態で並び替え(降順)' TITLE='ホスト稼動状態で並び替え(降順)'></a></th>", temp_url, SORT_ASCENDING, SORT_HOSTSTATUS, url_images_path, UP_ARROW_ICON, temp_url, SORT_DESCENDING, SORT_HOSTSTATUS, url_images_path, DOWN_ARROW_ICON); | |
- printf("<th class='status'>Last Check <a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='最終チェック時刻で並び替え(昇順)' TITLE='最終チェック時刻で並び替え(昇順)'></a><a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='最終チェック時刻で並び替え(降順)' TITLE='最終チェック時刻で並び替え(降順)'></a></th>", temp_url, SORT_ASCENDING, SORT_LASTCHECKTIME, url_images_path, UP_ARROW_ICON, temp_url, SORT_DESCENDING, SORT_LASTCHECKTIME, url_images_path, DOWN_ARROW_ICON); | |
+ printf("<th class='status'>最終チェック時刻 <a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='最終チェック時刻で並び替え(昇順)' TITLE='最終チェック時刻で並び替え(昇順)'></a><a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='最終チェック時刻で並び替え(降順)' TITLE='最終チェック時刻で並び替え(降順)'></a></th>", temp_url, SORT_ASCENDING, SORT_LASTCHECKTIME, url_images_path, UP_ARROW_ICON, temp_url, SORT_DESCENDING, SORT_LASTCHECKTIME, url_images_path, DOWN_ARROW_ICON); | |
- printf("<th class='status'>Duration <a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='経過時間で並び替え(昇順)' TITLE='経過時間で並び替え(昇順)'></a><a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='経過時間で並び替え(降順)' TITLE='経過時間で並び替え(降順)'></a></th>", temp_url, SORT_ASCENDING, SORT_STATEDURATION, url_images_path, UP_ARROW_ICON, temp_url, SORT_DESCENDING, SORT_STATEDURATION, url_images_path, DOWN_ARROW_ICON); | |
+ printf("<th class='status'>経過時間 <a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='経過時間で並び替え(昇順)' TITLE='経過時間で並び替え(昇順)'></a><a href='%s&sorttype=%d&sortoption=%d'><IMG SRC='%s%s' border=0 ALT='経過時間で並び替え(降順)' TITLE='経過時間で並び替え(降順)'></a></th>", temp_url, SORT_ASCENDING, SORT_STATEDURATION, url_images_path, UP_ARROW_ICON, temp_url, SORT_DESCENDING, SORT_STATEDURATION, url_images_path, DOWN_ARROW_ICON); | |
printf("<th class='status'>ステータス情報</th>\n"); | |
printf("</tr>\n"); | |
diff --git a/html/side.php b/html/side.php | |
index 17aa6f2..f98156c 100644 | |
--- a/html/side.php | |
+++ b/html/side.php | |
@@ -103,7 +103,7 @@ $link_target = 'main'; | |
<li><a href="<?php echo $cfg["cgi_base_url"];?>/extinfo.cgi?type=0" target="<?php echo $link_target;?>">プロセス情報</a></li> | |
<li><a href="<?php echo $cfg["cgi_base_url"];?>/extinfo.cgi?type=4" target="<?php echo $link_target;?>">パフォーマンス情報</a></li> | |
<li><a href="<?php echo $cfg["cgi_base_url"];?>/extinfo.cgi?type=7" target="<?php echo $link_target;?>">スケジュール</a></li> | |
- <li><a href="<?php echo $cfg["cgi_base_url"];?>/config.cgi" target="<?php echo $link_target;?>">定内容の確認</a></li> | |
+ <li><a href="<?php echo $cfg["cgi_base_url"];?>/config.cgi" target="<?php echo $link_target;?>">設定内容の確認</a></li> | |
</ul> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment