Exemple #1
0
		</table>
	</div>
	<div>
		<h3>Document Options</h3>
		<div class="descr">Options for created PDF documents.</div>
		<table>
		<tr>
			<td class="tr1">Customize options</td>
			<td><input type="checkbox" name="docOptionsInUse" <?php 
echo pdf24Plugin_isDocOptionsInUse() ? 'checked' : '';
?>
 onclick="pdf24_showHideCheck('docOptions', this);" /></td>
		</tr>
		</table>
		<table id="docOptions" class="<?php 
echo pdf24Plugin_isDocOptionsInUse() ? '' : 'noDis';
?>
">
		<tr>
			<td class="tr1">Title Text:</td>
			<td><input name="docHeader" style="width:600px" value="<?php 
echo htmlspecialchars(pdf24Plugin_getDocHeader());
?>
" /></td>
		</tr>
		<tr>
			<td class="tr1">Page format:</td>
			<td><select name="docSize"><?php 
echo pdf24Plugin_createDocSizeOptions();
?>
</select> <select name="docOrientation"><?php 
Exemple #2
0
function pdf24Plugin_getBlogHiddenFields($postsCount)
{
    global $pdf24Plugin;
    $arr = array('blogCharset' => get_bloginfo('charset'), 'blogPosts' => $postsCount, 'blogUrl' => get_bloginfo('siteurl'), 'blogName' => get_bloginfo('name'), 'blogValueEncoding' => $pdf24Plugin['defaultFilter']);
    if (pdf24Plugin_isEmailOptionsInUse()) {
        $arr['blogEmailText'] = pdf24Plugin_getEmailText();
        $arr['blogEmailType'] = pdf24Plugin_getEmailType();
        $arr['blogEmailSubject'] = pdf24Plugin_getEmailSubject();
        $arr['blogEmailFrom'] = pdf24Plugin_getEmailFrom();
    }
    if (pdf24Plugin_isDocOptionsInUse()) {
        $arr['blogDocHeader'] = pdf24Plugin_getDocHeader();
        $arr['blogDocSize'] = $pdf24Plugin['docSizes'][pdf24Plugin_getDocSize()];
        $arr['blogDocOrientation'] = pdf24Plugin_getDocOrientation();
        $arr['blogDocStyle'] = pdf24Plugin_getDocStyle();
    }
    if (pdf24Plugin_isCustomizedDocTpl()) {
        $arr['blogDocTpl'] = pdf24Plugin_getCustomizedDocTpl();
    }
    if (pdf24Plugin_isCustomizedDocEntryTpl()) {
        $arr['blogDocEntryTpl'] = pdf24Plugin_getCustomizedDocEntryTpl();
    }
    return pdf24Plugin_getFormHiddenFields0($arr, array('skipFilterFor' => 'blogValueEncoding'));
}