[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr boraccount.tmpl,1.1,1.2
Paul POULAIN
tipaul at users.sourceforge.net
Mon May 5 17:01:28 CEST 2003
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes acquisitions-top.inc,1.12,1.13 cat-top.inc,1.12,1.13 circulation-top.inc,1.14,1.15 issues-top.inc,1.4,1.5 marc-top.inc,1.3,1.4 members-top.inc,1.11,1.12 opac-top.inc,1.5,1.6 parameters-top.inc,1.12,1.13 reports-top.inc,1.11,1.12
- Next message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/includes acquisitions-bottom.inc,1.2,1.3 acquisitions-top.inc,1.5,1.6 cat-bottom.inc,1.2,1.3 cat-top.inc,1.6,1.7 circulation-bottom.inc,1.2,1.3 circulation-top.inc,1.6,1.7 issues-bottom.inc,1.2,1.3 issues-top.inc,1.2,1.3 members-bottom.inc,1.2,1.3 members-top.inc,1.6,1.7 opac-top.inc,1.2,1.3 parameters-bottom.inc,1.2,1.3 parameters-top.inc,1.5,1.6 reports-bottom.inc,1.2,1.3 reports-top.inc,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr
In directory sc8-pr-cvs1:/tmp/cvs-serv25217/koha-tmpl/intranet-tmpl/default/fr
Modified Files:
boraccount.tmpl
Log Message:
moving loggedinuser => loggedinusername in includes and Auth.pm :
The $loggedinuser in Koha is the CODE of the logged user (result of get_user_and_template subroutine).
BTW, in get_user_and_template subroutine, the TMPL_VAR loggedinuser is replaced by the NAME of the user.
This is troubleshooting.
so, I replace the name by the "loggedinusername" template variable.
If you want to add the username somewhere, just add <TMPL_VAR name="loggedinusername"> in the template.
Fixes bug #401
Index: boraccount.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/boraccount.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** boraccount.tmpl 3 Feb 2003 10:55:00 -0000 1.1
--- boraccount.tmpl 5 May 2003 15:00:53 -0000 1.2
***************
*** 1,59 ****
! <HTML>
!
! <!-- startmenu (member)
! this includes the head-container and <body>
! including this via var contradicts the separation of code and design
! a solution via tmpl_include would be better -->
!
! <TMPL_VAR NAME=startmenumember>
!
! <!-- The manual invoice and credit buttons --> <FONT SIZE=6><em>Compte de<TMPL_VAR NAME=firstname>
! <TMPL_VAR NAME=surname></em></FONT>
! <P>
! <a href="/cgi-bin/koha/maninvoice.pl?bornum=<TMPL_VAR NAME=bornum>"><image src=/images/create-man-invoice.gif border=0></a>
!
! <a href="/cgi-bin/koha/mancredit.pl?bornum=<TMPL_VAR NAME=bornum>"><image src=/images/create-man-credit.gif border=0></a>
! <center>
! <p>
!
! <!-- The table with the account items -->
!
! <TABLE CELLSPACING=0 CELLPADDING=5 border=1 >
!
! <TR VALIGN=TOP>
! <td bgcolor="99cc33" background="/images/background-mem.gif" colspan=2><B>AMENDES
! & FRAIS</b></TD>
! <td bgcolor="99cc33" background="/images/background-mem.gif" colspan=1><B>MONTANT</b></TD>
! <td bgcolor="99cc33" background="/images/background-mem.gif" colspan=1><B>SOLDE
! </b></TD>
! </TR>
!
! <TMPL_LOOP NAME=accounts>
!
! <tr VALIGN=TOP>
! <td><TMPL_VAR NAME=date></td>
! <td><TMPL_VAR NAME=description><TMPL_IF NAME=printtitle> <TMPL_VAR NAME=title></TMPL_IF></td>
! <td><TMPL_VAR NAME=amount></td>
! <td><TMPL_VAR NAME=amountoutstanding></td>
! </tr>
!
! </TMPL_LOOP>
!
! <tr VALIGN=TOP >
! <td></td>
! <td colspan=2><b>Total dû</b></td>
! <td><b><TMPL_VAR NAME=total></b></td>
! </tr>
!
! </table>
!
! <br clear=all>
! <p> </p>
!
! <!-- endmenu (member) -->
!
! <TMPL_VAR NAME=member>
!
!
! </center></body></HTML>
!
--- 1,59 ----
! <HTML>
!
! <!-- startmenu (member)
! this includes the head-container and <body>
! including this via var contradicts the separation of code and design
! a solution via tmpl_include would be better -->
!
! <TMPL_VAR NAME=startmenumember>
!
! <!-- The manual invoice and credit buttons --> <FONT SIZE=6><em>Compte de<TMPL_VAR NAME=firstname>
! <TMPL_VAR NAME=surname></em></FONT>
! <P>
! <a href="/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR NAME=bornum>"><image src=<TMPL_VAR name="themelang">/images/create-man-invoice.gif border=0></a>
!
! <a href="/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR NAME=bornum>"><image src=<TMPL_VAR name="themelang">/images/create-man-credit.gif border=0></a>
! <center>
! <p>
!
! <!-- The table with the account items -->
!
! <TABLE CELLSPACING=0 CELLPADDING=5 border=1 >
!
! <TR VALIGN=TOP>
! <td bgcolor="99cc33" background="<TMPL_VAR name="themelang">/images/background-mem.gif" colspan=2><B>AMENDES
! & FRAIS</b></TD>
! <td bgcolor="99cc33" background="<TMPL_VAR name="themelang">/images/background-mem.gif" colspan=1><B>MONTANT</b></TD>
! <td bgcolor="99cc33" background="<TMPL_VAR name="themelang">/images/background-mem.gif" colspan=1><B>SOLDE
! </b></TD>
! </TR>
!
! <TMPL_LOOP NAME=accounts>
!
! <tr VALIGN=TOP>
! <td><TMPL_VAR NAME=date></td>
! <td><TMPL_VAR NAME=description><TMPL_IF NAME=printtitle> <TMPL_VAR NAME=title></TMPL_IF></td>
! <td><TMPL_VAR NAME=amount></td>
! <td><TMPL_VAR NAME=amountoutstanding></td>
! </tr>
!
! </TMPL_LOOP>
!
! <tr VALIGN=TOP >
! <td></td>
! <td colspan=2><b>Total dû</b></td>
! <td><b><TMPL_VAR NAME=total></b></td>
! </tr>
!
! </table>
!
! <br clear=all>
! <p> </p>
!
! <!-- endmenu (member) -->
!
! <TMPL_VAR NAME=member>
!
!
! </center></body></HTML>
!
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes acquisitions-top.inc,1.12,1.13 cat-top.inc,1.12,1.13 circulation-top.inc,1.14,1.15 issues-top.inc,1.4,1.5 marc-top.inc,1.3,1.4 members-top.inc,1.11,1.12 opac-top.inc,1.5,1.6 parameters-top.inc,1.12,1.13 reports-top.inc,1.11,1.12
- Next message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/includes acquisitions-bottom.inc,1.2,1.3 acquisitions-top.inc,1.5,1.6 cat-bottom.inc,1.2,1.3 cat-top.inc,1.6,1.7 circulation-bottom.inc,1.2,1.3 circulation-top.inc,1.6,1.7 issues-bottom.inc,1.2,1.3 issues-top.inc,1.2,1.3 members-bottom.inc,1.2,1.3 members-top.inc,1.6,1.7 opac-top.inc,1.2,1.3 parameters-bottom.inc,1.2,1.3 parameters-top.inc,1.5,1.6 reports-bottom.inc,1.2,1.3 reports-top.inc,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list