GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56ca207
)
Defaultne skryvat z eshopu
author
Thomas Mudrunka
<tomas@mudrunka.cz>
Wed, 19 Dec 2012 19:54:26 +0000
(20:54 +0100)
committer
Thomas Mudrunka
<tomas@mudrunka.cz>
Wed, 19 Dec 2012 19:54:26 +0000
(20:54 +0100)
index.php
patch
|
blob
|
blame
|
history
diff --git
a/index.php
b/index.php
index 67f38433d2d94180567ac6d3767feaae392471d0..bb5bb5e42868b4cb4a4671973e3553fa880de06e 100755
(executable)
--- a/
index.php
+++ b/
index.php
@@
-938,13
+938,17
@@
class Sklad_UI {
function render_form_add($class) {
$columns = $this->db->get_columns($class);
$selectbox = $this->db->columns_get_selectbox($columns, $class);
function render_form_add($class) {
$columns = $this->db->get_columns($class);
$selectbox = $this->db->columns_get_selectbox($columns, $class);
- return $this->html->render_insert_form($class, $columns, $selectbox);
+ $current=array('default'=>array(
+ 'model_eshop_hide'=>1
+ ));
+ return $this->html->render_insert_form($class, $columns, $selectbox, $current);
}
function render_form_edit($class, $id, $multi_insert) {
$columns = $this->db->get_columns($class);
$selectbox = $this->db->columns_get_selectbox($columns, $class);
$current = $this->db->get_listing($class, $id, 1);
}
function render_form_edit($class, $id, $multi_insert) {
$columns = $this->db->get_columns($class);
$selectbox = $this->db->columns_get_selectbox($columns, $class);
$current = $this->db->get_listing($class, $id, 1);
+ //echo('<pre>');print_r($current);die();
return $this->html->render_insert_form($class, $columns, $selectbox, $current, false, false, $multi_insert);
}
return $this->html->render_insert_form($class, $columns, $selectbox, $current, false, false, $multi_insert);
}
This page took
0.138755 seconds
and
4
git commands to generate.