{$myId = $field.fieldId|escape|cat:'_'|cat:$item.itemId|escape}
{tr}This bug has been demonstrated on {$field.options_map.domain|escape}{/tr}
{tr}Please demonstrate your bug on {$field.options_map.domain|escape}{/tr}
{if !$field.id} {remarksbox type="info" title="{tr}Bug needs to be created first{/tr}" close="n"}

{tr}You will be able to demonstrate your bug on a {$field.options_map.domain|escape} instance once it has been created.{/tr}

{/remarksbox} {else}
{remarksbox type="error" title="{tr}Show.tiki.org is not configured properly{/tr}" close="n"}

{tr}The public/private keys configured to connect to {$field.options_map.domain|escape} were not accepted. Please make sure you are using RSA keys. Thanks.{/tr}

{/remarksbox}
{remarksbox type="error" title="{tr}Show.tiki.org is currently unavailable{/tr}" close="n"}

{tr}Unable to connect to {$field.options_map.domain|escape}. Please let us know of the problem so that we can do something about it. Thanks.{/tr}

{/remarksbox}
{remarksbox type="error" title="{tr}Show.tiki.org is under maintenance{/tr}" close="n"}

{tr}Show.tiki.org is currently under maintenance. Sorry for the inconvenience.{/tr} {$field.maintreason|escape}

{/remarksbox}
{remarksbox type="error" title="{tr}Unable to get information from {$field.options_map.domain|escape}{/tr}" close="n"}

{tr}Unable to get information from {$field.options_map.domain|escape}. Please let us know of the problem so that we can do something about it. Thanks.{/tr}

{/remarksbox}
{remarksbox type="error" title="{tr}Instance is being created{/tr}" close="n"}

{tr}Show.tiki.org is in the progress of creating the new instance. Please continue waiting for a minute or two. If this continues on for more than 10 minutes, please let us know of the problem so that we can do something about it. Thanks.{/tr}

{/remarksbox}
{remarksbox type="info" title="{tr}About {$field.options_map.domain|escape}{/tr}" close="n"}

{tr}To help developers solve the bug, we kindly request that you demonstrate your bug on a {$field.options_map.domain|escape} instance. To start, simply select a version and click on "Create {$field.options_map.domain|escape} instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on {$field.options_map.domain|escape}.{/tr}

{/remarksbox} {tr}Version:{/tr} {button href="#showtikiorg{$myId}{if isset($context.list_mode)}_view{/if}" _onclick="showtikiorg_process{$myId}('create');" _text="{tr}Create {$field.options_map.domain|escape} instance{/tr}"}
{remarksbox type="info" title="{tr}Accessing the Tiki instance that demonstrates this bug{/tr}" close="n"}

{tr _0="http://{$field.showurl|escape}"}The URL for the {$field.options_map.domain|escape} instance that demonstrates this bug is at: %0.{/tr} {tr}Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".{/tr}

{tr _0="http://{$field.showlogurl|escape}"}For the install log, see %0{/tr}

{tr}Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.{/tr}

{/remarksbox} {remarksbox type="info" title="{tr}Snapshots{/tr}" close="n"}

{tr}Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the {$field.options_map.domain|escape} instance, create a snapshot that can then be downloaded by developers for further investigation.{/tr}

{tr _0="http://{$field.snapshoturl|escape}"}Snapshots can be accessed at: %0.{/tr} {tr}Note that if you get a popup asking for a username/password, please just enter "show" and "show".{/tr}

{button href="#showtikiorg{$myId}{if isset($context.list_mode)}_view{/if}" _onclick="showtikiorg_process{$myId}('snapshot');" _text="{tr}Create new snapshot{/tr}"} {/remarksbox} {if $field.canDestroy} {button href="#showtikiorg{$myId}{if isset($context.list_mode)}_view{/if}" _onclick="showtikiorg_process{$myId}('destroy');" _text="{tr}Destroy this {$field.options_map.domain|escape} instance{/tr}"} {button href="#showtikiorg{$myId}{if isset($context.list_mode)}_view{/if}" _onclick="showtikiorg_process{$myId}('reset');" _text="{tr}Reset password to 12345{/tr}"} {/if}
{if $field.options_map.debugMode} {remarksbox type="info" title="{tr}Debug Mode Information{/tr}" close="n"}
-{$field.status|escape} - {$field.debugoutput|escape}
{button href="#showtikiorg{$myId}{if isset($context.list_mode)}_view{/if}" _onclick="showtikiorg_process{$myId}('info');" _text="{tr}Get instance information and refresh cache{/tr}"} {/remarksbox} {/if} {jq notonready=true} function showtikiorg_process{{$field.fieldId|escape}}_{{$item.itemId|escape}}(action) { var request = { id: {{$field.id}}, userid: {{$field.userid}}, username: '{{$field.username}}', fieldId: {{$field.fieldId}}, command: action, svntag: $("select[name='svntag']").val() }; $.ajax({ url: $.service('showtikiorg', 'process'), data: request, dataType: 'json', type: 'POST', success: function(data) { var debugoutput = data.debugoutput; //$('#testingstatus').html(data.status); $('.showdebugoutput{{$myId}}').html(data.debugoutput); if ($.inArray(data.version, {{$field.versions|json_encode}}) > -1) { $('.buttonupdate{{$myId}}').show(); } if (data.status == 'DISCO') { $('.showdisconnected{{$myId}}').show(); $('.showinvalidkeys{{$myId}}').hide(); $('.showmaint{{$myId}}').hide(); $('.showfail{{$myId}}').hide(); $('.showsnapshot{{$myId}}').hide(); $('.showdestroy{{$myId}}').hide(); $.tikiModal(); } else if (data.status == 'INVKEYS') { $('.showinvalidkeys{{$myId}}').show(); $('.showdisconnected{{$myId}}').hide(); $('.showmaint{{$myId}}').hide(); $('.showfail{{$myId}}').hide(); $('.showsnapshot{{$myId}}').hide(); $('.showdestroy{{$myId}}').hide(); $.tikiModal(); } else if (data.status == 'MAINT') { $('.showmaint{{$myId}}').show(); $('.showdisconnected{{$myId}}').hide(); $('.showinvalidkeys{{$myId}}').hide(); $('.showfail{{$myId}}').hide(); $('.showsnapshot{{$myId}}').hide(); $('.showdestroy{{$myId}}').hide(); $.tikiModal(); } else if (data.status == 'FAIL') { $('.showfail{{$myId}}').show(); $('.showmaint{{$myId}}').hide(); $('.showdisconnected{{$myId}}').hide(); $('.showinvalidkeys{{$myId}}').hide(); $('.showsnapshot{{$myId}}').hide(); $('.showdestroy{{$myId}}').hide(); $.tikiModal(); } else if (data.status == 'BUILD') { $('.showbuilding{{$myId}}').show(); $('.shownone{{$myId}}').hide(); $('.showactive{{$myId}}').hide(); $('.showfail{{$myId}}').hide(); $('.showdisconnected{{$myId}}').hide(); $('.showinvalidkeys{{$myId}}').hide(); $('.showmaint{{$myId}}').hide(); $('.showsnapshot{{$myId}}').hide(); $('.showdestroy{{$myId}}').hide(); setTimeout("showtikiorg_process{{$myId}}('info')",5000); $.tikiModal(tr('Instance is being created... Please wait... This might take a minute or two.')); } else if (data.status == 'NONE') { $('.shownone{{$myId}}').show(); $('.showactive{{$myId}}').hide(); $('.showbuilding{{$myId}}').hide(); $('.showfail{{$myId}}').hide(); $('.showdisconnected{{$myId}}').hide(); $('.showinvalidkeys{{$myId}}').hide(); $('.showmaint{{$myId}}').hide(); $('.showsnapshot{{$myId}}').hide(); $('.showdestroy{{$myId}}').hide(); $.tikiModal(); } else if (data.status == 'ACTIV') { $('.showactive{{$myId}}').show(); $('.showbuilding{{$myId}}').hide(); $('.shownone{{$myId}}').hide(); $('.showfail{{$myId}}').hide(); $('.showdisconnected{{$myId}}').hide(); $('.showinvalidkeys{{$myId}}').hide(); $('.showmaint{{$myId}}').hide(); $('.showsnapshot{{$myId}}').hide(); $('.showdestroy{{$myId}}').hide(); $('.showurl{{$myId}}').attr("href", "http://" + data.showurl).html("http://" + data.showurl); $('.showlogurl{{$myId}}').attr("href", "http://" + data.showlogurl).html("http://" + data.showlogurl); $('.snapshoturl{{$myId}}').attr("href", "http://" + data.snapshoturl).html("http://" + data.snapshoturl); $.tikiModal(); } else if (data.status == 'SNAPS') { $('.showactive{{$myId}}').show(); $('.showbuilding{{$myId}}').hide(); $('.shownone{{$myId}}').hide(); $('.showfail{{$myId}}').hide(); $('.showdisconnected{{$myId}}').hide(); $('.showinvalidkeys{{$myId}}').hide(); $('.showmaint{{$myId}}').hide(); $('.showsnapshot{{$myId}}').show(); $('.showdestroy{{$myId}}').hide(); $('.showresetok{{$myId}}').hide(); $('.showresetnok{{$myId}}').hide(); } else if (data.status == 'RESOK') { $('.showresetok{{$myId}}').show(); $('.showresetnok{{$myId}}').hide(); } else if (data.status == 'RENOK') { $('.showresetnok{{$myId}}').show(); $('.showresetok{{$myId}}').hide(); } else if (data.status == 'DESTR') { $('.showactive{{$myId}}').hide(); $('.showbuilding{{$myId}}').hide(); $('.shownone{{$myId}}').hide(); $('.showfail{{$myId}}').hide(); $('.showdisconnected{{$myId}}').hide(); $('.showinvalidkeys{{$myId}}').hide(); $('.showmaint{{$myId}}').hide(); $('.showsnapshot{{$myId}}').hide(); $('.showresetnok{{$myId}}').hide(); $('.showresetok{{$myId}}').hide(); $('.showdestroy{{$myId}}').show(); setTimeout("showtikiorg_process{{$myId}}('info')",5000); $.tikiModal(tr('Instance is being destroyed... Please wait...')); } } }); return false; } {/jq} {/if}