Tatsuki SUGIURA
sugi****@users*****
2006年 7月 12日 (水) 20:41:46 JST
Index: slashjp/plugins/Console/templates/display;console;default diff -u /dev/null slashjp/plugins/Console/templates/display;console;default:1.1 --- /dev/null Wed Jul 12 20:41:46 2006 +++ slashjp/plugins/Console/templates/display;console;default Wed Jul 12 20:41:46 2006 @@ -0,0 +1,37 @@ +__section__ +default +__description__ +You should describe stuff here. +__title__ +Useless title to template +__page__ +console +__lang__ +en_US +__name__ +display +__seclev__ +10000 +__template__ +<div id="slashboxes"> + [% authorbox %] + [% storyadmin %] + [% perfbox %] + [% slashdbox %] +</div> +<div id="console"> + [% remarks %] + <br> + <script type="text/javascript"> + function reloadBin() { + var iframe = $('submitiframe'); + [%# do not HTML-encode the '&', that's only for in HTML itself, and this is JavaScript -- pudge %] + iframe.src = "[% constants.absolutedir_secure %]/submit.pl?op=list&nowrapper=1"; + } + </script> + <a href="javascript:reloadBin()">Reload Bin</a> + <br> + <div id="submitframe"> + <iframe name="submitframe" id="submitiframe" src="[% gSkin.rootdir %]/submit.pl?op=list&nowrapper=1&fromconsole=1" width="100%" height="800"></iframe> + </div> +</div>