Lang_index.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <form name="myform" id="myform" action="" method="post">
  2. <div class="table-list">
  3. <table width="100%" cellspacing="0">
  4. <thead>
  5. <tr>
  6. <th width="20"><input type="checkbox" id="check_box" onclick="selectall('ids[]');" /></th>
  7. <th width="30">{:L('listorder')}</th>
  8. <th width="40">ID</th>
  9. <th width="110" align="center">{:L(LANG_NAME)}</th>
  10. <th align="left">{:L(LANG_MARK)}</th>
  11. <th align="left" width="50">{:L(LANG_FLAG)}</th>
  12. <th align="center" width="40">{:L(STATUS)}</th>
  13. <th width="180" align="center">{:L('manage')}</th>
  14. </tr>
  15. </thead>
  16. <tbody>
  17. <volist name="list" id="vo" key="k">
  18. <tr>
  19. <td align="center"><input type="checkbox" name="ids[]" value="{$vo['id']}" /></td>
  20. <td width="40" align='center'><input name='listorders[{$vo.id}]' type='text' size='3' value='{$vo.listorder}' class='input-text-c'></td>
  21. <td align="center">{$vo['id']}</td>
  22. <td align="center">{$vo['name']}</td>
  23. <td align="left">{$vo['mark']}</td>
  24. <td align="left"><if condition="!empty($vo['flag'])"><img src="./Public/Images/flag/{$vo['flag']}"></if>&nbsp;</td>
  25. <td align="center"><eq name="vo['status']" value="1">
  26. {:L('yes')}
  27. <else />
  28. {:L('no')}
  29. </eq></td>
  30. <td align="center">
  31. <a href="{:U('Lang/edit',array(id=>$vo['id']))}">{:L('edit')}</a> | <a href="javascript:confirm_delete('{:U('Lang/delete',array(id=>$vo['id']))}')">{:L('delete')}</a></td>
  32. </tr>
  33. </volist>
  34. </tbody>
  35. </table>
  36. <div class="btn">
  37. <input type="button" class="button" name="dosubmit" value="<?php echo L('delete')?>" onclick="myform.action='{:U($module_name.'/deleteall')}';return onfirm_deleteall()"/>
  38. <input type="button" class="button" name="dosubmit" value="<?php echo L('listorder')?>" onclick="myform.action='{:U($module_name.'/listorder')}';$('#myform').submit();"/> </div>
  39. </div>
  40. </div>
  41. </form>
  42. <div id="pages" class="page">{$page}</div>
  43. </body></html>