\"attachment\"";
$rs = mysql_query($sql);
while ($pepe = mysql_fetch_row($rs)) {
$mide = strlen($pepe[0]);
if ($mide > $mayor) {
$mayor = $mide;
$texto = $pepe[0];
}
}
return $texto;
}
// Hook for administrator menu
add_action('admin_menu', 'mt_add_page2');
// the function of earlier hook
function mt_add_page2() {
add_options_page('Management Titles', 'Management Titles', 8, 'gesttit', 'mt_options_page2');
}
// gesttit_converter change the normal title for the new title
function gesttit_converter() {
global $gesttit_tam, $gesttit_ang, $gesttit_font, $gesttit_ini;
$text = get_the_title();
$gimg = '';
$content = $gimg;
echo $content;
}
// mt_options_page2() show the page of new menu in options
function mt_options_page2() {
global $gesttit_tam, $gesttit_ang, $gesttit_ini, $gesttit_font, $gesttit_ver, $gesttit_font2;
// for font archives. delete and submit news
if (isset($_POST["eli"])) {
$destino2 = "../wp-content/plugins/gesttit/font/".$_POST["imgte"];
if (@unlink($destino2)) {
echo "
".$_POST["imgte"]." file has been deleted.
file not deleted.
file not uploaded.
file uploaded.
| '; echo " | ";
echo "text test: "; echo " "; echo "your longest title: "; $tml = muestraw(); echo " "; echo " |