Ejemplo n.º 1
0
		</tr>
		</table>
		<table id="emailOptions" class="<?php 
echo pdf24Plugin_isEmailOptionsInUse() ? '' : 'noDis';
?>
">
		<tr>
			<td class="tr1">Type:</td>
			<td>
				<select name="emailType">
					<option value="text/plain"<?php 
echo pdf24Plugin_getEmailType() == 'text/plain' ? ' selected' : '';
?>
>Text</option>
					<option value="text/html"<?php 
echo pdf24Plugin_getEmailType() == 'text/html' ? ' selected' : '';
?>
>HTML</option>
				</select>
			</td>
		</tr>
		<tr>
			<td class="tr1">Subject:</td>
			<td><input type="text" name="emailSubject" value="<?php 
echo addslashes(pdf24Plugin_getEmailSubject());
?>
" style="width:400px" /></td>
		</tr>
		<tr>
			<td class="tr1">From:</td>
			<td><input type="text" name="emailFrom" value="<?php 
Ejemplo n.º 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'));
}