<dtml-if targetServer>
This is a target server. Theres nothing to see here.
<dtml-else>
<table width="100%">
<tr>
<td>View Syncer</td>
<td align="right"><dtml-var "HelpSys.HelpButton('VSyncer.stx','VSyncer')"></td>
</tr>
<dtml-if "REQUEST.has_key('msg')">
<tr>
<td colspan="2"><ul><dtml-var msg url_unquote></ul></td>
</tr>
</dtml-if>
</table>
<dtml-call "REQUEST.set('old_folder', '')">
<hr size="1">
<dtml-try>
<form method="POST" action="&dtml-absolute_url;/<dtml-if approval>manage_approval<dtml-else>manage_updateXMLRPC</dtml-if>">
<input type="hidden" name="action" value="manage_updateXMLRPC">
<input type="hidden" name="folder" value="&dtml-folder;">
<table border="0" cellpadding="2" cellspacing="0">
<tr class="list-header" align="center">
<td class="list-item">Action</td>
<td colspan="2" class="list-item" >File</td>
<td class="list-item">Status</td>
<td class="list-item">Last Modified (Source)</td>
<td class="list-item">Links</td>
</tr>
<dtml-in "manage_compare(folder)" mapping sort=id>
<dtml-let pathURL="_.string.join(path, '/')">
<tr <dtml-if sequence-even>class="row-hilite"</dtml-if>>
<td align="center" class="list-item">
<dtml-if "_.str(status) not in ['extra']">
<dtml-if "not allowed_objs_sync or '/'.join(path) in allowed_objs_sync">
<dtml-if "status=='ok'">
<img src="misc_/VSyncer/checkedbox.gif" title="Syncing is not required to this object.">
<dtml-else>
<input type="checkbox" name="object:list" value="&dtml-pathURL;">
</dtml-if>
<dtml-else>
<img src="misc_/VSyncer/stop.gif" title='This object can not be synced'>
</dtml-if>
<dtml-else>
<img src="misc_/VSyncer/stop.gif" title='This object may not found in deve server or its type has been changed.'>
</dtml-if>
</td>
<td class="list-item" align="center">
<dtml-if icon><img src="/&dtml-icon;" alt="&dtml-meta_type;"></dtml-if>
</td>
<td>
<dtml-if "is_folder and status not in ['missing', 'extra']">
<a href="&dtml-absolute_url;/manage_sync?folder=&dtml-pathURL;">&dtml-id;</a>
<dtml-else>
&dtml-id;
</dtml-if>
</td>
<td class="list-item" align="center" bgcolor="<dtml-var "status_colour(status)">"> <b>&dtml-status;</b> </td>
<td class="list-item" ><dtml-var "last_modified_time[:19]"></td>
<td class="list-item" >
<dtml-if "(_.str(status) not in ['extra', 'missing']) and (_.str(meta_type) in diffable) ">
<a href="&dtml-absolute_url;/manage_diff?object=&dtml-pathURL;&folder=<dtml-var old_folder>" target="_blank">View content difference</a>
</dtml-if>
</td>
</tr>
</dtml-let>
<dtml-else>
<tr>
<td class="list-item" colspan="20">No Syncable objects found.</td>
</tr>
</dtml-in>
<tr>
<td class="list-item" colspan="20">
<input name="manage_updateXMLRPC" type="submit" value=" Sync ">
<dtml-comment><input name="manage_updateFromDestXMLRPC:method"type="submit" value="Sync from Destination to Source">
</dtml-comment>
<br><br><strong>Note:-</strong> If the object is missing and say sync then that object gets imported
</td>
</tr>
</table>
</form>
<dtml-except>
There was a problem with that comparison.<br><br>
Error:
<ul>
<li><dtml-var error_type></li>
<li>&dtml-error_value;</li>
</ul>
Things to check:
<ul>
<li>Your destination Syncer is where it is meant to be.</li>
<li>The destination server is running and accessible.</li>
<li>The user "<dtml-var "REQUEST['AUTHENTICATED_USER']">" has the right to access Syncer.</li>
<li>The password for "<dtml-var "REQUEST['AUTHENTICATED_USER']">" is correct.</li>
</ul>
</dtml-try>
<hr size="1">
<p><b>Key:</b>
<ul>
<li><b>ok</b> this object is present on both destination and source and is in sync</li>
<li><b>missing</b> this object is present source but not destination, it needs syncing</li>
<li><b>extra</b> this object is on destination but not source, it needs syncing from destination</li>
<li><b>out of date</b> this object is present on both the destination and source, but has been changed on source, it needs syncing </li>
</ul>
</p>
</dtml-if>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>