Changeset 9145
- Timestamp:
- Feb 10, 2011, 10:48:31 AM (13 years ago)
- Location:
- extensions/whois_online
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/whois_online/Changelog.txt.php
r6388 r9145 3 3 Plugin Name: Whois online 4 4 ** History ** 5 2011-02-10 2.2.0 6 New: Piwigo 2.2 support cljosse 7 5 8 2010-05-27 2.1.d 6 9 Translator's description text -
extensions/whois_online/config.php
r6214 r9145 5 5 /* 6 6 TODO list: 7 - User comments 8 (Delete all comments or partial delete) 7 - User comments… (Delete all comments or partial delete) 9 8 - Bots identification (for exclusion maybe a sharing feature with antiaspi to lock user/IP) 10 9 - hits level (to suggest a new bot) … … 34 33 'double_select' => 'double_select.tpl' 35 34 )); 35 36 if (!defined('ROOT_URL')) 37 define( 'ROOT_URL', get_root_url().'/' ); 38 39 $WHOIS_PATH_ABS=str_replace('\\','/',dirname(__FILE__) ); 40 if (!defined('WHOIS_PATH_ABS')) 41 define( 42 'WHOIS_PATH_ABS', $WHOIS_PATH_ABS."/" 43 ); 44 if (version_compare(PHPWG_VERSION, '2.2', '>=') ) 45 $file =WHOIS_PATH_ABS.'template/header_2_2.tpl' ; 46 else 47 $file =WHOIS_PATH_ABS.'template/header_2_1.tpl' ; 48 49 $template->set_filenames(array('whois_init_header'=> $file )); 50 $template->assign(Array( 51 52 'Whois_path' => WHOIS_ONLINE_PATH 53 )); 54 55 $template->concat('plugin_admin_content', $template->parse('whois_init_header', true)); 56 36 57 37 58 // Tabsheets -
extensions/whois_online/config.tpl
r8172 r9145 1 1 <div class="titrePage"> 2 <h2>Whois Online </h2>2 <h2>Whois Online {'Version'|@translate}:{$Whois_version}</h2> 3 3 </div> 4 4 5 5 <form method="post" action="{$F_ACTION}" class="Whois_Online properties {$themeconf.name}"> 6 6 … … 153 153 {literal} 154 154 <script type="text/javascript">// <![CDATA[ 155 $(document).ready(function () {156 $("a.load")155 jQuery(document).ready(function () { 156 jQuery("a.load") 157 157 .click(function() { 158 $("#reloadable").load(this.href);158 jQuery("#reloadable").load(this.href); 159 159 return false; 160 160 }); … … 171 171 <link rel="stylesheet" type="text/css" href="{$Whois_path|@cat:'online.css'}"> 172 172 {/html_head} 173 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"} 174 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.cluetip.packed.js"} 175 {known_script id="jquery.tablesorter" src=$Whois_path|@cat:"jquery/tablesorter/jquery.tablesorter.min.js"} 173 {*known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"*} 174 {*known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"*} 175 {*known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"*} 176 {* known_script id="jquery.tablesorter" src=$Whois_path|@cat:"jquery/tablesorter/jquery.tablesorter.min.js" *} -
extensions/whois_online/include/wo_admin_functions.inc.php
r6201 r9145 88 88 89 89 // Select the correct menu on loc_end_admin 90 function whois_select_menu( $menu) {90 function whois_select_menu() { 91 91 global $conf_whois, $template; 92 92 if ($conf_whois['Add icon to History'] or !$conf_whois['Add to Plugins menu']) -
extensions/whois_online/main.inc.php
r6388 r9145 23 23 /* 24 24 Plugin Name: Whois online 25 Version: 2.1. d25 Version: 2.1.e 26 26 Description: Who is online? 27 Plugin URI: http:// fr.piwigo.org/ext/extension_view.php?eid=27927 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=279 28 28 Author: Piwigo team 29 29 Author URI: http://www.vdigital.org 30 30 */ 31 define('WHOIS_ONLINE_VER', '2.1.d'); 31 32 32 global $prefixeTable, $conf; 33 33 // $conf['debug_l10n'] = true; … … 36 36 define('WHOIS_ONLINE_DIR' , basename(dirname(__FILE__))); 37 37 define('WHOIS_ONLINE_PATH' , PHPWG_PLUGINS_PATH . WHOIS_ONLINE_DIR . '/'); 38 39 40 $path = WHOIS_ONLINE_PATH; 41 $plg_data = implode( '', file($path.'main.inc.php') ); 42 if (preg_match("|Version: (.*)|", $plg_data, $val)) 43 { 44 $Whois_online_ver = trim($val[1]); 45 } 46 47 define('WHOIS_ONLINE_VER', $Whois_online_ver); 48 38 49 include_once(WHOIS_ONLINE_PATH.'online.php'); 39 50 /* History: WHOIS_ONLINE_PATH.'Changelog.txt.php' */ -
extensions/whois_online/report.tpl
r6386 r9145 1 { known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"plugins/whois_online/jquery/cluetip/jquery.cluetip.min.js"}1 {*known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"plugins/whois_online/jquery/cluetip/jquery.cluetip.min.js" *} 2 2 <table class="table2" id="detailedStats"> 3 3 <thead> … … 95 95 {literal} 96 96 <script type="text/javascript">// <![CDATA[ 97 $(document).ready(function(){98 $("#detailedStats").tablesorter( {sortList: [[5,1]]} );}97 jQuery(document).ready(function(){ 98 jQuery("#detailedStats").tablesorter( {sortList: [[5,1]]} );} 99 99 ); 100 100 jQuery().ready(function(){
Note: See TracChangeset
for help on using the changeset viewer.