Ignore:
Timestamp:
Feb 18, 2011, 5:34:50 PM (13 years ago)
Author:
mistic100
Message:

[extensions] PHP Optimisateur

  • fix many path bugs
  • debug some plugins
  • add ratio detection for ConvertPan
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PHP_Optimisateur/index.php

    r9202 r9276  
    22/***************************************\
    33|                       PHP OPTIMISATEUR                        |
    4 |                          Version 1.3                          |
     4|                         Version 1.3.a                         |
    55\***************************************/
    66
     
    3939
    4040
    41 ### VERIFICATIONS ###
     41### PROCESSUS ###
    4242if ($PAGE == 'home') {
    4343        if (!isset($ERRORS['fatal'])) {
     
    9393if ($PAGE == 'home') {
    9494        if (isset($ERRORS['fatal'])) {
    95                 $PAGE_CONTENT[2] .= '<div class="generic link"><a class="input-submit" href="index.php">'.l10n('Back').'</a> <a class="input-submit" href="index.php?page=setup">'.l10n('Config').'</a></div>';
     95                $PAGE_CONTENT[2] .= '
     96                <div class="generic link">
     97                        <a class="input-submit" href="index.php">'.l10n('Back').'</a>
     98                        <a class="input-submit" href="index.php?page=setup">'.l10n('Config').'</a>
     99                </div>';
    96100
    97101        } else {
    98102                include('include/display_config.php');
    99103               
    100                 $PAGE_CONTENT[2] .= '<div class="generic finish">
     104                $PAGE_CONTENT[2] .= '
     105                <div class="generic finish">
    101106                        <span id="ready-text">'.l10n('Ready').'</span>
    102107                        <span id="loader"><img src="template/favicon.png" alt="PHP OPT"/></span>
     
    118123} else if ($PAGE = 'process') {
    119124        ### Affichage des fichiers traités ###
    120         $PAGE_CONTENT[0] .= '<div class="generic files">
     125        $PAGE_CONTENT[0] .= '
     126        <div class="generic files">
    121127                <h2>'.l10n('Source files').'</h2>
    122128                <ul>';
     
    131137        unset($FilesSortie);
    132138       
    133         $PAGE_CONTENT[2] .= '<div class="generic finish">'.l10n('Finish %d seconds', intval((microtime(true)-$TIME_START))).'</div>
     139        $PAGE_CONTENT[2] .= '
     140        <div class="generic finish">'.l10n('Finish %d seconds', intval((microtime(true)-$TIME_START))).'</div>
    134141        <div class="generic link">
    135142                <a class="input-submit" href="index.php">'.l10n('Back').'</a>
     
    144151echo $PAGE_CONTENT[2];
    145152
    146 echo '<div class="generic footer">
     153echo '
     154<div class="generic footer">
    147155        2010/2011 - <a href="http://www.strangeplanet.fr">Damien Sorel</a> - <a href="http://fr.piwigo.org/forum/viewtopic.php?id=19117">Forum</a> - <a href="http://fr.piwigo.org/doc/doku.php?id=tools:php_o">Documentation</a>
    148156</div>
Note: See TracChangeset for help on using the changeset viewer.