[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/workflow/templates/default/ -> admin_activities.tpl (source)

   1  <div style="color:red; text-align:center">{message}</div>
   2  <div>
   3      <div>
   4          {proc_bar}
   5      </div>
   6      <div>
   7          {errors}
   8      </div>
   9  </div>
  10  <br />
  11  <form action="{form_details_action}" method="post">
  12  <input type="hidden" name="p_id" value="{p_id}" />
  13  <input type="hidden" name="activity_id" value="{activity_id}" />
  14  <input type="hidden" name="where2" value="{where2}" />
  15  <input type="hidden" name="sort_mode2" value="{sort_mode2}" />
  16  <input type="hidden" name="find" value="{find}" />
  17  <input type="hidden" name="where" value="{where}" />
  18  <input type="hidden" name="sort_mode" value="{sort_mode}" />
  19  <input type="hidden" name="filter_type" value="{filter_type_value}" />
  20  <input type="hidden" name="filter_interactive" value="{filter_interactive_value}" />
  21  <input type="hidden" name="filter_autoroute" value="{filter_autoroute_value}" />
  22  <input type="hidden" name="filter_trans_from" value="{filter_trans_from_value}" />
  23  <table style="border: 1px solid black;width:100%; margin-bottom:10px">
  24      <tr class="th">
  25          <td colspan="2" style="font-size: 120%; font-weight:bold">
  26                  {lang_Add_or_edit_an_activity}
  27          </td>
  28      </tr>
  29      <tr class="row_on">
  30        <td width="20%">{lang_Name}</td>
  31        <td><input type="text" name="name" value="{name}" /></td>
  32      </tr>
  33      <tr class="row_off">
  34        <td>{lang_Description}</td>
  35        <td><textarea name="description" rows="4" cols="60">{description}</textarea></td>
  36      </tr>
  37      <tr class="row_on">  
  38      <td>{lang_Type}</td>
  39          <td>
  40              <select name="type">
  41                  <!-- BEGIN block_select_type -->
  42                      <option value="{type_value}" {type_selected}>{type_name}</option>
  43                  <!-- END block_select_type -->
  44              </select>
  45          </td>
  46      </tr>
  47      <tr class="row_off">
  48           <td>{lang_Properties}</td>
  49           <td>
  50                 <table cellpading="1" cellspacing="1">
  51              <tr class="row_off">
  52                  <td colspan="4">{lang_users_can_act_on_activity_before_its_execution_with_form_and_after_by_sending_it_to_the_next_activity}</td>
  53              </tr>
  54              <tr class="row_on">
  55                  <td>{img_interactive}</td>
  56                                     <td>{lang_Interactive}</td>
  57                                     <td><input type="checkbox" name="is_interactive" {checked_interactive} /></td>
  58                  <td>{lang_interactive_activities_show_form_before_being_executed}</td>
  59              </tr>
  60                             <tr class="row_on">
  61                  <td>{img_transition_auto}</td>
  62                                     <td>{lang_auto_routed}</td>
  63                                     <td><input type="checkbox" name="is_autorouted" {checked_autorouted} /></td>
  64                  <td>{lang_autorouted_activities_does_not_need_to_be_sent_by_any_user_after_their_execution}</td>
  65                             </tr>
  66                 </table>
  67           </td>
  68         </tr>
  69         <tr class="row_on">
  70        <td>{lang_Add_transitions}</td>
  71        <td>
  72          <table border="0" width="70%">
  73              <tr>
  74                  <td>
  75                      {lang_Add_transitions_from}:<br/>
  76                      {add_trans_from}
  77                  </td>
  78                  <td>
  79                      {lang_Add_transitions_to}:<br/>
  80                      {add_trans_to}
  81                  </td>
  82              </tr>    
  83          </table>
  84        </td>
  85      </tr>
  86  
  87      <tr class="row_off">
  88        <td>{lang_Roles_assigned_to_this_activity}</td>
  89        <td>
  90          <table style="border: 0;width:75%;">
  91          <tr class="th">
  92              <th>{txt_read_only}</th>
  93              <th>{txt_role_name}</th>
  94              <th>&nbsp;</th>
  95          </tr>
  96        <!-- BEGIN block_activity_roles -->
  97        <tr class="tr_activity_role">
  98          <td width="25%" class="td_activity_role_ro" style="text-align:center"><input type="checkbox" name="activity_role_ro[{act_role_id}]" {act_role_ro_checked} disabled="disabled" /></td>
  99          <td width="70%" class="td_activity_role_name">{act_role_name}</td>
 100          <td width="5%" class="td_activity_role_del"><input type="checkbox" name="activity_role_delete[{act_role_id}]" {act_role_delete_checked} /></td>
 101        </tr>
 102        <!-- END block_activity_roles -->
 103          <tr class="tr_activity_role">
 104              <td colspan="3" style="text-align:right"><input type="submit" name="remove_roles" value="{txt_Remove_selected_roles}"></td>
 105          </tr>
 106          </table>
 107        </td>
 108      </tr>
 109      <tr class="row_on">
 110  
 111        <td>{lang_Add_role}</td>
 112        <td>
 113          <table style="width=100%; border=0;">
 114          <tr class="th">
 115              <th>{txt_Use_existing_roles}</th>
 116              <th>{lang_Add_new_role}</th>
 117          </tr>
 118          <tr>
 119              <td>
 120        {txt_read_only}<input type="checkbox" name="userole_ro" {userole_ro_checked} />
 121        <select name="userole">
 122        <option value=""> </option>
 123        <!-- BEGIN block_process_roles -->
 124        <option value="{proc_roleId}">{proc_roleName}</option>
 125        <!-- END block_process_roles -->
 126        </select>
 127              </td>
 128              <td>
 129        {txt_read_only}<input type="checkbox" name="newrole_ro" {userole_ro_checked} />
 130        <input type="text" name="rolename" size="30"/>
 131              </td>
 132          </tr>
 133          <tr>
 134              <td>&nbsp;</td>
 135              <td>{lang_Description}<input type="text" name="roledescription" size="50"/></td>
 136          </tr>
 137          </table>
 138        </td>
 139      </tr>
 140      <tr class="row_off">
 141        <td>{lang_Agents_assigned_to_this_activity}</td>
 142        <td>
 143          <ul class="ul_activity_agents">
 144        <!-- BEGIN block_activity_agents -->
 145        <li class="li_activity_agent">{act_agent_type}&nbsp;&nbsp;[<a href="{act_agent_href}">{lang_delete}</a>]<br/>
 146        <!-- END block_activity_agents -->
 147          <ul>
 148        </td>
 149      </tr>
 150      <tr class="row_on">
 151        <td>{lang_Add_agent}</td>
 152        <td>
 153        <select name="useagent">
 154        <option value="">{lang_None}</option>
 155        <!-- BEGIN block_select_agents -->
 156        <option value="{select_agentType}">{select_agentType}</option>
 157        <!-- END block_select_agents -->
 158        </select>
 159        </td>
 160      </tr>
 161         <tr class="row_off">
 162           <td>{lang_Default_User}</td>
 163           <td>
 164                 <select name="default_user">
 165              <option value="*" {default_user_selected_none}>{lang_None}</option>        
 166                    <!-- BEGIN block_select_default_user -->
 167              <option value="{default_user_value}" {default_user_selected}>{default_user_name}</option>
 168              <!-- END block_select_default_user -->
 169          </select>
 170          <br />
 171          {lang_the_default_user_will_only_be_set_if_he_is_mapped_to_a_role_on_the_activity}<br />
 172          {lang_setNextUser_directives_can_override_it}
 173           </td>
 174         </tr>
 175      {agents_config_rows}
 176      <tr class="th">
 177              <td colspan="2">
 178              <table width="100%" cellpadding="0" cellspacing="0">
 179              <tr><td style="font-size: 120%; font-weight:bold">
 180                  <input type="submit" name="save_act" value="{lang_save}" />
 181              </td><td style="text-align: right;font-size: 120%; font-weight:bold">
 182                  <input type="submit" name="new_activity" value="{lang_new}" />
 183              </td></tr>
 184              </table>
 185          </td>
 186      </tr>
 187  
 188  </table>
 189  </form>
 190  
 191  <div style="border: 1px solid black;margin-bottom:10px">
 192  <form action="{form_process_activities_action}" method="post">
 193  <div class="th" style="font-weight:bold; font-size:120%; margin-bottom:4px">{lang_Process_activities}</div>
 194  <input type="hidden" name="p_id" value="{p_id}" />
 195  <input type="hidden" name="activity_id" value="{activity_id}" />
 196  <input type="hidden" name="where2" value="{where2}" />
 197  <input type="hidden" name="sort_mode2" value="{sort_mode2}" />
 198  <input type="hidden" name="filter_trans_from" value="{filter_trans_from_value}" />
 199  <table width="100%" cellpadding="0" cellspacing="0">
 200  <tr class="th">
 201      {left_arrow}
 202      <td style="text-align:center">
 203          {lang_Type}:
 204              <select name="filter_type" >
 205                  <option {selected_filter_type_all} value="">{lang_All}</option>
 206                  <!-- BEGIN block_select_filter_type -->
 207                  <option {selected_filter_type} value="{filter_type_en_name}">{filter_type_name}</option>
 208                  <!-- END block_select_filter_type -->
 209              </select>
 210          {lang_Interactivity}:
 211              <select name="filter_interactive">
 212                  <option {selected_filter_interactive_all} value="">{lang_All}</option>
 213                  <!-- BEGIN block_select_filter_interactive -->
 214                  <option {selected_filter_interactive} value="{filter_interactive_value}">{filter_interactive_name}</option>
 215                  <!-- END block_select_filter_interactive -->
 216              </select>
 217          {lang_Routing}:
 218              <select name="filter_autoroute">
 219                  <option {selected_filter_autoroute_all} value="">{lang_All}</option>
 220                  <!-- BEGIN block_select_filter_autoroute -->
 221                  <option {selected_filter_autoroute} value="{filter_autoroute_value}">{filter_autoroute_name}</option>
 222                  <!-- END block_select_filter_autoroute -->
 223              </select>
 224          {lang_Search}:&nbsp;
 225          <input size="18" type="text" name="find" value="{find}" />
 226          <input type="submit" name="filter" value="{lang_Filter}" />
 227      </td>
 228      {right_arrow}
 229  </tr>
 230  </table>    
 231  </form>
 232  
 233  <form action="{form_process_activities_action}" method="post">
 234  <input type="hidden" name="find" value="{find}" />
 235  <input type="hidden" name="where" value="{where}" />
 236  <input type="hidden" name="sort_mode" value="{sort_mode}" />
 237  <input type="hidden" name="where2" value="{where2}" />
 238  <input type="hidden" name="sort_mode2" value="{sort_mode2}" />
 239  <input type="hidden" name="p_id" value="{p_id}" />
 240  <input type="hidden" name="activity_id" value="{activity_id}" />
 241                  <input type="hidden" name="filter_type" value="{filter_type_value}" />
 242                  <input type="hidden" name="filter_interactive" value="{filter_interactive_value}" />
 243                  <input type="hidden" name="filter_autoroute" value="{filter_autoroute_value}" />
 244  <input type="hidden" name="filter_trans_from" value="{filter_trans_from_value}" />
 245  <div style="position:relative">
 246  <table border="0" width="100%">
 247  <!-- BEGIN block_process_activities_header -->
 248  <tr class="th" style="font-weight:bold">
 249      <td style="width: 20px;" align="center">#</td>
 250      <td style="width: 40%;">{header_name}</a></td>
 251      <td align="center">{header_type}</a></td>
 252      <td align="center">{header_interactive}</a></td>
 253      <td align="center">{header_route}</a></td>
 254      <td align="center">{header_default_user}</a></td>
 255      <td width="70px">{lang_Action}</td>
 256  </tr>
 257  <!-- END block_process_activities_header -->
 258  <!-- BEGIN block_process_activities -->
 259  <tr bgcolor="{color_line}">
 260      <td style="text-align:center;">
 261        {act_flowNum}
 262      </td>
 263      <td>
 264        <a href="{act_href}">{act_name}</a>
 265        {no_roles}
 266      </td>
 267      <td style="text-align:center;">
 268          {act_icon}
 269      </td>
 270      <td style="text-align:center;">
 271        <input type="checkbox" name="activity_inter[{act_activity_id}]" {act_inter_checked} />
 272      </td>
 273          <td style="text-align:center;">
 274        <input type="checkbox" name="activity_route[{act_activity_id}]" {act_route_checked} />
 275      </td>
 276          <td style="text-align:center;">
 277            {act_default_user}
 278          </td>
 279      <td>
 280          <a href="{act_href_edit}"><img src="{img_code}" alt="{lang_edit}" title="{lang_edit}" /></a>
 281          {act_template}
 282          <input style="position:absolute; right:5px" type="checkbox" name="activities[{act_activity_id}]" />
 283      </td>
 284  </tr>
 285  <!-- END block_process_activities -->
 286  <!-- BEGIN block_process_activities_footer -->
 287  <tr class="th">
 288  <td colspan="7">
 289      <input type="submit" name="update_act" value="{lang_update}" />
 290      <input style="position:absolute; right:5px" type="submit" name="delete_act" value="{lang_Delete_selected}" />
 291  </td>
 292  </tr>
 293  <!-- END block_process_activities_footer -->
 294  </table>
 295  </div>
 296  </form>    
 297  </div>
 298  
 299  <table border="0" width="100%" style="border: 1px solid black;">
 300      <tr class="th">
 301          <td colspan="2" style="font-size: 120%; font-weight:bold">
 302              {img_transition}{lang_Process_transitions}
 303          </td>
 304      </tr>
 305      <tr valign="top">
 306          <td width="50%">
 307              <form action="{form_list_transitions_action}" method="post">
 308                  <input type="hidden" name="p_id" value="{p_id}" />
 309                  <input type="hidden" name="activity_id" value="{activity_id}" />
 310                  <input type="hidden" name="find" value="{find2}" />
 311                  <input type="hidden" name="where" value="{where2}" />
 312                  <input type="hidden" name="sort_mode" value="{sort_mode}" />
 313                  <input type="hidden" name="where2" value="{where2}" />
 314                  <input type="hidden" name="sort_mode2" value="{sort_mode2}" />
 315                  <input type="hidden" name="filter_type" value="{filter_type_value}" />
 316                  <input type="hidden" name="filter_interactive" value="{filter_interactive_value}" />
 317                  <input type="hidden" name="filter_autoroute" value="{filter_autoroute_value}" />
 318                  <input type="hidden" name="find" value="{find_value}" />
 319              <table border="0" width="100%">
 320                  <tr class="th">
 321                      <td>
 322                          <span style="font-weight:bold; margin-right:15px">{lang_List_of_transitions}</span>{lang_From}: {filter_trans_from}
 323                      </td>
 324                      <td>
 325                          <input type="submit" name="filter" value="{lang_Filter}" />
 326                      </td>
 327                  </tr>
 328                  <!-- BEGIN block_transitions_table -->
 329                  <tr bgcolor="{color_line}">
 330                      <td>
 331                          <a href="{trans_href_from}">{trans_actFromName}</a>
 332                          <img src='{trans_arrow}' alt='{lang_To}' />
 333                          <a href="{trans_href_to}">{trans_actToName}</a>
 334                      </td>
 335                      <td>
 336                          <input type="checkbox" name="transition[{trans_actFromId}_{trans_actToId}]" />
 337                      </td>
 338                  </tr>
 339                  <!-- END block_transitions_table -->
 340                  <!-- BEGIN block_transitions_table_footer -->
 341                  <tr class="th">
 342                      <td align="right">
 343                          {img_transition_delete}
 344                      </td>
 345                      <td style="text-align:right;"><input type="submit" name="delete_tran" value="{lang_Delete_selected}" /></td>
 346                  </tr>
 347                  <!-- END block_transitions_table_footer -->
 348                  </table>
 349              </form>        
 350          </td>
 351          <td width="50%" valign="top" align="left">
 352              <form action="{form_list_transitions_action}" method="post">
 353              <input type="hidden" name="p_id" value="{p_id}" />
 354              <input type="hidden" name="activity_rd" value="{activity_id}" />
 355              <input type="hidden" name="find" value="{find2}" />
 356              <input type="hidden" name="where" value="{where2}" />
 357              <input type="hidden" name="sort_mode" value="{sort_mode}" />
 358              <input type="hidden" name="where2" value="{where2}" />
 359              <input type="hidden" name="sort_mode2" value="{sort_mode2}" />
 360              <input type="hidden" name="filter_type" value="{filter_type_value}" />
 361              <input type="hidden" name="filter_interactive" value="{filter_interactive_value}" />
 362              <input type="hidden" name="filter_autoroute" value="{filter_autoroute_value}" />
 363              <input type="hidden" name="filter_trans_from" value="{filter_trans_from_value}" />
 364              <input type="hidden" name="find" value="{find_value}" />
 365              <table class="normal" width="100%">
 366              <tr class="th" style="font-weight:bold">
 367                  <td colspan="2">
 368                      {lang_Add_a_transition}
 369                  </td>
 370              </tr>
 371              <tr class="row_on">
 372                <td>
 373                {lang_From}:
 374                </td>
 375                <td width="90%">
 376                  {add_a_trans_from}
 377                </td>
 378              </tr>
 379              <tr class="row_off">
 380                <td>
 381                {lang_To}: 
 382                </td>
 383                <td>
 384                  {add_a_trans_to}
 385                </td>
 386              </tr>
 387              <tr class="th">
 388                <td align="right">
 389                    {img_transition_add}
 390                </td>
 391                <td>
 392                  <input type="submit" name="add_trans" value="{lang_Add_Transition}" />
 393                </td>
 394              </tr>
 395              </table>    
 396              </form>
 397          </td>
 398      </tr>
 399  </table>    
 400      


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7