mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 11:27:24 +08:00
@@ -1199,10 +1199,10 @@ function get_external_tr($imdb_url = "")
|
||||
}
|
||||
$ptGen = new Nexus\PTGen\PTGen();
|
||||
$imdbNumber = parse_imdb_id($imdb_url);
|
||||
$y = $ptGen->buildInput("url", $imdbNumber ? "http://www.imdb.com/title/tt".parse_imdb_id($imdb_url) : "", $lang_functions['text_imdb_url_note'], nexus_trans('ptgen.btn_get_desc'));
|
||||
$y = $ptGen->buildInput("url", $imdbNumber ? "https://www.imdb.com/title/tt".parse_imdb_id($imdb_url) : "", $lang_functions['text_imdb_url_note'], nexus_trans('ptgen.btn_get_desc'));
|
||||
return tr($lang_functions['row_imdb_url'], $y, 1);
|
||||
|
||||
// ($showextinfo['imdb'] == 'yes' ? tr($lang_functions['row_imdb_url'], "<input type=\"text\" style=\"width: 99%;\" name=\"url\" value=\"".($imdbNumber ? "http://www.imdb.com/title/tt".parse_imdb_id($imdb_url) : "")."\" /><br /><font class=\"medium\">".$lang_functions['text_imdb_url_note']."</font>", 1) : "");
|
||||
// ($showextinfo['imdb'] == 'yes' ? tr($lang_functions['row_imdb_url'], "<input type=\"text\" style=\"width: 99%;\" name=\"url\" value=\"".($imdbNumber ? "https://www.imdb.com/title/tt".parse_imdb_id($imdb_url) : "")."\" /><br /><font class=\"medium\">".$lang_functions['text_imdb_url_note']."</font>", 1) : "");
|
||||
}
|
||||
|
||||
function get_torrent_extinfo_identifier($torrentid)
|
||||
@@ -1239,7 +1239,7 @@ function parse_imdb_id($url)
|
||||
|
||||
function build_imdb_url($imdb_id)
|
||||
{
|
||||
return $imdb_id == "" ? "" : "http://www.imdb.com/title/tt" . $imdb_id . "/";
|
||||
return $imdb_id == "" ? "" : "https://www.imdb.com/title/tt" . $imdb_id . "/";
|
||||
}
|
||||
|
||||
// it's a stub implemetation here, we need more acurate regression analysis to complete our algorithm
|
||||
|
||||
@@ -177,7 +177,7 @@ $lang_functions = array
|
||||
'title_no_new_comment' => "无新评论",
|
||||
'row_external_info' => "外部信息",
|
||||
'row_imdb_url' => "IMDb链接",
|
||||
'text_imdb_url_note' => "(来自<strong><a href=\"http://www.imdb.com\">IMDb</a></strong>的链接。如电影<b>The Dark Knight</b>的链接是<b>http://www.imdb.com/title/tt0468569/</b>)",
|
||||
'text_imdb_url_note' => "(来自<strong><a href=\"https://www.imdb.com\">IMDb</a></strong>的链接。如电影<b>The Dark Knight</b>的链接是<b>https://www.imdb.com/title/tt0468569/</b>)",
|
||||
'text_artist' => "艺术家:",
|
||||
'text_album' => "专辑名:",
|
||||
'title_get_rss' => "获取RSS",
|
||||
|
||||
@@ -176,7 +176,7 @@ $lang_functions = array
|
||||
'title_no_new_comment' => "無新評論",
|
||||
'row_external_info' => "外部信息",
|
||||
'row_imdb_url' => "IMDb鏈接",
|
||||
'text_imdb_url_note' => "(來自<strong><a href=\"http://www.imdb.com\">IMDb</a></strong>的鏈接。如電影<b>The Dark Knight</b>的鏈接是<b>http://www.imdb.com/title/tt0468569/</b>)",
|
||||
'text_imdb_url_note' => "(來自<strong><a href=\"https://www.imdb.com\">IMDb</a></strong>的鏈接。如電影<b>The Dark Knight</b>的鏈接是<b>https://www.imdb.com/title/tt0468569/</b>)",
|
||||
'text_artist' => "藝術家:",
|
||||
'text_album' => "專輯名:",
|
||||
'title_get_rss' => "獲取RSS",
|
||||
|
||||
@@ -176,7 +176,7 @@ $lang_functions = array
|
||||
'title_no_new_comment' => "No new comment",
|
||||
'row_external_info' => "External Info",
|
||||
'row_imdb_url' => "IMDb URL",
|
||||
'text_imdb_url_note' => "(URL taken from <strong><a href=\"http://www.imdb.com\">IMDb</a></strong>. e.g. for movie <b>The Dark Knight</b> the URL is <b>http://www.imdb.com/title/tt0468569/</b>)",
|
||||
'text_imdb_url_note' => "(URL taken from <strong><a href=\"https://www.imdb.com\">IMDb</a></strong>. e.g. for movie <b>The Dark Knight</b> the URL is <b>https://www.imdb.com/title/tt0468569/</b>)",
|
||||
'text_artist' => " Artist: ",
|
||||
'text_album' => "Album: ",
|
||||
'title_get_rss' => "Get RSS",
|
||||
|
||||
Reference in New Issue
Block a user