Anonymous | Login | Signup for a new account | 2021-01-18 17:40 GMT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0001927 | SiT! | other | public | 2014-03-20 20:37 | 2014-07-23 21:41 | ||||||||
Reporter | Frans | ||||||||||||
Assigned To | |||||||||||||
Priority | low | Severity | feature | Reproducibility | N/A | ||||||||
Status | acknowledged | Resolution | open | ||||||||||
Platform | Windows | OS | Windows | OS Version | XP+Later | ||||||||
Product Version | 3.67 LTS | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0001927: Progress bar in function html_redirect | ||||||||||||
Description | Hello, 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 | ||||||||||||
Tags | patch | ||||||||||||
Attached Files | ![]() ![]() ![]() ![]() | ||||||||||||
![]() |
|
ivan (administrator) 2014-04-10 13:42 |
Thanks |
(0004937) Frans (reporter) 2014-05-14 20:32 |
I reached a total of 210 different animations. |
(0004952) Frans (reporter) 2014-07-23 21: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 21: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'); |
![]() |
|||
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 13:42 | ivan | Tag Attached: patch | |
2014-04-10 13:42 | ivan | Note Added: 0004928 | |
2014-04-10 13:42 | ivan | Status | new => acknowledged |
2014-05-14 20:32 | Frans | Note Added: 0004937 | |
2014-07-23 21:33 | Frans | File Added: cargando_23_july_2014.zip | |
2014-07-23 21:35 | Frans | Note Added: 0004952 | |
2014-07-23 21:38 | Frans | File Added: examples.jpg | |
2014-07-23 21:41 | Frans | Note Added: 0004953 |
Copyright © 2000 - 2021 MantisBT Team |