X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=f4fd40c3afb65ca18508675fab17a4890363a0ec;hb=5b0075faa84afd5c1ffda52926ef12fdff0cd74e;hp=5c54331a1e53f5144f62b6da2eb544a8047c613b;hpb=933b760a1a2f81a454fd894950a80868b1ebd5de;p=mirrors%2FSokoMan.git diff --git a/index.php b/index.php index 5c54331..f4fd40c 100755 --- a/index.php +++ b/index.php @@ -167,7 +167,7 @@ class Sklad_HTML extends HTML { //TODO: Split into few more methods * { font-family: arial; } td,body { background-color: white; } table { background-color: orange; border: orange; } -a { text-decoration:none; color: darkblue; } +a, a img { text-decoration:none; color: darkblue; border:none; } li a, a:hover { text-decoration:underline; } .menu li { @@ -322,21 +322,8 @@ EOF; return $this->table($table); } - function render_insert_form($class, $columns, $selectbox=array(), $current=false, $hidecols=false, $action=false, $multi_insert=true) { - //echo('
'); print_r($selectbox); - //echo(''); print_r($current); - $update = false; - if(is_array($current)) { - $update = true; - $current = array_shift($current); - } - - if(!is_array($hidecols)) $hidecols = array('item_author', 'item_valid_from', 'item_valid_till'); //TODO Autodetect - - $action = $action ? " action='$action'" : false; - $html="