[mnemo] Small patch for memo.php
Jan Kuipers
jrkuipers@lauwerscollege.nl
Thu, 26 Sep 2002 00:17:01 +0200
This message is in MIME format.
---------------------- multipart/mixed attachment
Regarding HEAD:
Some gettext fixes and 'default_tasklist' changed to 'default_notepad'
--
Jan Kuipers
Systeembeheer Lauwers College
---------------------- multipart/mixed attachment
SW5kZXg6IG1lbW8ucGhwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9yZXBvc2l0b3J5L21uZW1vL21l
bW8ucGhwLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjYKZGlmZiAtdSAtcjEuNiBtZW1vLnBocAot
LS0gbWVtby5waHAJMjQgU2VwIDIwMDIgMjE6MzI6MjMgLTAwMDAJMS42CisrKyBtZW1vLnBocAky
NSBTZXAgMjAwMiAyMjoxMDo1MCAtMDAwMApAQCAtMjUsNyArMjUsNyBAQAogY2FzZSBNTkVNT19B
RERfTUVNTzoKIAogICAgIC8qIFNldCB1cCB0aGUgbm90ZSBhdHRyaWJ1dGVzLiAqLwotICAgICRt
ZW1vbGlzdF9pZCA9ICRwcmVmcy0+Z2V0VmFsdWUoJ2RlZmF1bHRfdGFza2xpc3QnKTsKKyAgICAk
bWVtb2xpc3RfaWQgPSAkcHJlZnMtPmdldFZhbHVlKCdkZWZhdWx0X25vdGVwYWQnKTsKICAgICAk
bWVtb19pZCA9IG51bGw7CiAgICAgJG1lbW9fYm9keSA9ICcnOwogICAgICRtZW1vX2NhdGVnb3J5
ID0gZmFsc2U7CkBAIC02MSw3ICs2MSw3IEBACiAgICAgICAgICRuZXdfY2F0ZWdvcnkgPSBIb3Jk
ZTo6Z2V0Rm9ybURhdGEoJ25ld19jYXRlZ29yeScpOwogICAgICAgICAkbWVtb19jYXRlZ29yeSA9
IE1uZW1vOjphZGRDYXRlZ29yeSgkbmV3X2NhdGVnb3J5KTsKICAgICAgICAgaWYgKCRtZW1vX2Nh
dGVnb3J5ID09IDApIHsKLSAgICAgICAgICAgICRub3RpZmljYXRpb24tPnB1c2goc3ByaW50Zihf
KCdVbmFibGUgdG8gY3JlYXRlIHRvIGNhdGVnb3J5OiAlcycpLCAkbmV3X2NhdGVnb3J5KSwgJ2hv
cmRlLndhcm5pbmcnKTsKKyAgICAgICAgICAgICRub3RpZmljYXRpb24tPnB1c2goc3ByaW50Zihf
KCJVbmFibGUgdG8gY3JlYXRlIHRvIGNhdGVnb3J5OiAlcyIpLCAkbmV3X2NhdGVnb3J5KSwgJ2hv
cmRlLndhcm5pbmcnKTsKICAgICAgICAgfQogICAgIH0KIApAQCAtODAsNyArODAsNyBAQAogICAg
ICAgICAgICAgICAgICRzdG9yYWdlLT5kZWxldGVNZW1vKCRtZW1vX2lkKTsKICAgICAgICAgICAg
ICAgICAKICAgICAgICAgICAgICAgICBpZiAoUEVBUjo6aXNFcnJvcigkc3RvcmFnZS0+c3RvcmUo
KSkpIHsKLSAgICAgICAgICAgICAgICAgICAgJG5vdGlmaWNhdGlvbi0+cHVzaChfKCdUaGVyZSB3
YXMgYW4gZXJyb3IgcmVtb3ZpbmcgdGhlIG5vdGUuJyksICdob3JkZS53YXJuaW5nJyk7CisgICAg
ICAgICAgICAgICAgICAgICRub3RpZmljYXRpb24tPnB1c2goXygiVGhlcmUgd2FzIGFuIGVycm9y
IHJlbW92aW5nIHRoZSBub3RlLiIpLCAnaG9yZGUud2FybmluZycpOwogICAgICAgICAgICAgICAg
IH0KIAogICAgICAgICAgICAgICAgICRzdG9yYWdlID0gJk1uZW1vX0RyaXZlcjo6ZmFjdG9yeSgk
Y29uZlsnc3RvcmFnZSddWydkcml2ZXInXSwgJG5vdGVwYWRfdGFyZ2V0LApAQCAtODksNyArODks
NyBAQAogICAgICAgICAgICAgICAgICRtZW1vX2lkID0gJHN0b3JhZ2UtPmFkZE1lbW8oJG1lbW9f
Ym9keSwgJG1lbW9fY2F0ZWdvcnkpOwogCiAgICAgICAgICAgIC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
dGUuJyksICdob3JkZS53YXJuaW5nJyk7CisgICAgICAgICAgICAgICAgJG5vdGlmaWNhdGlvbi0+
cHVzaChfKCJUaGVyZSB3YXMgYW4gZXJyb3IgcmVtb3ZpbmcgdGhlIG5vdGUuIiksICdob3JkZS53
YXJuaW5nJyk7CiAgICAgICAgICAgICB9IGVsc2UgewotICAgICAgICAgICAgICAgICRub3RpZmlj
YXRpb24tPnB1c2goXygnVGhlIG5vdGUgd2FzIGRlbGV0ZWQuJyksICdob3JkZS5zdWNjZXNzJyk7
CisgICAgICAgICAgICAgICAgJG5vdGlmaWNhdGlvbi0+cHVzaChfKCJUaGUgbm90ZSB3YXMgZGVs
ZXRlZC4iKSwgJ2hvcmRlLnN1Y2Nlc3MnKTsKICAgICAgICAgICAgIH0KICAgICAgICAgfSBlbHNl
IHsKLSAgICAgICAgICAgICRub3RpZmljYXRpb24tPnB1c2goXygnQWNjZXNzIGRlbmllZCBkZWxl
dGVpbmcgbm90ZS4nKSwgJ2hvcmRlLndhcm5pbmcnKTsKKyAgICAgICAgICAgICRub3RpZmljYXRp
b24tPnB1c2goXygiQWNjZXNzIGRlbmllZCBkZWxldGluZyBub3RlLiIpLCAnaG9yZGUud2Fybmlu
ZycpOwogICAgICAgICB9CiAgICAgfQogCg==
---------------------- multipart/mixed attachment--