修复odt格式元数据问题
This commit is contained in:
parent
f231426111
commit
c9fac5f258
|
@ -738,8 +738,8 @@ class ServiceController extends Zend_Controller_Action
|
|||
@$odf->setVars('east',$row['east'],true,'utf-8');
|
||||
if (!$ac=='simple')
|
||||
{
|
||||
@$odf->setImage('bigthumb', 'http://westdc.westgis.ac.cn/service/bigthumb/uuid/'.$row['uuid']);
|
||||
@$odf->setImage('thumb', 'http://westdc.westgis.ac.cn/service/thumb/uuid/'.$row['uuid']);
|
||||
@$odf->setImage('bigthumb', 'http://'.$_SERVER['SERVER_NAME'].'/service/bigthumb/uuid/'.$row['uuid']);
|
||||
@$odf->setImage('thumb', 'http://'.$_SERVER['SERVER_NAME'].'/service/thumb/uuid/'.$row['uuid']);
|
||||
@$odf->setVars('projection',$row['projection'],true,'utf-8');
|
||||
@$odf->setVars('resolution',$row['resolution'],true,'utf-8');
|
||||
@$odf->setVars('rfdenom',$row['rfdenom'],true,'utf-8');
|
||||
|
@ -749,7 +749,7 @@ class ServiceController extends Zend_Controller_Action
|
|||
@$odf->setVars('suppinfo',$row['suppinfo'],true,'utf-8');
|
||||
@$odf->setVars('contacts',$row['contacts'],true,'utf-8');
|
||||
} else {
|
||||
@$odf->setImage('qrcode', 'http://westdc.westgis.ac.cn/service/qrcode/uuid/'.$row['uuid']);
|
||||
@$odf->setImage('qrcode', 'http://'.$_SERVER['SERVER_NAME'].'/service/qrcode/uuid/'.$row['uuid']);
|
||||
}
|
||||
|
||||
$odf->exportAsAttachedFile($row['title'].'.odt');
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue