Add some search option in the last paste list

This commit is contained in:
Némunaire 2012-11-05 19:45:20 +01:00
commit ca8b5a0c3e
6 changed files with 32 additions and 11 deletions

View file

@ -23,12 +23,15 @@ function generate_latex($filein, $content)
\usepackage{hyperref}
\usepackage{listings}
\usepackage{color}
\usepackage{array}
\usepackage{tikz}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{language=C++,keywordstyle=\color{blue},stringstyle=\color{mauve}}
\usetikzlibrary{arrows}
\begin{document}".$content."\end{document}";
@ -103,7 +106,7 @@ foreach ($_GET as $k => $t)
print "Je ne sais pas compiler ce code source :(";
$log = ob_get_clean();
ob_end_clean();
if (isset($f) && is_file($f))
{
header('Content-Description: File Transfer');