#1 2003-09-22 15:44:20

Guest
Guest

add link above copyright

    $output.= "
  <div class=\"copyright\">".$lang['generation_time']." ".get_elapsed_time( $page['start_time'], get_moment() )."</div>";
    // Please, do not remove this copyright, if you really want to,
    // contact me pierrick@z0rglub.com to find a solution on how to show the origin of the script...
    $output.= "
  <div class=\"copyright\">Powered by <a href=\"".$conf['site_url']."\" class=\"back\">PhpWebGallery</a> ".$conf['version']."</div>";
    $output.= "
    </body>
</html>";
   
    echo $output;
    /*------------------------écriture du fichier de log-------------------------*/
    @mysql_query( "insert into $prefixeTable"."history (date,login,IP,categorie,page) VALUES ('".time()."', '".$user['pseudo']."','$REMOTE_ADDR','".$page['cat_intitule']."','diapo');");
?>

I wanted to put a link back to my homepage, but couldn't find the [echo"</div>";] code, I want to put my link on the bottom above the phpwebgallery link, PLEASE HELP!

 

#2 2003-09-22 23:09:29

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14049

Re: add link above copyright

in diapo.php (release 1.2), before

Code:

    427         // Please, do not remove this copyright, if you really want to,
    428         // contact me pierrick@z0rglub.com to find a solution on how to show the origin of the script...

insert

Code:

$output.= '<div class="copyright">[ <a href="http://myhomepageURL" class="back">Homepage</a>]</div>';

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact