[Svn-src-all:848] [version-2_5-dev 19735] #529(pdf 関連モジュールの配置誤り)

Seasoft admin @ mail.ec-cube.net
2010年 12月 17日 (金) 02:13:37 JST


Subversion committed to /home/svn/open 19735
http://svn.ec-cube.net/open_trac/changeset/19735
┌────────────────────────────┐
│更新者 :  Seasoft                                      │
│更新日時:  2010-12-17 02:13:36 +0900 (金, 17 12月 2010)│
└────────────────────────────┘

Log:
--------------------------------------------------------
#529(pdf 関連モジュールの配置誤り)

Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
A   branches/version-2_5-dev/data/Smarty/templates/admin/pdf/
D   branches/version-2_5-dev/data/Smarty/templates/admin/pdf/delivered.pdf
D   branches/version-2_5-dev/data/Smarty/templates/admin/pdf/delivered1.pdf
D   branches/version-2_5-dev/data/Smarty/templates/admin/pdf/delivered2.pdf
A   branches/version-2_5-dev/data/Smarty/templates/admin/pdf/nouhinsyo1.pdf
D   branches/version-2_5-dev/data/Smarty/templates/admin/pdf/order.pdf
D   branches/version-2_5-dev/data/Smarty/templates/admin/pdf/template_nouhin01.pdf
D   branches/version-2_5-dev/data/Smarty/templates/admin/pdf/total.pdf
U   branches/version-2_5-dev/data/class/SC_Fpdf.php
D   branches/version-2_5-dev/data/pdf/

削除: branches/version-2_5-dev/data/Smarty/templates/admin/pdf/delivered.pdf
===================================================================
(バイナリファイルが異なっています)

削除: branches/version-2_5-dev/data/Smarty/templates/admin/pdf/delivered1.pdf
===================================================================
(バイナリファイルが異なっています)

削除: branches/version-2_5-dev/data/Smarty/templates/admin/pdf/delivered2.pdf
===================================================================
(バイナリファイルが異なっています)

コピーによる追加: branches/version-2_5-dev/data/Smarty/templates/admin/pdf/nouhinsyo1.pdf (コピー元: リビジョン 19727, branches/version-2_5-dev/data/pdf/template_nouhin01.pdf)
===================================================================
(バイナリファイルが異なっています)

削除: branches/version-2_5-dev/data/Smarty/templates/admin/pdf/order.pdf
===================================================================
(バイナリファイルが異なっています)

削除: branches/version-2_5-dev/data/Smarty/templates/admin/pdf/template_nouhin01.pdf
===================================================================
(バイナリファイルが異なっています)

削除: branches/version-2_5-dev/data/Smarty/templates/admin/pdf/total.pdf
===================================================================
(バイナリファイルが異なっています)

変更: branches/version-2_5-dev/data/class/SC_Fpdf.php
===================================================================
--- branches/version-2_5-dev/data/class/SC_Fpdf.php	2010-12-16 16:59:56 UTC (rev 19734)
+++ branches/version-2_5-dev/data/class/SC_Fpdf.php	2010-12-16 17:13:36 UTC (rev 19735)
@@ -29,10 +29,10 @@
 
 require(DATA_PATH . 'module/fpdf/fpdf.php');
 require(DATA_PATH . 'module/fpdf/japanese.php');
-define('PDF_TEMPLATE_DIR', DATA_PATH . 'pdf/');
+define('PDF_TEMPLATE_DIR', TEMPLATE_ADMIN_DIR . 'pdf/');
 
 class SC_Fpdf {
-    function SC_Fpdf($download, $title, $tpl_pdf = "template_nouhin01.pdf") {
+    function SC_Fpdf($download, $title, $tpl_pdf = 'nouhinsyo1.pdf') {
         // デフォルトの設定
         $this->tpl_pdf = PDF_TEMPLATE_DIR . $tpl_pdf;  // テンプレートファイル
         $this->pdf_download = $download;      // PDFのダウンロード形式(0:表示、1:ダウンロード)




Svn-src-all メーリングリストの案内