$tmpArray = array("Pub" => $publicationObj, "Issue"=> $issueObj); camp_html_content_top(getGS("Deleted issue"), $tmpArray); ?> <P> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box"> <TR> <TD> <B> <?php putGS("Deleted issue"); ?> </B> <HR NOSHADE SIZE="1" COLOR="BLACK"> </TD> </TR> <TR> <TD> <BLOCKQUOTE> <LI><?php putGS('The issue $1 has been deleted.','<B>'.htmlspecialchars($issueObj->getName()).'</B>'); ?></LI> <LI><?php putGS('A total of $1 articles were deleted.','<B>'.$numArticlesDeleted.'</B>'); ?></LI> </BLOCKQUOTE> </TD> </TR> <TR> <TD align="center"> <INPUT TYPE="button" class="button" NAME="OK" VALUE="<?php putGS('OK'); ?>" ONCLICK="location.href='/<?php echo $ADMIN; ?>/issues/?Pub=<?php echo $f_publication_id; ?>'"> </TD> </TR> </TABLE> <P> <?php camp_html_copyright_notice(); ?>
<TD> <A HREF="/<?php echo $ADMIN; ?>/pub/" class="breadcrumb"><?php putGS("Publications"); ?></A> </TD> </TR> </TABLE> </TD> </TR> </TABLE> <TABLE BORDER="0" CELLSPACING="1" CELLPADDING="1" WIDTH="100%" class="current_location_table"> <TR> <TD ALIGN="RIGHT" WIDTH="1%" NOWRAP VALIGN="TOP" class="current_location_title"> <?php putGS("Publication"); ?>:</TD> <TD VALIGN="TOP" class="current_location_content"><?php echo htmlspecialchars($publicationObj->getName()); ?></TD> <TD ALIGN="RIGHT" WIDTH="1%" NOWRAP VALIGN="TOP" class="current_location_title"> <?php putGS("Issue"); ?>:</TD> <TD VALIGN="TOP" class="current_location_content"><?php echo $issueObj->getIssueNumber(); ?>. <?php echo htmlspecialchars($issueObj->getName()); ?> (<?php echo htmlspecialchars($issueLanguage->getName()); ?>)</TD> <TD ALIGN="RIGHT" WIDTH="1%" NOWRAP VALIGN="TOP" class="current_location_title"> <?php putGS("Section"); ?>:</TD> <TD VALIGN="TOP" class="current_location_content"><?php echo $sectionObj->getSectionNumber(); ?>. <?php echo htmlspecialchars($sectionObj->getName()); ?></TD> <TD ALIGN="RIGHT" WIDTH="1%" NOWRAP VALIGN="TOP" class="current_location_title"> <?php putGS("Article"); ?>:</TD> <TD VALIGN="TOP" class="current_location_content"><?php echo htmlspecialchars($articleObj->getTitle()); ?> (<?php echo htmlspecialchars($articleLanguage->getName()); ?>)</TD> </TR> </TABLE> <table width="100%" border="0"> <tr> <td style="padding:20px;" align="center"> Here you can upload an article that has been written in Open Office (files with extension ".sxw"). Click <a href="CampsiteArticleTemplate.stw">here</a> to get the template. </td> </tr>
?> /left_arrow.png" BORDER="0"></A></TD> <TD><A HREF="/<?php echo $ADMIN; ?> /issues/edit.php?Pub=<?php p($f_publication_id); ?> &Issue=<?php p($issueObj->getIssueNumber()); ?> &Language=<?php p($issueObj->getLanguageId()); ?> "><B><?php echo $translator->trans("Issue") . ": " . htmlspecialchars($issueObj->getName()); ?> </B></A></TD> </TR> </TABLE> <?php camp_html_display_msgs(); ?> <P> <FORM NAME="issue_translate" METHOD="POST" ACTION="/<?php echo $ADMIN; ?> /issues/do_translate.php" onsubmit="return <?php camp_html_fvalidate();
?> :</TD> <TD VALIGN="TOP" class="current_location_content"><?php echo htmlspecialchars($publicationObj->getName()); ?> </TD> <TD ALIGN="RIGHT" WIDTH="1%" NOWRAP VALIGN="TOP" class="current_location_title"> <?php echo $translator->trans("Issue"); ?> :</TD> <TD VALIGN="TOP" class="current_location_content"><?php echo $issueObj->getIssueNumber(); ?> . <?php echo htmlspecialchars($issueObj->getName()); ?> (<?php echo htmlspecialchars($issueLanguage->getName()); ?> )</TD> <TD ALIGN="RIGHT" WIDTH="1%" NOWRAP VALIGN="TOP" class="current_location_title"> <?php echo $translator->trans("Section"); ?> :</TD> <TD VALIGN="TOP" class="current_location_content"><?php echo $sectionObj->getSectionNumber(); ?> . <?php echo htmlspecialchars($sectionObj->getName());
$f_issue_urlname = Input::Get('f_issue_urlname', 'string', $issueObj->getUrlName()); if ($f_issue_urlname == "") { camp_html_add_msg(getGS('You must fill in the $1 field.', '"' . getGS('New issue URL name') . '"')); camp_html_goto_page($backLink); } if (!camp_is_valid_url_name($f_issue_urlname)) { camp_html_add_msg(getGS('The $1 field may only contain letters, digits and underscore (_) character.', '"' . getGS('New issue URL name') . '"')); camp_html_goto_page($backLink); } $translationIssueObj->create($f_issue_urlname); if (!$translationIssueObj->exists()) { camp_html_add_msg(getGS('Unable to create the issue for translation $1.', $translationLanguageObj->getName())); camp_html_goto_page($backLink); } } else { $f_issue_name = Input::Get('f_issue_name', 'string', $issueObj->getName()); $f_issue_urlname = Input::Get('f_issue_urlname', 'string', $issueObj->getUrlName()); $translationIssueObj->update(array('Name' => $f_issue_name, 'ShortName' => $f_issue_urlname)); } $f_section_number = $articleObj->getSectionNumber(); $sectionObj = new Section($f_publication_id, $f_issue_number, $f_language_id, $f_section_number); if (!$sectionObj->exists()) { camp_html_display_error(getGS('No such section.'), $backLink); exit; } $translationSectionObj = new Section($f_publication_id, $f_issue_number, $f_translation_language, $f_section_number); if (!$translationSectionObj->exists()) { if (!$g_user->hasPermission("ManageSection")) { camp_html_add_msg(getGS('A section must be created for the selected language but you do not have the right to create a section.')); camp_html_goto_page($backLink); }
$correct = ($f_dest_publication_id > 0) && ($f_dest_issue_number > 0) && ($f_dest_section_number > 0); $created = false; if ($correct) { $dstSectionObj = $srcSectionObj->copy($f_dest_publication_id, $f_dest_issue_number, $f_language_id, $f_dest_section_number); if (($radioButton == "new_section") && ($f_dest_section_name != "")) { $dstSectionObj->setName($f_dest_section_name); } $dstPublicationObj = new Publication($f_dest_publication_id); $dstIssueObj = new Issue($f_dest_publication_id, $f_language_id, $f_dest_issue_number); $created = true; // Record the event in the log. $logtext = getGS('Section "$1" has been duplicated to $2. "$3" of "$4"', $dstSectionObj->getName(), $f_dest_issue_number, $dstIssueObj->getName(), $dstPublicationObj->getName()); Log::Message($logtext, $g_user->getUserId(), 154); camp_html_goto_page("/$ADMIN/sections/duplicate_complete.php?" ."f_src_publication_id=$f_src_publication_id" ."&f_src_issue_number=$f_src_issue_number" ."&f_src_section_number=$f_src_section_number" ."&f_language_id=$f_language_id" ."&f_dest_publication_id=$f_dest_publication_id" ."&f_dest_issue_number=$f_dest_issue_number" ."&f_dest_section_number=$f_dest_section_number"); } else { $topArray = array('Pub' => $srcPublicationObj, 'Issue' => $srcIssueObj, 'Section' => $srcSectionObj); camp_html_content_top(getGS('Duplicating section'), $topArray); }
<?php } ?> </td> </tr> <tr > <TD VALIGN="middle" style="padding-left: 20px; padding-top: 6px;"><?php putGS('Issue'); ?> : </TD> <TD valign="middle" ALIGN="LEFT" style="padding-top: 6px;"> <?php if ($f_dest_publication_id > 0 && count($allIssues) > 0) { if (count($allIssues) == 1) { echo htmlspecialchars($destIssueObj->getName()); } else { ?> <FORM NAME="FORM_ISS" METHOD="POST"> <input type="hidden" name="Pub" value="<?php p($f_src_publication_id); ?> "> <input type="hidden" name="Issue" value="<?php p($f_src_issue_number); ?> "> <input type="hidden" name="Section" value="<?php p($f_src_section_number); ?> ">
echo $translator->trans("Delete issue", array(), 'issues'); ?> </B> <HR NOSHADE SIZE="1" COLOR="BLACK"> </TD> </TR> <TR> <TD COLSPAN="2" align="center"> <?php echo $translator->trans('There are $1 articles in this issue.', array('$1' => '<b>' . $numArticles . '</b>'), 'issues'); ?> </TD> </TR> <TR> <TD COLSPAN="2" align="center"><?php echo $translator->trans('Are you sure you want to delete the issue $1?', array('$1' => '<B>' . htmlspecialchars($issueObj->getName()) . ' (' . $issueObj->getLanguageName() . ')</B>'), 'issues'); ?> </TD> </TR> <TR> <TD COLSPAN="2" align="center"> <INPUT TYPE="HIDDEN" NAME="f_publication_id" VALUE="<?php p($f_publication_id); ?> "> <INPUT TYPE="HIDDEN" NAME="f_issue_number" VALUE="<?php p($f_issue_number); ?> "> <INPUT TYPE="HIDDEN" NAME="f_language_id" VALUE="<?php p($f_language_id);
} if ($f_issue_urlname == "") { camp_html_add_msg($translator->trans('You must fill in the $1 field.', array('$1' => '"' . $translator->trans('New issue URL name', array(), 'articles') . '"'))); camp_html_goto_page($backLink); } if (!camp_is_valid_url_name($f_issue_urlname)) { camp_html_add_msg($translator->trans('The $1 field may only contain letters, digits and underscore (_) character.', array('$1' => '"' . $translator->trans('New issue URL name', array(), 'articles') . '"'))); camp_html_goto_page($backLink); } $translationIssueObj->create($f_issue_urlname); if (!$translationIssueObj->exists()) { camp_html_add_msg($translator->trans('Unable to create the issue for translation $1.', array('$1' => $translationLanguageObj->getName()), 'articles')); camp_html_goto_page($backLink); } } else { $f_issue_name = Input::Get('f_issue_name', 'string', $translationIssueObj->getName()); $f_issue_urlname = Input::Get('f_issue_urlname', 'string', $translationIssueObj->getUrlName()); $translationIssueObj->update(array('Name' => $f_issue_name, 'ShortName' => $f_issue_urlname)); } $f_section_number = $articleObj->getSectionNumber(); $sectionObj = new Section($f_publication_id, $f_issue_number, $f_language_id, $f_section_number); if (!$sectionObj->exists()) { camp_html_display_error($translator->trans('No such section.', array(), 'articles'), $backLink); exit; } $translationSectionObj = new Section($f_publication_id, $f_issue_number, $f_translation_language, $f_section_number); if (!$translationSectionObj->exists()) { if (!$g_user->hasPermission("ManageSection")) { camp_html_add_msg($translator->trans('A section must be created for the selected language but you do not have the right to create a section.', array(), 'articles')); camp_html_goto_page($backLink); }
:</TD> <TD> <?php p($issueObj->getIssueNumber()); ?> </TD> </TR> <TR> <TD ALIGN="RIGHT" ><?php echo $translator->trans("Name"); ?> :</TD> <TD> <INPUT TYPE="TEXT" class="input_text" NAME="f_issue_name" SIZE="32" value="<?php p(htmlspecialchars($issueObj->getName())); ?> " alt="blank" emsg="<?php echo $translator->trans('You must fill in the $1 field.', array('$1' => "'" . $translator->trans('Name') . "'")); ?> "> </TD> </TR> <TR> <TD ALIGN="RIGHT"><?php echo $translator->trans("URL Name"); ?> :</TD> <TD> <INPUT TYPE="TEXT" class="input_text" NAME="f_url_name" SIZE="32" value="<?php
// Check permissions if (!$g_user->hasPermission('Publish')) { camp_html_display_error(getGS("You do not have the right to schedule issues or articles for automatic publishing.")); } $Pub = Input::Get('Pub', 'int', 0); $Issue = Input::Get('Issue', 'int', 0); $Language = Input::Get('Language', 'int', 0); $event_id = trim(Input::Get('event_id', 'string', '')); $action = new IssuePublish($event_id); $deleted = $action->delete(); if ($deleted) { $issueObj = new Issue($Pub, $Language, $Issue); $logtext = getGS('Scheduled action deleted from issue #$1: "$2" (Publication: $3)', $Issue, $issueObj->getName(), $Pub); Log::Message($logtext, $g_user->getUserId(), 17); camp_html_goto_page("/$ADMIN/issues/edit.php?Pub=$Pub&Issue=$Issue&Language=$Language"); } $publicationObj = new Publication($Pub); $issueObj = new Issue($Pub, $Language, $Issue); $crumbs = array("Pub" => $publicationObj, "Issue" => $issueObj); camp_html_content_top(getGS("Delete scheduled publish action"), $crumbs); ?> <P> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box"> <TR> <TD COLSPAN="2"> <B> <?php putGS("Delete scheduled publish action"); ?> </B> <HR NOSHADE SIZE="1" COLOR="BLACK">
putGS("Delete issue"); ?> </B> <HR NOSHADE SIZE="1" COLOR="BLACK"> </TD> </TR> <TR> <TD COLSPAN="2" align="center"> <?php putGS('There are $1 articles in this issue.', '<b>' . $numArticles . '</b>'); ?> </TD> </TR> <TR> <TD COLSPAN="2" align="center"><?php putGS('Are you sure you want to delete the issue $1?', '<B>' . htmlspecialchars($issueObj->getName()) . ' (' . $issueObj->getLanguageName() . ')</B>'); ?> </TD> </TR> <TR> <TD COLSPAN="2" align="center"> <INPUT TYPE="HIDDEN" NAME="f_publication_id" VALUE="<?php p($f_publication_id); ?> "> <INPUT TYPE="HIDDEN" NAME="f_issue_number" VALUE="<?php p($f_issue_number); ?> "> <INPUT TYPE="HIDDEN" NAME="f_language_id" VALUE="<?php p($f_language_id);
$topArray = array('Pub' => $srcPublicationObj, 'Issue' => $srcIssueObj, 'Section' => $srcSectionObj); camp_html_content_top(getGS('Duplicating section'), $topArray); ?> <P> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box"> <TR> <TD COLSPAN="2"> <B> <?php putGS("Duplicating section"); ?> </B> <HR NOSHADE SIZE="1" COLOR="BLACK"> </TD> </TR> <TR> <TD COLSPAN="2"> <BLOCKQUOTE> <?php putGS('Section $1 has been duplicated to $2. $3 of $4', '<B>'.$srcSectionObj->getName().'</B>', '<B>'.$dstSectionObj->getIssueNumber().'</B>', '<B>'.$dstIssueObj->getName().' ('.$dstIssueObj->getLanguageName().')</B>', '<B>'.$dstPublicationObj->getName().'</B>'); ?> </BLOCKQUOTE> </TD> </TR> <TR> <TD COLSPAN="2"> <DIV ALIGN="CENTER"> <table> <tr> <td> <b><a href="<?php echo "/$ADMIN/sections/edit.php?Pub=$f_dest_publication_id&Issue=$f_dest_issue_number&Section=$f_dest_section_number&Language=$f_language_id"; ?>"><?php putGS("Go to new section"); ?></a></b> </td> <td style="padding-left: 50px;"> <b><a href="<?php echo "/$ADMIN/sections/edit.php?Pub=$f_src_publication_id&Issue=$f_src_issue_number&Section=$f_src_section_number&Language=$f_language_id"; ?>"><?php putGS("Go to source section"); ?></a></b> </td> </tr>
<FORM METHOD="POST" ACTION="do_del.php"> <?php echo SecurityToken::FormParameter(); ?> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box"> <TR> <TD COLSPAN="2"> <B> <?php putGS("Delete issue"); ?> </B> <HR NOSHADE SIZE="1" COLOR="BLACK"> </TD> </TR> <TR> <TD COLSPAN="2" align="center"> <?php putGS('There are $1 articles in this issue.', '<b>'.$numArticles.'</b>'); ?> </TD> </TR> <TR> <TD COLSPAN="2" align="center"><?php putGS('Are you sure you want to delete the issue $1?','<B>'.htmlspecialchars($issueObj->getName()).' ('.$issueObj->getLanguageName().')</B>'); ?></TD> </TR> <TR> <TD COLSPAN="2" align="center"> <INPUT TYPE="HIDDEN" NAME="f_publication_id" VALUE="<?php p($f_publication_id); ?>"> <INPUT TYPE="HIDDEN" NAME="f_issue_number" VALUE="<?php p($f_issue_number); ?>"> <INPUT TYPE="HIDDEN" NAME="f_language_id" VALUE="<?php p($f_language_id); ?>"> <INPUT TYPE="submit" class="button" NAME="Yes" VALUE="<?php putGS('Yes'); ?>"> <INPUT TYPE="button" class="button" NAME="No" VALUE="<?php putGS('No'); ?>" ONCLICK="location.href='/<?php p($ADMIN);?>/issues/?Pub=<?php p($f_publication_id); ?>'"> </TD> </TR> </TABLE> </FORM> <P>
<B><?php putGS("Change issue details"); ?></B> <HR NOSHADE SIZE="1" COLOR="BLACK"> </TD> </TR> <TR> <TD ALIGN="RIGHT" ><?php putGS("Number"); ?>:</TD> <TD> <?php p($issueObj->getIssueNumber()); ?> </TD> </TR> <TR> <TD ALIGN="RIGHT" ><?php putGS("Name"); ?>:</TD> <TD> <INPUT TYPE="TEXT" class="input_text" NAME="f_issue_name" SIZE="32" value="<?php p(htmlspecialchars($issueObj->getName())); ?>" alt="blank" emsg="<?php putGS('You must fill in the $1 field.',"'".getGS('Name')."'"); ?>"> </TD> </TR> <TR> <TD ALIGN="RIGHT"><?php putGS("URL Name"); ?>:</TD> <TD> <INPUT TYPE="TEXT" class="input_text" NAME="f_url_name" SIZE="32" value="<?php p(htmlspecialchars($issueObj->getUrlName())); ?>" alt="alnum|1|A|true|false|_" emsg="<?php putGS('The $1 field may only contain letters, digits and underscore (_) character.', "'" . getGS('URL Name') . "'"); ?>"> </TD> </TR> <TR> <TD ALIGN="RIGHT" ><?php putGS("Language"); ?>:</TD> <TD> <SELECT NAME="f_new_language_id" class="input_select"> <?php
exit; } } if (!$g_user->hasPermission("TranslateArticle")) { $errorStr = getGS('You do not have the right to translate articles.'); camp_html_display_error($errorStr, $BackLink); exit; } // When the user selects a language the form is submitted to the same page (translation.php). // Read article translation form input values for the case when the page has been reloaded // because of language select. $f_translation_title = Input::Get('f_translation_title', 'string', '', true); $f_language_selected = Input::Get('f_translation_language', 'int', 0, true); $f_translation_language = Input::Get('f_translation_language', 'int', 0, true); if ($f_publication_id > 0) { $f_translation_issue_name = Input::Get('f_issue_name', 'string', $issueObj->getName(), true); $f_translation_issue_urlname = Input::Get('f_issue_urlname', 'string', $issueObj->getUrlName(), true); $f_translation_section_name = Input::Get('f_section_name', 'string', $sectionObj->getName(), true); $f_translation_section_urlname = Input::Get('f_section_urlname', 'string', $sectionObj->getUrlName(), true); } $allLanguages = Language::GetLanguages(null, null, null, array(), array(array('field' => 'byname', 'dir' => 'asc')), true); $articleLanguages = $articleObj->getLanguages(); $articleLanguages = DbObjectArray::GetColumn($articleLanguages, "Id"); if ($f_language_selected > 0 && $f_issue_number > 0) { $translationIssueObj = new Issue($f_publication_id, $f_language_selected, $f_issue_number); $translationSectionObj = new Section($f_publication_id, $f_issue_number, $f_language_selected, $f_section_number); } if ($f_publication_id > 0) { $topArray = array('Pub' => $publicationObj, 'Issue' => $issueObj, 'Section' => $sectionObj, 'Article' => $articleObj); camp_html_content_top(getGS('Translate article'), $topArray, true, true); } else {
:</TD> <TD> <?php p($issueObj->getIssueNumber()); ?> </TD> </TR> <TR> <TD ALIGN="RIGHT" ><?php putGS("Name"); ?> :</TD> <TD> <INPUT TYPE="TEXT" class="input_text" NAME="f_issue_name" SIZE="32" value="<?php p(htmlspecialchars($issueObj->getName())); ?> " alt="blank" emsg="<?php putGS('You must fill in the $1 field.', "'" . getGS('Name') . "'"); ?> "> </TD> </TR> <TR> <TD ALIGN="RIGHT"><?php putGS("URL Name"); ?> :</TD> <TD> <INPUT TYPE="TEXT" class="input_text" NAME="f_url_name" SIZE="32" value="<?php
$issuePublishObj->create(); $issuePublishObj->setPublicationId($Pub); $issuePublishObj->setIssueNumber($Issue); $issuePublishObj->setLanguageId($Language); $issuePublishExists = false; } $issuePublishObj->setPublishAction($action); $issuePublishObj->setPublishArticlesAction($publish_articles); $issuePublishObj->setActionTime($publish_time); $created = 1; } if ($created) { $action = ($issuePublishExists) ? 'updated' : 'added'; $issueObj = new Issue($Pub, $Language, $Issue); $logtext = getGS('Scheduled action $1 for issue #$2: "$3" (Publication: $4)', $action, $Issue, $issueObj->getName(), $Pub); Log::Message($logtext, $g_user->getUserId(), 16); camp_html_goto_page("/$ADMIN/issues/edit.php?Pub=$Pub&Issue=$Issue&Language=$Language"); } $issueObj = new Issue($Pub, $Language, $Issue); $publicationObj = new Publication($Pub); $crumbs = array("Pub" => $publicationObj, "Issue" => $issueObj); camp_html_content_top(getGS("Scheduling a new publish action"), $crumbs); ?> <P> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" class="box_table"> <TR> <TD COLSPAN="2"> <B> <?php putGS("Scheduling a new publish action"); ?> </B> <HR NOSHADE SIZE="1" COLOR="BLACK">
$publish_date = $datetime[0]; $publish_time = explode(":", trim($datetime[1])); $publish_hour = $publish_time[0]; $publish_min = $publish_time[1]; } camp_html_content_top(getGS('Issue Publishing Schedule'), array('Pub' => $publicationObj, 'Issue' => $issueObj), true, true); ?> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1" class="action_buttons" style="padding-top: 5px;"> <TR> <TD><A HREF="/<?php echo $ADMIN; ?>/issues/?Pub=<?php p($Pub); ?>"><IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/left_arrow.png" BORDER="0"></A></TD> <TD><A HREF="/<?php echo $ADMIN; ?>/issues/?Pub=<?php p($Pub); ?>"><B><?php putGS("Issue List"); ?></B></A></TD> <TD style="padding-left: 20px;"><A HREF="/<?php echo $ADMIN; ?>/issues/?Pub=<?php p($Pub); ?>"><IMG SRC="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/left_arrow.png" BORDER="0"></A></TD> <TD><A HREF="/<?php echo $ADMIN; ?>/issues/edit.php?Pub=<?php p($Pub); ?>&Issue=<?php p($issueObj->getIssueNumber()); ?>&Language=<?php p($issueObj->getLanguageId()); ?>"><B><?php echo getGS("Issue").": ".htmlspecialchars($issueObj->getName()); ?></B></A></TD> </TR> </TABLE> <P> <FORM NAME="dialog" METHOD="POST" ACTION="autopublish_do_add.php" onsubmit="return <?php camp_html_fvalidate(); ?>;"> <?php echo SecurityToken::FormParameter(); ?> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" class="box_table"> <TR> <TD COLSPAN="2"> <?php if (is_null($event_id)) { ?> <B><?php putGS("Schedule a new action"); ?></B> <?php } else { ?> <B><?php putGS("Edit"); ?></B> <?php } ?> <HR NOSHADE SIZE="1" COLOR="BLACK">
<P> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="8" class="message_box"> <TR> <TD COLSPAN="2"> <B> <?php echo $translator->trans("Duplicating section", array(), 'sections'); ?> </B> <HR NOSHADE SIZE="1" COLOR="BLACK"> </TD> </TR> <TR> <TD COLSPAN="2"> <BLOCKQUOTE> <?php echo $translator->trans('Section $1 has been duplicated to $2. $3 of $4', array('$1' => '<B>' . $srcSectionObj->getName() . '</B>', '$2' => '<B>' . $dstSectionObj->getIssueNumber() . '</B>', '$3' => '<B>' . $dstIssueObj->getName() . ' (' . $dstIssueObj->getLanguageName() . ')</B>', '$4' => '<B>' . $dstPublicationObj->getName() . '</B>'), 'sections'); ?> </BLOCKQUOTE> </TD> </TR> <TR> <TD COLSPAN="2"> <DIV ALIGN="CENTER"> <table> <tr> <td> <b><a href="<?php echo "/{$ADMIN}/sections/edit.php?Pub={$f_dest_publication_id}&Issue={$f_dest_issue_number}&Section={$f_dest_section_number}&Language={$f_language_id}"; ?> "><?php echo $translator->trans("Go to new section", array(), 'sections');
?> /left_arrow.png" BORDER="0"></A></TD> <TD><A HREF="/<?php echo $ADMIN; ?> /issues/edit.php?Pub=<?php p($Pub); ?> &Issue=<?php p($issueObj->getIssueNumber()); ?> &Language=<?php p($issueObj->getLanguageId()); ?> "><B><?php echo getGS("Issue") . ": " . htmlspecialchars($issueObj->getName()); ?> </B></A></TD> </TR> </TABLE> <P> <FORM NAME="dialog" METHOD="POST" ACTION="/<?php echo $ADMIN; ?> /issues/autopublish_do_add.php" onsubmit="return <?php camp_html_fvalidate(); ?> ;"> <?php echo SecurityToken::FormParameter();