Widget:CoBranded Snapshot

 WordPress Static     URL:   User: <input type="text" name="wpuser" id="wpuser" size="35"></li>  Password: <input type="text" name="wppassword" id="wppassword" size="35"></li> </ul> <button class="snapshotRequest" type="button" id="wpsubmit">Push snapshot to WordPress <img class="snapspinner" style="display: none;" src="/skins/common/images/ajax-loader.gif"> <input type="hidden" name="wplogo" id="wplogo" value=""> <input type="hidden" name="wplink" id="wplink" value=""> <input type="hidden" name="wpoptions" id="wpoptions" value=""> <form action="#">   /course/ <input type="text" name="fscourse" id="fscourse" size="35" value=""></li> </ul> <button class="snapshotRequest" type="button" id="fssubmit">Create static snapshot <img class="snapspinner" style="display: none;" src="/skins/common/images/ajax-loader.gif"> <input type="hidden" name="fslogo" id="fslogo" value=""> <input type="hidden" name="fslink" id="fslink" value=""> <input type="hidden" name="fsoptions" id="fsoptions" value=""> Request snapshot <script type="text/javascript">/* <![CDATA[ */ $(function { $('head').append('')           .append('');  $.when( $.getScript("https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"), $.getScript("/extensions/WEsnapshot/WEsnapshot.js"), $.Deferred(function(deferred) {     $( deferred.resolve );    }) ).done(function { var focusByTab = { '#snapwp': '#wpuser', '#snapfs': '#fscourse' }; if ($.inArray('OERu', wgUserGroups) === -1) { $('#WEsnapshotFSTab, #snapfs').remove; }   $('#WEsnapshot').tabs({    	activate: function (event, ui) {    		var did = $(ui.newTab).find('a').attr('href');    		$(focusByTab[did]).focus;    	},    	load: function  {    		$(focusByTab['#snapwp']).focus;    	}    }); }); }); /* ]]> */  Tool for making a snapshot of a collection of wiki pages.

Parameter

 * url:If supplied, the widget assumes that this is the outline page and the url value prepopulates the form providing a default address for the WordPress instance.
 * course:If supplied, the widget assumes that this is the outline page and the course value specifies the top level directory for a static snapshot in the filesystem (i.e. is the course name). This feature is currently available only to OERu partner institutions.
 * If neither url nor course is supplied, the widget behaves as if this is a generic form page and provides fields for the user to provide both the page name of the outline and the address for the WordPress instance.


 * logo:optional pointer to correctly sized institution logo for footer
 * link:optional URL target for clicks on footer logo
 * options:optional semi-colon separated list of option settings