List Info

Thread: Difference between view_status and project_view_status




Difference between view_status and project_view_status
country flaguser name
France
2007-02-20 09:09:39
Hello,
for our usage of mantis, we decided to have only private
projects. 
That's why I simply modified this var :
$g_project_view_state_enum_string = '10:public,50:private';
for
$g_project_view_state_enum_string = '50:private';

But it didn't work ! I searched a little, and found that I
could change 
this one :
$g_view_state_enum_string = '10:public,50:private';
in
$g_view_state_enum_string = '50:private';

This is already explained in this bug :

bug 0005571 (http://
www.mantisbt.org/bugs/view.php?id=5571).

I found strange that the two names were switched, but it
seemed to work 
fine this way.

But recently, I posted a news (just for fun, we don't really
use this 
feature), and the only choice was to post it as private.

I think view status available for news shouldn't be the same
as 
projects. I thought it could be nice to clarify the
situation by using 
these vars :

$g_bugnote_view_state_enum_string
$g_project_view_state_enum_string
$g_news_view_state_enum_string

and suppressing the g_view_state_enum_string.

What do you think of such an idea ?

-- 
Colin Pitrat (Bull Services Telco)
Bull,  Architect of an Open World (TM)
Tél : +33 (0)  1 30 80 72 93
www.bull.com

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mantisbt-dev mailing list
Mantisbt-devlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-d
ev

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )