插件目录

变更集1648065


忽略:
时间戳:
2017年4月29日下午01:33:44(7年(之前)
作者:
AeonOfTime公司
消息:
  • 删除了捆绑的数据文件,wordpress.org不允许包含ZIP文件
  • 修改了数据库版本检查以反映缺少的数据文件
位置:
eve-shipinfo/干线
文件:
1个已删除
4已编辑

图例:

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

    1643015元 1648065兰特  
    12061206    }
    12071207   
     1208公共函数hasDataArchive()
     1209    {
     1210$file=$this->getDataArchivePath();
     1211return file_exists($file);
     1212    }
     1213   
     1214公共函数getDataArchivePath()
     1215    {
     1216return$this->getDataFilePath('data.zip');
     1217    }
     1218   
    12081219   /**
    12091220*检索当前安装的数据文件的版本
  • eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Main/Dashboard.php

    1643015元 1648065兰特  
    223223        }
    224224       
    225 $dataFilePath=$this->plugin->getData文件路径('data.zip');
     225$dataFilePath=$this->plugin->getData存档路径();
    226226if(file_exists($dataFilePath)&&!取消链接($dataFilePath){
    227227抛出新的EVEShipInfo_Exception(
     
    278278    {
    279279$installedVersion=$this->plugin->getDataVersion();
    280 如果(空($installedVersion)
     280如果(!$此->插件->hasDataArchive()||空($installedVersion)
    281281        {
    282282$html(美元)=
    283283'<p class=“text-error”>'。
    284 __(“未安装数据库。”,“eve-shipinfo”)。
    285 “</p>”。
    286 $this->ui->按钮(__(“设置数据库”,“eve-shipinfo”)
    287 ->链接($this->getURL(数组(“action”=>“setUpDatabase”))
    288 ->setIcon($this->ui->icon()->yes())
    289 ->makePrimary()。
    290             ' '.
     284“<b>”__('未安装数据库。','eve shipinfo')。'</b> '。
     285“</p>”。
    291286$this->ui->按钮(__(“上传数据文件…”,“eve-shipinfo”)
    292287->链接($this->getURL(数组(“action”=>“updateDatafile”))
     288->makePrimary()
    293289->setIcon($this->ui->icon()->upload());
    294290        }
     
    388384受保护的函数checkSystem()
    389385    {
    390 if(!$this->plugin->isDatabaseUpToDate()){
     386if(!$this->plugin->hasDataArchive()){
     387$this->消息[]=“<b>”__('未找到数据文件。','eve shipinfo')。'</b> '。
     388__('由于WordPress的策略,数据文件不能与插件绑定。','eve-shipinfo')'。
     389__(“请使用下面的数据文件上传来安装数据文件。”,“eve-shipinfo”)。”。
     390__(“您将在那里找到所有必要的说明。”,“eve-shipinfo”);
     391           
     392        }
     393else if(!$this->plugin->isDatabaseUpToDate())
     394        {
    391395$此->消息[]=
    392396“<b>”__(“数据库需要更新。”,“eve-shipinfo”)。”</b> '。
  • eve-shipinfo/trunk/eve-shipinfo.php

    1643018元 1648065兰特  
    44*插件URI:http://aeonoftime.com/EVE_Online_Tools/EV-ShipInfo-WordPress-Plugin
    55*说明:在WordPress网站中放置EVE Online船舶数据库和船舶配件管理器,以及高质量的屏幕截图和专门的短代码。
    6 *版本:2。5
     6*版本:2。6
    77*作者:Sebastian Mordziol
    88*作者URI:http://www.aeonoftime.com
  • eve-shipinfo/trunk/readme.txt

    1643018元 1648065兰特  
    44要求至少:3.5
    55测试达到:4.7.4
    6 稳定标签:2。5
     6稳定标签:2。6
    77许可证:GPLv3
    88许可证URI:https://www.gnu.org/licenses/gpl-3.0.txt
     
    48481.激活插件
    49491.转到永久链接设置,保存设置而不更改任何内容(刷新永久链接)
     501.从插件的仪表板安装数据文件
    50511.可选:安装[screenshots pack](http://aeonoftime.com/EVE_Online_Tools/EV-ShipInfo-WordPress-Plugin/download.php)(单独下载)
    5152
    5253
    5354==变更日志==
     55
     56= 2.6 =
     57*删除了捆绑的数据文件,wordpress.org不允许包含ZIP文件
     58*修改了数据库版本检查以反映缺少的数据文件
    5459
    5560= 2.5 =
注:请参见TracChangeset(跟踪变更集)获取有关使用变更集查看器的帮助。