Directory templates/standard/shoutbox/

Directory Created:
2006-08-16 21:56
Directory Deleted:
2008-02-18 22:30
Total Files:
0
Deleted Files:
4
Lines of Code:
0

Browse with Trac

[root]/templates/standard/shoutbox

Lines of Code

templates/standard/shoutbox/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 28 (100.0%) 752 (100.0%) 26.8
freq77 6 (21.4%) 265 (35.2%) 44.1
vyper 2 (7.1%) 217 (28.9%) 108.5
xsign 10 (35.7%) 181 (24.1%) 18.1
vain 10 (35.7%) 89 (11.8%) 8.9

Most Recent Commits

vain 2008-02-18 22:30 Rev.: 1716

- templates dir is now themes ! watch out!

0 lines of code changed in 4 files:

vain 2008-01-14 03:46 Rev.: 1651

- new template drathgitter
- renamed {translate} to{t} and {/translate} to {/t}

7 lines of code changed in 1 file:

vyper 2007-02-24 18:45 Rev.: 996

Fixed all XHTML errors

217 lines of code changed in 2 files:

xsign 2006-09-19 01:48 Rev.: 592

2 lines of code changed in 1 file:

xsign 2006-09-16 00:34 Rev.: 582

3 lines of code changed in 1 file:

xsign 2006-09-15 04:19 Rev.: 580

3 lines of code changed in 2 files:

xsign 2006-09-13 23:04 Rev.: 554

106 lines of code changed in 2 files:

vain 2006-09-11 20:29 Rev.: 523

typo {

1 lines of code changed in 1 file:

xsign 2006-09-09 18:22 Rev.: 489

1 lines of code changed in 1 file:

vain 2006-08-23 17:17 Rev.: 409

positioned things, shoutbox headline added

2 lines of code changed in 1 file:

xsign 2006-08-23 16:16 Rev.: 408

1 lines of code changed in 1 file:

xsign 2006-08-23 06:43 Rev.: 407

65 lines of code changed in 2 files:

freq77 2006-08-21 09:13 Rev.: 404

Some typos fixed. Saving of shoutbox entries works properly! Shoutbox works with javascript turned on (->so save and check by ajax) and with javascript turned off (->send as a normal form request). style of the entries output a little bit improved!

19 lines of code changed in 2 files:

freq77 2006-08-20 21:53 Rev.: 398

I have further developed the shoutbox module. when using ajax, it correctly checks the entered form values and either displays the errors or saves the entry and displays the success-message. there are some strings in the template shoutbox/show_form.tpl, that have to be translatable (i didn't get it to work). further, my apache says an error when I do not set these two lines in shoutbox_module.php in comments:

$stmt = $db->prepare($sql);
$stmt->execute(array($name, $mail, $msg, time(), $_SERVER['REMOTE_ADDR']));

So I couldn't test the saving, but it should work correctly. please test it.
one thing:
when javascript is deactivated, the request is sent to the page index.php?mod=shoutbox&action=save. There I only see a blank window and I don't know why. When inserting some debug informations into shoutbox.module.php, I get them to see and they are as expected. And when I call the URL directly without sending POST vars, it's also working ... pleas look into this!

131 lines of code changed in 1 file:

vain 2006-08-19 04:00 Rev.: 397

added {key}

11 lines of code changed in 1 file:

vain 2006-08-19 03:49 Rev.: 396

1. renamed to entries_box.tpl, 2. fixed show entries, 3. added cycle to switch styleclasses
todo: style it!

14 lines of code changed in 1 file:

vain 2006-08-19 03:23 Rev.: 395

renamed

54 lines of code changed in 1 file:

freq77 2006-08-18 11:06 Rev.: 388

Leider schmiert mein Apache sooo oft ab, dass ich kaum weitercoden kann :( Habe nun mal die Shoutbox (zumindest das Formular^^) in die rechte Navi integriert.

84 lines of code changed in 2 files:

freq77 2006-08-16 21:56 Rev.: 363

I got it, created a Template for the Shoutbox. Further, I created a language file for the shoutbox and inserted the first translations.
I implemented a 'Service Template' called 'showErrorList.tpl'. I think Service Templates are great to reduce redudant code because they can handle some thing. The above mentioned one handles the output of an array consisting of errors. They should be assigned by php to smarty after a form validation, if some errors occured (e.g. inserted a non-valid email etc).
I don't know yet, if I can handle the shoutbox to function via ajax ... we'll see. But something wonders me: is it possible to display a module on a particular part of the page? Because a shoutbox should not be displayed on a extra page like the news but in the navi or something like this. to test the shoutbox, you have to enable it via db whitelisting. The used SQL can be found in the shoutbox.module.php. I stop here :D

31 lines of code changed in 1 file:

Generated by StatSVN 0.7.0