[vhffs-dev] [915] Display a message to tell users to write a good description if public part is enabled in resubmit .pl

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 915
Author:   gradator
Date:     2007-09-11 19:46:04 +0000 (Tue, 11 Sep 2007)

Log Message:
-----------
Display a message to tell users to write a good description if public part is enabled in resubmit.pl

Modified Paths:
--------------
    trunk/vhffs-panel/object/resubmit.pl


Modified: trunk/vhffs-panel/object/resubmit.pl
===================================================================
--- trunk/vhffs-panel/object/resubmit.pl	2007-09-11 09:51:51 UTC (rev 914)
+++ trunk/vhffs-panel/object/resubmit.pl	2007-09-11 19:46:04 UTC (rev 915)
@@ -127,6 +127,8 @@
 	$template->param( DESCRIPTION_TEXT => gettext('Description') );
 	$template->param( DESCRIPTION => CGI::escapeHTML( $object->get_description ) );
 
+	$template->param( WARNING_PUBLIC => gettext("Please consider that this description is going to be displayed in the public area. So you have to write it in impersonal form. You should take care to write it with correct grammar and tenses. Take all the time you need to fill it with the best content you are able to do.") ) if( $panel->is_public  &&  ( $object->get_type == Vhffs::Constants::TYPE_GROUP  ||  $object->get_type == Vhffs::Constants::TYPE_WEB ) );
+
 	$template->param( OID => $object->get_oid );
 	$template->param( SEND => gettext('Submit') );
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/