------------------------------------------------------------
revno: 808
committer: Christopher Adams <[email protected]>
branch nick: aikiframework
timestamp: Wed 2011-06-08 19:20:44 -0400
message:
  fix bad output with &#95; showing up in widgets and bump version
modified:
  src/aiki.php
  src/system/libraries/forms.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'src/aiki.php'
--- src/aiki.php	2011-06-08 20:44:38 +0000
+++ src/aiki.php	2011-06-08 23:20:44 +0000
@@ -55,7 +55,7 @@
 	 * When the MAJOR number is zero, this indicates an alpha or beta type release
    * Each number can, but should probably not exceed 99
 	 */
-	define('AIKI_VERSION','0.8.7');
+	define('AIKI_VERSION','0.8.8');
 }
 
 /*

=== modified file 'src/system/libraries/forms.php'
--- src/system/libraries/forms.php	2011-06-07 03:10:07 +0000
+++ src/system/libraries/forms.php	2011-06-08 23:20:44 +0000
@@ -317,7 +317,10 @@
 					case "textblock":
 						$form .= '<label for="'.$intwalker[0].'">'.$intwalker['1'].'</label><div id="'.$intwalker['0'].'_container"><textarea rows="7" cols="50" id="'.$intwalker['0'].'" name="'.$intwalker['0'].'">';
 						if (isset($form_data)){
-							$form .= htmlspecialchars($form_data->$intwalker[0]);
+                            $temp = str_replace("&#95;", "_", $form_data->$intwalker[0]);
+                            $temp = htmlspecialchars($temp);
+                            $temp = str_replace("_", "&#95;", $temp);
+                            $form.= $temp;
 						}elseif(isset($_POST[$intwalker['0']])){
 							$form .=$_POST[$intwalker['0']];
 						}

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to