X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=cf901858d367923fd915860b24f4b87c78a6ae13;hb=eca3fc1db94c023c08354046b96cca0401fc49fc;hp=c944d1a0866f196b16d4914f8ba414cf3db898c7;hpb=ea921a95b65ffaae5b008f864494553d73289612;p=mirrors%2FSokoMan.git diff --git a/index.php b/index.php index c944d1a..cf90185 100755 --- a/index.php +++ b/index.php @@ -364,6 +364,11 @@ EOF; 'barcode_name' => array(array('store','assistant/%d?barcode=%v')), 'model_name' => array(array('google','http://google.com/search?q=%v')) //TODO: add manufacturer to google query ), + 'barcode' => array( + 'model_id' => array(array('model',$where_url)), + 'barcode_id' => array(array('item',$where_url),array('edit','barcode/%v/edit/')), + 'barcode_name' => array(array('store','assistant/%d?barcode=%v')), + ), 'item' => array( 'item_serial' => array(array('dispose','assistant/%d?serial=%v','in_stock'),array('sell','assistant/%d?serial=%v','in_stock')), 'item_id' => array(array('edit','item/%v/edit/'))