Changeset 2067557
- Timestamp:
- 04/12/2019 02:38:21 AM (7 years ago)
- Location:
- user-insight
- Files:
-
- 8 edited
- 1 copied
-
tags/1.0.3 (copied) (copied from user-insight/trunk)
-
tags/1.0.3/readme.txt (modified) (2 diffs)
-
tags/1.0.3/readme_en.txt (modified) (2 diffs)
-
tags/1.0.3/user_insight.php (modified) (4 diffs)
-
tags/1.0.3/view/admin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/readme_en.txt (modified) (2 diffs)
-
trunk/user_insight.php (modified) (4 diffs)
-
trunk/view/admin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
user-insight/tags/1.0.3/readme.txt
r1872461 r2067557 4 4 Tags: heatmap, Japanese, analytics, analyze, click, click map, clicks, conversion tracking, pageviews, ヒートマップ, アクセス解析, google analytics 5 5 Requires at least: 6 Tested up to: 4.97 Stable tag: 1.0. 26 Tested up to: 5.1 7 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 = 1.0.2 = 33 * ITPに対応 34 * タグに自由記述欄を追加 35 36 = 1.0.2 = 33 37 * WordPressのバージョン4.9.5まで対応 34 38 -
user-insight/tags/1.0.3/readme_en.txt
r1872461 r2067557 4 4 Tags: heatmap, Japanese, analytics, analyze, click, click map, clicks, conversion tracking, pageviews, ヒートマップ, アクセス解析, google analytics 5 5 Requires at least: 6 Tested up to: 4.87 Stable tag: 1.0. 16 Tested up to: 5.1 7 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 32 32 == Changelog == 33 33 34 = 1.0.3 = 35 * Support ITP. 36 * Support additional tags. 37 34 38 = 1.0.2 = 35 39 * Support WP 4.9.5 -
user-insight/tags/1.0.3/user_insight.php
r1872461 r2067557 36 36 } 37 37 38 // additional tags 39 $additionalTag = @get_option('ui_additional_tag'); 40 $freeTag = !empty($additionalTag) ? $additionalTag : ''; 41 38 42 $tag = <<< EOF 39 43 <!-- User Insight PCDF Code Start : userlocal.jp --> … … 45 49 _uih['uigr_1'] = ''; _uih['uigr_2'] = ''; _uih['uigr_3'] = ''; _uih['uigr_4'] = ''; _uih['uigr_5'] = ''; 46 50 _uih['uigr_6'] = ''; _uih['uigr_7'] = ''; _uih['uigr_8'] = ''; _uih['uigr_9'] = ''; _uih['uigr_10'] = ''; 51 _uic['uls'] = 1; 52 53 {$freeTag} 47 54 48 55 /* DO NOT ALTER BELOW THIS LINE */ … … 69 76 wp_enqueue_style('ui-css-bootstrap', $pluginUrl . '/css/bootstrap.min.css'); 70 77 78 // setting id 71 79 if (isset($_POST['analyticsId'])) { 72 80 // using nonces and checking permissions … … 88 96 } 89 97 98 // setting free additional tag 99 if (isset($_POST['additionalTag'])) { 100 // using nonces and checking permissions 101 if (check_admin_referer('update_ui_add_tag', 'update_ui_add_tag_nonce') && current_user_can('administrator')) { 102 $additionalTag = $_POST['additionalTag']; 103 104 @update_option('ui_additional_tag', $additionalTag); 105 $message = array('alert-success', '自由記述を登録しました。'); 106 } 107 } else { 108 $additionalTag = @get_option('ui_additional_tag'); 109 } 110 90 111 // show 91 112 $plugin_path = urlencode($pluginName . '/' . basename(__FILE__)); -
user-insight/tags/1.0.3/view/admin.php
r1831188 r2067557 70 70 </div> 71 71 </div> 72 73 <div class="row mt-1"> 74 <div class="col-sm-8"> 75 <div class="panel panel-default"> 76 <div class="panel-heading"> 77 <h3 class="panel-title">解析タグへの自由記述</h3> 78 </div> 79 <div class="panel-body"> 80 <form class="form-horizontal" method="POST" action="admin.php?page=<?php echo $plugin_path; ?>"> 81 <div class="form-group"> 82 <label class="col-sm-2 control-label" for="analyticsId">解析タグへの自由記述</label> 83 <div class="col-sm-8"> 84 <textarea id="additionalTag" class="form-control input-sm" type="text" name="additionalTag"><?php echo $additionalTag; ?></textarea> 85 <p class="help-block">※ 誤った記述を行うとサイトが表示できなくなる等の問題が発生する可能性があります。ヘルプ等をご覧の上、実際に必要な場合のみご利用ください。</p> 86 </div> 87 </div> 88 <div class="form-group"> 89 <div class="col-sm-offset-2 col-sm-10"> 90 <button type="submit" class="btn btn-success">登録</button> 91 </div> 92 </div> 93 <?php wp_nonce_field('update_ui_add_tag', 'update_ui_add_tag_nonce'); ?> 94 </form> 95 </div> 96 </div> 97 </div> 98 </div> 99 72 100 <div class="row mt-1"> 73 101 <div class="col-sm-8"> -
user-insight/trunk/readme.txt
r1872461 r2067557 4 4 Tags: heatmap, Japanese, analytics, analyze, click, click map, clicks, conversion tracking, pageviews, ヒートマップ, アクセス解析, google analytics 5 5 Requires at least: 6 Tested up to: 4.97 Stable tag: 1.0. 26 Tested up to: 5.1 7 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 = 1.0.2 = 33 * ITPに対応 34 * タグに自由記述欄を追加 35 36 = 1.0.2 = 33 37 * WordPressのバージョン4.9.5まで対応 34 38 -
user-insight/trunk/readme_en.txt
r1872461 r2067557 4 4 Tags: heatmap, Japanese, analytics, analyze, click, click map, clicks, conversion tracking, pageviews, ヒートマップ, アクセス解析, google analytics 5 5 Requires at least: 6 Tested up to: 4.87 Stable tag: 1.0. 16 Tested up to: 5.1 7 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 32 32 == Changelog == 33 33 34 = 1.0.3 = 35 * Support ITP. 36 * Support additional tags. 37 34 38 = 1.0.2 = 35 39 * Support WP 4.9.5 -
user-insight/trunk/user_insight.php
r1872461 r2067557 36 36 } 37 37 38 // additional tags 39 $additionalTag = @get_option('ui_additional_tag'); 40 $freeTag = !empty($additionalTag) ? $additionalTag : ''; 41 38 42 $tag = <<< EOF 39 43 <!-- User Insight PCDF Code Start : userlocal.jp --> … … 45 49 _uih['uigr_1'] = ''; _uih['uigr_2'] = ''; _uih['uigr_3'] = ''; _uih['uigr_4'] = ''; _uih['uigr_5'] = ''; 46 50 _uih['uigr_6'] = ''; _uih['uigr_7'] = ''; _uih['uigr_8'] = ''; _uih['uigr_9'] = ''; _uih['uigr_10'] = ''; 51 _uic['uls'] = 1; 52 53 {$freeTag} 47 54 48 55 /* DO NOT ALTER BELOW THIS LINE */ … … 69 76 wp_enqueue_style('ui-css-bootstrap', $pluginUrl . '/css/bootstrap.min.css'); 70 77 78 // setting id 71 79 if (isset($_POST['analyticsId'])) { 72 80 // using nonces and checking permissions … … 88 96 } 89 97 98 // setting free additional tag 99 if (isset($_POST['additionalTag'])) { 100 // using nonces and checking permissions 101 if (check_admin_referer('update_ui_add_tag', 'update_ui_add_tag_nonce') && current_user_can('administrator')) { 102 $additionalTag = $_POST['additionalTag']; 103 104 @update_option('ui_additional_tag', $additionalTag); 105 $message = array('alert-success', '自由記述を登録しました。'); 106 } 107 } else { 108 $additionalTag = @get_option('ui_additional_tag'); 109 } 110 90 111 // show 91 112 $plugin_path = urlencode($pluginName . '/' . basename(__FILE__)); -
user-insight/trunk/view/admin.php
r1831188 r2067557 70 70 </div> 71 71 </div> 72 73 <div class="row mt-1"> 74 <div class="col-sm-8"> 75 <div class="panel panel-default"> 76 <div class="panel-heading"> 77 <h3 class="panel-title">解析タグへの自由記述</h3> 78 </div> 79 <div class="panel-body"> 80 <form class="form-horizontal" method="POST" action="admin.php?page=<?php echo $plugin_path; ?>"> 81 <div class="form-group"> 82 <label class="col-sm-2 control-label" for="analyticsId">解析タグへの自由記述</label> 83 <div class="col-sm-8"> 84 <textarea id="additionalTag" class="form-control input-sm" type="text" name="additionalTag"><?php echo $additionalTag; ?></textarea> 85 <p class="help-block">※ 誤った記述を行うとサイトが表示できなくなる等の問題が発生する可能性があります。ヘルプ等をご覧の上、実際に必要な場合のみご利用ください。</p> 86 </div> 87 </div> 88 <div class="form-group"> 89 <div class="col-sm-offset-2 col-sm-10"> 90 <button type="submit" class="btn btn-success">登録</button> 91 </div> 92 </div> 93 <?php wp_nonce_field('update_ui_add_tag', 'update_ui_add_tag_nonce'); ?> 94 </form> 95 </div> 96 </div> 97 </div> 98 </div> 99 72 100 <div class="row mt-1"> 73 101 <div class="col-sm-8">
Note: See TracChangeset
for help on using the changeset viewer.