paulscriptsmods-checkin Mailing List for paulscriptsmods (Page 2)
Status: Beta
Brought to you by:
paulsohier
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(225) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(93) |
Feb
(107) |
Mar
(41) |
Apr
(58) |
May
(866) |
Jun
(587) |
Jul
(56) |
Aug
|
Sep
(30) |
Oct
|
Nov
(124) |
Dec
(6) |
2007 |
Jan
(76) |
Feb
(50) |
Mar
(10) |
Apr
(47) |
May
(61) |
Jun
(34) |
Jul
(6) |
Aug
(9) |
Sep
(24) |
Oct
(8) |
Nov
|
Dec
(2) |
From: Paul S. <pau...@us...> - 2007-09-17 18:23:15
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25338 Modified Files: Tag: phpbb3_ver ajax.php Log Message: Blablabla Bug fix for new cdata function. Index: ajax.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/ajax.php,v retrieving revision 1.21.2.29 retrieving revision 1.21.2.30 diff -C2 -d -r1.21.2.29 -r1.21.2.30 *** ajax.php 15 Sep 2007 21:41:32 -0000 1.21.2.29 --- ajax.php 17 Sep 2007 18:23:17 -0000 1.21.2.30 *************** *** 1625,1630 **** * @return string */ ! function xml($content) { $contents = utf8_encode(trim($contents)); --- 1625,1631 ---- * @return string */ ! function xml($contents) { + error_reporting(E_ALL); $contents = utf8_encode(trim($contents)); *************** *** 1650,1653 **** --- 1651,1655 ---- return htmlspecialchars($contents); } + return $contents; } |
From: Paul S. <pau...@us...> - 2007-09-17 11:59:14
|
Update of /cvsroot/paulscriptsmods/ajax_shout/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15331/templates Modified Files: Tag: phpbb3_ver prosilver.xml subsilver2.xml Log Message: release. Index: prosilver.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/templates/Attic/prosilver.xml,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** prosilver.xml 4 Aug 2007 14:37:26 -0000 1.1.2.4 --- prosilver.xml 17 Sep 2007 11:59:15 -0000 1.1.2.5 *************** *** 2,6 **** <?xml-stylesheet type="text/xsl" href="../modx.prosilver.en.xsl"?> <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> ! <!-- $Id --> <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> --- 2,6 ---- <?xml-stylesheet type="text/xsl" href="../modx.prosilver.en.xsl"?> <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> ! <!-- $Id$ --> <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> *************** *** 23,27 **** <major>0</major> <minor>0</minor> ! <revision>4</revision> </mod-version> <installation> --- 23,27 ---- <major>0</major> <minor>0</minor> ! <revision>5</revision> </mod-version> <installation> *************** *** 29,33 **** <time>100</time> <target-version> ! <target-primary>3.0.RC4</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> --- 29,33 ---- <time>100</time> <target-version> ! <target-primary>3.0.RC5</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> Index: subsilver2.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/templates/Attic/subsilver2.xml,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** subsilver2.xml 4 Aug 2007 14:37:26 -0000 1.1.2.3 --- subsilver2.xml 17 Sep 2007 11:59:15 -0000 1.1.2.4 *************** *** 2,6 **** <?xml-stylesheet type="text/xsl" href="../modx.prosilver.en.xsl"?> <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> ! <!-- $Id --> <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> --- 2,6 ---- <?xml-stylesheet type="text/xsl" href="../modx.prosilver.en.xsl"?> <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> ! <!-- $Id$ --> <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> *************** *** 23,27 **** <major>0</major> <minor>0</minor> ! <revision>4</revision> </mod-version> <installation> --- 23,27 ---- <major>0</major> <minor>0</minor> ! <revision>5</revision> </mod-version> <installation> *************** *** 29,33 **** <time>100</time> <target-version> ! <target-primary>3.0.RC4</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> --- 29,33 ---- <time>100</time> <target-version> ! <target-primary>3.0.RC5</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> |
From: Paul S. <pau...@us...> - 2007-09-17 11:59:14
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15331 Modified Files: Tag: phpbb3_ver install.xml Log Message: release. Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.27 retrieving revision 1.19.2.28 diff -C2 -d -r1.19.2.27 -r1.19.2.28 *** install.xml 15 Sep 2007 21:41:32 -0000 1.19.2.27 --- install.xml 17 Sep 2007 11:59:15 -0000 1.19.2.28 *************** *** 2,6 **** <?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?> <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> ! <!-- $Id --> <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> --- 2,6 ---- <?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?> <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> ! <!-- $Id$ --> <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> *************** *** 103,107 **** <entry> ! <date>xxx-xx-xx</date> <rev-version> <major>0</major> --- 103,107 ---- <entry> ! <date>2007-09-17</date> <rev-version> <major>0</major> |
From: Paul S. <pau...@us...> - 2007-09-15 21:41:31
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root/language/en/mods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7783/root/language/en/mods Modified Files: Tag: phpbb3_ver shout.php Log Message: More changes. Index: shout.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/language/en/mods/Attic/shout.php,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** shout.php 8 Jun 2007 21:35:52 -0000 1.1.2.1 --- shout.php 15 Sep 2007 21:41:32 -0000 1.1.2.2 *************** *** 40,67 **** */ $lang = array_merge($lang, array( ! 'missing_div' => 'The shoutbox div cann\\\'t be found.', ! 'loading' => 'Loading', ! 'post_message' => 'Post message', ! 'sending' => 'Sending message.', ! 'message_empty' => 'Message is empty.', ! 'invalid_xml' => 'The xml is invalid: tr/td without table', ! 'invalid_el' => 'Invalid element: ', ! 'xml_er' => 'XML error.', ! 'no_message' => 'There are no messages.', ! 'no_ajax' => 'No ajax', ! 'js_err' => 'There has been a JavaScript error. \nError:', ! 'line' => 'Line', ! 'file' => 'File', ! 'flood_error' => 'Flood error', ! 'posted' => 'Message posted.', //Added in 0.0.3 ! 'no_quote' => 'Don\\\'t use list, quote or code bbcode.', ! 'smilies' => 'Smilies', ! 'del_shout' => 'Are you sure you want to delete this shout?', ! 'no_shout_id' => 'No shout id.', ! 'msg_del_done' => 'Message deleted', ! 'SHOUTBOX' => 'Shoutbox', )); ?> --- 40,67 ---- */ $lang = array_merge($lang, array( ! 'MISSING_DIV' => 'The shoutbox div cann\\\'t be found.', ! 'LOADING' => 'Loading', ! 'POST_MESSAGE' => 'Post message', ! 'SENDING' => 'Sending message.', ! 'MESSAGE_EMTY' => 'Message is empty.', ! 'INVALID_HTML' => 'The xml is invalid: tr/td without table', ! 'INVALID_EL' => 'Invalid element: ', ! 'XML_ER' => 'XML error.', ! 'NO_MESSAGE' => 'There are no messages.', ! 'NO_AJAX' => 'No ajax', ! 'JS_ERR' => 'There has been a JavaScript error. \nError:', ! 'LINE' => 'Line', ! 'FILE' => 'File', ! 'FLOOD_ERROR' => 'Flood error', ! 'POSTED' => 'Message posted.', //Added in 0.0.3 ! 'NO_QUOTE' => 'Don\\\'t use list, quote or code bbcode.', ! 'SMILIES' => 'Smilies', ! 'DEL_SHOUT' => 'Are you sure you want to delete this shout?', ! 'NO_SHOUT_ID' => 'No shout id.', ! 'MSG_DEL_DONE' => 'Message deleted', ! 'SHOUTBOX' => 'Shoutbox', )); ?> |
From: Paul S. <pau...@us...> - 2007-09-15 21:41:31
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7783 Modified Files: Tag: phpbb3_ver install.xml Log Message: More changes. Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.26 retrieving revision 1.19.2.27 diff -C2 -d -r1.19.2.26 -r1.19.2.27 *** install.xml 15 Sep 2007 21:30:19 -0000 1.19.2.26 --- install.xml 15 Sep 2007 21:41:32 -0000 1.19.2.27 *************** *** 116,119 **** --- 116,120 ---- <change>Fixed a cookie bug</change> <change>Change way for checking cdata blocks. Borrowed from cortex xml, written by Vic</change> + <change>Language items uppercase. NOTE: This means ALL old lang files will NOT longer work!!!</change> </changelog> </entry> |
From: Paul S. <pau...@us...> - 2007-09-15 21:41:30
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7783/root Modified Files: Tag: phpbb3_ver ajax.php Log Message: More changes. Index: ajax.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/ajax.php,v retrieving revision 1.21.2.28 retrieving revision 1.21.2.29 diff -C2 -d -r1.21.2.28 -r1.21.2.29 *** ajax.php 15 Sep 2007 21:25:49 -0000 1.21.2.28 --- ajax.php 15 Sep 2007 21:41:32 -0000 1.21.2.29 *************** *** 111,124 **** { ! tmp = '<?php echo $user->lang['js_err']; ?> '; tmp += e.message; if (e.lineNumber) { ! tmp += '\n<?php echo $user->lang['line'];?>: '; tmp += e.lineNumber; } if (e.fileName) { ! tmp += '\n<?php echo $user->lang['file'];?>: '; tmp += e.fileName; } --- 111,124 ---- { ! tmp = '<?php echo $user->lang['JS_ERR']; ?> '; tmp += e.message; if (e.lineNumber) { ! tmp += '\n<?php echo $user->lang['LINE'];?>: '; tmp += e.lineNumber; } if (e.fileName) { ! tmp += '\n<?php echo $user->lang['FILE'];?>: '; tmp += e.fileName; } *************** *** 149,153 **** { ! var ev = err_msg('<?php echo $user->lang['missing_div']; ?>'); ev.name = "E_CORE_ERROR"; --- 149,153 ---- { ! var ev = err_msg('<?php echo $user->lang['MISSING_DIV']; ?>'); ev.name = "E_CORE_ERROR"; *************** *** 160,164 **** // Display message ;) ! message('<?php echo $user->lang['loading']; ?>'); // HTTP vars, required to relead/post things. --- 160,164 ---- // Display message ;) ! message('<?php echo $user->lang['LOADING']; ?>'); // HTTP vars, required to relead/post things. *************** *** 220,224 **** inh.height = '20px'; ! inh.appendChild(tn('<?php echo $user->lang['post_message']; ?>: ')); el = null; --- 220,224 ---- inh.height = '20px'; ! inh.appendChild(tn('<?php echo $user->lang['POST_MESSAGE']; ?>: ')); el = null; *************** *** 256,260 **** var el = ce('input'); el.name = el.id = 'user'; ! el.value = el.defaultValue = '<?php echo $user->lang['post_message']; ?>'; el.type = 'button'; --- 256,260 ---- var el = ce('input'); el.name = el.id = 'user'; ! el.value = el.defaultValue = '<?php echo $user->lang['POST_MESSAGE']; ?>'; el.type = 'button'; *************** *** 278,287 **** this.disabled = false; document.getElementById('msg_txt').innerHTML = ''; ! document.getElementById('msg_txt').appendChild(tn('<?php echo $user->lang['sending']; ?>')); if (document.getElementById('bericht').value == '') { document.getElementById('msg_txt').innerHTML = ''; ! throw err_msg('<?php echo $user->lang['message_empty']; ?>'); } --- 278,287 ---- this.disabled = false; document.getElementById('msg_txt').innerHTML = ''; ! document.getElementById('msg_txt').appendChild(tn('<?php echo $user->lang['SENDING']; ?>')); if (document.getElementById('bericht').value == '') { document.getElementById('msg_txt').innerHTML = ''; ! throw err_msg('<?php echo $user->lang['MESSAGE_EMPTY']; ?>'); } *************** *** 310,314 **** { document.getElementById('msg_txt').innerHTML = ''; ! document.getElementById('msg_txt').appendChild(tn('<?php echo $user->lang['posted']; ?>')); setTimeout("document.getElementById('msg_txt').innerHTML = ''",3000); document.getElementById('post_message').style.display = 'block'; --- 310,314 ---- { document.getElementById('msg_txt').innerHTML = ''; ! document.getElementById('msg_txt').appendChild(tn('<?php echo $user->lang['POSTED']; ?>')); setTimeout("document.getElementById('msg_txt').innerHTML = ''",3000); document.getElementById('post_message').style.display = 'block'; *************** *** 362,366 **** el = ce('input') ! el.value = el.defaultValue = '<?php echo $user->lang['smilies']; ?>'; el.type = 'button'; el.className = 'button2 btnmain'; --- 362,366 ---- el = ce('input') ! el.value = el.defaultValue = '<?php echo $user->lang['SMILIES']; ?>'; el.type = 'button'; el.className = 'button2 btnmain'; *************** *** 380,384 **** smilies = true; document.getElementById('smilies').style.display = 'block'; ! document.getElementById('smilies').appendChild(tn('<?php echo $user->lang['loading']; ?>')); if (hsmilies.readyState == 4 || hsmilies.readyState == 0) { --- 380,384 ---- smilies = true; document.getElementById('smilies').style.display = 'block'; ! document.getElementById('smilies').appendChild(tn('<?php echo $user->lang['LOADING']; ?>')); if (hsmilies.readyState == 4 || hsmilies.readyState == 0) { *************** *** 565,569 **** } ?> ! post.appendChild(tn('<?php echo $user->lang['loading']; ?>')); basis.appendChild(post); --- 565,569 ---- } ?> ! post.appendChild(tn('<?php echo $user->lang['LOADING']; ?>')); basis.appendChild(post); *************** *** 702,706 **** default: { ! throw err_msg("<?php echo $user->lang['invalid_el']; ?>"+xml.childNodes[i].nodeName); } } --- 702,706 ---- default: { ! throw err_msg("<?php echo $user->lang['INVALID_EL']; ?>"+xml.childNodes[i].nodeName); } } *************** *** 1037,1041 **** if (!hin2.responseXML) { ! throw err_msg('<?php echo $user->lang['xml_er']; ?>'); } var xml = hin2.responseXML; --- 1037,1041 ---- if (!hin2.responseXML) { ! throw err_msg('<?php echo $user->lang['XML_ER']; ?>'); } var xml = hin2.responseXML; *************** *** 1068,1072 **** var posts = document.getElementById('msg'); posts.innerHTML = ''; ! posts.appendChild(tn('<?php echo $user->lang['no_message']; ?>')); } } --- 1068,1072 ---- var posts = document.getElementById('msg'); posts.innerHTML = ''; ! posts.appendChild(tn('<?php echo $user->lang['NO_MESSAGE']; ?>')); } } *************** *** 1086,1090 **** if (!hin.responseXML) { ! throw err_msg('<?php echo $user->lang['xml_er']; ?>'); return; } --- 1086,1090 ---- if (!hin.responseXML) { ! throw err_msg('<?php echo $user->lang['XML_ER']; ?>'); return; } *************** *** 1117,1121 **** var posts = document.getElementById('msg'); posts.innerHTML = ''; ! posts.appendChild(tn('<?php echo $user->lang['no_message']; ?>')); setTimeout('reload_post();',5000); return; --- 1117,1121 ---- var posts = document.getElementById('msg'); posts.innerHTML = ''; ! posts.appendChild(tn('<?php echo $user->lang['NO_MESSAGE']; ?>')); setTimeout('reload_post();',5000); return; *************** *** 1167,1171 **** { this.style.display = 'none'; ! if (confirm('<?php echo $user->lang['del_shout']; ?>')) { if (hdelete.readyState == 4 || hdelete.readyState == 0) --- 1167,1171 ---- { this.style.display = 'none'; ! if (confirm('<?php echo $user->lang['DEL_SHOUT']; ?>')) { if (hdelete.readyState == 4 || hdelete.readyState == 0) *************** *** 1190,1194 **** else { ! message('<?php echo $user->lang['msg_del_done']; ?>'); } setTimeout("document.getElementById('msg_txt').innerHTML = ''",3000); --- 1190,1194 ---- else { ! message('<?php echo $user->lang['MSG_DEL_DONE']; ?>'); } setTimeout("document.getElementById('msg_txt').innerHTML = ''",3000); *************** *** 1319,1323 **** if (!http_request) { ! throw err_msg('<?php echo $user->lang['no_ajax']; ?>'); } return http_request; --- 1319,1323 ---- if (!http_request) { ! throw err_msg('<?php echo $user->lang['NO_AJAX']; ?>'); } return http_request; *************** *** 1419,1423 **** if (!$id) { ! print "<error>" . $user->lang['no_shout_id'] . "</error></xml>"; die; } --- 1419,1423 ---- if (!$id) { ! print "<error>" . $user->lang['NO_SHOUT_ID'] . "</error></xml>"; die; } *************** *** 1471,1475 **** if ($row['last_post_time'] > 0 && ( $current_time - $row['last_post_time'] ) < $config['flood_interval']) { ! print "<error>" . $user->lang['flood_error'] . "</error></xml>"; die; } --- 1471,1475 ---- if ($row['last_post_time'] > 0 && ( $current_time - $row['last_post_time'] ) < $config['flood_interval']) { ! print "<error>" . $user->lang['FLOOD_ERROR'] . "</error></xml>"; die; } *************** *** 1485,1494 **** if (empty($message)) { ! print "<error>" . $user->lang['message_empty'] . "</error></xml>"; die; } else if (strpos($message, "[quote") !== false || strpos($message, "[code") !== false || strpos($message, "[list") !== false) { ! print "<error>" . $user->lang['no_quote'] . "</error></xml>"; die; } --- 1485,1494 ---- if (empty($message)) { ! print "<error>" . $user->lang['MESSAGE_EMPTY'] . "</error></xml>"; die; } else if (strpos($message, "[quote") !== false || strpos($message, "[code") !== false || strpos($message, "[list") !== false) { ! print "<error>" . $user->lang['NO_QUOTE'] . "</error></xml>"; die; } *************** *** 1515,1519 **** sql_error($sql, __LINE__, __FILE__); } ! print "<msg>" . $user->lang['posted'] . "</msg></xml>"; die; } --- 1515,1519 ---- sql_error($sql, __LINE__, __FILE__); } ! print "<msg>" . $user->lang['POSTED'] . "</msg></xml>"; die; } *************** *** 1570,1574 **** if (!sizeof($data)) { ! print "<error>" . $user->lang['no_message'] . "</error></xml>"; die; } --- 1570,1574 ---- if (!sizeof($data)) { ! print "<error>" . $user->lang['NO_MESSAGE'] . "</error></xml>"; die; } |
From: Paul S. <pau...@us...> - 2007-09-15 21:30:19
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3864 Modified Files: Tag: phpbb3_ver install.xml Log Message: Forgot this ones. Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.25 retrieving revision 1.19.2.26 diff -C2 -d -r1.19.2.25 -r1.19.2.26 *** install.xml 15 Sep 2007 21:25:49 -0000 1.19.2.25 --- install.xml 15 Sep 2007 21:30:19 -0000 1.19.2.26 *************** *** 114,117 **** --- 114,119 ---- <change>Lowered number of messages in IE</change> <change>Fixed table prefix in install file</change> + <change>Fixed a cookie bug</change> + <change>Change way for checking cdata blocks. Borrowed from cortex xml, written by Vic</change> </changelog> </entry> |
From: Paul S. <pau...@us...> - 2007-09-15 21:26:22
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2046 Modified Files: Tag: phpbb3_ver install.xml modx.prosilver.en.xsl Log Message: You dont see this comment, didnt you? Some small changes, for next release (1.0.x, when MOD is denied, or later for 1.2.x). Not really special changes. Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.24 retrieving revision 1.19.2.25 diff -C2 -d -r1.19.2.24 -r1.19.2.25 *** install.xml 4 Aug 2007 14:37:26 -0000 1.19.2.24 --- install.xml 15 Sep 2007 21:25:49 -0000 1.19.2.25 *************** *** 15,19 **** <realname>Paul Sohier</realname> <email>mo...@pa...</email> ! <username>paul999</username> <homepage>http://www.paulscripts.nl/</homepage> <contributions /> --- 15,19 ---- <realname>Paul Sohier</realname> <email>mo...@pa...</email> ! <username>paul</username> <homepage>http://www.paulscripts.nl/</homepage> <contributions /> *************** *** 23,27 **** <major>0</major> <minor>0</minor> ! <revision>4</revision> </mod-version> <installation> --- 23,27 ---- <major>0</major> <minor>0</minor> ! <revision>5</revision> </mod-version> <installation> *************** *** 29,33 **** <time>424</time> <target-version> ! <target-primary>3.0.RC4</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> --- 29,33 ---- <time>424</time> <target-version> ! <target-primary>3.0.RC5</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> *************** *** 101,109 **** </changelog> </entry> </history> <meta name="generator" content="Phpbb.ModTeam.Tools (c#)" /> </header> <action-group> ! <sql>CREATE TABLE ajax_shout3_shoutbox ( shout_id int(11) unsigned NOT NULL auto_increment, shout_user_id mediumint(8) NOT NULL, --- 101,124 ---- </changelog> </entry> + + <entry> + <date>xxx-xx-xx</date> + <rev-version> + <major>0</major> + <minor>0</minor> + <revision>5</revision> + </rev-version> + <changelog lang="en"> + <change>Adding $phpbb_root_path to append_sid calls</change> + <change>Use big number for messages in opera</change> + <change>Lowered number of messages in IE</change> + <change>Fixed table prefix in install file</change> + </changelog> + </entry> </history> <meta name="generator" content="Phpbb.ModTeam.Tools (c#)" /> </header> <action-group> ! <sql>CREATE TABLE phpbb_shoutbox ( shout_id int(11) unsigned NOT NULL auto_increment, shout_user_id mediumint(8) NOT NULL, |
From: Paul S. <pau...@us...> - 2007-09-15 21:26:22
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2046/root Modified Files: Tag: phpbb3_ver ajax.php Log Message: You dont see this comment, didnt you? Some small changes, for next release (1.0.x, when MOD is denied, or later for 1.2.x). Not really special changes. Index: ajax.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/ajax.php,v retrieving revision 1.21.2.27 retrieving revision 1.21.2.28 diff -C2 -d -r1.21.2.27 -r1.21.2.28 *** ajax.php 11 Aug 2007 10:20:36 -0000 1.21.2.27 --- ajax.php 15 Sep 2007 21:25:49 -0000 1.21.2.28 *************** *** 17,22 **** $phpEx = substr(strrchr(__FILE__, '.'), 1); - define('CORTEX_PATH', $phpbb_root_path); // To lazy to change cortex <3 - include ($phpbb_root_path . 'common.' . $phpEx); --- 17,20 ---- *************** *** 58,62 **** // Define the number of printed shouts. // This is difference in IE as in other browsers ;) ! if (strpos($_SERVER["HTTP_USER_AGENT"], 'MSIE') === false) { $shout_number = 20; --- 56,60 ---- // Define the number of printed shouts. // This is difference in IE as in other browsers ;) ! if (strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), 'msie') === false || strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), 'opera') !== false) { $shout_number = 20; *************** *** 64,68 **** else { ! $shout_number = 10; } --- 62,66 ---- else { ! $shout_number = 5; } *************** *** 292,296 **** // Lets got some nice things :D ! huit.open('POST','<?php echo append_sid('ajax.' . $phpEx , 'm=add', false)?>&rand='+Math.floor(Math.random() * 1000000),true); huit.onreadystatechange = function() --- 290,294 ---- // Lets got some nice things :D ! huit.open('POST','<?php echo append_sid("{$phpbb_root_path}ajax." . $phpEx , 'm=add', false)?>&rand='+Math.floor(Math.random() * 1000000),true); huit.onreadystatechange = function() *************** *** 387,391 **** // Lets got some nice things :D ! hsmilies.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=smilie', false)?>&rand='+Math.floor(Math.random() * 1000000),true); hsmilies.onreadystatechange = function() --- 385,389 ---- // Lets got some nice things :D ! hsmilies.open('GET','<?php echo append_sid("{$phpbb_root_path}ajax." . $phpEx , 'm=smilie', false)?>&rand='+Math.floor(Math.random() * 1000000),true); hsmilies.onreadystatechange = function() *************** *** 799,803 **** // Lets got some nice things :D ! hnr.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=nr', false)?>&rand='+Math.floor(Math.random() * 1000000),true); hnr.onreadystatechange = function() --- 797,801 ---- // Lets got some nice things :D ! hnr.open('GET','<?php echo append_sid("{$phpbb_root_path}ajax." . $phpEx , 'm=nr', false)?>&rand='+Math.floor(Math.random() * 1000000),true); hnr.onreadystatechange = function() *************** *** 1030,1034 **** if (hin2.readyState == 4 || hin2.readyState == 0) { ! hin2.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=check', false)?>&last=' + last + '&rand='+Math.floor(Math.random() * 1000000),true); hin2.onreadystatechange = function() { --- 1028,1032 ---- if (hin2.readyState == 4 || hin2.readyState == 0) { ! hin2.open('GET','<?php echo append_sid("{$phpbb_root_path}ajax." . $phpEx , 'm=check', false)?>&last=' + last + '&rand='+Math.floor(Math.random() * 1000000),true); hin2.onreadystatechange = function() { *************** *** 1079,1083 **** last = xml.getElementsByTagName('last')[0].childNodes[0].nodeValue; // Lets got some nice things :D ! hin.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=view', false)?>&start=' + count + '&rand='+Math.floor(Math.random() * 1000000),true); hin.onreadystatechange = function() { --- 1077,1081 ---- last = xml.getElementsByTagName('last')[0].childNodes[0].nodeValue; // Lets got some nice things :D ! hin.open('GET','<?php echo append_sid("{$phpbb_root_path}ajax." . $phpEx , 'm=view', false)?>&start=' + count + '&rand='+Math.floor(Math.random() * 1000000),true); hin.onreadystatechange = function() { *************** *** 1174,1178 **** { // Lets got some nice things :D ! hdelete.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=delete', false)?>&id=' + this.post_id + '&rand='+Math.floor(Math.random() * 1000000),true); hdelete.onreadystatechange = function() --- 1172,1176 ---- { // Lets got some nice things :D ! hdelete.open('GET','<?php echo append_sid("{$phpbb_root_path}ajax." . $phpEx , 'm=delete', false)?>&id=' + this.post_id + '&rand='+Math.floor(Math.random() * 1000000),true); hdelete.onreadystatechange = function() *************** *** 1614,1618 **** break; } ! if (in_array($mode,$ajax_m)) { print "<error></error>"; --- 1612,1616 ---- break; } ! if (in_array($mode, $ajax_m)) { print "<error></error>"; *************** *** 1627,1633 **** * @return string */ ! function xml($txt) { ! return "<![CDATA[$txt]]>"; } --- 1625,1653 ---- * @return string */ ! function xml($content) { ! $contents = utf8_encode(trim($contents)); ! ! if ( preg_match('/\<(.*?)\>/xsi', $contents) ) ! { ! $contents = preg_replace('/\<script[\s]+(.*)\>(.*)\<\/script\>/xsi', '', $contents); ! } ! ! if (!(strpos($contents, '>') === false) || !(strpos($contents, '<') === false) || !(strpos($contents, '&') === false)) ! { ! // CDATA doesn't let you use ']]>' so fall back to WriteString ! if (!(strpos($contents, ']]>') === false)) ! { ! return htmlspecialchars($contents); ! } ! else ! { ! return '<![CDATA[' . $contents . ']]>'; ! } ! } ! else ! { ! return htmlspecialchars($contents); ! } } |
From: Paul S. <pau...@us...> - 2007-08-11 10:20:38
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30865 Modified Files: Tag: phpbb3_ver ajax.php Log Message: Fixed cookie bug Index: ajax.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/ajax.php,v retrieving revision 1.21.2.26 retrieving revision 1.21.2.27 diff -C2 -d -r1.21.2.26 -r1.21.2.27 *** ajax.php 4 Aug 2007 14:16:07 -0000 1.21.2.26 --- ajax.php 11 Aug 2007 10:20:36 -0000 1.21.2.27 *************** *** 292,296 **** // Lets got some nice things :D ! huit.open('POST','<?php echo append_sid('ajax.' . $phpEx . '?m=add', true)?>&rand='+Math.floor(Math.random() * 1000000),true); huit.onreadystatechange = function() --- 292,296 ---- // Lets got some nice things :D ! huit.open('POST','<?php echo append_sid('ajax.' . $phpEx , 'm=add', false)?>&rand='+Math.floor(Math.random() * 1000000),true); huit.onreadystatechange = function() *************** *** 387,391 **** // Lets got some nice things :D ! hsmilies.open('GET','<?php echo append_sid('ajax.' . $phpEx . '?m=smilie', true)?>&rand='+Math.floor(Math.random() * 1000000),true); hsmilies.onreadystatechange = function() --- 387,391 ---- // Lets got some nice things :D ! hsmilies.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=smilie', false)?>&rand='+Math.floor(Math.random() * 1000000),true); hsmilies.onreadystatechange = function() *************** *** 799,803 **** // Lets got some nice things :D ! hnr.open('GET','<?php echo append_sid('ajax.' . $phpEx . '?m=nr', true)?>&rand='+Math.floor(Math.random() * 1000000),true); hnr.onreadystatechange = function() --- 799,803 ---- // Lets got some nice things :D ! hnr.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=nr', false)?>&rand='+Math.floor(Math.random() * 1000000),true); hnr.onreadystatechange = function() *************** *** 1030,1034 **** if (hin2.readyState == 4 || hin2.readyState == 0) { ! hin2.open('GET','<?php echo append_sid('ajax.' . $phpEx . '?m=check', true)?>&last=' + last + '&rand='+Math.floor(Math.random() * 1000000),true); hin2.onreadystatechange = function() { --- 1030,1034 ---- if (hin2.readyState == 4 || hin2.readyState == 0) { ! hin2.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=check', false)?>&last=' + last + '&rand='+Math.floor(Math.random() * 1000000),true); hin2.onreadystatechange = function() { *************** *** 1079,1083 **** last = xml.getElementsByTagName('last')[0].childNodes[0].nodeValue; // Lets got some nice things :D ! hin.open('GET','<?php echo append_sid('ajax.' . $phpEx . '?m=view', true)?>&start=' + count + '&rand='+Math.floor(Math.random() * 1000000),true); hin.onreadystatechange = function() { --- 1079,1083 ---- last = xml.getElementsByTagName('last')[0].childNodes[0].nodeValue; // Lets got some nice things :D ! hin.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=view', false)?>&start=' + count + '&rand='+Math.floor(Math.random() * 1000000),true); hin.onreadystatechange = function() { *************** *** 1174,1178 **** { // Lets got some nice things :D ! hdelete.open('GET','<?php echo append_sid('ajax.' . $phpEx . '?m=delete', true)?>&id=' + this.post_id + '&rand='+Math.floor(Math.random() * 1000000),true); hdelete.onreadystatechange = function() --- 1174,1178 ---- { // Lets got some nice things :D ! hdelete.open('GET','<?php echo append_sid('ajax.' . $phpEx , 'm=delete', false)?>&id=' + this.post_id + '&rand='+Math.floor(Math.random() * 1000000),true); hdelete.onreadystatechange = function() *************** *** 1504,1508 **** 'shout_text' => $message, 'shout_bbcode_uid' => $uid, ! 'shout_bbcode_bitfield' => $bitfield, 'shout_bbcode_flags' => $options, 'shout_time' => time(), --- 1504,1508 ---- 'shout_text' => $message, 'shout_bbcode_uid' => $uid, ! 'shout_bbcode_bitfield' => $bitfield, 'shout_bbcode_flags' => $options, 'shout_time' => time(), |
From: Paul S. <pau...@us...> - 2007-08-04 14:37:26
|
Update of /cvsroot/paulscriptsmods/ajax_shout/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30309/templates Modified Files: Tag: phpbb3_ver prosilver.xml subsilver2.xml Log Message: ... Index: prosilver.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/templates/Attic/prosilver.xml,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** prosilver.xml 4 Aug 2007 14:35:12 -0000 1.1.2.3 --- prosilver.xml 4 Aug 2007 14:37:26 -0000 1.1.2.4 *************** *** 6,12 **** <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> ! <title lang="en-gb">Ajax ShoutBox</title> ! <description lang="en-gb">This mod add a shoutbox to your forum index.</description> ! <author-notes lang="en-gb">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> --- 6,12 ---- <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> ! <title lang="en">Ajax ShoutBox</title> ! <description lang="en">This mod add a shoutbox to your forum index.</description> ! <author-notes lang="en">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> *************** *** 21,27 **** </author-group> <mod-version> ! <major>1</major> <minor>0</minor> ! <revision>0</revision> </mod-version> <installation> --- 21,27 ---- </author-group> <mod-version> ! <major>0</major> <minor>0</minor> ! <revision>4</revision> </mod-version> <installation> *************** *** 29,33 **** <time>100</time> <target-version> ! <target-primary>3.0.RC3</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> --- 29,33 ---- <time>100</time> <target-version> ! <target-primary>3.0.RC4</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> Index: subsilver2.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/templates/Attic/subsilver2.xml,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** subsilver2.xml 4 Aug 2007 14:29:04 -0000 1.1.2.2 --- subsilver2.xml 4 Aug 2007 14:37:26 -0000 1.1.2.3 *************** *** 6,12 **** <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> ! <title lang="en-gb">Ajax ShoutBox</title> ! <description lang="en-gb">This mod add a shoutbox to your forum index.</description> ! <author-notes lang="en-gb">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> --- 6,12 ---- <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> ! <title lang="en">Ajax ShoutBox</title> ! <description lang="en">This mod add a shoutbox to your forum index.</description> ! <author-notes lang="en">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> *************** *** 23,27 **** <major>0</major> <minor>0</minor> ! <revision>3</revision> </mod-version> <installation> --- 23,27 ---- <major>0</major> <minor>0</minor> ! <revision>4</revision> </mod-version> <installation> *************** *** 29,33 **** <time>100</time> <target-version> ! <target-primary>3.0.RC3</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> --- 29,33 ---- <time>100</time> <target-version> ! <target-primary>3.0.RC4</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> |
From: Paul S. <pau...@us...> - 2007-08-04 14:37:25
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30309 Modified Files: Tag: phpbb3_ver install.xml Log Message: ... Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.23 retrieving revision 1.19.2.24 diff -C2 -d -r1.19.2.23 -r1.19.2.24 *** install.xml 4 Aug 2007 14:34:19 -0000 1.19.2.23 --- install.xml 4 Aug 2007 14:37:26 -0000 1.19.2.24 *************** *** 21,27 **** </author-group> <mod-version> ! <major>1</major> <minor>0</minor> ! <revision>0</revision> </mod-version> <installation> --- 21,27 ---- </author-group> <mod-version> ! <major>0</major> <minor>0</minor> ! <revision>4</revision> </mod-version> <installation> *************** *** 91,97 **** <date>2007-08-04</date> <rev-version> ! <major>1</major> <minor>0</minor> ! <revision>0</revision> </rev-version> <changelog lang="en"> --- 91,97 ---- <date>2007-08-04</date> <rev-version> ! <major>0</major> <minor>0</minor> ! <revision>4</revision> </rev-version> <changelog lang="en"> |
From: Paul S. <pau...@us...> - 2007-08-04 14:35:10
|
Update of /cvsroot/paulscriptsmods/ajax_shout/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29560 Modified Files: Tag: phpbb3_ver prosilver.xml Log Message: grrr Index: prosilver.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/templates/Attic/prosilver.xml,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** prosilver.xml 4 Aug 2007 14:29:04 -0000 1.1.2.2 --- prosilver.xml 4 Aug 2007 14:35:12 -0000 1.1.2.3 *************** *** 21,27 **** </author-group> <mod-version> ! <major>0</major> <minor>0</minor> ! <revision>3</revision> </mod-version> <installation> --- 21,27 ---- </author-group> <mod-version> ! <major>1</major> <minor>0</minor> ! <revision>0</revision> </mod-version> <installation> |
From: Paul S. <pau...@us...> - 2007-08-04 14:34:22
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29187 Modified Files: Tag: phpbb3_ver install.xml Log Message: You didnt see this. Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.22 retrieving revision 1.19.2.23 diff -C2 -d -r1.19.2.22 -r1.19.2.23 *** install.xml 4 Aug 2007 14:29:04 -0000 1.19.2.22 --- install.xml 4 Aug 2007 14:34:19 -0000 1.19.2.23 *************** *** 21,27 **** </author-group> <mod-version> ! <major>0</major> <minor>0</minor> ! <revision>4</revision> </mod-version> <installation> --- 21,27 ---- </author-group> <mod-version> ! <major>1</major> <minor>0</minor> ! <revision>0</revision> </mod-version> <installation> *************** *** 91,97 **** <date>2007-08-04</date> <rev-version> ! <major>0</major> <minor>0</minor> ! <revision>4</revision> </rev-version> <changelog lang="en"> --- 91,97 ---- <date>2007-08-04</date> <rev-version> ! <major>1</major> <minor>0</minor> ! <revision>0</revision> </rev-version> <changelog lang="en"> |
From: Paul S. <pau...@us...> - 2007-08-04 14:29:08
|
Update of /cvsroot/paulscriptsmods/ajax_shout/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26891/templates Modified Files: Tag: phpbb3_ver prosilver.xml subsilver2.xml Log Message: More updates. (MODX 1.0.1) Index: prosilver.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/templates/Attic/prosilver.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** prosilver.xml 20 Jul 2007 12:09:21 -0000 1.1.2.1 --- prosilver.xml 4 Aug 2007 14:29:04 -0000 1.1.2.2 *************** *** 3,7 **** <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> <!-- $Id --> ! <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.xsd"> <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> --- 3,7 ---- <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> <!-- $Id --> ! <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> Index: subsilver2.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/templates/Attic/subsilver2.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** subsilver2.xml 20 Jul 2007 12:09:21 -0000 1.1.2.1 --- subsilver2.xml 4 Aug 2007 14:29:04 -0000 1.1.2.2 *************** *** 3,7 **** <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> <!-- $Id --> ! <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.xsd"> <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> --- 3,7 ---- <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> <!-- $Id --> ! <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> |
From: Paul S. <pau...@us...> - 2007-08-04 14:29:05
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26891 Modified Files: Tag: phpbb3_ver install.xml modx.prosilver.en.xsl Log Message: More updates. (MODX 1.0.1) Index: modx.prosilver.en.xsl =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/Attic/modx.prosilver.en.xsl,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** modx.prosilver.en.xsl 28 May 2007 10:20:13 -0000 1.1.2.3 --- modx.prosilver.en.xsl 4 Aug 2007 14:29:04 -0000 1.1.2.4 *************** *** 1,9 **** ! <?xml version="1.0" encoding="UTF-8" ?> ! <!-- MODX by the phpBB MOD Team XSL file v1.0 copyright 2005-2007 the phpBB MOD Team. $Id$ --> <!DOCTYPE xsl:stylesheet[ <!ENTITY nbsp " "> ]> ! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:mod="http://www.phpbb.com/mods/xml/modx-1.0.xsd"> <xsl:output method="html" omit-xml-declaration="no" indent="yes" /> <xsl:variable name="title" select="mod:mod/mod:header/mod:title" /> --- 1,9 ---- ! <?xml version="1.0" encoding="utf-8" ?> ! <!-- MODX by the phpBB MOD Team XSL file v1.0.1 copyright 2005-2007 the phpBB MOD Team. $Id$ --> <!DOCTYPE xsl:stylesheet[ <!ENTITY nbsp " "> ]> ! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:mod="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <xsl:output method="html" omit-xml-declaration="no" indent="yes" /> <xsl:variable name="title" select="mod:mod/mod:header/mod:title" /> *************** *** 14,17 **** --- 14,18 ---- </xsl:for-each> </xsl:variable> + <xsl:template match="mod:mod"> <html xmlns="http://www.w3.org/1999/xhtml"> *************** *** 449,452 **** --- 450,454 ---- <script type="text/javascript"> + var i = 0; var box = new Array(); *************** *** 482,485 **** --- 484,488 ---- var opens = 0; var opens_ll = new Array(); + <xsl:for-each select="mod:action-group/mod:open"> opens_ll[opens] = '<xsl:value-of select="generate-id()"/>'; *************** *** 524,527 **** --- 527,531 ---- <xsl:for-each select="mod:action-group/mod:open/mod:edit"> <xsl:for-each select="mod:find"> + finds_ll[finds] = '<xsl:value-of select="generate-id()"/>'; finds++; *************** *** 536,539 **** --- 540,544 ---- </xsl:if> <xsl:for-each select="mod:find|mod:action"> + box[codes] = '<xsl:value-of select="generate-id()"/>'; codes_ll[codes] = '<xsl:value-of select="generate-id()"/>'; *************** *** 549,552 **** --- 554,558 ---- addbefores++; </xsl:if> + <xsl:if test="@type = 'replace-with'"> replacewiths_ll[replacewiths] = '<xsl:value-of select="generate-id()"/>'; *************** *** 560,563 **** --- 566,570 ---- </xsl:for-each> + <xsl:for-each select="mod:inline-edit"> <xsl:for-each select="mod:inline-find"> *************** *** 575,578 **** --- 582,586 ---- <xsl:if test="name() = 'inline-action'"> + <xsl:if test="@type = 'after-add'"> iaddafters_ll[iaddafters] = '<xsl:value-of select="generate-id()"/>'; *************** *** 587,590 **** --- 595,599 ---- ireplacewiths++; </xsl:if> + <xsl:if test="@type = 'operation'"> iincrements_ll[iincrements] = '<xsl:value-of select="generate-id()"/>'; *************** *** 601,604 **** --- 610,614 ---- codes_ll[codes] = '<xsl:value-of select="generate-id()"/>'; codes++; + </xsl:for-each> *************** *** 631,635 **** "ile=Easy\n" + "ili=Intermediate\n" + ! "ilh=Hard\n" + "au=Author\n" + "aus=Authors\n" + --- 641,645 ---- "ile=Easy\n" + "ili=Intermediate\n" + ! "ila=Advanced\n" + "au=Author\n" + "aus=Authors\n" + *************** *** 1016,1038 **** return; } ! var r, s; ! if( document.selection && !SXBB_IsIEMac() ) { ! // Works on: IE5+ ! // To be confirmed: IE4? / IEMac fails? ! r = document.body.createTextRange(); ! r.moveToElementText(o); ! r.select(); } ! else if( document.createRange && (document.getSelection || window.getSelection) ) { ! // Works on: Netscape/Mozilla/Konqueror/Safari ! // To be confirmed: Konqueror/Safari use window.getSelection ? ! r = document.createRange(); r.selectNodeContents(o); - s = window.getSelection ? window.getSelection() : document.getSelection(); s.removeAllRanges(); s.addRange(r); } find_selected(id); --- 1026,1064 ---- return; } ! ! // Not IE ! if (window.getSelection) { ! var s = window.getSelection(); ! // Safari ! if (s.setBaseAndExtent) ! { ! s.setBaseAndExtent(o, 0, o, o.innerText.length - 1); ! } ! // Firefox and Opera ! else ! { ! var r = document.createRange(); ! r.selectNodeContents(o); ! s.removeAllRanges(); ! s.addRange(r); ! } } ! // Some older browsers ! else if (document.getSelection) { ! var s = document.getSelection(); ! var r = document.createRange(); r.selectNodeContents(o); s.removeAllRanges(); s.addRange(r); } + // IE + else if (document.selection) + { + var r = document.body.createTextRange(); + r.moveToElementText(o); + r.select(); + } find_selected(id); *************** *** 1123,1126 **** --- 1149,1153 ---- </script> <title>phpBB MOD » <xsl:value-of select="$title" /></title> + </head> <body class="ltr" onload="startup()"> *************** *** 1130,1133 **** --- 1157,1161 ---- <h1><span id="lang-h1">Installation Instructions for </span>'<xsl:value-of select="$title" />' <span id="lang-V">Version </span><xsl:value-of select="$version" /></h1> <form method="post" action="" id="lang-selector" style="display: none;"> + <fieldset class="nobg"> <label for="language"> *************** *** 1138,1141 **** --- 1166,1170 ---- </select> </fieldset> + </form> </div> *************** *** 1147,1150 **** --- 1176,1180 ---- </span> <div id="content"> + <div id="main"> <fieldset class="permissions" id="perm00"> *************** *** 1156,1159 **** --- 1186,1190 ---- <fieldset class="permissions" id="Fieldset1"> <xsl:for-each select="mod:action-group"> + <xsl:call-template name="give-actions"></xsl:call-template> </xsl:for-each> *************** *** 1173,1176 **** --- 1204,1208 ---- </div> </div> + <div id="page-footer"> <p class="copyright" style="text-align: center; font-size: 10px;" id="lang-foot">MOD UA XSLT File Copyright © 2007 The phpBB Group, this MOD is copyright to the authors listed above.</p> *************** *** 1182,1185 **** --- 1214,1218 ---- <xsl:template name="give-header"> <h2 id="lang-atm">About this MOD</h2> + <dl> <dt id="lang-t">Title:</dt> *************** *** 1190,1193 **** --- 1223,1227 ---- <dl id="title"> <xsl:for-each select="mod:title"> + <dt> <xsl:value-of select="@lang" /> *************** *** 1199,1202 **** --- 1233,1237 ---- </dl> </xsl:if> + <xsl:if test="count(mod:title) = 1"><p lang="{@lang}" style='white-space:pre;'><xsl:value-of select="mod:title" /></p></xsl:if> <span class="corners-bottom"><span></span></span> *************** *** 1207,1219 **** <div class="inner"> <span class="corners-top"><span></span></span> <xsl:if test="count(mod:description) > 1"> <dl id="description"> <xsl:for-each select="mod:description"> <dt><xsl:value-of select="@lang" /></dt> ! <dd style='white-space:pre;' lang="{@lang}"><p> <xsl:call-template name="add-line-breaks"> <xsl:with-param name="string"> <xsl:value-of select="current()" /> </xsl:with-param> </xsl:call-template> </p> --- 1242,1256 ---- <div class="inner"> <span class="corners-top"><span></span></span> + <xsl:if test="count(mod:description) > 1"> <dl id="description"> <xsl:for-each select="mod:description"> <dt><xsl:value-of select="@lang" /></dt> ! <dd lang="{@lang}"><p> <xsl:call-template name="add-line-breaks"> <xsl:with-param name="string"> <xsl:value-of select="current()" /> </xsl:with-param> + </xsl:call-template> </p> *************** *** 1225,1228 **** --- 1262,1266 ---- <p lang="{@lang}" style='white-space:pre;'> <xsl:call-template name="add-line-breaks"> + <xsl:with-param name="string"> <xsl:value-of select="mod:description" /> *************** *** 1234,1237 **** --- 1272,1276 ---- </div> </dd> + <dt id="lang-aV">Version:</dt> <dd class="mod-about"> *************** *** 1242,1245 **** --- 1281,1285 ---- <xsl:call-template name="give-version"></xsl:call-template> </xsl:for-each> + </p> <span class="corners-bottom"><span></span></span> *************** *** 1251,1254 **** --- 1291,1295 ---- </dl> <xsl:for-each select="mod:author-group"> + <xsl:if test="count(mod:author) > 1"><h3 id="lang-aus">Authors</h3></xsl:if> <xsl:if test="count(mod:author) = 1"><h3 id="lang-au">Author</h3></xsl:if> *************** *** 1258,1261 **** --- 1299,1303 ---- <xsl:for-each select="../mod:action-group"> <xsl:call-template name="give-files-to-edit"></xsl:call-template> + </xsl:for-each> <h3 id="lang-icf">Included Files</h3> *************** *** 1266,1269 **** --- 1308,1312 ---- <xsl:call-template name="give-files-included"></xsl:call-template> </xsl:for-each> + <hr /> <div id="modDisclaimer"> *************** *** 1274,1277 **** --- 1317,1321 ---- <span></span> </span> + <p> <span id="lang-dclt">For security purposes, please check: <a href="http://www.phpbb.com/mods/">http://www.phpbb.com/mods/</a> for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered in our MODs database, located at: <a href="http://www.phpbb.com/mods/">http://www.phpbb.com/mods/</a></span> *************** *** 1280,1283 **** --- 1324,1328 ---- <span></span> </span> + </div> </div> *************** *** 1288,1291 **** --- 1333,1337 ---- <span class="corners-top"> <span></span> + </span> <xsl:if test="count(mod:author-notes) > 1"> *************** *** 1297,1300 **** --- 1343,1347 ---- <dd lang="{@lang}"> <xsl:call-template name="add-line-breaks"> + <xsl:with-param name="string"> <xsl:value-of select="current()" /> *************** *** 1306,1309 **** --- 1353,1357 ---- </xsl:if> <xsl:if test="count(mod:author-notes) = 1"> + <xsl:call-template name="add-line-breaks"> <xsl:with-param name="string"> *************** *** 1315,1318 **** --- 1363,1367 ---- <span></span> </span> + </div> </div> *************** *** 1323,1326 **** --- 1372,1376 ---- <h3 id="lang-lic">License</h3> <div class="mod-about"> + <div class="inner"> <span class="corners-top"><span></span></span> *************** *** 1331,1334 **** --- 1381,1385 ---- <span class="corners-bottom"><span></span></span> </div> + </div> <h3 id="lang-ont">Other Notes</h3> *************** *** 1339,1347 **** </span> <p><span id="lang-ontt1">Before adding this MOD to your forum, you should back up all files related to this MOD</span></p> <p> <span id="lang-ontt2">This MOD was designed for phpBB</span><xsl:value-of select="mod:installation/mod:target-version/mod:target-primary" /><span id="lang-ontt3"> and may not function as stated on other phpBB versions. MODs for phpBB3.0 will <strong>not</strong> work on phpBB2.0 and vice versa.</span> </p> ! <xsl:if test="./mod:mod-version/mod:minor mod 2 != 0 or ./mod:mod-version/mod:major = 0"> <p> <strong class="red"> <span id="lang-onttq">This MOD is development quality. It is not recommended that you install it on a live forum.</span> --- 1390,1401 ---- </span> <p><span id="lang-ontt1">Before adding this MOD to your forum, you should back up all files related to this MOD</span></p> + <p> <span id="lang-ontt2">This MOD was designed for phpBB</span><xsl:value-of select="mod:installation/mod:target-version/mod:target-primary" /><span id="lang-ontt3"> and may not function as stated on other phpBB versions. MODs for phpBB3.0 will <strong>not</strong> work on phpBB2.0 and vice versa.</span> </p> ! <xsl:for-each select="./mod:mod-version"> ! <xsl:if test="mod:minor mod 2 != 0 or mod:major = 0 or (@stage != '' and @stage != 'stable')"> <p> + <strong class="red"> <span id="lang-onttq">This MOD is development quality. It is not recommended that you install it on a live forum.</span> *************** *** 1349,1354 **** --- 1403,1410 ---- </p> </xsl:if> + </xsl:for-each> <span class="corners-bottom"> <span></span> + </span> </div> *************** *** 1360,1363 **** --- 1416,1420 ---- <div class="mod-about"> <div class="inner"> + <span class="corners-top"> <span></span> *************** *** 1369,1372 **** --- 1426,1430 ---- <span></span> </span> + </div> </div> *************** *** 1378,1381 **** --- 1436,1440 ---- <div class="mod-about"> <div class="inner"> + <span class="corners-top"><span></span></span> <xsl:call-template name="give-author"></xsl:call-template> *************** *** 1387,1390 **** --- 1446,1450 ---- <xsl:template name="give-author"> <dl class="author-info"> + <dt id="lang-a-un[{generate-id()}]">Username:</dt> <dd> *************** *** 1395,1398 **** --- 1455,1459 ---- <xsl:if test="mod:email != 'N/A' and mod:email != 'n/a' and mod:email != ''"> <dt id="lang-a-e[{generate-id()}]">Email:</dt> + <dd> <a href="mailto:{mod:email}"> *************** *** 1403,1406 **** --- 1464,1468 ---- <dt id="lang-a-n[{generate-id()}]">Name:</dt> <dd> + <xsl:value-of select="mod:realname" /> </dd> *************** *** 1411,1414 **** --- 1473,1477 ---- <xsl:value-of select="mod:homepage" /> </a> + </dd> </xsl:if> *************** *** 1416,1420 **** <br /> </xsl:template> ! <xsl:template name="give-version"><xsl:value-of select="concat(mod:major, '.', mod:minor, '.', mod:revision, mod:release)" /></xsl:template> <xsl:template name="give-installation"> <dt id="lang-il">Installation Level:</dt> --- 1479,1500 ---- <br /> </xsl:template> ! <xsl:template name="give-version"> ! <xsl:choose> ! <xsl:when test="@stage = 'beta'"> ! <xsl:value-of select="concat(mod:major, '.', mod:minor, ' ', 'Beta ', mod:revision, mod:release)" /> ! ! </xsl:when> ! <xsl:when test="@stage = 'alpha'"> ! <xsl:value-of select="concat(mod:major, '.', mod:minor, ' ', 'Alpha ', mod:revision, mod:release)" /> ! </xsl:when> ! <xsl:when test="@stage = 'release-candidate'"> ! <xsl:value-of select="concat(mod:major, '.', mod:minor, ' ', 'RC', mod:revision, mod:release)" /> ! </xsl:when> ! <xsl:otherwise> ! <xsl:value-of select="concat(mod:major, '.', mod:minor, '.', mod:revision, mod:release)" /> ! ! </xsl:otherwise> ! </xsl:choose> ! </xsl:template> <xsl:template name="give-installation"> <dt id="lang-il">Installation Level:</dt> *************** *** 1422,1432 **** <div class="inner"> <span class="corners-top"><span></span></span> <xsl:if test="mod:level='easy'"><p id="lang-ile">Easy</p></xsl:if> <xsl:if test="mod:level='intermediate'"><p id="lang-ili">Intermediate</p></xsl:if> ! <xsl:if test="mod:level='hard'"><p id="lang-ilh">Hard</p></xsl:if> <span class="corners-bottom"><span></span></span> </div> </dd> <dt id="lang-it">Installation Time:</dt> <dd class="mod-about"> <div class="inner"> --- 1502,1514 ---- <div class="inner"> <span class="corners-top"><span></span></span> + <xsl:if test="mod:level='easy'"><p id="lang-ile">Easy</p></xsl:if> <xsl:if test="mod:level='intermediate'"><p id="lang-ili">Intermediate</p></xsl:if> ! <xsl:if test="mod:level='advanced'"><p id="lang-ila">Advanced</p></xsl:if> <span class="corners-bottom"><span></span></span> </div> </dd> <dt id="lang-it">Installation Time:</dt> + <dd class="mod-about"> <div class="inner"> *************** *** 1436,1439 **** --- 1518,1522 ---- <span></span> </span> + </div> </dd> *************** *** 1444,1447 **** --- 1527,1531 ---- <dl> <xsl:for-each select="mod:entry"> + <xsl:call-template name="give-history-entry"></xsl:call-template> </xsl:for-each> *************** *** 1453,1456 **** --- 1537,1541 ---- <div class="inner"><span class="corners-top"><span></span></span> <dt><p><strong><xsl:value-of select="substring(mod:date,1,10)" /><span id="lang-mhe-v[{generate-id()}]"> - Version </span><xsl:for-each select="mod:rev-version"><xsl:call-template name="give-version"></xsl:call-template></xsl:for-each></strong></p></dt> + <dd> <xsl:if test="count(mod:changelog) > 1"> *************** *** 1462,1465 **** --- 1547,1551 ---- </xsl:if> <xsl:if test="count(mod:changelog) = 1"> + <xsl:for-each select="mod:changelog"> <xsl:call-template name="give-history-entry-changelog-single"></xsl:call-template> *************** *** 1471,1474 **** --- 1557,1561 ---- </xsl:template> <xsl:template name="give-history-entry-changelog"> + <dt><xsl:value-of select="@lang" /></dt> <dd lang="{@lang}"> *************** *** 1480,1483 **** --- 1567,1571 ---- </dd> </xsl:template> + <xsl:template name="give-history-entry-changelog-single"> <ul> *************** *** 1489,1492 **** --- 1577,1581 ---- <xsl:template name="give-files-to-edit"> <ul> + <xsl:for-each select="mod:open"> <xsl:call-template name="give-file"></xsl:call-template> *************** *** 1498,1501 **** --- 1587,1591 ---- <xsl:for-each select="mod:copy"> <xsl:call-template name="give-file-copy"></xsl:call-template> + </xsl:for-each> </ul> *************** *** 1506,1509 **** --- 1596,1600 ---- <xsl:if test="position()!=last()">,</xsl:if> </li> + </xsl:template> <xsl:template name="give-file-copy"> *************** *** 1514,1517 **** --- 1605,1609 ---- </li> </xsl:for-each> + </xsl:template> <xsl:template name="give-actions"> *************** *** 1522,1525 **** --- 1614,1618 ---- <div class="inner"> <span class="corners-top"><span></span></span> + <xsl:for-each select="mod:sql"> <xsl:call-template name="give-sql"></xsl:call-template> *************** *** 1532,1535 **** --- 1625,1629 ---- <xsl:call-template name="give-filez"></xsl:call-template> </xsl:for-each> + </xsl:if> <h2 id="lang-edts">Edits</h2> *************** *** 1538,1541 **** --- 1632,1636 ---- <p> <span id="lang-edtt">Use your keyboard to navigate the code boxes. You may also hit '<em>s</em>' on your keyboard to go to the first code box.</span> + </p> <div class="mod-about" id="edits"> *************** *** 1547,1550 **** --- 1642,1646 ---- <span class="corners-bottom"><span></span></span> </div> + </div> <xsl:call-template name="give-manual"></xsl:call-template> *************** *** 1555,1558 **** --- 1651,1655 ---- <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="selectCode(this); return false;"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div> <div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div> + </div> </div> *************** *** 1564,1567 **** --- 1661,1665 ---- <span class="corners-top"><span></span></span> <h2 id="lang-diy">DIY Instructions</h2> + <p><span id="lang-diyt">These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.</span></p> <div id="diy"> *************** *** 1571,1574 **** --- 1669,1673 ---- <div class="codebox"> <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="selectCode(this); return false;"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div> + <div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div> </div> *************** *** 1580,1583 **** --- 1679,1683 ---- <span></span> </span> + </div> </div> *************** *** 1589,1592 **** --- 1689,1693 ---- <xsl:for-each select="mod:edit"> <div class="mod-edit"> + <xsl:if test="count(mod:comment) > 0"> <div class="mod-comment"> *************** *** 1597,1600 **** --- 1698,1702 ---- <span><xsl:if test="count(../mod:comment) > 1"><xsl:value-of select="@lang" /></xsl:if></span> </dt> + <dd lang="{@lang}"><xsl:value-of select="current()" /> </dd> *************** *** 1606,1609 **** --- 1708,1712 ---- <xsl:if test="name() = 'find'"> <h4 id="lang-fnd[{generate-id()}]">Find</h4> + <p><span id="lang-fndt[{generate-id()}]"><strong>Tip:</strong> This may be a partial find and not the whole line.</span> <xsl:if test="@type = 'regex'"> *************** *** 1614,1617 **** --- 1717,1721 ---- <div class="codebox"> <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="selectCode(this); return false;"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div> + <div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div> </div> *************** *** 1621,1624 **** --- 1725,1729 ---- <h4 id="lang-aft[{generate-id()}]">Add after</h4> <p><span id="lang-aftt[{generate-id()}]"><strong>Tip:</strong> Add these lines on a new blank line after the preceding line(s) to find.</span></p> + </xsl:if> <xsl:if test="@type = 'before-add'"> *************** *** 1628,1631 **** --- 1733,1737 ---- </p> </xsl:if> + <xsl:if test="@type = 'replace-with'"> <h4 id="lang-rplw[{generate-id()}]">Replace With</h4> *************** *** 1634,1637 **** --- 1740,1744 ---- <xsl:if test="@type = 'operation'"> <h4 id="lang-inc[{generate-id()}]">Increment</h4> + <p> <span id="lang-inct[{generate-id()}]"><strong>Tip:</strong> This allows you to alter integers. For help on what each operator means, click here.</span> *************** *** 1640,1643 **** --- 1747,1751 ---- <div class="codebox"> <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="selectCode(this); return false;"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div> + <div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div> </div> *************** *** 1648,1651 **** --- 1756,1760 ---- <xsl:if test="name() = 'inline-find'"> <h5 id="lang-ifnd[{generate-id()}]">In-line Find</h5> + <p> <span id="lang-ifndt[{generate-id()}]"><strong>Tip:</strong> This is a partial match of a line for in-line operations.</span> *************** *** 1656,1659 **** --- 1765,1769 ---- </p> <div class="codebox"> + <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="selectCode(this); return false;"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div> <div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div> *************** *** 1663,1666 **** --- 1773,1777 ---- <xsl:if test="@type = 'after-add'"> <h5 id="lang-iaft[{generate-id()}]">In-line Add after</h5> + <p> <span id="lang-iaftt[{generate-id()}]"></span> *************** *** 1671,1674 **** --- 1782,1786 ---- <p> <span id="lang-ibeft[{generate-id()}]"></span> + </p> </xsl:if> *************** *** 1679,1682 **** --- 1791,1795 ---- </p> </xsl:if> + <xsl:if test="@type = 'operation'"> <h5 id="lang-iinc[{generate-id()}]">In-line Increment</h5> *************** *** 1686,1689 **** --- 1799,1803 ---- </xsl:if> <div class="codebox"> + <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="selectCode(this); return false;"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div> <div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div> *************** *** 1693,1696 **** --- 1807,1811 ---- <dl id="comment[{generate-id()}]"> <dt><span id="lang-cm-cmt[{generate-id()}]">Comments</span> <span><xsl:value-of select="@lang" /></span></dt> + <dd lang="{@lang}"><xsl:value-of select="current()" /></dd> </dl> *************** *** 1702,1705 **** --- 1817,1821 ---- </div> </xsl:for-each> + </div> </xsl:template> *************** *** 1710,1713 **** --- 1826,1830 ---- <li> <dl> + <dt><span id="lang-c-copy[{generate-id()}]">Copy:</span> <xsl:value-of select="@from" /></dt> <dd><span id="lang-c-to[{generate-id()}]">To:</span> <xsl:value-of select="@to" /></dd> *************** *** 1718,1721 **** --- 1835,1839 ---- </xsl:template> <!-- add-line-breaks borrowed from http://www.stylusstudio.com/xsllist/200103/post40180.html --> + <xsl:template name="add-line-breaks"> <xsl:param name="string" select="." /> *************** *** 1727,1730 **** --- 1845,1849 ---- <xsl:with-param name="string" select="substring-after($string, '
')" /> </xsl:call-template> + </xsl:when> <xsl:otherwise> Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.21 retrieving revision 1.19.2.22 diff -C2 -d -r1.19.2.21 -r1.19.2.22 *** install.xml 4 Aug 2007 14:16:07 -0000 1.19.2.21 --- install.xml 4 Aug 2007 14:29:04 -0000 1.19.2.22 *************** *** 3,7 **** <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> <!-- $Id --> ! <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.xsd"> <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> --- 3,7 ---- <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> <!-- $Id --> ! <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd"> <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> |
From: Paul S. <pau...@us...> - 2007-08-04 14:16:33
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21985 Modified Files: Tag: phpbb3_ver install.xml Log Message: Prep release. Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.20 retrieving revision 1.19.2.21 diff -C2 -d -r1.19.2.20 -r1.19.2.21 *** install.xml 20 Jul 2007 12:09:20 -0000 1.19.2.20 --- install.xml 4 Aug 2007 14:16:07 -0000 1.19.2.21 *************** *** 6,12 **** <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> ! <title lang="en-gb">Ajax ShoutBox</title> ! <description lang="en-gb">This mod add a shoutbox to your forum index.</description> ! <author-notes lang="en-gb">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> --- 6,12 ---- <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> ! <title lang="en">Ajax ShoutBox</title> ! <description lang="en">This mod add a shoutbox to your forum index.</description> ! <author-notes lang="en">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> *************** *** 23,27 **** <major>0</major> <minor>0</minor> ! <revision>3</revision> </mod-version> <installation> --- 23,27 ---- <major>0</major> <minor>0</minor> ! <revision>4</revision> </mod-version> <installation> *************** *** 29,33 **** <time>424</time> <target-version> ! <target-primary>3.0.RC3</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> --- 29,33 ---- <time>424</time> <target-version> ! <target-primary>3.0.RC4</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> *************** *** 42,46 **** <revision>1</revision> </rev-version> ! <changelog lang="en-GB"> <change>First release for phpBB3.</change> </changelog> --- 42,46 ---- <revision>1</revision> </rev-version> ! <changelog lang="en"> <change>First release for phpBB3.</change> </changelog> *************** *** 86,105 **** <change>Changed way the subsilver version is displayed. Looks lot beter now</change> </changelog> ! </entry> </history> <meta name="generator" content="Phpbb.ModTeam.Tools (c#)" /> </header> <action-group> ! <sql>CREATE TABLE phpbb_shoutbox ( ! shout_id INT(11) UNSIGNED NOT NULL auto_increment, ! shout_user_id MEDIUMINT(8) NOT NULL, ! shout_time INT(11) NOT NULL, ! shout_ip VARCHAR(32) NOT NULL, ! shout_text TEXT NOT NULL, ! shout_bbcode_bitfield varchar(255) NOT NULL, ! shout_bbcode_uid varchar(5) NOT NULL, ! shout_bbcode_flags int(11) unsigned NOT NULL default '7', ! PRIMARY KEY (shout_id) ! ); </sql> <copy> --- 86,119 ---- <change>Changed way the subsilver version is displayed. Looks lot beter now</change> </changelog> ! </entry> ! ! <entry> ! <date>2007-08-04</date> ! <rev-version> ! <major>0</major> ! <minor>0</minor> ! <revision>4</revision> ! </rev-version> ! <changelog lang="en"> ! <change>Fixed UTF8 issues.</change> ! <change>Fixed error handling again</change> ! <change>MOD submitted to MODDB, but without subsilver version.</change> ! </changelog> ! </entry> </history> <meta name="generator" content="Phpbb.ModTeam.Tools (c#)" /> </header> <action-group> ! <sql>CREATE TABLE ajax_shout3_shoutbox ( ! shout_id int(11) unsigned NOT NULL auto_increment, ! shout_user_id mediumint(8) NOT NULL, ! shout_time int(11) NOT NULL, ! shout_ip varchar(32) character set latin1 NOT NULL, ! shout_text text collate utf8_bin NOT NULL, ! shout_bbcode_bitfield varchar(255) character set latin1 NOT NULL, ! shout_bbcode_uid varchar(5) character set latin1 NOT NULL, ! shout_bbcode_flags int(11) unsigned NOT NULL default '7', ! PRIMARY KEY (shout_id) ! ) DEFAULT CHARSET=utf8 COLLATE=utf8_bin; </sql> <copy> |
From: Paul S. <pau...@us...> - 2007-08-04 14:16:33
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21985/root Modified Files: Tag: phpbb3_ver ajax.php Log Message: Prep release. Index: ajax.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/ajax.php,v retrieving revision 1.21.2.25 retrieving revision 1.21.2.26 diff -C2 -d -r1.21.2.25 -r1.21.2.26 *** ajax.php 20 Jul 2007 12:09:20 -0000 1.21.2.25 --- ajax.php 4 Aug 2007 14:16:07 -0000 1.21.2.26 *************** *** 301,305 **** { xml = huit.responseXML; ! if (check_error(xml)) { err = xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; --- 301,305 ---- { xml = huit.responseXML; ! if (xml.getElementsByTagName("error") && xml.getElementsByTagName("error").length != 0) { err = xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; *************** *** 396,400 **** { xml = hsmilies.responseXML; ! if (check_error(xml)) { err = xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; --- 396,400 ---- { xml = hsmilies.responseXML; ! if (xml.getElementsByTagName("error") && xml.getElementsByTagName("error").length != 0) { err = xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; *************** *** 808,812 **** { xml = hnr.responseXML; ! if (check_error(xml)) { err = xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; --- 808,812 ---- { xml = hnr.responseXML; ! if (xml.getElementsByTagName("error") && xml.getElementsByTagName("error").length != 0) { err = xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; *************** *** 1042,1046 **** } var xml = hin2.responseXML; ! if (check_error(xml)) { err = xml.getElementsByTagName('error')[0].childNodes[0].nodeValue; --- 1042,1046 ---- } var xml = hin2.responseXML; ! if (xml.getElementsByTagName("error") && xml.getElementsByTagName("error").length != 0) { err = xml.getElementsByTagName('error')[0].childNodes[0].nodeValue; *************** *** 1092,1096 **** } var xml = hin.responseXML; ! if (check_error(xml)) { var msg = xml.getElementsByTagName('error')[0].childNodes[0].nodeValue; --- 1092,1096 ---- } var xml = hin.responseXML; ! if (xml.getElementsByTagName("error") && xml.getElementsByTagName("error").length != 0) { var msg = xml.getElementsByTagName('error')[0].childNodes[0].nodeValue; *************** *** 1184,1188 **** xml = hdelete.responseXML; ! if (check_error(xml)) { err = xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; --- 1184,1188 ---- xml = hdelete.responseXML; ! if (xml.getElementsByTagName("error") && xml.getElementsByTagName("error").length != 0) { err = xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; *************** *** 1380,1395 **** return sep; } - function check_error(xml) - { - try - { - return xml.getElementsByTagName("error").length != 0 && xml.getElementsByTagName("error")[0].childNodes && xml.getElementsByTagName("error")[0].childNodes >= 1 && xml.getElementsByTagName("error")[0].childNodes[0].nodeValue; - } - catch (e) - { - handle(e); - return false; - } - } <?php die; --- 1380,1383 ---- |
From: Paul S. <pau...@us...> - 2007-07-20 12:09:31
|
Update of /cvsroot/paulscriptsmods/ajax_shout/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32269/templates Added Files: Tag: phpbb3_ver prosilver.xml subsilver2.xml Log Message: Release changes. --- NEW FILE: prosilver.xml --- <?xml version="1.0" encoding="utf-8" standalone="yes"?> <?xml-stylesheet type="text/xsl" href="../modx.prosilver.en.xsl"?> <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> <!-- $Id --> <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.xsd"> <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> <title lang="en-gb">Ajax ShoutBox</title> <description lang="en-gb">This mod add a shoutbox to your forum index.</description> <author-notes lang="en-gb">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> <author-group> <author> <realname>Paul Sohier</realname> <email>mo...@pa...</email> <username>paul999</username> <homepage>http://www.paulscripts.nl/</homepage> <contributions /> </author> </author-group> <mod-version> <major>0</major> <minor>0</minor> <revision>3</revision> </mod-version> <installation> <level>easy</level> <time>100</time> <target-version> <target-primary>3.0.RC3</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> </target-version> </installation> <meta name="generator" content="Phpbb.ModTeam.Tools (c#)" /> </header> <action-group> <open src="styles/prosilver/template/index_body.html"> <edit> <find><![CDATA[<!-- IF NEWEST_USER --> <h3>{L_STATISTICS}</h3> <p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p> <!-- ENDIF -->]]></find> <action type="after-add"><![CDATA[ <div class="forabg"> <div class="inner"><span class="corners-top"><span></span></span> <ul class="topiclist"> <li class="header"> <dl> <dt>{L_SHOUTBOX}</dt> </dl> </li> </ul> <span id="shoutbox"></span> <span class="corners-bottom"><span></span></span></div> </div> <script type="text/javascript"> display_shoutbox = true; load_shout(); </script>]]></action> </edit> </open> <open src="styles/prosilver/template/overall_header.html"> <edit> <find><![CDATA[</head>]]></find> <action type="before-add"><![CDATA[ <script type="text/javascript" src="bbcode.js"></script> <script type="text/javascript" src="{U_SHOUT}"></script>]]></action> </edit> </open> </action-group> </mod> --- NEW FILE: subsilver2.xml --- <?xml version="1.0" encoding="utf-8" standalone="yes"?> <?xml-stylesheet type="text/xsl" href="../modx.prosilver.en.xsl"?> <!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/--> <!-- $Id --> <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.xsd"> <header> <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> <title lang="en-gb">Ajax ShoutBox</title> <description lang="en-gb">This mod add a shoutbox to your forum index.</description> <author-notes lang="en-gb">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> <author-group> <author> <realname>Paul Sohier</realname> <email>mo...@pa...</email> <username>paul999</username> <homepage>http://www.paulscripts.nl/</homepage> <contributions /> </author> </author-group> <mod-version> <major>0</major> <minor>0</minor> <revision>3</revision> </mod-version> <installation> <level>easy</level> <time>100</time> <target-version> <target-primary>3.0.RC3</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> </target-version> </installation> <meta name="generator" content="Phpbb.ModTeam.Tools (c#)" /> </header> <action-group> <open src="styles/subsilver2/template/index_body.html"> <edit> <find><![CDATA[<!-- IF not S_USER_LOGGED_IN --> <br clear="all" /> <form method="post" action="{S_LOGIN_ACTION}"> ]]></find> <action type="before-add"><![CDATA[ <div class="forabg"> <ul class="topiclist"> <li class="header"> <dl> <dt><h4>{L_SHOUTBOX}</h4></dt> </dl> </li> </ul> <span id="shoutbox"></span> </div> <script type="text/javascript"> display_shoutbox = true; load_shout(); </script> ]]></action> </edit> </open> <open src="styles/subsilver2/template/overall_header.html"> <edit> <find><![CDATA[</head>]]></find> <action type="before-add"><![CDATA[ <script type="text/javascript" src="bbcode.js"></script> <script type="text/javascript" src="{U_SHOUT}"></script>]]></action> </edit> </open> <open src="styles/subsilver2/theme/stylesheet.css"> <edit> <find><![CDATA[.username-coloured { font-weight: bold; }]]> </find> <action type="after-add"><![CDATA[ul.topiclist { display: block; list-style-type: none; margin: 0; } ul.topiclist li { display: block; list-style-type: none; margin: 0; height:30px; } ul.topiclist dl { position: relative; } ul.topiclist li.row dl { padding: 2px 0; } ul.topiclist dt { display: block; width: 50%; padding-left: 5px; padding-right: 5px; } ul.topiclist dd { display: block; float: left; padding: 4px 0; } ]]> </action> </edit> </open> </action-group> </mod> |
From: Paul S. <pau...@us...> - 2007-07-20 12:09:22
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32269 Modified Files: Tag: phpbb3_ver install.xml Log Message: Release changes. Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.19 retrieving revision 1.19.2.20 diff -C2 -d -r1.19.2.19 -r1.19.2.20 *** install.xml 11 Jul 2007 14:51:13 -0000 1.19.2.19 --- install.xml 20 Jul 2007 12:09:20 -0000 1.19.2.20 *************** *** 7,19 **** <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> <title lang="en-gb">Ajax ShoutBox</title> - <title lang="nl">Ajax shoutbox</title> <description lang="en-gb">This mod add a shoutbox to your forum index.</description> - <description lang="nl">Deze mod voegt een shoutbox toe aan jouw forum index.</description> <author-notes lang="en-gb">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> ! <author-notes lang="nl">Deze mod vereist dat de gebruiker die het forum bezoekt javascript heeft ingeschakeld. Zonder JavaScript werkt deze shoutbox niet, en wordt niet weergeven. ! Deze shoutbox kan op elke plaats op het forum worden weergeven, het enigste wat je moet doen is de correcte html file aanpassen, met de wijzingen die normaal voor index_body.html gedaan worden</author-notes> ! <author-group> <author> <realname>Paul Sohier</realname> --- 7,15 ---- <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> <title lang="en-gb">Ajax ShoutBox</title> <description lang="en-gb">This mod add a shoutbox to your forum index.</description> <author-notes lang="en-gb">This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed. You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.</author-notes> ! <author-group> <author> <realname>Paul Sohier</realname> *************** *** 33,37 **** <time>424</time> <target-version> ! <target-primary>3.0.RC1</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> --- 29,33 ---- <time>424</time> <target-version> ! <target-primary>3.0.RC3</target-primary> <target-major allow="exact">3</target-major> <target-minor allow="exact">0</target-minor> *************** *** 49,55 **** <change>First release for phpBB3.</change> </changelog> - <changelog lang="nl"> - <change>Eerste release voor phpBB3.</change> - </changelog> </entry> <entry> --- 45,48 ---- *************** *** 79,83 **** <entry> ! <date>2007-xx-xx</date> <rev-version> <major>0</major> --- 72,76 ---- <entry> ! <date>2007-07-20</date> <rev-version> <major>0</major> *************** *** 86,94 **** </rev-version> <changelog lang="en"> <change>Fixed wrong path to language file.</change> <change>XHTML compitable fix</change> <change>Fixed a small JS error</change> <change>Changed way the subsilver version is displayed. Looks lot beter now</change> - <!--<change>Modified way of generating XML, using a class written by coronis.nl</change>--> </changelog> </entry> --- 79,88 ---- </rev-version> <changelog lang="en"> + <change>Better followed MODX rules.</change> + <change>Code guidelines updates</change> <change>Fixed wrong path to language file.</change> <change>XHTML compitable fix</change> <change>Fixed a small JS error</change> <change>Changed way the subsilver version is displayed. Looks lot beter now</change> </changelog> </entry> *************** *** 114,121 **** <file from="root/bbcode.js" to="bbcode.js" /> - <!-- <file from="root/includes/cortex-xml/xml.php" to="root/includes/cortex-xml/xml.php"> - <file from="root/includes/cortex-xml/xml/xml_element.php" to="root/includes/cortex-xml/xml/xml_element.php"> - <file from="root/includes/cortex-xml/xml/xml_reader.php" to="root/includes/cortex-xml/xml/xml_reader.php"> - <file from="root/includes/cortex-xml/xml/xml_writer.php" to="root/includes/cortex-xml/xml/xml_writer.php">--> </copy> --- 108,111 ---- *************** *** 134,249 **** </edit> </open> - <open src="styles/prosilver/template/index_body.html"> - <edit> - <find><![CDATA[<!-- IF NEWEST_USER --> - <h3>{L_STATISTICS}</h3> - <p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p> - <!-- ENDIF -->]]></find> - <action type="after-add"><![CDATA[ - <div class="forabg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl> - <dt>{L_SHOUTBOX}</dt> - </dl> - </li> - </ul> - <span id="shoutbox"></span> - <span class="corners-bottom"><span></span></span></div> - </div> - <script type="text/javascript"> - display_shoutbox = true; - load_shout(); - </script>]]></action> - </edit> - </open> - <open src="styles/prosilver/template/overall_header.html"> - <edit> - <find><![CDATA[</head>]]></find> - <action type="before-add"><![CDATA[ - <script type="text/javascript" src="bbcode.js"></script> - <script type="text/javascript" src="{U_SHOUT}"></script>]]></action> - </edit> - </open> - - <open src="styles/subsilver2/template/index_body.html"> - <edit> - <find><![CDATA[<!-- IF not S_USER_LOGGED_IN --> - <br clear="all" /> - <form method="post" action="{S_LOGIN_ACTION}"> - - ]]></find> - <action type="before-add"><![CDATA[ - <div class="forabg"> - <ul class="topiclist"> - <li class="header"> - <dl> - <dt><h4>{L_SHOUTBOX}</h4></dt> - </dl> - </li> - </ul> - <span id="shoutbox"></span> - </div> - - <script type="text/javascript"> - display_shoutbox = true; - load_shout(); - </script> - ]]></action> - </edit> - </open> - <open src="styles/subsilver2/template/overall_header.html"> - <edit> - <find><![CDATA[</head>]]></find> - <action type="before-add"><![CDATA[ - <script type="text/javascript" src="bbcode.js"></script> - <script type="text/javascript" src="{U_SHOUT}"></script>]]></action> - </edit> - </open> - <open src="styles/subsilver2/theme/stylesheet.css"> - <edit> - <find><![CDATA[.username-coloured { - font-weight: bold; - }]]> - </find> - <action type="after-add"><![CDATA[ul.topiclist { - display: block; - list-style-type: none; - margin: 0; - } - - ul.topiclist li { - display: block; - list-style-type: none; - margin: 0; - height:30px; - } - - ul.topiclist dl { - position: relative; - } - - ul.topiclist li.row dl { - padding: 2px 0; - } - - ul.topiclist dt { - display: block; - width: 50%; - padding-left: 5px; - padding-right: 5px; - } - - ul.topiclist dd { - display: block; - float: left; - padding: 4px 0; - } - ]]> - </action> - </edit> - </open> </action-group> </mod> --- 124,128 ---- |
From: Paul S. <pau...@us...> - 2007-07-20 12:09:20
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32269/root Modified Files: Tag: phpbb3_ver ajax.php Log Message: Release changes. Index: ajax.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/ajax.php,v retrieving revision 1.21.2.24 retrieving revision 1.21.2.25 diff -C2 -d -r1.21.2.24 -r1.21.2.25 *** ajax.php 11 Jul 2007 14:51:13 -0000 1.21.2.24 --- ajax.php 20 Jul 2007 12:09:20 -0000 1.21.2.25 *************** *** 20,34 **** include ($phpbb_root_path . 'common.' . $phpEx); - /*include ($phpbb_root_path . 'includes/cortex-xml/xml.' . $phpEx); - include ($phpbb_root_path . 'includes/cortex-xml/util.' . $phpEx); - include ($phpbb_root_path . 'includes/cortex-xml/exception.' . $phpEx); - - - $object = new cortex_xml_element('xml'); - $object->root = true; [...2723 lines suppressed...] print "</xml>"; --- 1619,1623 ---- print "\t<$el>$wa</$el>\n"; } ! print "</posts>\n"; } print "</xml>"; *************** *** 1650,1654 **** function xml($txt) { ! return "<![CDATA[$txt]]>"; } --- 1641,1645 ---- function xml($txt) { ! return "<![CDATA[$txt]]>"; } |
From: Paul S. <pau...@us...> - 2007-07-20 12:08:50
|
Update of /cvsroot/paulscriptsmods/ajax_shout/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31897/templates Log Message: Directory /cvsroot/paulscriptsmods/ajax_shout/templates added to the repository --> Using per-directory sticky tag `phpbb3_ver' |
From: Paul S. <pau...@us...> - 2007-07-11 15:42:23
|
Update of /cvsroot/paulscriptsmods/ajax_shout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11757 Modified Files: Tag: phpbb3_ver install.xml Log Message: prep release. Index: install.xml =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/install.xml,v retrieving revision 1.19.2.18 retrieving revision 1.19.2.19 diff -C2 -d -r1.19.2.18 -r1.19.2.19 *** install.xml 20 Jun 2007 17:29:56 -0000 1.19.2.18 --- install.xml 11 Jul 2007 14:51:13 -0000 1.19.2.19 *************** *** 90,94 **** <change>Fixed a small JS error</change> <change>Changed way the subsilver version is displayed. Looks lot beter now</change> ! <change>Modified way of generating XML, using a class written by coronis.nl</change> </changelog> </entry> --- 90,94 ---- <change>Fixed a small JS error</change> <change>Changed way the subsilver version is displayed. Looks lot beter now</change> ! <!--<change>Modified way of generating XML, using a class written by coronis.nl</change>--> </changelog> </entry> *************** *** 114,121 **** <file from="root/bbcode.js" to="bbcode.js" /> ! <file from="root/includes/cortex-xml/xml.php" to="root/includes/cortex-xml/xml.php"> <file from="root/includes/cortex-xml/xml/xml_element.php" to="root/includes/cortex-xml/xml/xml_element.php"> <file from="root/includes/cortex-xml/xml/xml_reader.php" to="root/includes/cortex-xml/xml/xml_reader.php"> ! <file from="root/includes/cortex-xml/xml/xml_writer.php" to="root/includes/cortex-xml/xml/xml_writer.php"> </copy> --- 114,121 ---- <file from="root/bbcode.js" to="bbcode.js" /> ! <!-- <file from="root/includes/cortex-xml/xml.php" to="root/includes/cortex-xml/xml.php"> <file from="root/includes/cortex-xml/xml/xml_element.php" to="root/includes/cortex-xml/xml/xml_element.php"> <file from="root/includes/cortex-xml/xml/xml_reader.php" to="root/includes/cortex-xml/xml/xml_reader.php"> ! <file from="root/includes/cortex-xml/xml/xml_writer.php" to="root/includes/cortex-xml/xml/xml_writer.php">--> </copy> |
From: Paul S. <pau...@us...> - 2007-07-11 15:36:20
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11757/root Modified Files: Tag: phpbb3_ver ajax.php Log Message: prep release. Index: ajax.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/ajax.php,v retrieving revision 1.21.2.23 retrieving revision 1.21.2.24 diff -C2 -d -r1.21.2.23 -r1.21.2.24 *** ajax.php 20 Jun 2007 18:46:14 -0000 1.21.2.23 --- ajax.php 11 Jul 2007 14:51:13 -0000 1.21.2.24 *************** *** 20,24 **** include ($phpbb_root_path . 'common.' . $phpEx); ! include ($phpbb_root_path . 'includes/cortex-xml/xml.' . $phpEx); include ($phpbb_root_path . 'includes/cortex-xml/util.' . $phpEx); include ($phpbb_root_path . 'includes/cortex-xml/exception.' . $phpEx); --- 20,24 ---- include ($phpbb_root_path . 'common.' . $phpEx); ! /*include ($phpbb_root_path . 'includes/cortex-xml/xml.' . $phpEx); include ($phpbb_root_path . 'includes/cortex-xml/util.' . $phpEx); include ($phpbb_root_path . 'includes/cortex-xml/exception.' . $phpEx); *************** *** 30,34 **** // $object->output_xml(); // exit; ! error_reporting(0);//Disable error reporting, can be bad for our headers ;) --- 30,34 ---- // $object->output_xml(); // exit; ! */ error_reporting(0);//Disable error reporting, can be bad for our headers ;) *************** *** 750,754 **** for (var j = 0; j < f.length; j++) { ! f2 = f[j].split(": "); switch (f2[0]) { --- 750,765 ---- for (var j = 0; j < f.length; j++) { ! f2 = f[j].split(":"); ! ! if (f2[0]) ! { ! f2[0] = trim(f2[0]); ! } ! ! if (f2[1]) ! { ! f2[1] = trim(f2[1]); ! } ! switch (f2[0]) { *************** *** 784,787 **** --- 795,805 ---- } + function trim(value) + { + value = value.replace(/^\s+/,''); + value = value.replace(/\s+$/,''); + return value; + } + function reload_page() { *************** *** 1135,1139 **** var s = ce('span'); ! dt.appendChild(tn(inh.getElementsByTagName('shout_time')[0].childNodes[0].nodeValue + ' | ')); dt.appendChild(validate_overige(inh.getElementsByTagName('username')[0])); --- 1153,1159 ---- var s = ce('span'); ! ! dt.appendChild(validate_overige(inh.getElementsByTagName('shout_time')[0])); ! dt.appendChild(tn(' | ')); dt.appendChild(validate_overige(inh.getElementsByTagName('username')[0])); |
From: Paul S. <pau...@us...> - 2007-06-20 18:46:16
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root/includes/cortex-xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15948/includes/cortex-xml Modified Files: Tag: phpbb3_ver xml.php Added Files: Tag: phpbb3_ver exception.php util.php Log Message: More cortex related stuff --- NEW FILE: exception.php --- <?php /** * Exception handler * * @package Cortex * @copyright 2006 Coronis - http://www.coronis.nl * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License * See copyright.txt for more information * * @version $Id: exception.php,v 1.1.2.1 2007/06/20 18:46:15 paulsohier Exp $ */ /** * We'll create our own Exception class if we're on PHP 4 * * @ignore * @package Cortex */ if ( !cortex_util::class_exists('exception') ) { class exception { function getTrace() { return array(); } } } /** * cortex_exception class. This class extends the build-in Exception class * and adds some additional methods to gather debug information * * @package Cortex */ class cortex_exception extends exception { /** * Exception message * * @access public * @var string */ var $exception_message; /** * Detailed exception description * * @access public * @var string */ var $exception_details; /** * cortex_exception constructor. The constructor will initiate an object of * the class EXCEPTION_HANDLER if it exists and will display the error message. The * detailed description will be included if EXCEPTION_DEBUG has been set to TRUE * * @access public * @param string Message * @param string Exception details (optional) * @return void */ function cortex_exception($exception_message, $exception_details = '') { ob_clean(); ob_start(); $this->exception_message = $exception_message; $this->exception_details = $exception_details; trigger_error($exception_message . $exception_details); } } ?> Index: xml.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/includes/cortex-xml/Attic/xml.php,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** xml.php 20 Jun 2007 17:29:56 -0000 1.1.2.1 --- xml.php 20 Jun 2007 18:46:15 -0000 1.1.2.2 *************** *** 16,20 **** * We also need the cortex_xml_element class */ ! //require(CORTEX_PATH . 'cortex/xml/xml_element.php'); /** --- 16,20 ---- * We also need the cortex_xml_element class */ ! require(CORTEX_PATH . 'includes/cortex-xml/xml/xml_element.' . $phpEx); /** *************** *** 50,59 **** if ( !cortex_util::class_exists($xml_class) ) { ! if ( !file_exists(CORTEX_PATH . 'cortex/xml/xml_' . $type . '.php') ) { new cortex_exception('cortex_xml: Could not initialize XML class', 'File for XML operation "' . $type . '" could not be found'); } ! require(CORTEX_PATH . 'cortex/xml/xml_' . $type . '.php'); } --- 50,59 ---- if ( !cortex_util::class_exists($xml_class) ) { ! if ( !file_exists(CORTEX_PATH . 'includes/cortex-xml/xml/xml_' . $type . '.php') ) { new cortex_exception('cortex_xml: Could not initialize XML class', 'File for XML operation "' . $type . '" could not be found'); } ! require(CORTEX_PATH . 'includes/cortex-xml/xml/xml_' . $type . '.php'); } --- NEW FILE: util.php --- <?php /** * Some miscellaneous functions that don't fit anywhere else * * @package Cortex * @copyright 2006 Coronis - http://www.coronis.nl * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License * See copyright.txt for more information * * @version $Id: util.php,v 1.1.2.1 2007/06/20 18:46:15 paulsohier Exp $ */ /** * cortex_util class * * @package Cortex */ class cortex_util { /** * Find out if we're on PHP 4 * * @static * @access public * @return bool TRUE on PHP < 5, FALSE otherwise */ function is_php4() { return version_compare(PHP_VERSION, '5.0.0', '<'); } /** * Strip EXCEPTION_APP_ROOT from the path provided to prevent path disclosure. This constant should * be defined before including Cortex * * @static * @access public * @param string path (by reference) * @return void */ function strip_path(&$path) { if ( defined('EXCEPTION_APP_ROOT') ) { $path = str_replace(str_replace('\\', '/', EXCEPTION_APP_ROOT), '', str_replace('\\', '/', $path)); } } /** * Execute a command on the server and return the output * * @static * @access public * @param string command to execute * @return mixed FALSE on failure, otherwise the command output */ function execute($cmd) { $output = ''; $handle = @popen($cmd, 'r'); if ( $handle ) { return false; } while ( !feof($handle) ) { $output .= fread($handle, 2096); } pclose($handle); return $output; } /** * Find out if a class exists. This method will prevent the given * class name from automatically being initialized by autoload * * @static * @access public * @param string class name * @return bool TRUE if the class exists, otherwise FALSE */ function class_exists($class_name) { if ( cortex_util::is_php4() ) { return class_exists($class_name); } else { return class_exists($class_name, false); } } /** * Find out if we're on a Windows server * * @static * @access public * @return bool TRUE when on Windows, FALSE otherwise */ function is_windows() { return ( strpos(strtolower(PHP_OS), 'win') !== false ); } /** * Get the OS-dependant name of an extension so it can be used * with the dl() function * * @static * @access public * @param string extension name * @return string full extension name */ function get_dl_extension($extension) { $extension_prefix = PHP_SHLIB_SUFFIX == 'dll' ? 'php_' : ''; return $extension_prefix . $extension . '.' . PHP_SHLIB_SUFFIX; } /** * Get and typecast an array of POST fields. The array should be in the * form of array('fieldname' => array('default' => 0, 'required' => false), ... ) * * @static * @access public * @param array array of POST fields we should load * @return array run list($incomplete, $post_data) on the returned array. The boolean * $incomplete will be set to TRUE if one of the required fields was empty */ function get_post_fields($post_fields) { $incomplete = false; reset($post_fields); while ( list($field_name, $field_type) = each($post_fields) ) { $field_value = cortex::get_var($field_name, $field_type['default'], '_POST'); if ( ( !isset($_POST[$field_name]) || $field_value == '' ) && ( !isset($field_type['required']) || ( isset($field_type['required']) && $field_type['required'] ) ) ) { $incomplete = true; } if ( $field_type['clean'] ) { $field_value = cortex_filter::get_cleaned($field_value); } $return_array[$field_name] = $field_value; } return array($incomplete, $return_array); } /** * Redirect the visitor to another page * * @static * @access public * @param string URL to redirect to * @param bool Whether to force an URL to be a relative url * @return void * * @throws cortex_exception */ function redirect($redirect_url, $accept_protocol = false) { ob_clean(); // Prevent funky stuff that could be done with newlines $redirect_url = str_replace(array("\n", "\r"), '', $redirect_url); if ( !$accept_protocol && !preg_match('#^(?!(.*?://)).+$#', $redirect_url) ) { new cortex_exception('Trying to redirect to a potentially insecure URL. If you would like allow redirections to URLs that contain a protocol, please set the appropriate parameter value for cortex_util::redirect()'); } if ( strstr(urldecode($redirect_url), "\n") || strstr(urldecode($redirect_url), "\r") || strstr(urldecode($redirect_url), ';url') ) { new cortex_exception('Tried to redirect to potentially insecure url'); } // Sniff out server software, or try at least $server_type = ( isset($_SERVER['SERVER_SOFTWARE'] ) ? trim($_SERVER['SERVER_SOFTWARE']) : getenv('SERVER_SOFTWARE')); if ( preg_match('/Microsoft|WebSTAR|Xitami/si', $server_type) ) { header('Refresh: 0; URL=' . $redirect_url); echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Redirect</title><meta http-equiv="refresh" content="0;url=' . $redirect_url . '"></head><body><p><a href="' . $redirect_url . '">Click here if you are not redirected.</a></p></body></html>'; } else { header('Location: ' . $redirect_url); } exit(); } /** * Generate and return a random string that is by default 8 chars long. * * @static * @access public * @param int string length (defaults to 8) * @return string random string */ function rand_string($length = 8) { $chars = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'); $max_chars = max(array_keys($chars)); srand(floatval(microtime()*1000000000)); $string = ''; for ( $i = 0; $i < $length; $i++ ) { if ( $i % 3 ) { $string .= $chars[rand(0, $max_chars)]; } else { $string .= strtoupper($chars[rand(0, $max_chars)]); } } return str_rot13($string); } /** * Find out if a certain string ends with another string * * @static * @access public * @param string haystack to search in * @param string needle to look for * @return bool TRUE when found, FALSE otherwise */ function ends_with($haystack, $needle) { return ( substr($haystack, -strlen($needle)) == $needle ); } /** * Count the number of occurences of the needle in the haystack * * @static * @access public * @param string Haystack to search in * @param string Needle to look for * @return int */ function count_occurrences($haystack, $needle) { $offset = 0; $occurrences = 0; while ( true ) { $offset = strpos($haystack, $needle, $offset); if ( $offset === false ) { break; } else { $occurrences++; } $offset++; } return $occurrences; } /** * Get the string in $haystack between the substrings $needle_start and $needle_end * * @static * @access public * @param string haystack * @param string start * @param string end * @return string trimmed result */ function get_between($haystack, $needle_start, $needle_end) { $start_pos = strpos($haystack, $needle_start); if ( $start_pos === false ) { return ''; } $return = substr($haystack, ( $start_pos + strlen($needle_start) )); $end_pos = strpos($return, $needle_end); if ( $end_pos === false ) { return ''; } $return = substr($return, 0, $end_pos); return trim($return); } /** * Generate a Globally Unique IDentifier (GUID) * * @static * @access public * @param bool whether to enclose the GUID in curly braces or not * @return string GUID */ function get_guid($microsoft_convention = true) { if ( function_exists('com_create_guid') ) { $guid = com_create_guid(); if ( !$microsoft_convention ) { $guid = substr($guid, 1, -1); } } else { $random_string = strtoupper(md5(uniqid(rand(), true))); $guid = substr($random_string, 0, 8) . '-' . substr($random_string, 8, 4) . '-' . substr($random_string, 12, 4) . '-' . substr($random_string, 16, 4) . '-' . substr($random_string, 20, 12); $guid = ( $microsoft_convention ) ? '{' . $guid . '}' : $guid; } return $guid; } } ?> |