| Anonymous | Login | Signup for a new account | 2013.05.18 17:58 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0002538 | [Piwigo] other | tweak | have not tried | 2011.12.18 22:34 | 2012.06.06 22:29 | ||
| Reporter | mistic100 | View Status | public | ||||
| Assigned To | mistic100 | ||||||
| Priority | normal | Resolution | fixed | Platform | |||
| Status | closed | OS | |||||
| Projection | none | OS Version | |||||
| ETA | none | Fixed in Version | 2.4.0beta1 | Product Version | |||
| Target Version | 2.4.0beta1 | Product Build | |||||
| Summary | 0002538: Make a unified messages management | ||||||
| Description |
Currently if a page needs to display it adds it to $page['infos'] or $page['errors'], assign it to the template... But not all pages have the necessary vars and template part, what is a shame for pugins. The idea is to add a unified messages system : - all messages templates are moved a file infos_errors.tpl included in all main template files - when we need to add a message we adds it to $page['infos'] or $page['errors'] (initiliazed in common.inc.php allowing to use array_push without any test) as before - these array are assigned to the template in page_header.php |
||||||
| Steps To Reproduce | |||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| browser | any | ||||||
| Database engine and version | |||||||
| PHP version | |||||||
| Web server | Apache 1.3.x | ||||||
| Attached Files | |||||||
|
|
|||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0005863) mistic100 (developer) 2011.12.18 22:35 |
topic : http://piwigo.org/forum/viewtopic.php?id=18538 [^] |
|
(0005864) svn (reporter) 2011.12.18 22:46 |
[Subversion] r12764 by mistic100 on trunk -----[Subversion commit log]---------------------------------------------------- feature:2538 Make a unified messages management use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages |
|
(0005867) svn (reporter) 2011.12.19 18:08 |
[Subversion] r12767 by mistic100 on trunk -----[Subversion commit log]---------------------------------------------------- feature:2538 transmits messages after comment edition trough SESSION (no more ugly url displayed, avoid some minor bugs) |
|
(0006338) svn (reporter) 2012.06.06 22:29 |
[Subversion] r15578 by mistic100 on trunk -----[Subversion commit log]---------------------------------------------------- feature:2538 little rework of messages system, now can be used on 'loc_end_index' and 'loc_end_picture' |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group Contact |