Remove the language option in the customer login page

Hi, Does anyone knows how to remove the language option in the customer login page? I would like to just use english and prohibit the customers from using other languages. Thank you. Regards, Zak ##################################################################################### This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. If you have received this email in error please contact the sender. #####################################################################################

You can modify the Login.dtl file found here: \OTRS\OTRS\Kernel\Output\HTML\Standard Just comment out the entire block of code as seen below: Good luck! # -- # language # -- <!-- <p> <form action="$Env{"CGIHandle"}" method="post" enctype="application/x-www-form-urlencoded"> <input type="hidden" name="Action" value=""/> <input type="hidden" name="RequestedURL" value="$QData{"RequestedURL"}"/> <table border="0" cellspacing="0" cellpadding="3" width="280"> <tr> <td align="center" class="singleboxhead">$Text{"Language"}</td> </tr> <tr> <td align="center" class="singleboxbody"> <table cellspacing="8" cellpadding="2"> <tr> <td class="singleboxkey">$Text{"Language"}:</td> <td class="singleboxvalue">$Data{"Language"}</td> </tr> </table> <input class="button" type="submit" value="$Text{"Submit"}"/> </td> </tr> </table> </form> </p> -->

Sorry - you were talking about the Customer Login page - same instructions, but that file is named CustomerLogin.dtl in the same folder. :) -----Original Message----- From: otrs-bounces@otrs.org on behalf of Mohamed Zakaria Sent: Wed 12/2/2009 7:38 PM To: 'otrs@otrs.org' Cc: Subject: [otrs] Remove the language option in the customer login page Hi, Does anyone knows how to remove the language option in the customer login page? I would like to just use english and prohibit the customers from using other languages. Thank you. Regards, Zak ##################################################################################### This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. If you have received this email in error please contact the sender. ##################################################################################### --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Dear Nathan, Thanks for your mail. I cannot find the syntax that you mentioned. This is my customerlogin.dtl file. # -- # CustomerLogin.dtl - provides customer HTML login screen # Copyright (C) 2001-2009 OTRS AG, http://otrs.org/ # -- # $Id: CustomerLogin.dtl,v 1.25 2009/02/16 11:07:25 tr Exp $ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/licenses/agpl.txt. # -- # # http headers $Include{"CustomerHeader"} <!-- start login --> <script language="JavaScript" type="text/javascript"> <!-- function submit_form() { # if (!document.login.User.value) { # alert('$JSText{"Login is needed!"}'); # return false; # } # else if (!document.login.Password.value) { # alert('$JSText{"Password is needed!"}'); # return false; # } now = new Date(); Diff = now.getTimezoneOffset(); document.login.TimeOffset.value = Diff; return true; } //--> </script> <center> <p> <font color="red">$Text{"$Data{"Message"}"}</font> <table border="0" cellspacing="0" cellpadding="3" width="300"> <tr> <td class="singleboxhead">$Text{"Login"}</td> </tr> <tr> <td class="singleboxbody">

Ah - I forget that the Customer page is a bit different - you should be able to comment these items to acheive your desired results: If that doesn't work, let me know and I'll take a look at my Customer Login page from which I removed the Language a year or so ago when I implemented it to confirm exactly what should be done. Good luck (again)! <!--- <table border="0" cellspacing="0" cellpadding="3" width="300"> <tr> <td class="singleboxhead">$Text{"Language"}</td> </tr> <tr> <td class="singleboxbody"> <table cellspacing="8" cellpadding="2"> <tr> <td>$Text{"Language"}:</td> <td>$Data{"Language"}</td> </tr> </table> <input class="button" type="submit" value="$Text{"Submit"}"/> </td> </tr> </table> --> -----Original Message----- From: otrs-bounces@otrs.org on behalf of Mohamed Zakaria Sent: Wed 12/2/2009 11:07 PM To: User questions and discussions about OTRS. Cc: Subject: Re: [otrs] Remove the language option in the customer login page Dear Nathan, Thanks for your mail. I cannot find the syntax that you mentioned. This is my customerlogin.dtl file. # -- # CustomerLogin.dtl - provides customer HTML login screen # Copyright (C) 2001-2009 OTRS AG, http://otrs.org/ # -- # $Id: CustomerLogin.dtl,v 1.25 2009/02/16 11:07:25 tr Exp $ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/licenses/agpl.txt. # -- # # http headers $Include{"CustomerHeader"} <!-- start login --> <script language="JavaScript" type="text/javascript"> <!-- function submit_form() { # if (!document.login.User.value) { # alert('$JSText{"Login is needed!"}'); # return false; # } # else if (!document.login.Password.value) { # alert('$JSText{"Password is needed!"}'); # return false; # } now = new Date(); Diff = now.getTimezoneOffset(); document.login.TimeOffset.value = Diff; return true; } //--> </script> <center> <p> <font color="red">$Text{"$Data{"Message"}"}</font> <table border="0" cellspacing="0" cellpadding="3" width="300"> <tr> <td class="singleboxhead">$Text{"Login"}</td> </tr> <tr> <td class="singleboxbody">
participants (2)
-
Mohamed Zakaria
-
Nathan Campbell