![]() |
Izartu
0.0 Initial release
Web bookmark manager based on tags.
|
00001 <?php 00002 # Izartu 00003 # 00004 # Copyright © 2011-2012 Javier Beaumont <contact@javierbeaumont.org> 00005 # 00006 # This file is part of Izartu. 00007 # 00008 # Izartu is free software: you can redistribute it and/or modify 00009 # it under the terms of the GNU Affero General Public License as 00010 # published by the Free Software Foundation, either version 3 of the 00011 # License, or (at your option) any later version. 00012 # 00013 # Izartu is distributed in the hope that it will be useful, 00014 # but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 # GNU Affero General Public License for more details. 00017 # 00018 # You should have received a copy of the GNU Affero General Public License 00019 # along with Izartu. If not, see <http://www.gnu.org/licenses/>. 00020 ?> 00021 <form method="post" action="<?php echo $page ; ?>"> 00022 <fieldset class="data"> 00023 <legend>Bookmark</legend> 00024 <div class="head"> 00025 <div> 00026 <label for="title">Title</label> 00027 <input type="text" id="title" name="title" title="Bookmark's title (maximun 255 caracters)." value="<?php echo $data['title'] ; ?>" maxlength="255" /> 00028 </div> 00029 <div> 00030 <label for="link">Link</label> 00031 <input type="text" id="link" name="link" value="<?php echo $data['hlink'] ; ?>" maxlength="255" /> 00032 </div> 00033 </div> 00034 <div class="info"> 00035 <p title="Bookmark's short description (maximun 511 caracters"> 00036 <label for="description">Text</label> 00037 <textarea id="description" name="description" rows="5" cols="50"><?php echo $data['text'] ; ?></textarea> 00038 </p> 00039 <p title="Bookmark's tags, separated by colons (maximun 255 caracters)."> 00040 <label for="tags">Tags</label> 00041 <input type="text" id="tags" name="tags" value="<?php echo $tag ; ?>" maxlength="255" /> 00042 </p> 00043 </div> 00044 <div class="buttons"> 00045 <input type="image" class="save" name="save" src="image/save.png" alt="Save" /> 00046 <input type="image" class="trash" name="trash" src="image/trash.png" alt="Trash" /> 00047 </div> 00048 </fieldset> 00049 </form> 00050 00051 <div class="form"> 00052 <div class="data"> 00053 <div class="head"> 00054 <h2><a href="<?php echo $data['hlink'] ; ?>"><?php echo $data['title'] ; ?></a></h2> 00055 <p class="link-page"><a href="<?php echo $data['hlink'] ; ?>"><?php echo $data['hlink'] ; ?></a></p> 00056 <p class="link-info"> 00057 <span class="linker">Added by <?php echo $data['user'] ; ?></span> 00058 <span class="added">on <?php echo $data['add'] ; ?>.</span> 00059 <span class="modified">Last modified: <?php echo $data['mod'] ; ?></span> 00060 </p> 00061 </div> 00062 <div class="info"> 00063 <p class="text"><?php echo $data['text'] ; ?></p> 00064 <?php if ($tag): ?> 00065 <p class="tag">Tags: <?php echo $tag; ?></p> 00066 <?php endif; ?> 00067 </div> 00068 </div> 00069 </div>
1.7.6.1