- Change LM logo,

- Add Tweeter support.
This commit is contained in:
agibert 2014-12-15 16:57:40 +00:00
parent 15da8b45a3
commit f0b125110b

View File

@ -1,8 +1,8 @@
<? <?
// $RCSfile: lmbrowse.php,v $ // $RCSfile: lmbrowse.php,v $
// $Revision: 1.9 $ // $Revision: 1.10 $
// $Name: $ // $Name: $
// $Date: 2013/12/30 16:47:19 $ // $Date: 2014/12/15 16:57:40 $
// $Author: agibert $ // $Author: agibert $
/* /*
@ -1117,7 +1117,56 @@ function lmb_news_tab( )
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); ob_end_clean();
lmb_make_tab( "news", "news", "r", "/images/lm-logo5-n-220.png", $data); lmb_make_tab( "news", "news", "r", "/images/lm-logo6-n-220.png", $data);
}
/*--------------------------------------------------------------------------------------------------------------------*/
/* Twitter Tab */
/*--------------------------------------------------------------------------------------------------------------------*/
function lmb_twitter_tab( )
{
global $lmb_url;
ob_start();
echo " <tr class=\"twitter1\">
<td class=\"twitter01\"></td>
<td class=\"twitter0\"></td>
<td class=\"twitter01\"></td>
</tr>
<tr class=\"twitter1\">
<td class=\"twitter01\">&nbsp;</td>
<td class=\"twitter0\">
<a class=\"twitter-timeline\" href=\"https://twitter.com/langueurmon\" data-widget-id=\"544258336741670912\">Tweets by @langueurmon</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+\"://platform.twitter.com/widgets.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"twitter-wjs\");</script>
</td>
<td class=\"twitter01\">&nbsp;</td>
</tr>
<tr class=\"twitter1\">
<td class=\"twitter01\"></td>
<td class=\"twitter0\"></td>
<td class=\"twitter01\"></td>
</tr>
";
/*
echo " <tr class=\"twitter1\">
<td class=\"twitter01\"></td>
<td class=\"twitter1\">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</td>
<td class=\"twitter01\"></td>
</tr>
";
*/
$data = ob_get_contents();
ob_end_clean();
lmb_make_tab( "twitter", "twitter", "l", "/images/lm-logo5-n-220.png", $data);
} }
@ -1133,6 +1182,10 @@ function lmb_main_body()
lmb_spacer(4); lmb_spacer(4);
lmb_news_tab(); lmb_news_tab();
lmb_spacer(4);
lmb_twitter_tab();
} }
@ -1515,7 +1568,7 @@ function lmb_history_tab()
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); ob_end_clean();
lmb_make_tab( "history", "history", "r", "/images/lm-logo6-n-220.png", $data); lmb_make_tab( "history", "history", "r", "/images/lm-logo5-n-220.png", $data);
} }