</div> <div id="existing-file"> <form action="do_add_existing.php" method="POST"> <?php // add hiddens echo SecurityToken::formParameter(); foreach (array('f_language_selected', 'f_article_number') as $name) { echo '<input type="hidden" name="', $name; echo '" value="', $$name, '" />', "\n"; } // render list $list = new MediaList; $list->setColVis(FALSE) ->setHidden('content_disposition') ->setHidden('inUse') ->setClickable(FALSE) ->render(); ?> <div style="margin: 8px 0; text-align:center"> <input type="submit" class="button" value="<?php putGS('Attach'); ?>" /> </div> </form> </div> </div><!-- /#tabs -->
<input type="submit" class="button" name="approve" value="<?php echo $translator->trans('Approve selected', array(), 'media_archive'); ?> " /> <input type="submit" class="button" name="disapprove" value="<?php echo $translator->trans('Disapprove selected', array(), 'media_archive'); ?> " /> <?php } ?> </fieldset> <?php $list = new MediaList(); $list->setColVis(TRUE); $list->setSearch(TRUE); $list->render(); ?> </div><!-- /#files --> </div><!-- /#archive --> <script type="text/javascript"> <!-- $(document).ready(function() { // tabs $('#archive').tabs() .css('border', 'none'); // delete button $('input[name=delete]').click(function() {
<div id="existing-file"> <form action="/<?php echo $ADMIN; ?> /articles/files/do_add_existing.php" method="POST"> <?php // add hiddens echo SecurityToken::formParameter(); foreach (array('f_language_selected', 'f_article_number') as $name) { echo '<input type="hidden" name="', $name; echo '" value="', ${$name}, '" />', "\n"; } // render list $list = new MediaList(); $list->setColVis(FALSE)->setHidden('content_disposition')->setHidden('inUse')->setClickable(FALSE)->render(); ?> <div style="margin: 8px 0; text-align:center"> <input type="submit" class="button" value="<?php echo $translator->trans('Attach'); ?> " /> </div> </form> </div> </div><!-- /#tabs --> <?php }