0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
templates
/
[
Home
]
File: tiki-import_structuredtext.tpl
<h1><a class="pagetitle" href="tiki-import_structuredtext.php">{tr}Import pages from a Structured Text Dump{/tr}</a> {if $feature_help eq 'y'} <a href="{$helpurl}ImportingPagesAdmin" target="tikihelp" class="tikihelp" title="{tr}ImportingPagesPhpWikiPageAdmin{/tr}"> <img src="img/icons/help.gif" border="0" height="16" width="16" alt='{tr}help{/tr}' /></a>{/if} {if $feature_view_tpl eq 'y'} <a href="tiki-edit_templates.php?template=tiki-import_phpwiki.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}tiki-import_phpwiki tpl{/tr}"> <img src="img/icons/info.gif" border="0" height="16" width="16" alt='{tr}edit tpl{/tr}' /></a>{/if} </h1> <form method="post" action="tiki-import_structuredtext.php"> <table class="normal"> <tr> <td class="formcolor">{tr}Name of the dump file (it has to be in dump/){/tr}:</td> <td class="formcolor"><input type="text" name="path" /></td> </tr> <tr> <td class="formcolor">{tr}Overwrite existing pages if the name is the same{/tr}:</td> <td class="formcolor">{tr}yes{/tr}<input type="radio" name="crunch" value='y' /><input checked="checked" type="radio" name="crunch" value='n' />{tr}no{/tr}</td> </tr> <tr> <td class="formcolor">{tr}Previously remove existing page versions{/tr}:</td> <td class="formcolor">{tr}yes{/tr}<input type="radio" name="remo" value='y' /><input checked="checked" type="radio" name="remo" value='n' />{tr}no{/tr}</td> </tr> <tr> <td class="formcolor"> </td> <td class="formcolor"><input type="submit" name="import" value="{tr}import{/tr}" /></td> </tr> </table> </form> <br /><br /> {if $result eq 'y'} <table class="normal"> <tr> <td class="heading">{tr}page{/tr}</td> <td class="heading">{tr}excerpt{/tr}</td> <td class="heading">{tr}result{/tr}</td> <td class="heading">{tr}body{/tr}</td> </tr> {cycle values="odd,even" print=false} {section name=ix loop=$lines} <tr> <td class="{cycle advance=false}">{$lines[ix].page}</td> <td class="{cycle advance=false}">{$lines[ix].ex}</td> <td class="{cycle advance=false}">{$lines[ix].msg}</td> <td class="{cycle}">{$lines[ix].body}</td> </tr> {/section} </table> <br /><br /> {/if}