Esempio n. 1
0
putGS("Delete section");
?>
 </B>
		<HR NOSHADE SIZE="1" COLOR="BLACK">
	</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center"><?php 
putGS('There are $1 articles in this section.', '<b>' . $numArticles . '</b>');
?>
</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
                <INPUT TYPE="radio" NAME="f_delete_all_section_translations" class="input_checkbox" value="N" checked> <?php 
putGS('Delete only this section ($1)', $sectionObj->getLanguageName());
?>
                <br/>
                <INPUT TYPE="radio" NAME="f_delete_all_section_translations" class="input_checkbox" value="Y"> <?php 
putGS('Delete all translations of this section');
?>
                <br />
                <?php 
foreach ($sectionTranslations as $key => $sectionTranslation) {
    echo $sectionTranslation->getLanguageName() . '<br />';
}
?>
        </TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
Esempio n. 2
0
?>
/sections/do_del.php">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box">
<?php 
echo SecurityToken::FormParameter();
?>
<TR>
	<TD COLSPAN="2" align="center"><?php 
echo $translator->trans('There are $1 articles in this section.', array('$1' => '<b>' . $numArticles . '</b>'), 'sections');
?>
</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
                <INPUT TYPE="radio" NAME="f_delete_all_section_translations" class="input_checkbox" value="N" checked> <?php 
echo $translator->trans('Delete only this section ($1)', array('$1' => $sectionObj->getLanguageName()), 'sections');
?>
                <br/>
                <INPUT TYPE="radio" NAME="f_delete_all_section_translations" class="input_checkbox" value="Y"> <?php 
echo $translator->trans('Delete all translations of this section', array(), 'sections');
?>
                <br />
                <?php 
foreach ($sectionTranslations as $key => $sectionTranslation) {
    echo $sectionTranslation->getLanguageName() . '<br />';
}
?>
        </TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
Esempio n. 3
0
<P>
<FORM METHOD="POST" ACTION="do_del.php">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box">
<?php echo SecurityToken::FormParameter(); ?>
<TR>
	<TD COLSPAN="2">
		<B> <?php  putGS("Delete section"); ?> </B>
		<HR NOSHADE SIZE="1" COLOR="BLACK">
	</TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center"><?php putGS('There are $1 articles in this section.', '<b>'.$numArticles.'</b>'); ?></TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
                <INPUT TYPE="radio" NAME="f_delete_all_section_translations" class="input_checkbox" value="N" checked> <?php putGS('Delete only this section ($1)', $sectionObj->getLanguageName()); ?>
                <br/>
                <INPUT TYPE="radio" NAME="f_delete_all_section_translations" class="input_checkbox" value="Y"> <?php putGS('Delete all translations of this section'); ?>
                <br />
                <?php
                foreach ($sectionTranslations as $key => $sectionTranslation) {
                    echo $sectionTranslation->getLanguageName() . '<br />';
                }
                ?>
        </TD>
</TR>
<TR>
	<TD COLSPAN="2" align="center">
                <INPUT TYPE="radio" NAME="f_delete_all_articles_translations" class="input_checkbox" value="N" checked> <?php putGS('Delete all articles written in $1 language from this section', $sectionObj->getLanguageName()); ?>
                <br/>
                <INPUT TYPE="radio" NAME="f_delete_all_articles_translations" class="input_checkbox" value="Y"> <?php putGS('Delete all articles and all of their translations'); ?>