<html>
<head>
<title>The SRESI Bookmarks Manager</title>
<script type="text/javascript">
function switchDisplay(cible)
{
cible.style.display=(!cible.style.display || cible.style.display=="none")? "block":"none";
}
</script>
<style>
body {
background-color: #456;
color: black;
padding: 1%;
margin: 0; }
h1 {
font-size: large;
text-align: center;
margin: 0;
padding: 1%;
border: solid;
background-color: #bbb; }
h2{
font-size: large;
padding: 0.3em;
background-color: #bbb; }
h3{
font-size: medium;
padding-top: 0.6em;
padding: 0.6em;
margin: 0;
background-color: #bbb; }
h4{
font-size: small;
padding: 1em;
margin: 0;
background-color: #bbb; }
p{
padding: 0.3em;
margin: 0; }
div.category {
margin: 0.1em;
margin-top: 1em;
margin-bottom: 1em;
padding: 1%;
width: auto;
border: solid;
background-color: #bbb; }
div.control {
display:none;
padding: 0;
margin: 0 }
</style>
</head>
<body onload="switchDisplay(Display);">
<h1>SRESI</h1>
<form action="sresi.php" method="POST" enctype="multipart/form-data" target="result">
<?php
echo ("<input type=\"hidden\" name=\"data\" value=\"" . $_GET['data'] . "\" />\n");
?>
<div class="category">
<h2>Data Mining</h2>
<h3 onclick="switchDisplay(Display);">* Display Bookmarks</h3>
<div class="control" id="Display">
<h4>Display type</h4>
<p>
Please choose the display style:<br />
<fieldset>
<input type="radio" name="format" value="cloud">Tag Cloud<br />
<input type="radio" name="format" value="delicious">Del.icio.us<br />
<input type="radio" name="format" value="dsv">DSV (archival only)<br />
<input type="radio" name="format" value="hsresi">HTML Sresi (fast display, archival)<br />
<input type="radio" name="format" value="javascript">Javascript<br />
<input type="radio" name="format" value="mozilla">Mozilla<br />
<input type="radio" name="format" value="opera">Opera<br />
<input type="radio" name="format" value="portal" checked="checked">Portal<br />
<input type="radio" name="format" value="xbel">XBEL<br />
</fieldset>
</p>
<p>
<input type="submit" name="run" value="Display">
</p>
<h4>Tree balance (refresh)</h4>
<p>
The bookmarks tree (or portal) is occasionnally unbalanced
by some edits. This corrects the problem.<br />
<input type="submit" name="run" value="Balance" />
</p>
</div>
<h3 onclick="switchDisplay(Information);">* Information</h3>
<div class="control" id="Information">
<p>
<input type="submit" name="run" value="Statistics" />
</p>
<p>
<input type="submit" name="run" value="Tags List" />
</p>
<p>
<input type="submit" name="run" value="Tags Count" />
</p>
<p>
<input type="submit" name="run" value="Hints List" />
</p>
<p>
<input type="submit" name="run" value="Shortcuts List" />
</p>
</div>
</div>
<div class="category">
<h2>Edition</h2>
<h3 onclick="switchDisplay(View);">* Views Management</h3>
<div class="control" id="View">
<h4>Set View Pattern</h4>
<p>
View pattern: <br /><input type="text" name="Vpattern" /><br />
<input type="submit" name="run" value="Set View" /><br />
You can use &, | and ! for boolean <em>AND</em>, <em>OR</em> and
<em>NOT</em> respectively.<br />
Standard criteria are tags, but you can also search through
{<em>name</em>}, <<em>URL</em>> or [<em>exact tag
list</em>]. Names and URL searches can be approximate with a
preceding ~. <br />
Double quotes are required for complex strings.
</p>
<h4>Roll Back Views</h4>
<p>
Numver of views to roll back: <input type="text" size="3" name="Vnumber" /><br />
<input type="submit" name="run" value="Rollback View" />
</p>
<h4>Filter On View</h4>
<p>
<input type="submit" name="run" value="Filter On View" />
</p>
</div>
<h3 onclick="switchDisplay(Cloud);">* Cloud Management</h3>
<div class="control" id="Cloud">
<p>
<input type="submit" name="run" value="Exit Cloud" />
</p>
<p>
<input type="submit" name="run" value="Filter On Cloud" />
</p>
</div>
<h3 onclick="switchDisplay(Mass);">* Mass Operations</h3>
<div class="control" id="Mass">
<h4>Bookmarks selection</h4>
<p>
Selection pattern: <br /><input type="text" name="selection" /><br />
<input type="submit" name="run" value="Selection" /><br />
You can use &, | and ! for boolean <em>AND</em>, <em>OR</em> and
<em>NOT</em> respectively.<br />
Standard criteria are tags, but you can also search through
{<em>name</em>}, <<em>URL</em>> or [<em>exact tag
list</em>]. Names and URL searches can be approximate with a
preceding ~. <br />
Quotes make a safer match for complex strings.
</p>
<h4>Merge a file</h4>
<p>
<input type="hidden" name="MAX_FILE_SIZE" value="16777216" />
Merge this file: <input type="file" name="Mfichier"><br />
<fieldset>Please choose the file type:<br />
<input type="radio" name="Mformat" value="delicious" />Del.icio.us<br />
<input type="radio" name="Mformat" value="dsv" checked="checked" />DSV<br />
<input type="radio" name="Mformat" value="hsresi" />HTML SRESI<br />
<input type="radio" name="Mformat" value="mozilla" />Mozilla<br />
<input type="radio" name="Mformat" value="opera" />Opera<br />
<input type="radio" name="Mformat" value="xbel" />XBEL<br />
</fieldset>
<input type="submit" name="run" value="Merge" />
</p>
</div>
<h3 onclick="switchDisplay(Bookmark);">* Bookmarks Management</h3>
<div class="control" id="Bookmark">
<h4>Add a bookmark</h4>
<p>
Name: <br /><input type="text" name="BAtitre" /><br />
URL: <br /><input type="text" name="BAadresse" /><br />
Tags: <br /><input type="text" name="BAclefs" /><br />
<input type="submit" name="run" value="Add Bookmark" />
</p>
<h4>Edit a bookmark</h4>
<p>
URL: <br /><input type="text" name="BEsignet" /><br />
New name or URL: <br /><input type="text" name="BEmaj" />
</p>
<input type="submit" name="run" value="Rename Bookmark" />
</p>
<p>
<input type="submit" name="run" value="Update Bookmark" />
</p>
<h4>Delete bookmarks</h4>
<p>
Selection pattern: <br /><input type="text" name="DBsignets" /><br />
<input type="submit" name="run" value="Delete Bookmarks" />
</p>
<p>
<input type="submit" name="run" value="Confirm Deletion" />
</p>
</div>
<h3 onclick="switchDisplay(Tags);">* Tags Management</h3>
<div class="control" id="Tags">
<h4>Add or delete a (some) tag(s)</h4>
<p>
Tags: <br /><input type="text" name="Tclefs" /><br />
Bookmarks subset: <br /><input type="text" name="Tsignets" /><br />
<input type="submit" name="run" value="Add Tags" />
<input type="submit" name="run" value="Delete Tags" />
</p>
<h4>Swap a list of tags for another</h4>
<p>
Former tags: <br /><input type="text" name="TSoriginaux" /><br />
New tags: <br /><input type="text" name="TSnouveaux" /><br />
Bookmarks subset: <br /><input type="text" name="TSsignets" /><br />
<input type="submit" name="run" value="Swap Tags" />
</p>
<h4>Rename a tag</h4>
<p>
Original tag: <br /><input type="text" name="TRoriginal" /><br />
New tag: <br /><input type="text" name="TRnouveau" /><br />
<input type="submit" name="run" value="Rename Tag" />
</p>
</div>
<h3 onclick="switchDisplay(Hints);">* Hints Management</h3>
<div class="control" id="Hints">
<h4>Extend or limit a hint</h4>
<p>
Parent tag: <br /><input type="text" name="Hclef" /><br />
Descendants: <br /><input type="text" name="Hclefs" /><br />
<input type="submit" name="run" value="Extend Hint" />
<input type="submit" name="run" value="Limit Hint" />
</p>
<h4>Delete a hint</h4>
<p>
Parent tag: <br /><input type="text" name="HDclef" /><br />
<input type="submit" name="run" value="Delete Hint" />
</p>
<h4>Edit the root hint</h4>
<p>
Parent tag: <br /><input type="text" name="HRclefs" /><br />
<input type="submit" name="run" value="Extend Root Hint" />
<input type="submit" name="run" value="Limit Root Hint" />
<input type="submit" name="run" value="Delete Root Hint" />
</p>
</div>
<h3 onclick="switchDisplay(Shortcuts);">* Shortcuts Management</h3>
<div class="control" id="Shortcuts">
<h4>Extend or limit a hint</h4>
<p>
Parent tag: <br /><input type="text" name="Sclef" /><br />
Descendants: <br /><input type="text" name="Sclefs" /><br />
<input type="submit" name="run" value="Extend Shortcut" />
<input type="submit" name="run" value="Limit Shortcut" />
</p>
<h4>Delete a hint</h4>
<p>
Parent tag: <br /><input type="text" name="SDclef" /><br />
<input type="submit" name="run" value="Delete Shortcut" />
</p>
</div>
</div>
<div class="category">
<h2>Program Control</h2>
<h3 onclick="switchDisplay(Cache);">* Cache operations</h3>
<div class="control" id="Cache">
<p>
<input type="submit" name="run" value="Undo" /> the last operation.
</p>
<p>
This restores a previously <em>undone </em>operation.<br />
<input type="submit" name="run" value="Redo" /> last operation.
</p>
</div>
<h3 onclick="switchDisplay(Exit);">* Exit</h3>
<div class="control" id="Exit">
<p>
Leave the program and delete temporary files.<br />
<input type="submit" name="run" value="Exit" />
</p>
</div>
</div>
</form>
</body>
</html>