Ejemplo n.º 1
0
Archivo: note.php Proyecto: RA2WP/RA2WP
 public function editItem($uniqueName, $itemInfo)
 {
     return "<span id=\"{$uniqueName}-edit-value\" >" . htmlspecialchars(fm_restrictString($itemInfo['extra']['content'], 25)) . "</span>";
 }
_e("Insert After:", 'wordpress-form-manager');
?>
</label>
					<select name="load-fields-insert-after">
						<option value="0"><?php 
_e("(Insert at beginning)", 'wordpress-form-manager');
?>
</option>
						<?php 
foreach ($form['items'] as $item) {
    ?>
						<option value="<?php 
    echo $item['unique_name'];
    ?>
"><?php 
    echo fm_restrictString($item['label'], 15);
    ?>
</option>
						<?php 
}
?>
						<option value="1"><?php 
_e("(Insert at end)", 'wordpress-form-manager');
?>
</option>
					</select>
					&nbsp;&nbsp;
					<input name="load-fields" type="submit" class="button-secondary" value="<?php 
_e("Load Fields", 'wordpress-form-manager');
?>
" onclick="return fm_loadFields()"/>