插件目录

变更集1552065


忽略:
时间戳:
2016年11月12日下午07:50:04(8年(之前)
作者:
AeonOfTime时间
消息:
  • 修复了触发异常的缺少eft插槽类型
  • 内部更新了eft插槽以使用数据库信息
  • WP 4.7兼容性的一些小的管理改进
  • 将数据包更新为最新版本
位置:
eve-shipinfo/trunk
文件夹:
添加了1个
19已编辑

图例:

未修改
补充
远离的
  • eve-shipinfo/trunk/classes/EVEShipInfo.php

    1532177兰特 1552065兰特  
    6363   
    6464/**
     65*插件名称
     66*@var字符串
     67    */
     68const APPNAME='EVE ShipInfo';
     69   
     70   /**
     71*插件主页的URL
     72*@var字符串
     73    */
     74常量APPURI='http://aeonoftime.com/EVE_Online_Tools/EV-ShipInfo-WordPress-Plugin';
     75   
     76   /**
    6577*@var EVEShipInfo
    6678    */
     
    99111         
    100112add_action('init',数组($this,'handle_init');
     113add_action('wp_loaded',数组($this,'handle_actions'));
    101114
    102115$this->handle_initAJAX方法();
     
    377390    }
    378391   
     392   /**
     393*@var EVEShipInfo_Admin_Page
     394    */
     395受保护的$activePage;
     396   
     397公共函数handle_actions()
     398    {
     399if(!$this->isAdmin()){
     400回报;
     401        }
     402       
     403$pages=$this->getAdminPages();
     404$activePage=空;
     405if(isset($_REQUEST[“页面”]){
     406$activePage=$_REQUEST[“页面”];
     407foreach($pages作为$pageDef){
     408if($activePage==$pageDef['name']){
     409$this->activePage=$this->创建页面('Main','eveshipinfo')
     410->选择选项卡($pageDef['id']);
     411$this->activePage->handleActions();
     412                }
     413            }
     414        }
     415    }
     416   
    379417公共函数getThemeID()
    380418    {
     
    823861    }
    824862   
     863受保护的$adminPages;
     864   
     865受保护的函数getAdminPages()
     866    {
     867if(isset($this->adminPages)){
     868return$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       
     909return$this->adminPages;
     910    }
     911   
    825912公共函数handle_initAdminMenu()
    826913    {
     
    833920//在“设置”菜单下为插件添加选项页。
    834921添加选项页面(
    835            __(“EVE ShipInfo设置”,“EVE-ShipInfo”),
    836            __(“EVE ShipInfo”,“EVE-ShipInfo”)
     922           sprintf(__(“%1$s设置”,“eve shipinfo”),EVEShipInfo::APPNAME),
     923           EVEShipInfo::APPNAME
    837924'管理选项',
    838925'eveshipinfo_settings',
     
    841928       
    842929添加菜单页面(
    843            __(“EVE ShipInfo”,“EVE-ShipInfo”)
    844            __(“EVE ShipInfo”,“EVE-ShipInfo”)
     930           EVEShipInfo::APPNAME
     931           EVEShipInfo::应用程序名称
    845932'编辑文章',
    846933“eveshipinfo”,
    847 数组($this,'handle_display主要第'页)
     934数组($this,'handle_display活动第'页)
    848935        );
    849936       
    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();
    882938     
    883939foreach($subnuPages作为$page){
     
    888944'编辑文章',
    889945$page[“姓名”],
    890                $page['callback']
     946               数组($this,'handle_displayActivePage')
    891947            );
    892948        }
    893949    }
    894950   
    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();
    930954    }
    931955   
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page.php

    1524887元 1552065兰特  
    2727公共函数__construct(EVEShipInfo$plugin,$slug)
    2828    {
    29 $this->screen=get_current_screen();
    3029$this->plugin=$plugin;
    3130$this->tabs=$this->getTabs();
     
    4645       
    4746返回$this;
     47    }
     48   
     49公共函数handleActions()
     50    {
     51if($this->activeTab!=空){
     52$this->activeTab->handleActions();
     53        }
    4854    }
    4955   
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Main.php

    1417468兰特 1552065兰特  
    1212“EFT配件”=>__(“EFT管件”,“eve-shipinfo”),
    1313“数据库”=>__(“数据库引用”,“eve-shipinfo”),
     14“关于”=>__(“关于”,“eve-shipinfo”)
    1415        );
    1516       
     
    1920公共函数getTitle()
    2021    {
    21 返回__(“EVE ShipInfo”,“EVE-ShipInfo”);
     22返回EVEShipInfo::APPNAME;
    2223    }
    2324   
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Main/Dashboard.php

    1532177兰特 1552065兰特  
    1515公共函数getTitle()
    1616    {
    17 return sprintf(__('EVE ShipInfo v%1$s Dashboard','EVE-ShipInfo'),$this->plugin->getVersion());
     17回程冲刺(
     18__(“%1$s与%2$s仪表板”,“eve-shipinfo”),
     19EVEShipInfo::应用程序名称,
     20$this->plugin->getVersion()
     21        );
    1822    }
    1923   
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Main/EFT安装.php

    1524886元 1552065兰特  
    258258*根据所选列表操作的方法。
    259259    */
    260 受保护函数handleActions()
    261     {
     260公共函数handleActions()
     261{
     262if(!isset($_REQUEST['fits'])||!isset($_REQUEST['action']){
     263回报;
     264        }
     265       
    262266$selected=数组();
    263267foreach($_REQUEST[“位”]作为$fitID){
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Settings.php

    1296717元 1552065兰特  
    1515公共函数getTitle()
    1616    {
    17 返回__(“EVE ShipInfo设置”,“EVE-ShipInfo”);
     17返回sprintf(__(“%1$s设置”,“eve-shipinfo”),EVEShipInfo::APPNAME);
    1818    }
    1919}
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Tab.php

    1512895元 1552065兰特  
    4545$this->ui=$page->getUI();
    4646$this->插件=EVEShipInfo::getInstance();
    47 $this->screen=获取当前屏幕();
    4847       
    4948$this->configure();
     
    186185return$box->render();
    187186    }
     187
     188   /**
     189*在发送标头之前调用,可以通过扩展
     190*选项卡类以实现可能需要的操作
     191*重定向到另一页。
     192    */
     193公共函数句柄Actions()
     194    {
     195       
     196    }
    188197}
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/SettingsManager.php

    1532177兰特 1552065兰特  
    7070“</form>”;
    7171       
    72 返回$html;
     72return$this->plugin->getAdminUI()->createStuffBox()
     73->设置内容($html)
     74->render();
    7375    }
    7476}
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/UI/StuffBox.php

    1417468兰特 1552065兰特  
    9090        }
    9191       
     92$aria=“false”;
     93       
     94if($this->崩溃){
     95if($this->崩溃){
     96$aria=“true”;
     97$class.='关闭';
     98            }
     99        }
     100       
    92101$html(美元)=
    93102'<div class=“'.implode('',$this->类).'”>'。
     
    95104if($this->可折叠){
    96105$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”>切换面板:修订>';
    98107}
    99108               
     
    110119$handle=“”;
    111120if($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.'\')"';
    113122                    }
    114123$html=
     
    138147返回$html;
    139148    }
     149   
     150公共函数__toString()
     151    {
     152return$this->render();
     153    }
    140154}
  • eve-shipinfo/trunk/classes/EVEShipInfo/EFTManager.php

    1524886元 1552065兰特  
    1414    }
    1515   
    16 公共函数getDataPath()
    17     {
    18 return$this->plugin->getDir()。'/data/eft.xml';
    19     }
    20    
    2116   /**
    2217*检查配件数据文件是否存在。
     
    111106        }
    112107       
    113         $data=取消序列化($data);
    114        
    115 foreach公司($data['fits']作为$item){
     108        $此->data=取消序列化($data);
     109       
     110前臂($此->data['fits']作为$item){
    116111$fit=EVEShipInfo_EFTManager_fit::fromArray($this,$item);
    117112$this->addFit($fit);
    118113        }
     114    }
     115   
     116受保护的$data=array();
     117   
     118   /**
     119*检索原始EFT配件数据。
     120*@return数组
     121    */
     122公共函数getEFTData()
     123    {
     124$this->load();
     125返回$this->数据;
    119126    }
    120127   
  • eve-shipinfo/trunk/classes/EVEShipInfo/EFTManager/Fit/Slot.php

    1236586兰特 1552065兰特  
    2121受保护的$amount;
    2222   
    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;
    4136   
    4237公共函数__construct(EVEShipInfo_EFTManager_Fit$Fit,$id,$itemName,$chargeName=null,$amount=null)
    4338    {
     39$this->插件=EVEShipInfo::getInstance();
    4440$this->manager=$fit->getManager();
    4541$this->id=$id;
     
    4844$this->类型=$this->manager->getModuleSlot($this-]itemName);
    4945$this->meta=$this->管理器->getModuleMeta($this->itemName);
     46       
     47if(!isset(self::$types)){
     48$this->initTypes();
     49$this->initMetas();
     50        }
    5051       
    5152if(空($this->type)){
     
    9091        }
    9192    }
    92    
     93
     94   /**
     95*从数据库加载所有插槽名称(每个请求只执行一次)。
     96*/
     97受保护的函数initTypes()
     98    {
     99self::$types=$this->plugin->dbFetchAllKey(
     100'别名',
     101“”选择“
     102`别名`
     103发件人
     104`“.$this->plugin->getTableName('modules_slots').”`“
     105        );
     106    }
     107   
     108受保护的函数initMetas()
     109    {
     110self::$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    */
    93126公共静态函数getMetaTypes()
    94127    {
     
    96129    }
    97130
     131   /**
     132*检索插槽类型名称列表
     133*作为索引数组。例如:
     134*<code>阵列('hiPower','lowPower','无人机',…)</code>
     135    *
     136*@return字符串[]
     137    */
    98138公共静态函数getTypes()
    99139    {
  • eve-shipinfo/trunk/classes/EVEShipInfo/Plugin.php

    1512895元 1552065兰特  
    206206    }
    207207   
     208   /**
     209*检索插件版本。注意,这只起作用
     210*在行政部门,而不是在前台。
     211    *
     212*如果不在管理中,则返回字符串0
     213    */
    208214公共函数getVersion()
    209215    {
    210 $data=获取plugin_data($this->getDir()。'/eve-shipinfo.php’,false);
    211 return$data['Version'];       
     216if(is_admin()){
     217require_once(ABSPATH.'wp-admin/includes/plugin.php');
     218$data=获取plugin_data($this->getDir()。'/eve-shipinfo.php',false);
     219return$data['Version'];
     220        }
     221       
     222返回“0”;
    212223    }
    213224
     
    339350返回$result;
    340351    }
     352   
     353   /**
     354*{@inheritDoc}
     355*@请参阅EVEShipInfo_PluginInterface::isAdmin()
     356    */
     357公共函数isAdmin()
     358    {
     359返回is_admin();
     360    }
    341361}
    342362
     
    360380   
    361381公共函数compileAttributes($attributes);
     382   
     383   /**
     384*检查当前是否在管理界面中。
     385*@返回布尔值
     386    */
     387公共函数isAdmin();
    362388}
  • eve-shipinfo/trunk/css/admin.css

    1524887元 1552065兰特  
    235235text-decoration:下划线;
    236236}
     237
     238BODY.设置_page_eveshipinfo_settings P.submit{
     239padding-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兰特  
    11<?php(电话)
    22/**
     *插件名称:EVE Ship信息
     *插件名称:EVE Ship信息
    44*插件URI:http://aeonoftime.com/EVE_Online_Tools/EVE-ShipInfo-WordPress-Plugin
    55*说明:在WordPress网站中放置EVE Online船舶数据库和EFT配件管理器,以及高质量的屏幕截图和专门的短代码。
    6 *版本:2。2
     6*版本:2。
    77*作者:Sebastian Mordziol
    88*作者URI:http://www.aeonoftime.com
  • eve-shipinfo/trunk/js/admin/admin.js

    1532177兰特 1552065兰特  
    2525“dataType”:“json”
    2626        });
     27    },
     28   
     29ToggleStuffbox:函数(id)
     30    {
     31var容器=jQuery('#'+id);
     32var句柄=container.find('.handlediv');
     33var内部=jQuery('#'+id+'-indin');
     34       
     35if(!container.hasClass('closed')){
     36container.addClass(“已关闭”);
     37handle.attr('aria-expanded','false');
     38inside.hide();
     39}其他{
     40container.removeClass(“已关闭”);
     41handle.attr('aria-expanded','true');
     42内部.show();
     43        }
    2744    }
    2845};
  • 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”})}
     1var 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”)
     2e.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在线
    44要求至少:3.5
    5 测试最多:4。6
    6 稳定标签:2。2
     5测试最多:4。7
     6稳定标签:2。
    77许可证:GPLv3
    88许可证URI:https://www.gnu.org/licenses/gpl-3.0.txt
     
    5252
    5353==变更日志==
     54
     55= 2.3 =
     56*修复了触发异常的缺少eft插槽类型
     57*内部更新了eft插槽以使用数据库信息
     58*WP 4.7兼容性的一些小的管理改进
     59*将数据包更新为最新版本
    5460
    5561= 2.2 =
注:请参见TracChangeset(跟踪变更集)获取有关使用变更集查看器的帮助。