Changeset 205365
- Timestamp:
- 02/14/2010 03:54:36 PM (16 years ago)
- Location:
- wp-yamli/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
yamli.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-yamli/trunk/readme.txt
r89067 r205365 3 3 Contributors: Khaled Al Hourani 4 4 Requires at least: 2.1 5 Tested up to: 2. 76 Stable tag: trunk5 Tested up to: 2.9 6 Stable tag: 1.1 7 7 8 8 WP Yamli allows blog editors and commenters to write Arabic spelling text in English or French and Yamli will convert them. -
wp-yamli/trunk/yamli.php
r89057 r205365 2 2 /* 3 3 Plugin Name: WP Yamli 4 Version: 1. 04 Version: 1.1 5 5 Plugin URI: http://dev.holooli.com/2009/01/22/wp-yamli 6 6 Description: WP Yamli allows blog editors and commenters to write Arabic spelling text in English or French and Yamli will convert them. … … 196 196 197 197 // Save the new settings to option table's record 198 update_option( 'yamli', $update);198 update_option('yamli', $update); 199 199 200 200 // Display success message … … 206 206 // Execute the selected options 207 207 function execute() { 208 209 208 // Get options from option table 210 $yamli = get_option( 'yamli');209 $yamli = get_option('yamli'); 211 210 212 211 // Read language and placement … … 216 215 $selected_fields = array(); 217 216 // Get all the selected fields from settings page 218 foreach ( $yamli as $key => $value) {219 if ( $value) {217 foreach ($yamli as $key => $value) { 218 if ($value) { 220 219 array_push($selected_fields, $key); 221 220 }
Note: See TracChangeset
for help on using the changeset viewer.