变更集1552065
时间戳: 2016年11月12日下午07:50:04 ( 8年 (之前) 位置: eve-shipinfo/trunk 文件夹: -
添加了1个 19已编辑
-
类/EVEShipInfo.php (已修改) ( 7个差异 ) -
classes/EVEShipInfo/Admin/Page.php类 (已修改) ( 2个差异 ) -
classes/EVEShipInfo/Admin/Page/Main.php类 (已修改) ( 2个差异 ) -
classes/EVEShipInfo/Admin/Page/Main/About.php类 (已添加) -
classes/EVEShipInfo/Admin/Page/Main/Dashboard.php类 (已修改) ( 1个差异 ) -
classes/EVEShipInfo/Admin/Page/Main/EFT安装.php (已修改) ( 1个差异 ) -
classes/EVEShipInfo/Admin/Page/Settings.php (已修改) ( 1个差异 ) -
classes/EVEShipInfo/Admin/Page/Tab.php类 (已修改) ( 2个差异 ) -
classes/EVEShipInfo/Admin/SettingsManager.php (已修改) ( 1个差异 ) -
classes/EVEShipInfo/Admin/UI/StuffBox.php类 (已修改) ( 4个差异 ) -
classes/EVEShipInfo/EFTManager.php类 (已修改) ( 2个差异 ) -
classes/EVEShipInfo/EFTManager/Fit/Slot.php (已修改) ( 4个差异 ) -
classes/EVEShipInfo/Plugin.php类 (已修改) ( 3个差异 ) -
css/管理员.css (已修改) ( 1个差异 ) -
css/admin.min.css (已修改) ( 1个差异 ) -
data/data.zip (已修改) ( 以前的 ) -
eve-shipinfo.php软件 (已修改) ( 1个差异 ) -
js/admin/admin.js (已修改) ( 1个差异 ) -
js/admin/admin.min.js (已修改) ( 1个差异 ) -
自述.txt (已修改) ( 2个差异 )
图例:
未修改 补充 远离的
-
eve-shipinfo/trunk/classes/EVEShipInfo.php 1532177兰特 1552065兰特 63 63 64 64 /** 65 *插件名称 66 *@var字符串 67 */ 68 const APPNAME='EVE ShipInfo'; 69 70 /** 71 *插件主页的URL 72 *@var字符串 73 */ 74 常量APPURI=' http://aeonoftime.com/EVE_Online_Tools/EV-ShipInfo-WordPress-Plugin '; 75 76 /** 65 77 *@var EVEShipInfo 66 78 */ … … 99 111 100 112 add_action('init',数组($this,'handle_init'); 113 add_action('wp_loaded',数组($this,'handle_actions')); 101 114 102 115 $this->handle_initAJAX方法(); … … 377 390 } 378 391 392 /** 393 *@var EVEShipInfo_Admin_Page 394 */ 395 受保护的$activePage; 396 397 公共函数handle_actions() 398 { 399 if(!$this->isAdmin()){ 400 回报; 401 } 402 403 $pages=$this->getAdminPages(); 404 $activePage=空; 405 if(isset($_REQUEST[“页面”]){ 406 $activePage=$_REQUEST[“页面”]; 407 foreach($pages作为$pageDef){ 408 if($activePage==$pageDef['name']){ 409 $this->activePage=$this->创建页面('Main','eveshipinfo') 410 ->选择选项卡($pageDef['id']); 411 $this->activePage->handleActions(); 412 } 413 } 414 } 415 } 416 379 417 公共函数getThemeID() 380 418 { … … 823 861 } 824 862 863 受保护的$adminPages; 864 865 受保护的函数getAdminPages() 866 { 867 if(isset($this->adminPages)){ 868 return$this->adminPages; 869 } 870 871 $this->adminPages=数组( 872 阵列( 873 “id”=>“仪表板”, 874 'navTitle'=>__('Dashboard','eve-shipinfo'), 875 “name”=>“eveshipinfo”, 876 ), 877 阵列( 878 “id”=>“主题”, 879 “navTitle”=>__(“主题”,“eve-shipinfo”), 880 “name”=>“eveshipinfo_themes”, 881 ), 882 阵列( 883 'id'=>'短代码', 884 'navTitle'=>__('Shortcodes','eve-shipinfo'), 885 “name”=>“eveshipinfo_shortcodes”, 886 ), 887 阵列( 888 “id”=>“EFTImport”, 889 'navTitle'=>__('EFT导入','eve-shipinfo'), 890 “name”=>“eveshipinfo_eftimport”, 891 ), 892 阵列( 893 “id”=>“EFTFittings”, 894 'navTitle'=>__('EFT配件','eve shipinfo'), 895 “name”=>“eveshipinfo_eftfittings”, 896 ), 897 阵列( 898 “id”=>“数据库”, 899 “navTitle”=>__(“数据库”,“eve-shipinfo”), 900 “name”=>“eveshipinfo_database”, 901 ), 902 阵列( 903 “id”=>“关于”, 904 'navTitle'=>__('About','eve-shipinfo'), 905 “name”=>“eveshipinfo_about”, 906 ) 907 ); 908 909 return$this->adminPages; 910 } 911 825 912 公共函数handle_initAdminMenu() 826 913 { … … 833 920 //在“设置”菜单下为插件添加选项页。 834 921 添加选项页面( 835 __(“EVE ShipInfo设置”,“EVE-ShipInfo” ), 836 __(“EVE ShipInfo”,“EVE-ShipInfo”) , 922 sprintf(__(“%1$s设置”,“eve shipinfo”),EVEShipInfo::APPNAME ), 923 EVEShipInfo::APPNAME , 837 924 '管理选项', 838 925 'eveshipinfo_settings', … … 841 928 842 929 添加菜单页面( 843 __(“EVE ShipInfo”,“EVE-ShipInfo”) , 844 __(“EVE ShipInfo”,“EVE-ShipInfo”) , 930 EVEShipInfo::APPNAME , 931 EVEShipInfo::应用程序名称 , 845 932 '编辑文章', 846 933 “eveshipinfo”, 847 数组($this,'handle_display 主要 第'页) 934 数组($this,'handle_display 活动 第'页) 848 935 ); 849 936 850 $subnuPages=数组( 851 阵列( 852 'navTitle'=>__('Dashboard','eve-shipinfo'), 853 'name'=>'eveshipinfo', 854 “回调”=>数组($this,'handle_displayMainPage') 855 ), 856 阵列( 857 “navTitle”=>__(“主题”,“eve-shipinfo”), 858 “name”=>“eveshipinfo_themes”, 859 “回调”=>数组($this,'handle_displayThemesPage') 860 ), 861 阵列( 862 'navTitle'=>__('Shortcodes','eve-shipinfo'), 863 “name”=>“eveshipinfo_shortcodes”, 864 “回调”=>数组($this,“handle_displayShortcodesPage”) 865 ), 866 阵列( 867 'navTitle'=>__('EFT导入','eve-shipinfo'), 868 'name'=>'evelshipinfo_eftimport', 869 “callback”=>数组($this,“handle_displayEFTImportPage”) 870 ), 871 阵列( 872 “navTitle”=>__(“EFT配件”,“eve-shipinfo”), 873 “name”=>“eveshipinfo_eftfittings”, 874 “callback”=>数组($this,“handle_displayEFTFittingsPage”) 875 ), 876 阵列( 877 “navTitle”=>__(“数据库”,“eve-shipinfo”), 878 “name”=>“eveshipinfo_database”, 879 “回调”=>数组($this,'handle_displayDatabasePage') 880 ) 881 ); 937 $submenuPages=$this->getAdminPages(); 882 938 883 939 foreach($subnuPages作为$page){ … … 888 944 '编辑文章', 889 945 $page[“姓名”], 890 $page['callback'] 946 数组($this,'handle_displayActivePage') 891 947 ); 892 948 } 893 949 } 894 950 895 公共函数handle_displayMainPage($tabID=null) 896 { 897 $this->createPage('Main','eveshipinfo') 898 ->选择选项卡($tabID) 899 ->显示(); 900 } 901 902 公共函数handle_displayThemesPage() 903 { 904 $this->handle_displayMainPage(“主题”); 905 } 906 907 公共函数handle_displayShortcodesPage() 908 { 909 $this->handle_displayMainPage(“短代码”); 910 } 911 912 公共函数handle_displayEFTImportPage() 913 { 914 $this->handle_displayMainPage('EFTImport'); 915 } 916 917 公共函数handle_displayEFTFittingsPage() 918 { 919 $this->handle_displayMainPage(“EFTFittings”); 920 } 921 922 公共函数handle_displayDatabasePage() 923 { 924 $this->handle_displayMainPage(“数据库”); 925 } 926 927 公共函数handle_displayHelpPage() 928 { 929 $this->handle_displayMainPage(“帮助”); 951 公共函数handle_displayActivePage() 952 { 953 $this->activePage->display(); 930 954 } 931 955 -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page.php 1524887元 1552065兰特 27 27 公共函数__construct(EVEShipInfo$plugin,$slug) 28 28 { 29 $this->screen=get_current_screen(); 30 29 $this->plugin=$plugin; 31 30 $this->tabs=$this->getTabs(); … … 46 45 47 46 返回$this; 47 } 48 49 公共函数handleActions() 50 { 51 if($this->activeTab!=空){ 52 $this->activeTab->handleActions(); 53 } 48 54 } 49 55 -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Main.php 1417468兰特 1552065兰特 12 12 “EFT配件”=>__(“EFT管件”,“eve-shipinfo”), 13 13 “数据库”=>__(“数据库引用”,“eve-shipinfo”), 14 “关于”=>__(“关于”,“eve-shipinfo”) 14 15 ); 15 16 … … 19 20 公共函数getTitle() 20 21 { 21 返回 __(“EVE ShipInfo”,“EVE-ShipInfo”) ; 22 返回 EVEShipInfo::APPNAME ; 22 23 } 23 24 -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Main/Dashboard.php 1532177兰特 1552065兰特 15 15 公共函数getTitle() 16 16 { 17 return sprintf(__('EVE ShipInfo v%1$s Dashboard','EVE-ShipInfo'),$this->plugin->getVersion()); 17 回程冲刺( 18 __(“%1$s与%2$s仪表板”,“eve-shipinfo”), 19 EVEShipInfo::应用程序名称, 20 $this->plugin->getVersion() 21 ); 18 22 } 19 23 -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Main/EFT安装.php 1524886元 1552065兰特 258 258 *根据所选列表操作的方法。 259 259 */ 260 受保护函数handleActions() 261 { 260 公共函数handleActions() 261 { 262 if(!isset($_REQUEST['fits'])||! isset($_REQUEST['action']){ 263 回报; 264 } 265 262 266 $selected=数组(); 263 267 foreach($_REQUEST[“位”]作为$fitID){ -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Settings.php 1296717元 1552065兰特 15 15 公共函数getTitle() 16 16 { 17 返回 __(“EVE ShipInfo设置”,“EVE-ShipInfo” ); 17 返回 sprintf(__(“%1$s设置”,“eve-shipinfo”),EVEShipInfo::APPNAME ); 18 18 } 19 19 } -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Tab.php 1512895元 1552065兰特 45 45 $this->ui=$page->getUI(); 46 46 $this->插件=EVEShipInfo::getInstance(); 47 $this->screen=获取当前屏幕(); 48 47 49 48 $this->configure(); … … 186 185 return$box->render(); 187 186 } 187 188 /** 189 *在发送标头之前调用,可以通过扩展 190 *选项卡类以实现可能需要的操作 191 *重定向到另一页。 192 */ 193 公共函数句柄Actions() 194 { 195 196 } 188 197 } -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/SettingsManager.php 1532177兰特 1552065兰特 70 70 “</form>”; 71 71 72 返回$html; 72 return$this->plugin->getAdminUI()->createStuffBox() 73 ->设置内容($html) 74 ->render(); 73 75 } 74 76 } -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/UI/StuffBox.php 1417468兰特 1552065兰特 90 90 } 91 91 92 $aria=“false”; 93 94 if($this->崩溃){ 95 if($this->崩溃){ 96 $aria=“true”; 97 $class.=' 关闭'; 98 } 99 } 100 92 101 $html(美元)= 93 102 '<div class=“'.implode('',$this->类).'”>'。 … … 95 104 if($this->可折叠){ 96 105 $html= 97 '<div class=“handlediv”title=“'.__('单击以切换').'”onclick=“jQuery('#'.$this->id.'-indin\').toggle()”><br></div >'; 106 '<button type=“button”class=“handlediv button-link”aria-expanded=“true”onclick=“EVEShipInfo_Admin.ToggleStuffbox(''.$this->id.''')”><span class=“screen-reader-text”>切换面板:修订 >'; 98 107 } 99 108 … … 110 119 $handle=“”; 111 120 if($this->可折叠){ 112 $handle='class=“hndle”style=“cursor:pointer;”onclick=“ jQuery(\'#'.$this->id.'-indin\').togle( )"'; 121 $handle='class=“hndle”style=“cursor:pointer;”onclick=“ EVEShipInfo_管理。 切换Stuffbox(\''.$this->id.'\' )"'; 113 122 } 114 123 $html= … … 138 147 返回$html; 139 148 } 149 150 公共函数__toString() 151 { 152 return$this->render(); 153 } 140 154 } -
eve-shipinfo/trunk/classes/EVEShipInfo/EFTManager.php 1524886元 1552065兰特 14 14 } 15 15 16 公共函数getDataPath() 17 { 18 return$this->plugin->getDir()。'/ data/eft.xml'; 19 } 20 21 16 /** 22 17 *检查配件数据文件是否存在。 … … 111 106 } 112 107 113 $ data=取消序列化($data); 114 115 foreach公司($ data['fits']作为$item){ 108 $ 此-> data=取消序列化($data); 109 110 前臂($ 此-> data['fits']作为$item){ 116 111 $fit=EVEShipInfo_EFTManager_fit::fromArray($this,$item); 117 112 $this->addFit($fit); 118 113 } 114 } 115 116 受保护的$data=array(); 117 118 /** 119 *检索原始EFT配件数据。 120 *@return数组 121 */ 122 公共函数getEFTData() 123 { 124 $this->load(); 125 返回$this->数据; 119 126 } 120 127 -
eve-shipinfo/trunk/classes/EVEShipInfo/EFTManager/Fit/Slot.php 1236586兰特 1552065兰特 21 21 受保护的$amount; 22 22 23 受保护的静态$types=数组( 24 “medPower”, 25 “高功率”, 26 “loPower”, 27 “rigSlot”, 28 '子系统', 29 “无人机” 30 ); 31 32 受保护的静态$meta=数组( 33 “t1”, 34 “t2”, 35 “t3”, 36 “故事情节”, 37 “派别”, 38 “官员”, 39 “死区”, 40 ); 23 受保护的静态$类型; 24 25 受保护的静态$meta; 26 27 /** 28 *@var EVEShipInfo 29 */ 30 受保护的$plugin; 31 32 /** 33 *@var EVEShipInfo_EFTManager 34 */ 35 受保护的$manager; 41 36 42 37 公共函数__construct(EVEShipInfo_EFTManager_Fit$Fit,$id,$itemName,$chargeName=null,$amount=null) 43 38 { 39 $this->插件=EVEShipInfo::getInstance(); 44 40 $this->manager=$fit->getManager(); 45 41 $this->id=$id; … … 48 44 $this->类型=$this->manager->getModuleSlot($this-]itemName); 49 45 $this->meta=$this->管理器->getModuleMeta($this->itemName); 46 47 if(!isset(self::$types)){ 48 $this->initTypes(); 49 $this->initMetas(); 50 } 50 51 51 52 if(空($this->type)){ … … 90 91 } 91 92 } 92 93 94 /** 95 *从数据库加载所有插槽名称(每个请求只执行一次)。 96 */ 97 受保护的函数initTypes() 98 { 99 self::$types=$this->plugin->dbFetchAllKey( 100 '别名', 101 “”选择“ 102 `别名` 103 发件人 104 `“.$this->plugin->getTableName('modules_slots').”`“ 105 ); 106 } 107 108 受保护的函数initMetas() 109 { 110 self::$meta=$this->plugin->dbFetchAllKey( 111 '别名', 112 “”选择“ 113 `别名` 114 来自 115 `“.$this->plugin->getTableName('meta').”`“ 116 ); 117 } 118 119 /** 120 *检索所有元类型名称的列表 121 *作为索引数组。 例如: 122 *<code>数组('t1','t2','故事情节',…)</code> 123 * 124 *@return字符串[] 125 */ 93 126 公共静态函数getMetaTypes() 94 127 { … … 96 129 } 97 130 131 /** 132 *检索插槽类型名称列表 133 *作为索引数组。 例如: 134 *<code>阵列('hiPower','lowPower','无人机',…)</code> 135 * 136 *@return字符串[] 137 */ 98 138 公共静态函数getTypes() 99 139 { -
eve-shipinfo/trunk/classes/EVEShipInfo/Plugin.php 1512895元 1552065兰特 206 206 } 207 207 208 /** 209 *检索插件版本。 注意,这只起作用 210 *在行政部门,而不是在前台。 211 * 212 *如果不在管理中,则返回字符串0 213 */ 208 214 公共函数getVersion() 209 215 { 210 $data=获取plugin_data($this->getDir()。'/ eve-shipinfo.php’,false); 211 return$data['Version']; 216 if(is_admin()){ 217 require_once(ABSPATH.'wp-admin/includes/plugin.php'); 218 $data=获取plugin_data($this->getDir()。'/ eve-shipinfo.php',false); 219 return$data['Version']; 220 } 221 222 返回“0”; 212 223 } 213 224 … … 339 350 返回$result; 340 351 } 352 353 /** 354 *{@inheritDoc} 355 *@请参阅EVEShipInfo_PluginInterface::isAdmin() 356 */ 357 公共函数isAdmin() 358 { 359 返回is_admin(); 360 } 341 361 } 342 362 … … 360 380 361 381 公共函数compileAttributes($attributes); 382 383 /** 384 *检查当前是否在管理界面中。 385 *@返回布尔值 386 */ 387 公共函数isAdmin(); 362 388 } -
eve-shipinfo/trunk/css/admin.css 1524887元 1552065兰特 235 235 text-decoration:下划线; 236 236 } 237 238 BODY.设置_page_eveshipinfo_settings P.submit{ 239 padding-bottom:0; 240 边缘-底部:0; 241 } -
eve-shipinfo/trunk/css/admin.min.css 1532177兰特 1552065兰特 1 .text-success{color:#1fbe0e}.text-dangerious,.text-dnger,.text-error{color:#c00}.text-muted{color:#999}.button.dashicons{margin-top:3px}.text-info,.widefat TD.text-info{color:0074a2}UL.subsubsub LI{padding-right:15px;border-right:solid 1px#ccc;margin-right:15A5px}UL.subsubsub LI:last-child{border-light:0}.shipinfo最新排序{float:right} .shipinfo-list-ordering TD{font-size:13px}。shipinfo-form-table TD{vertical-align:middle}。shipinfo-table-controls{margin-bottom:8px}.shipinfo-page-heading{margin-top:10px;margin-boottom:40px;display:table}.shipinfo-page-heading H3{display:table-cell!important;margin:0!im要;padding:0!重要;font-size:20px!重要} .shipinfo-action-links{display:table-cell;padding-left:30px}p.submit BUTTON{margin-right:9px!important}.form-invalid.validation-message{color:#c00!importary}.meta-box-error.stuffbox{border-color:#cm00}.meto-box-error.stuwbox H3{background:#c100;color:#fff}.meta-box-success.stufbox{bo边-color:#30851c} .meta-box成功。填充箱H3{背景:#30851c;颜色:#fff}.meta-box警告。填充箱{border-color:#df9800}.meto-box警告。填料箱H3}背景:#df9800;颜色:#fff}TABLE.trace-TABLE{font-size:13px}.wrap.update-nag{margin-top:0;margin-bottom:20px}.wrap.update-nag>P{margin:0}.form-TABLE.field-static TH, .form-table.field-static TD{padding-top:6px;padding-bottom:6px}UL.list-toolbar>LI{float:left;margin-right:6px.}UL.list-toolbar LI.list-tolbar-separator{width:1px;height:28px;background:#ccc;margin-left:4px;margin-tright:10px}.radio-group-item{display:block;margin-bottom:8px}.theme-entry.theme-button{position:relative;top:10px} .themes-list{margin-top:40px}.themes-entry{margin-left:30px;margin-bottom:30px;padding:16px;float:left;clear:both;border:solid 1px#dedede;background:#fafafa;box-shadow:0 1px 20px 5px rgba(0,0,0,.1)}。themes-currentname{position:relative;top:-5px;backgound:#32373c;color:#fff;padding:2px 8px;border radius:2px;display:in行块;字体大小:11px; font-weight:正常; margin-left:9px}.theme-entry.theme-description{font-style:italic}.themes-entry.theme-name{padding:0!important;margin:0!重要;字体大小:32px!重要;font-weight:100!重要}.theme-entry.theme-entry按钮{float:right}.themer-tumb{width:400px;光标:放大}.themen-tumb.maximized{width:自动;光标:缩小}.shipinfo-spiner{display:inline-block; 背景:url(../images/spinner.gif)无重复中心; 最小宽度:20px; 最小高度:20px; 线高:1; 垂直对齐:顶部}。shipinfo可点击{光标:指针}。适合可见性切换。shipinfo可点击:悬停{color:#0073aa}。shipinfo页面标题{margin-bottom:25px!important}。shipinfo创建者{float:right;font-size:11px;color:#888}。shipinfo创建者A:链接,shipinfo创建者A:已访问{color:#444;文本装饰:none}。shipinfo创建者A:活动, .shipinfo-creator A:悬停{color:#000;文本注释:下划线} 1 .text-success{color:#1fbe0e}.text-dangerious,.text-dnger,.text-error{color:#c00}.text-muted{color:#999}.button.dashicons{margin-top:3px}.text-info,.widefat TD.text-info{color:0074a2}UL.subsubsub LI{padding-right:15px;border-right:solid 1px#ccc;margin-right:15A5px}UL.subsubsub LI:last-child{border-light:0}.shipinfo最新排序{float:right} .shipinfo-list-ordering TD{font-size:13px}。shipinfo-form-table TD{vertical-align:middle}。shipinfo-table-controls{margin-bottom:8px}.shipinfo-page-heading{margin-top:10px;margin-boottom:40px;display:table}.shipinfo-page-heading H3{display:table-cell!important;margin:0!im要;padding:0!重要;font-size:20px!重要} .shipinfo-action-links{display:table-cell;padding-left:30px}p.submit BUTTON{margin-right:9px!important}.form-invalid.validation-message{color:#c00!importary}.meta-box-error.stuffbox{border-color:#cm00}.meto-box-error.stuwbox H3{background:#c100;color:#fff}.meta-box-success.stufbox{bo边-color:#30851c} .meta-box成功。填充箱H3{背景:#30851c;颜色:#fff}.meta-box警告。填充箱{border-color:#df9800}.meto-box警告。填料箱H3}背景:#df9800;颜色:#fff}TABLE.trace-TABLE{font-size:13px}.wrap.update-nag{margin-top:0;margin-bottom:20px}.wrap.update-nag>P{margin:0}.form-TABLE.field-static TH, .form-table.field-static TD{padding-top:6px;padding-bottom:6px}UL.list-toolbar>LI{float:left;margin-right:6px.}UL.list-toolbar LI.list-tolbar-separator{width:1px;height:28px;background:#ccc;margin-left:4px;margin-tright:10px}.radio-group-item{display:block;margin-bottom:8px}.theme-entry.theme-button{position:relative;top:10px} .themes-list{margin-top:40px}.themes-entry{margin-left:30px;margin-bottom:30px;padding:16px;float:left;clear:both;border:solid 1px#dedede;background:#fafafa;box-shadow:0 1px 20px 5px rgba(0,0,0,.1)}。themes-currentname{position:relative;top:-5px;backgound:#32373c;color:#fff;padding:2px 8px;border radius:2px;display:in行块;字体大小:11px; font-weight:正常; margin-left:9px}.theme-entry.theme-description{font-style:italic}.themes-entry.theme-name{padding:0!important;margin:0!重要;字体大小:32px!重要;font-weight:100!重要}.theme-entry.theme-entry按钮{float:right}.themer-tumb{width:400px;光标:放大}.themen-tumb.maximized{width:自动;光标:缩小}.shipinfo-spiner{display:inline-block; 背景:url(../images/spinner.gif)无重复中心; 最小宽度:20px; 最小高度:20px; 线高:1; 垂直对齐:顶部}。shipinfo-clickable{光标:指针}。fit-visibility-toggle。shipinfo-clickable:悬停{color:#0073aa}。shipinfo-page-title{margin-bottom:25px!重要}, .shipinfo-creator A:悬停{color:#000;文本注释:下划线} BODY.settings_page_eveshipinfo_settings P.submit{padding-bottom:0;margin-bottom:0} -
eve-shipinfo/trunk/ev-shipinfo.php 1532177兰特 1552065兰特 1 1 <? php(电话) 2 2 /** 三 *插件名称:EVE Ship 我 信息 三 *插件名称:EVE Ship 我 信息 4 4 *插件URI: http://aeonoftime.com/EVE_Online_Tools/EVE-ShipInfo-WordPress-Plugin 5 5 *说明:在WordPress网站中放置EVE Online船舶数据库和EFT配件管理器,以及高质量的屏幕截图和专门的短代码。 6 *版本:2。 2 6 *版本:2。 三 7 7 *作者:Sebastian Mordziol 8 8 *作者URI: http://www.aeonoftime.com -
eve-shipinfo/trunk/js/admin/admin.js 1532177兰特 1552065兰特 25 25 “dataType”:“json” 26 26 }); 27 }, 28 29 ToggleStuffbox:函数(id) 30 { 31 var容器=jQuery('#'+id); 32 var句柄=container.find('.handlediv'); 33 var内部=jQuery('#'+id+'-indin'); 34 35 if(!container.hasClass('closed')){ 36 container.addClass(“已关闭”); 37 handle.attr('aria-expanded','false'); 38 inside.hide(); 39 }其他{ 40 container.removeClass(“已关闭”); 41 handle.attr('aria-expanded','true'); 42 内部.show(); 43 } 27 44 } 28 45 }; -
eve-shipinfo/trunk/js/admin/admin.min.js 1532177兰特 1552065兰特 1 var EVEShipInfo_Admin={AJAX:函数(o,n,a,e){null!=n&&“object”==n||(n={})的类型,n.action=“EVEShipInfo_”+o.toLowerCase(),jQuery.AJAX({url:ajaxurl,data:n,success:函数(o){“0”==o?e.call(void 0,“未知AJAX方法”):a.call(void 0,o)},错误:函数(o,n,a){e.call(a)},dataType:“json”})} 1 var EVEShipInfo_Admin={AJAX:function(a,e,o,n){null!=e&&“object”==e||(e={})的类型,e.action=“EVEShipInfo_”+a.到LowerCase(),jQuery.AJAX({url:ajaxurl,data:e,success:函数(a){“0”==a?n.call)},ToggleStuffbox:函数(a){vare=jQuery(“#”+a) ,o=e.find(“.handlediv”),n=jQuery(“#”+a+“-inside”) 2 e.hasClass(“关闭”)? (e.removeClass(“closed”),o.attr(“aria-expanded”,“true”),n.show()):(e.addClass(”closed“),o_attr(”aria-expnded“,”false“),n.hide())}} -
eve-shipinfo/trunk/readme.txt版本 1532177兰特 1552065兰特 三 三 标签:EVE在线 4 4 要求至少:3.5 5 测试最多:4。 6 6 稳定标签:2。 2 5 测试最多:4。 7 6 稳定标签:2。 三 7 7 许可证:GPLv3 8 8 许可证URI: https://www.gnu.org/licenses/gpl-3.0.txt … … 52 52 53 53 ==变更日志== 54 55 = 2.3 = 56 *修复了触发异常的缺少eft插槽类型 57 *内部更新了eft插槽以使用数据库信息 58 *WP 4.7兼容性的一些小的管理改进 59 *将数据包更新为最新版本 54 60 55 61 = 2.2 =