Exemplo n.º 1
0
 function WT_library_selector($name = '')
 {
     $cnt = WT_spawn_new_library_container();
     $arr = $cnt->GetList();
     $res = '<select name="' . $name . '_lib_selector" class="block">' . "\n";
     $n = count($arr);
     for ($i = 0; $i < $n; $i++) {
         $res .= '  <option value="' . $arr[$i]['lid'] . '">' . $arr[$i]['pseudonym'] . '</option>' . "\n";
     }
     $res .= '</select>' . "\n";
     return $res;
 }
Exemplo n.º 2
0
 function SpawnLibraryContainer()
 {
     return WT_spawn_new_library_container();
 }