--===============1994301509== Content-Type: multipart/signed; boundary="nextPart3755605.NIgyiHs7up"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3755605.NIgyiHs7up Content-Type: multipart/mixed; boundary="Boundary-01=_Q8cADZebt9P7sJy" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_Q8cADZebt9P7sJy Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm trying to bring some order to the Krita part of the koffice website... = I=20 want to make more distinctions in the app info block. I have edited the=20 relevant php file a little, but since I don't know php and am not aware of= =20 any existing policies, I'm presenting my changes here. No other application= =20 should be affected by these changes... Are they okay? =2D-=20 Boudewijn Rempt=20 http://www.valdyas.org/fading/index.cgi --Boundary-01=_Q8cADZebt9P7sJy Content-Type: text/x-diff; charset="us-ascii"; name="appinfo.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="appinfo.diff" Index: class_appinfo.inc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- class_appinfo.inc (revision 427310) +++ class_appinfo.inc (working copy) @@ -24,6 +24,7 @@ { var $title; var $authors =3D array(); + var $current_authors =3D array(); var $maintainers =3D array(); var $contributors =3D array(); var $thankstos =3D array(); @@ -37,6 +38,7 @@ =20 // tmp vars var $author; + var $current_authors; var $maintainer; var $contributor; =20 @@ -62,6 +64,12 @@ array_push($this->authors, $author); } =20 + function addCurrentAuthor($name, $email=3D"", $job=3D"") + { + $curauthor =3D new Contributor($name, $email, $job) + array_push($this->current_authors, $curauthor); + } + function addMaintainer($name, $email=3D"") { $contributor =3D new Author($name, $email); @@ -159,6 +167,24 @@ print "\n"; } =20 + if (count($this->current_authors)) + { + print "Current Author"; + if( count( $this->current_authors ) > 1 ) + { + print "s"; + } + print ":\n"; + print "\n"; + } + + if (count($this->contributors)) { print "Contributor"; --Boundary-01=_Q8cADZebt9P7sJy-- --nextPart3755605.NIgyiHs7up Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBDAc8TdaCcgCmN5d8RAn+XAKCmuThqLaqK2AnzgOuGwGfzmIauuACfSpzV 2XyjTAakXnMV9rh1edQ7Pfg= =8uu/ -----END PGP SIGNATURE----- --nextPart3755605.NIgyiHs7up-- --===============1994301509== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============1994301509==--