From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larsen To: development@lists.ipfire.org Subject: Re: [PATCH] Mark required input fields with a star Date: Sat, 27 Jun 2015 09:37:50 +0200 Message-ID: In-Reply-To: <558BD7E3.5090701@oab.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2022107071048548017==" List-Id: --===============2022107071048548017== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, 25 Jun 2015 12:28:51 +0200, Alexander Marx wrote: >>>>> On Thu, 2015-06-04 at 23:46 +0200, Larsen wrote: >>>>>> PS: Need help with the TODOs in that patch as I am now web developer >>>>>> and where I don´t know how to use an if-clause. >>>>> As these are in the ovpnmain.cgi (as far as I have seen) you should >>>>> get >>>>> in touch with Alex when he is back from holiday. That will be towards >>>>> the end of next week. >>>> Should not be related to ovpnmain.cgi. I just don´t have the >>>> experience >>>> how to combine html-code and if-clauses here. Any dev might be able to >>>> give a hint here. > Hi > All "HTML" Files are the cgi files within /srv/web/ipfire/cgi-bin. > These Files are CGI's which means it can be any programming language. > The IPFire CGI's are usually written in perl. So one can easily use perl > if-clauses. > When it comes to the output part you also use Perl code to "print" the > htmlcode. Yes, I know where to change it, but I don´t know how exactly to combine perl code and HTML. Please have a look at the parts marked with TODO here: http://patchwork.ipfire.org/patch/15/ In other places, there is a huge "print" part where perl gives out HTML in one block. Here however, I need to use perl inside one of those blocks. Lars --===============2022107071048548017==--