PluginProbe
wpForo Forum / beta-4
wpForo Forum vbeta-4
3.2.2 3.2.1 3.2.0 3.1.7 3.1.6 3.1.5 3.1.4 3.1.2 3.1.1 3.1.0 3.0.9 3.0.8 3.0.7 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 All 142 releases
← All changes | wpf-admin/phrase.php +6 -6 1.3.1 → beta-4 View file →
@@ -6,16 +6,16 @@
6 6
7 7 <div id="wpf-admin-wrap" class="wrap" style="margin-top: 0px">
8 8 <?php wpforo_screen_option() ?>
9 9 <div id="icon-users" class="icon32"><br></div>
10 - <h2 style="padding:30px 0px 0px 0px;line-height: 20px; margin-bottom:15px;"><?php _e('Front-end Phrases', 'wpforo'); ?> &nbsp;<a href="<?php echo admin_url( 'admin.php?page=wpforo-phrases&action=add' ) ?>" class="add-new-h2"><?php wpforo_phrase('add_new') ?></a></h2>
10 + <h2 style="padding:30px 0px 0px 0px;line-height: 20px;"><?php _e('Front-end Phrases', 'wpforo'); ?> &nbsp;<a href="<?php echo admin_url( 'admin.php?page=wpforo-phrases&action=add' ) ?>" class="add-new-h2"><?php wpforo_phrase('add_new') ?></a></h2>
11 11 <?php $wpforo->notice->show(FALSE) ?>
12 12 <?php
13 - if( !((isset($_GET['action']) && $_GET['action'] != '-1') || (isset($_GET['action2']) && $_GET['action2'] != '-1')) ){
14 - $fields = array( 'phrase_key', 'phrase_value', 'package' );
13 + if(!isset($_GET['action']) && !isset($_GET['action2'])){
14 + $fields = array( 'phrase_key', 'phrase_value' );
15 15 $search_fields = array( 'phrase_key', 'phrase_value' );
16 - $filter_fields = array( 'langid', 'package' );
17 - wpforo_create_form_table( 'phrase', 'phraseid', $fields, $search_fields, $filter_fields, array('edit'), array('edit'));
16 + $filter_fields = array( 'langid' );
17 + wpforo_create_form_table( 'phrase', 'phraseid', $fields, $search_fields, $filter_fields, array('edit'));
18 18 }
19 19 ?>
20 20 <?php if( (isset($_GET['action']) && $_GET['action'] == 'edit') || (isset($_GET['action2']) && $_GET['action2'] == 'edit') ) : ?>
21 21 <?php if(isset($_GET['id'])){$phrase_ids = array($_GET['id']);}else{ $phrase_ids = explode(',', $_GET['ids']);} ?>
@@ -30,9 +30,9 @@
30 30 <label for="phrase"> <?php wpforo_phrase('phrase_key'); ?>
31 31 <span class="description">(<?php echo esc_html($data['phrase_key']); ?>)</span></label>
32 32 </th>
33 33 <td>
34 - <textarea name="phrase[data][<?php echo intval($phraseid) ?>][title]" id="phrase" required style="width:80%; height:29px;"><?php wpfo($data['phrase_value'], true, 'esc_textarea'); ?></textarea>
34 + <textarea name="phrase[data][<?php echo intval($phraseid) ?>][title]" id="phrase" required style="width:80%; height:150px;"><?php wpfo($data['phrase_value'], true, 'esc_textarea'); ?></textarea>
35 35 </td>
36 36 </tr>
37 37 <?php endforeach; ?>
38 38 </tbody>