2 Commits

Author SHA1 Message Date
8ebd42e83e - Now use 400px cover size instead of 256px. 2021-06-07 11:53:44 +02:00
bec60e3bf0 - Remove FaceBook +1 button. 2020-12-28 12:42:44 +01:00

View File

@@ -1,7 +1,7 @@
<? <?
// $RCSfile: lmbrowse.php,v $ // $RCSfile: lmbrowse.php,v $
// $Revision: 1.17 $ // $Revision: 1.17 $
// $Name: lmbrowse-1_7_0-1 $ // $Name: lmbrowse-1_7_2-1 $
// $Date: 2016/03/21 16:07:30 $ // $Date: 2016/03/21 16:07:30 $
// $Author: agibert $ // $Author: agibert $
@@ -41,7 +41,7 @@ $time_start = microtime_float();
include "lmbrowse_config.inc"; include "lmbrowse_config.inc";
$lmb_myname="LMBrowse"; $lmb_myname="LMBrowse";
$lmb_tag_tab=explode( " ", "\$Name: lmbrowse-1_7_0-1 $"); $lmb_tag_tab=explode( " ", "\$Name: lmbrowse-1_7_2-1 $");
$lmb_tag_tab=explode( "-", $lmb_tag_tab[1]); $lmb_tag_tab=explode( "-", $lmb_tag_tab[1]);
$lmb_myver=strtr( "$lmb_tag_tab[1]-$lmb_tag_tab[2]", "_", "."); $lmb_myver=strtr( "$lmb_tag_tab[1]-$lmb_tag_tab[2]", "_", ".");
@@ -323,7 +323,8 @@ function lmb_html_text_format( $input_text)
"<LM>", "<LM>",
"</LM>", "</LM>",
"<F+1/>", "<F+1/>",
"<MSF/>" "<MSF/>",
"<TW/>"
); );
$replace_tab = array( $replace_tab = array(
@@ -341,26 +342,17 @@ function lmb_html_text_format( $input_text)
"<span style=\"font-family:CustomFont; font-weight:normal;\">", "<span style=\"font-family:CustomFont; font-weight:normal;\">",
"</span>", "</span>",
" "
<div class=\"fb-like\" style=\"font-size: 0px;\" data-href=\"http://www.facebook.com/langueur.monotone\" data-send=\"false\" data-layout=\"button_count\" data-width=\"90\" data-show-faces=\"true\" data-colorscheme=\"dark\"></div>
<div id=\"fb-root\"></div> <div id=\"fb-root\"></div>
<script type=\"text/javascript\"> <script async defer crossorigin=\"anonymous\" src=\"https://connect.facebook.net/en_EN/sdk.js#xfbml=1&version=v9.0\" nonce=\"8VpYfMEc\"></script>
(function(d, s, id) <img src=\"icons/f_logo_RGB-Blue_58.png\" style=\"width: 20px\" />&nbsp;<div class=\"fb-like\" data-href=\"https://www.facebook.com/langueur.monotone\" data-width=\"\" data-layout=\"button\" data-action=\"like\" data-size=\"small\" data-share=\"true\" style=\"width:auto;\"></div>",
{
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = \"//connect.facebook.net/fr_FR/all.js#xfbml=1\";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>",
" "
<form method=\"post\" action=\"http://www.myspace.com/my/friends/addtofriends/langueur-monotone\"> <form method=\"post\" action=\"http://www.myspace.com/my/friends/addtofriends/langueur-monotone\">
<input type=\"submit\" value=\"myspace Friend\"> <input type=\"submit\" value=\"myspace Friend\">
<style type=\"text/css\">input {background-color: 000000; border-width:1px; border-style:groove; border-color: 444444; color: FFFFFF; font-family:;} <style type=\"text/css\">input {background-color: 000000; border-width:1px; border-style:groove; border-color: 444444; color: FFFFFF; font-family:;}
</style> </style>
</form> </form>
" ",
"<div style=\"text-align: right; vertical-align: top; display:block;\"><a href=\"https://twitter.com/langueurmon?ref_src=twsrc%5Etfw\" class=\"twitter-follow-button\" style=\"vertical-align: top;\" data-show-screen-name=\"false\" data-show-count=\"false\">Follow @langueurmon</a><script async src=\"https://platform.twitter.com/widgets.js\" charset=\"utf-8\"></script></div>"
); );
return( str_replace( $search_tab, $replace_tab, $input_text)); return( str_replace( $search_tab, $replace_tab, $input_text));
@@ -391,7 +383,8 @@ function lmb_xml_text_format( $input_text)
"<LM>", "<LM>",
"</LM>", "</LM>",
"<F+1/>", "<F+1/>",
"<MSF/>" "<MSF/>",
"<TW/>"
); );
$replace_tab = array( $replace_tab = array(
@@ -410,6 +403,7 @@ function lmb_xml_text_format( $input_text)
"", "",
"", "",
"", "",
"",
"" ""
); );
@@ -832,6 +826,8 @@ function lmb_footer( $skin_path)
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"/www-stats/\" title=\"Rx3 Statistics\"><div class=\"sprite-button-stats-on\"></div></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"/www-stats/\" title=\"Rx3 Statistics\"><div class=\"sprite-button-stats-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"/www-ssl-stats/\" title=\"Rx3 SSL Statistics\"><div class=\"sprite-button-stats-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"https://www.google.com/analytics/web/?hl=en&amp;pli=1#dashboard//a37642754w66067134p67926512\" title=\"Google Analytics\"><div class=\"sprite-button-stats-on\"></div></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"https://www.google.com/analytics/web/?hl=en&amp;pli=1#dashboard//a37642754w66067134p67926512\" title=\"Google Analytics\"><div class=\"sprite-button-stats-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"https://www.google.com/webmasters/tools/dashboard?hl=fr&amp;siteUrl=http%3A%2F%2F{$lmb_url_pre}%2F\" title=\"Google Webmaster Tools\"><div class=\"sprite-button-stats-on\"></div></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"https://www.google.com/webmasters/tools/dashboard?hl=fr&amp;siteUrl=http%3A%2F%2F{$lmb_url_pre}%2F\" title=\"Google Webmaster Tools\"><div class=\"sprite-button-stats-on\"></div></a></td>
@@ -1776,7 +1772,7 @@ function lmb_play_intro( $play_type, $play_id, $play_priority, $skin_path)
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
<tbody> <tbody>
<tr> <tr>
<td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-1-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-1-256.png\" alt=\"\"/></a></td> <td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-1-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-1-400.png\" alt=\"\"/></a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@@ -1820,7 +1816,7 @@ function lmb_play_intro( $play_type, $play_id, $play_priority, $skin_path)
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
<tbody> <tbody>
<tr> <tr>
<td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-2-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-2-256.png\" alt=\"\"/></a></td> <td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-2-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-2-400.png\" alt=\"\"/></a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@@ -2690,7 +2686,7 @@ ${title_tag} <td class=\"extras4\">&nbs
$css_row = $i % 2 + 1; $css_row = $i % 2 + 1;
$entry_tag = " <tr class=\"extras{$css_row}\" style=\"height: {$height}px\"> $entry_tag = " <tr class=\"extras{$css_row}\" style=\"height: {$height}px\">
<td class=\"extras1\"><a href=\"{$file_tab[1]["url"]}\"><img class=\"button-item\" src=\"{$extra_prefix}-icon.png\" alt=\"\"/></a></td> <td class=\"extras1\"><a href=\"{$file_tab[2]["url"]}\"><img class=\"button-item\" src=\"{$extra_prefix}-icon.png\" alt=\"\"/></a></td>
<td class=\"extras2\">&nbsp;{$extra_type}&nbsp;</td> <td class=\"extras2\">&nbsp;{$extra_type}&nbsp;</td>
<td class=\"extras3\">&nbsp;{$extra_subid}&nbsp;</td> <td class=\"extras3\">&nbsp;{$extra_subid}&nbsp;</td>
<td class=\"extras4\">&nbsp;{$extra_format}&nbsp;</td> <td class=\"extras4\">&nbsp;{$extra_format}&nbsp;</td>