hi folks,
$cfgRelation['pdf_pages'] $cfgRelation['pdfwork'] $cfg['WYSIWYG-PDF']
I am looking to rename these config variables that check the relations to make the PDF generation working. Now, we are not just PDF files generating. we have some other relation schema's in svg,eps,dia and visio etc formats. So, what you suggest me to rename these vars or should keep them for backward compatibility?
Hi
Dne Fri, 20 Aug 2010 18:29:45 +0500 Adnan hiddenpearls@gmail.com napsal(a):
$cfgRelation['pdf_pages']
This comes from $cfg['Servers'][$i]['pdf_pages'], I'd rather avoid changing this (we should change table name then as well).
$cfgRelation['pdfwork']
This is not a config variable, but calculated relation parameter, which can be safely renamed in libararies/relation.lib.php
$cfg['WYSIWYG-PDF']
Not sure about this one.
Michal Čihař a écrit :
$cfg['WYSIWYG-PDF']
Not sure about this one.
This one could be removed and the logic changed to act as if this setting is always true. If someone does not want to use the scratchboard, he just won't click on the button.
Also, this button should be generated via js because on js-disabled browser, showing the button is pointless.