From: Slythfox <sly...@us...> - 2008-07-12 23:33:40
|
Update of /cvsroot/phpsqliteadmin/phpsqliteadmin2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29056/phpsqliteadmin2 Modified Files: include.php Log Message: Added img tags and links Index: include.php =================================================================== RCS file: /cvsroot/phpsqliteadmin/phpsqliteadmin2/include.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- include.php 24 Jul 2005 12:59:38 -0000 1.1.1.1 +++ include.php 12 Jul 2008 23:33:48 -0000 1.2 @@ -59,24 +59,27 @@ <div id="currentdb">Database: {$_SESSION['phpSQLiteAdmin_currentdb']}</div> <p class="sqliteversion">SQLite version: $sqliteversion</p> <br /> -<a href="mainframe.php" target="mainframe">Back</a> | -<a href="table_structure.php?object=$current_table" target="mainframe">Structure</a> | -<a href="table_browse.php?object=$current_table" target="mainframe">Browse</a> | -<a href="query.php?object=$current_table" target="mainframe">Query</a> | -<!--<a href="export.php?object=$current_table" target="mainframe">Export</a> |--> -<a href="dbaction.php?action=empty_table&object=$current_table" target="_top" onclick="return confirm_empty_table();">Empty</a> | -<a href="dbaction.php?action=drop_table&object=$current_table" target="_top" onclick="return confirm_drop_table();">Drop</a> +<a href="mainframe.php" target="mainframe"><img src="images/database.png" alt="" /> Database Info</a> | +<a href="table_structure.php?object=$current_table" target="mainframe"><img src="images/table_structure.png" alt="" /> Structure</a> | +<a href="table_browse.php?object=$current_table" target="mainframe"><img src="images/table_browse.png" alt="" /> Browse</a> | +<a href="query.php?object=$current_table" target="mainframe"><img src="images/query.png" alt="" /> Query</a> | +<a href="row_edit.php?object=$current_table" target="mainframe"><img src="images/row_insert.png" alt=\"\" /> Insert</a> | +<a href="export.php?object=$current_table" target="mainframe"><img src="images/export.png" alt=\"\" /> Export</a> | +<a href="dbaction.php?action=empty_table&object=$current_table" target="_top" onclick="return confirm_empty_table();"><img src="images/table_empty.png" alt=\"\" /> Empty</a> | +<a href="dbaction.php?action=drop_table&object=$current_table" target="_top" onclick="return confirm_drop_table();"><img src="images/table_drop.png" alt=\"\" /> Drop</a> EOT; } function print_table_action_links($current_table) { echo<<<EOT -<a href="table_structure.php?object=$current_table" target="mainframe">Structure</a> | -<a href="table_browse.php?object=$current_table" target="mainframe">Browse</a> | -<a href="query.php?object=$current_table" target="mainframe">Query</a> | -<a href="dbaction.php?action=empty_table&object=$current_table" target="_top" onclick="return confirm_empty_table();">Empty</a> | -<a href="dbaction.php?action=drop_table&object=$current_table" target="_top" onclick="return confirm_drop_table();">Drop</a> +<a href="table_structure.php?object=$current_table" target="mainframe"><img src="images/table_structure.png" alt="" /> Structure</a> | +<a href="table_browse.php?object=$current_table" target="mainframe"><img src="images/table_browse.png" alt="" /> Browse</a> | +<a href="query.php?object=$current_table" target="mainframe"><img src="images/query.png" alt="" /> Query</a> | +<a href="row_edit.php?object=$current_table" target="mainframe"><img src="images/row_insert.png" alt=\"\" /> Insert</a> | +<a href="export.php?object=$current_table" target="mainframe"><img src="images/export.png" alt=\"\" /> Export</a> | +<a href="dbaction.php?action=empty_table&object=$current_table" target="_top" onclick="return confirm_empty_table();"><img src="images/table_empty.png" alt="" /> Empty</a> | +<a href="dbaction.php?action=drop_table&object=$current_table" target="_top" onclick="return confirm_drop_table();"><img src="images/table_drop.png" alt="" /> Drop</a> EOT; } @@ -189,8 +192,10 @@ function insert($user,$alias) { } + /* Strange bug. remove temporarily. function update($this) { } + */ } @@ -205,4 +210,4 @@ $hm_dbpath[] = $hm_dbdir; $hm_dbpath = implode('/',$hm_dbpath); // hoster mode stuff ends here -?> \ No newline at end of file +?> |