<{* $Revision: 1.9.6.2 $ - smarty parameters $page number of this page $page_max number of pages $num_of_all_items number of all items $import_ids array of id of items to be imported $import_as_new 'on' if we regard conflict item as new item (conflict item is imported as new item) $logging 'on' if import log is required. passing it to next page. $certify_auto 'on' if items imported to /Public indexes must be certify automatically $conflict_items //$conflict_items associative array of conflict items conflict_items = array( pseudo_id => array( 'import_item' => //import item array( 'pseudo_id' => pseudo ID, 'checked' => 'checked' if this item to be imported else '', 'titles' => array( 0 => 1st title string, 1 => 2nd title string, ... ), 'contributor' => uname of contributor, ) 'conflict_updatable_item' => //array of existing items what conflict with import item in same index array( 0 => array( 'titles' => array( 0 => 1st title string, 1 => 2nd title string, ... ), 'contributor' => uname of contributor, 'index_strs' => array( 0 => '/Public/IPSJ', 1 => '/Private/IPSJ', ... ), ), 1 => array( 'titles' => array( 0 => 1st title string, 1 => 2nd title string, ... ), 'contributor' => uname of contributor, 'index_strs' => array( 0 => '/Public/IPSJ', 1 => '/Private/IPSJ', ... ), ), ), 'conflict_unupdatable_item' => //array of existing items what conflict with import item in differ index array( 0 => array( 'titles' => array( 0 => 1st title string, 1 => 2nd title string, ... ), 'contributor' => uname of contributor, 'index_strs' => array( 0 => '/Public/IPSJ', 1 => '/Private/IPSJ', ... ), ), 1 => ... ), 'conflict_importing_item' => //array of importing items what conflict with import item array( 0 => array( 'titles' => array( 0 => 1st title string, 1 => 2nd title string, ... ), 'contributor' => uname of contributor, 'index_strs' => array( 0 => '/Public/IPSJ', 1 => '/Private/IPSJ', ... ), ), 1 => ... ), ), pseudo_id => same above .... ); - post parameters import_ids[]: id of item to be imported page: number of next page *}>
<{if !empty( $logging )}> <{/if}> <{if !empty( $certify_auto )}> <{/if}> <{foreach item=i from=$import_ids}> <{/foreach}>

<{$smarty.const._MD_XOONIPS_IMPORT_PANKUZU_IMPORT}> <{$smarty.const._MI_XOONIPS_ACCOUNT_PANKUZU_SEPARATOR}> <{$smarty.const._MD_XOONIPS_IMPORT_PANKUZU_RESOLVE_CONFLICT}>

<{$smarty.const._MD_XOONIPS_IMPORT_TITLE_RESOLVE_CONFLICT}>

<{$smarty.const._MD_XOONIPS_IMPORT_NUMBER_OF_CONFLICT_ITEMS}><{$num_of_all_items}>

<{if $page_max > 1}> <{if 0 < $page-1 }> <{$smarty.const._MD_XOONIPS_ITEM_SHOW_ITEMLIST_PREV}>  <{else}> <{$smarty.const._MD_XOONIPS_ITEM_SHOW_ITEMLIST_PREV}> <{/if}> <{if 0 < $page-6 && $page+1 > $page_max }><{$page-6}> <{/if}> <{if 0 < $page-5 && $page+2 > $page_max }><{$page-5}> <{/if}> <{if 0 < $page-4 && $page+3 > $page_max }><{$page-4}> <{/if}> <{if 0 < $page-3 }><{$page-3}> <{/if}> <{if 0 < $page-2 }><{$page-2}> <{/if}> <{if 0 < $page-1 }><{$page-1}> <{/if}> <{$page}>  <{if $page+1 <= $page_max }><{$page+1}> <{/if}> <{if $page+2 <= $page_max }><{$page+2}> <{/if}> <{if $page+3 <= $page_max }><{$page+3}> <{/if}> <{if $page+4 <= $page_max && 0 >= $page-3 }><{$page+4}> <{/if}> <{if $page+5 <= $page_max && 0 >= $page-2 }><{$page+5}> <{/if}> <{if $page+6 <= $page_max && 0 >= $page-1 }><{$page+6}> <{/if}> <{if $page+1 <= $page_max }> <{$smarty.const._MD_XOONIPS_ITEM_SHOW_ITEMLIST_NEXT}>  <{else}> <{$smarty.const._MD_XOONIPS_ITEM_SHOW_ITEMLIST_NEXT}> <{/if}>
<{/if}>

checked="checked"<{/if}> />
<{$smarty.const._MD_XOONIPS_IMPORT_IMPORT_ALL_AS_NEW|nl2br}>
<{counter start=0 assign=checkbox_counter}> <{foreach item=i from=$conflict_items}> "> <{/foreach}>
<{$smarty.const._MD_XOONIPS_IMPORT_FOLLOWING_ITEM_CONFLICT}>
<{foreach item=title from=$i.import_item.titles}> <{$title}>
<{/foreach}> <{$i.import_item.contributor}>
<{$i.import_item.itemtype}>
<{if count($i.conflict_updatable_item) > 0}> <{foreach item=j from=$i.conflict_updatable_item}> "> <{/foreach}>
/> <{counter}> <{$smarty.const._MD_XOONIPS_IMPORT_IMPORT_MODIFY}>
<{foreach item=title from=$j.titles}> <{$title}>
<{/foreach}> <{$j.contributor}>
<{$j.itemtype}> <{foreach item=index_str from=$j.index_strs}> <{$index_str}>
<{/foreach}>
<{/if}> <{if count($i.conflict_unupdatable_item) > 0}> <{foreach item=j from=$i.conflict_unupdatable_item}> "> <{/foreach}>
<{$smarty.const._MD_XOONIPS_IMPORT_CONFLICT_ITEMS_IN_OTHER_INDEXES}>
<{foreach item=title from=$j.titles}> <{$title}>
<{/foreach}> <{$j.contributor}>
<{$j.itemtype}> <{foreach item=index_str from=$j.index_strs}> <{$index_str}>
<{/foreach}>
<{/if}> <{if count($i.conflict_importing_item) > 0}> <{foreach item=j from=$i.conflict_importing_item}> "> <{/foreach}>
<{$smarty.const._MD_XOONIPS_CONFLICT_ITEMS_IN_THE_SAME_FILE}>
<{foreach item=title from=$j.titles}> <{$title}>
<{/foreach}> <{$j.contributor}>
<{$j.itemtype}> <{foreach item=index_str from=$j.index_strs}> <{$index_str}>
<{/foreach}>
<{/if}>