SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001927SiT!otherpublic2014-03-20 20:372014-07-23 20:41
ReporterFrans 
Assigned To 
PrioritylowSeverityfeatureReproducibilityN/A
StatusacknowledgedResolutionopen 
PlatformWindowsOSWindowsOS VersionXP+Later
Product Version3.67 LTS 
Target VersionFixed in Version 
Summary0001927: Progress bar in function html_redirect
DescriptionHello,
I added these lines

    $valor = rand (10, 99);
    echo "<h2><img src='{$CONFIG['application_webpath']}images/gifs/cargando/c{$valor}.gif' /></h2>";

in the file: lib/html.inc.php
at line nbr: 113
which is in func: html_redirect
right after the lines:
    if ($headerdisplayed)
        {
            echo "<p align='center'><a href=\"{$url}\">{$GLOBALS['strContinue']}</a>

";
        }
The lines that I addes show a progress bar or progress circle,
random selected from 90 different symbols.
I add the images in a compressed file. I suppose you'll translate to english ...
It gives the user something to watch when he is waiting for the next screen to appear.
I do not know whether you prefer to have it here, a forum topic or some other internet page . . . ?
So I apologize if it is not apropiate here. I just want to help to make it better.
Greetings,
Frans
Tagspatch
Attached Filesjpg file icon example_progress_bar.jpg [^] (67,781 bytes) 2014-03-20 20:37


zip file icon cargando.zip [^] (445,334 bytes) 2014-03-20 20:38
zip file icon cargando_23_july_2014.zip [^] (1,643,381 bytes) 2014-07-23 20:33
jpg file icon examples.jpg [^] (215,475 bytes) 2014-07-23 20:38

- Relationships

-  Notes
User avatar (0004928)
ivan (administrator)
2014-04-10 12:42

Thanks
(0004937)
Frans (reporter)
2014-05-14 19:32

I reached a total of 210 different animations.
(0004952)
Frans (reporter)
2014-07-23 20:35

The uploaded file cargando_23_july_2014.zip
has 299 animations.
Just change the values in the rand function like this

  $valor = rand (100, 398);
  echo "<h2><img src='{$CONFIG['application_webpath']}images/gifs/cargando/c{$valor}.gif' alt=\" --------------------- {$valor} ------------------- \" /></h2>";

I have added the alt-tag just in case. It is not necessary.
(0004953)
Frans (reporter)
2014-07-23 20:41

I programmed a page to show all the animations:
see uploaded file: examples.jpg


$permission = 5;

require ('core.php');
require (APPLICATION_LIBPATH . 'functions.inc.php');
require (APPLICATION_LIBPATH . 'auth.inc.php');
include (APPLICATION_INCPATH . 'htmlheader.inc.php');


echo "<table class='vertical' border=6>";
        
for ($k = 100; $k <= 397; $k += 3)
    {
    $columna1 = $k;
    $columna2 = $k+1;
    $columna3 = $k+2;
    
    echo "<tr><td>{$columna1}   <img src='{$CONFIG['application_webpath']}images/gifs/cargando/c{$columna1}.gif' alt=\"Imagen {$columna1}\" /></td>";
    echo "<td>{$columna2}   <img src='{$CONFIG['application_webpath']}images/gifs/cargando/c{$columna2}.gif' alt=\"Imagen {$columna2}\" /></td>";
    echo "<td>{$columna3}   <img src='{$CONFIG['application_webpath']}images/gifs/cargando/c{$columna3}.gif' alt=\"Imagen {$columna3}\" /></td></tr>";
    }

echo "</table>";

include (APPLICATION_INCPATH . 'htmlfooter.inc.php');

- Issue History
Date Modified Username Field Change
2014-03-20 20:37 Frans New Issue
2014-03-20 20:37 Frans File Added: example_progress_bar.jpg
2014-03-20 20:38 Frans File Added: cargando.zip
2014-04-10 12:42 ivan Tag Attached: patch
2014-04-10 12:42 ivan Note Added: 0004928
2014-04-10 12:42 ivan Status new => acknowledged
2014-05-14 19:32 Frans Note Added: 0004937
2014-07-23 20:33 Frans File Added: cargando_23_july_2014.zip
2014-07-23 20:35 Frans Note Added: 0004952
2014-07-23 20:38 Frans File Added: examples.jpg
2014-07-23 20:41 Frans Note Added: 0004953


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker