Will it support arrays? I can't think of any reason to off-hand but arrays are fun
I suppose it would really depend on how all this is handled I suppose, I'll have a look when I get the latest CVS
Search found 288 matches
- Fri Jan 09, 2004 6:32 pm
- Forum: [3.0/Olympus] Styling
- Topic: REQ: <!-- SET variable value --> in template system
- Replies: 22
- Views: 24959
- Sun Jan 04, 2004 12:01 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 15809
Re: Smart adding of new lines in PHP
Still not having much luck unfortunately :( Here is the test page I am trying to get to parse correctly: Here is some text Here is some text on a new line <input type="textbox" value="Here is a text box"> <script language = "JavaScript"> var SafariNonMessage = "<a ...
- Sat Jan 03, 2004 10:39 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 15809
Re: Smart adding of new lines in PHP
I think I got it! With a little messing of what you gave me I seem to have it now working correctly, it even ignore javascript correctly though I'll be damned if I can tell you why. (I've added a space before the 'n' for newline) <?php $parse = preg_replace('#[^>]\ n(\r)#', '<br />', $parse); Hmm, o...
- Sat Jan 03, 2004 10:20 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 15809
Re: Smart adding of new lines in PHP
Okay electronerd it's now adding <br /> to all lines regardless of ending with a '>' or not.
Also, on your last one did the PHP parser remove the newline code? I added it in anyway because I didn't see anything that would obviously constitute a replacement (that I know of).
Also, on your last one did the PHP parser remove the newline code? I added it in anyway because I didn't see anything that would obviously constitute a replacement (that I know of).
- Sat Jan 03, 2004 10:05 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 15809
Re: Smart adding of new lines in PHP
Hey thanks, however the script doesn't seem to work for me, does it have any version specific items in it perhaps? What I am ending up with is a page output that has the last character of every line replaced by <br />, except those which end in '>' which only have <br /> added to them. Is there a go...
- Sat Jan 03, 2004 6:07 pm
- Forum: [3.0/Olympus] New features discussion
- Topic: SQL Management on ACP
- Replies: 7
- Views: 5006
Re: SQL Management on ACP
What's wrong with editing a template to give you a little link to phpmyadmin? In 2.0.x you can just put it in the <switch is_admin> or whatever it was called, that's just a formality anyway as people would need to know your password to get to phpmyadmin anyway.
- Sat Jan 03, 2004 6:03 pm
- Forum: [3.0/Olympus] Discussion
- Topic: better word censors?
- Replies: 13
- Views: 13537
Re: better word censors?
I put my name into the word censor so I could get it to become coloured
- Sat Jan 03, 2004 5:59 pm
- Forum: [3.0/Olympus] Discussion
- Topic: All design kept in CSS
- Replies: 48
- Views: 37167
Re: All design kept in CSS
Well I am slowly attempting to recreate the design with only a single table but I think that recreating it in divs even from a single table version would be wasted effort. They are very nice for some things but tables (or a table) are better in this regard. If someone thinks they can do this whole d...
- Sat Jan 03, 2004 5:51 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 15809
Smart adding of new lines in PHP
Okay, I am still in the process of writing the PHP for my site http://www.haravikk.com" target="_blank but I am having a bit of trouble doing some things with it. The groundwork however is all there. Currently the set up requires pages to be entered in strict HTML which I do not really wan...
- Thu Jan 01, 2004 3:35 pm
- Forum: [3.0/Olympus] New features discussion
- Topic: Calendar ?
- Replies: 38
- Views: 31183
Re: Calendar ?
Iron Maiden rule woo! \m/ :D \m/ On topic though a calendar can be used to remind of anything really like New Year, Christmas and such, if you post an announcement that a forum is going to be locked in X days then you could put it on a calendar. There are quite a lot of uses for them but I still agr...