Changeset 933038
- Timestamp:
- 06/16/2014 02:00:43 PM (12 years ago)
- Location:
- hypercomments/trunk
- Files:
-
- 6 edited
-
comments.php (modified) (1 diff)
-
css/hypercomments.css (modified) (2 diffs)
-
hypercomments.php (modified) (3 diffs)
-
js/hypercomments.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
widgets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hypercomments/trunk/comments.php
r628179 r933038 7 7 <div style='position:absolute; width:36px'><?php echo get_avatar($comments[$i]->user_id)?></div> 8 8 <div style='margin-left:50px;'> 9 <div style='float:left;margin-right:5px;color:#3B5998;font-size: 11px;font-family: tahoma,verdana,arial,sans-serif;font-weight: bold;'><?php echo $comments[$i]->comment_author;?></div>9 <div style='float:left;margin-right:5px;color:#3B5998;font-size: 11px;font-family: tahoma,verdana,arial,sans-serif;font-weight: bold;'><?php echo htmlentities($comments[$i]->comment_author, ENT_QUOTES, 'UTF-8');?></div> 10 10 <div style='color: gray;font-size:10px;'><?php echo $comments[$i]->comment_date;?></div> 11 <div style='padding:5px;'><?php echo $comments[$i]->comment_content;?></div>11 <div style='padding:5px;'><?php echo htmlentities($comments[$i]->comment_content, ENT_QUOTES, 'UTF-8');?></div> 12 12 </div> 13 13 </div> -
hypercomments/trunk/css/hypercomments.css
r780861 r933038 6 6 z-index: 3; 7 7 overflow: visible; 8 margin-bottom: 10px;9 8 } 10 9 .hc_logo{ … … 40 39 .hc_top_menu{ 41 40 text-align: right; 42 margin-right: 70px;41 margin-right: 5px; 43 42 margin-bottom: 10px; 44 43 padding-top: 15px; -
hypercomments/trunk/hypercomments.php
r780861 r933038 4 4 Plugin URI: http://hypercomments.com/ 5 5 Description: HyperComments - New dimension of comments. Hypercomments technology allows commenting a specific word or a piece of text. 6 Version: 1.1. 76 Version: 1.1.8 7 7 Author: Alexandr Bazik 8 8 Author URI: http://hypercomments.com/ … … 14 14 define('HC_PLUGIN_URL', HC_CONTENT_URL . '/plugins/hypercomments'); 15 15 define('HC_XML_PATH',$_SERVER['DOCUMENT_ROOT'].'/wp-content/uploads'); 16 define('HC_VERSION', '1.1. 7');16 define('HC_VERSION', '1.1.8'); 17 17 if(HC_DEV == true){ 18 18 define('HC_URL', 'http://dev.hypercomments.com'); … … 352 352 if(!is_singular() && !(is_page() && is_single())) { 353 353 $counter_label = (get_option('hc_label_counter') && strlen(get_option('hc_label_counter'))>0) ? 354 ' ,label : "'.get_option('hc_label_counter').'"' : '';354 ' label : "'.get_option('hc_label_counter').'"' : ''; 355 355 echo hc_get_counter_widget(get_option('hc_wid'), get_option('hc_selector'), hc_get_language(), $counter_label); 356 356 } -
hypercomments/trunk/js/hypercomments.js
r780861 r933038 60 60 var time_zone = -date.getTimezoneOffset()/60; 61 61 62 $.getJSON(context.hc_url+'/ '+context.hc_lang+'/widget/wordpresscreate?jsoncallback=?',62 $.getJSON(context.hc_url+'/api/widget_create?jsoncallback=?', 63 63 { 64 64 site : context.hc_siteurl, 65 65 title : (context.hc_blogname.length > 0) ? context.hc_blogname : 'WP blog name', 66 plugins : "comments,rss,login,count_messages,authors,topics,hypercomments,likes ",66 plugins : "comments,rss,login,count_messages,authors,topics,hypercomments,likes,quotes", 67 67 hypertext : "*", 68 68 limit : 20, … … 176 176 var opt = $(this).data('opt'); 177 177 if($(this).attr('type') == 'checkbox'){ 178 val = $(this).is(':checked') ;178 val = $(this).is(':checked') ? 1 : 0; 179 179 obj_opt[opt] = val; 180 180 }else if($(this).attr('type') == 'text'){ -
hypercomments/trunk/readme.txt
r780861 r933038 5 5 Tags: hyperComments, comments, threaded, email, notification, spam, avatars, community, profile, widget 6 6 Requires at least: 2.8 7 Tested up to: 3. 6.18 Stable tag: 1.1. 77 Tested up to: 3.9.1 8 Stable tag: 1.1.8 9 9 10 10 The HyperComments technology replaces the native WordPress comment system with comments hosted and powered by HyperComment … … 80 80 81 81 == Changelog == 82 **1.1.8** 83 bugs fixed<br /> 84 new admin panel<br /> 85 82 86 **1.1.7** 83 87 Updated plugin interface<br /> -
hypercomments/trunk/widgets.php
r780861 r933038 16 16 var _hc_real = {widget_id : <?php echo $hc_wid?>, widget : "Stream", 17 17 append: '<?php echo $hc_append?>', css: '<?php echo $hc_css?>', 18 words_limit: <?php echo $hc_word_limit?>, realtime: <?php echo $hc_realtime?>, comments_level: <?php echo $hc_comments_level?>,18 words_limit: <?php echo $hc_word_limit?>, realtime: <?php echo ($hc_realtime == 1) ? 'true' : 'false';?>, comments_level: <?php echo $hc_comments_level?>, 19 19 platform: "wordpress", xid: '<?php echo $hc_url?>' <?php echo $hc_auth?>}; 20 20 _hcwp.push(_hc_real); … … 80 80 ob_start(); 81 81 ?> 82 <div id="hc_adm_widget" style="width:1000px; margin: 0 auto;"></div>82 <div id="hc_adm_widget"></div> 83 83 <script type="text/javascript"> 84 84 var _hcp = {}; 85 _hcp.widget = "Adm"; 86 _hcp.append = "#hc_adm_widget"; 87 _hcp.lang = '<?php echo $hc_lang?>'; 88 _hcp.widget_id = <?php echo $hc_wid?>; 85 _hcp.append = "#hc_adm_widget"; 86 _hcp.height = jQueryHC(window).height() - 120; 89 87 <?php if(HC_DEV): ?> 90 _hcp.test = 1; 91 _hcp.debug = 1; 92 _hcp.dev = 1; 88 _hcp.url = document.location.protocol + "//testadmin.hypercomments.com"; 93 89 <?php endif;?> 94 90 (function() {
Note: See TracChangeset
for help on using the changeset viewer.