变更集1648065
时间戳: 2017年4月29日下午01:33:44 ( 7年 (之前) 位置: eve-shipinfo/干线 文件: -
1个已删除 4已编辑
-
类/EVEShipInfo.php (已修改) ( 1个差异 ) -
classes/EVEShipInfo/Admin/Page/Main/Dashboard.php类 (已修改) ( 3个差异 ) -
data/data.zip (已删除) -
eve-shipinfo.php软件 (已修改) ( 1个差异 ) -
自述.txt (已修改) ( 2个差异 )
图例:
未修改 补充 远离的
-
eve-shipinfo/trunk/classes/EVEShipInfo.php 1643015元 1648065兰特 1206 1206 } 1207 1207 1208 公共函数hasDataArchive() 1209 { 1210 $file=$this->getDataArchivePath(); 1211 return file_exists($file); 1212 } 1213 1214 公共函数getDataArchivePath() 1215 { 1216 return$this->getDataFilePath('data.zip'); 1217 } 1218 1208 1219 /** 1209 1220 *检索当前安装的数据文件的版本 -
eve-shipinfo/trunk/classes/EVEShipInfo/Admin/Page/Main/Dashboard.php 1643015元 1648065兰特 223 223 } 224 224 225 $dataFilePath=$this->plugin->getData 文件路径('data.zip' ); 225 $dataFilePath=$this->plugin->getData 存档路径( ); 226 226 if(file_exists($dataFilePath)&&! 取消链接($dataFilePath){ 227 227 抛出新的EVEShipInfo_Exception( … … 278 278 { 279 279 $installedVersion=$this->plugin->getDataVersion(); 280 如果( 空($installedVersion) 280 如果( !$ 此->插件->hasDataArchive()|| 空($installedVersion) 281 281 { 282 282 $html(美元)= 283 283 '<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>”。 291 286 $this->ui->按钮(__(“上传数据文件…”,“eve-shipinfo”) 292 287 ->链接($this->getURL(数组(“action”=>“updateDatafile”)) 288 ->makePrimary() 293 289 ->setIcon($this->ui->icon()->upload()); 294 290 } … … 388 384 受保护的函数checkSystem() 389 385 { 390 if(!$this->plugin->isDatabaseUpToDate()){ 386 if(!$this->plugin->hasDataArchive()){ 387 $this->消息[]=“<b>”__ ('未找到数据文件。','eve shipinfo')。'</ b> '。 388 __('由于WordPress的策略,数据文件不能与插件绑定。','eve-shipinfo')'。 389 __(“请使用下面的数据文件上传来安装数据文件。”,“eve-shipinfo”)。”。 390 __(“您将在那里找到所有必要的说明。”,“eve-shipinfo”); 391 392 } 393 else if(!$this->plugin->isDatabaseUpToDate()) 394 { 391 395 $此->消息[]= 392 396 “<b>”__ (“数据库需要更新。”,“eve-shipinfo”)。”</ b> '。 -
eve-shipinfo/trunk/eve-shipinfo.php 1643018元 1648065兰特 4 4 *插件URI: http://aeonoftime.com/EVE_Online_Tools/EV-ShipInfo-WordPress-Plugin 5 5 *说明:在WordPress网站中放置EVE Online船舶数据库和船舶配件管理器,以及高质量的屏幕截图和专门的短代码。 6 *版本:2。 5 6 *版本:2。 6 7 7 *作者:Sebastian Mordziol 8 8 *作者URI: http://www.aeonoftime.com -
eve-shipinfo/trunk/readme.txt 1643018元 1648065兰特 4 4 要求至少:3.5 5 5 测试达到:4.7.4 6 稳定标签:2。 5 6 稳定标签:2。 6 7 7 许可证:GPLv3 8 8 许可证URI: https://www.gnu.org/licenses/gpl-3.0.txt … … 48 48 1.激活插件 49 49 1.转到永久链接设置,保存设置而不更改任何内容(刷新永久链接) 50 1.从插件的仪表板安装数据文件 50 51 1.可选:安装[screenshots pack]( http://aeonoftime.com/EVE_Online_Tools/EV-ShipInfo-WordPress-Plugin/download.php )(单独下载) 51 52 52 53 53 54 ==变更日志== 55 56 = 2.6 = 57 *删除了捆绑的数据文件,wordpress.org不允许包含ZIP文件 58 *修改了数据库版本检查以反映缺少的数据文件 54 59 55 60 = 2.5 =