Go to the documentation of this file.00001 <?php
00002
00003
00004 ?>
00005
00006 <?php
00007 echo HtmlInput::button("other_bt", _("Autres actions"), 'onclick="$(\'other_div\').style.display=\'block\';action_show_checkbox();"', "smallbutton");
00008 $radio=new IRadio("othact");
00009
00010
00011
00012
00013 echo HtmlInput::request_to_hidden(array("closed_action","remind_date_end","remind_date","sag_ref", "remind_date","only_internal", "state", "gDossier", "qcode", "start_date", "end_date", "ag_id", "ag_dest_query",
00014 "tdoc", "action_query","date_start","date_end","hsstate","searchtag"));
00015 ?>
00016 <div id="other_div" class="inner_box" style="width:40%;display: none">
00017 <?php echo HtmlInput::title_box(_('Actions sur plusieurs documents'),'other_div', 'hide') ?>
00018 <?php echo _("Sélectionner les documents et l' action :")?>
00019 <ul style='list-style-type: none;padding-left:30px;margin: 0px' >
00020 <li >
00021 <?php $radio->value="IMP"; $radio->selected=true;echo $radio->input(); ?>
00022 <?php echo _("Impression");?>
00023 </li>
00024 <li>
00025 <?php $radio->value="ST";$radio->selected=false;echo $radio->input(); ?>
00026 <?php echo _("Changement des états");?>
00027 <?php
00028 $etat=new ISelect('ag_state');
00029 $etat->value=$cn->make_array('select s_id,s_value from document_state order by s_value');
00030 echo $etat->input();
00031 ?>
00032 </li>
00033 <li>
00034 <?php $radio->value="ETIADD";echo $radio->input(); ?>
00035 <?php echo _("Ajout d'étiquettes");?>
00036 <?php echo Tag::button_search('add'); ?>
00037 <?php echo Tag::add_clear_button('add'); ?>
00038 <span id="addtag_choose_td">
00039 </span>
00040 </li>
00041 <li>
00042 <?php $radio->value="ETIREM";echo $radio->input(); ?>
00043 <?php echo _("Enlever des étiquettes");?>
00044 <?php echo Tag::button_search('rem'); ?>
00045 <?php echo Tag::add_clear_button('rem'); ?>
00046 <span id="remtag_choose_td">
00047 </span>
00048 </li>
00049 <li>
00050 <?php $radio->value="ETICLEAR";echo $radio->input(); ?>
00051 <?php echo _("Enlever toutes les étiquettes des documents choisis");?>
00052 </li>
00053 <li>
00054 <?php $radio->value="DOCREM";echo $radio->input(); ?>
00055 <?php echo _("Effacer les documents choisis");?>
00056 </li>
00057 </ul>
00058
00059 <?php
00060 echo HtmlInput::submit("other_action_bt", _("Valider"));
00061 ?>
00062 </div>
00063 <script>
00064 new Draggable('other_div',{starteffect:function(){
00065 new Effect.Highlight(obj.id,{scroll:window,queue:'end'});
00066 }
00067 }
00068 );
00069 </script>