function view(&$container) { $iconList = mosContainer::getIcons(); $this->commonScripts('description'); echo '<br/>'; $this->startEditHeader(T_('Edit Container details')); $this->publishedBox($container); $this->fileInputBox(T_('Container name'), 'name', $container->name, 50); $this->fileInputArea(T_('Description'), T_('Up to 500 characters'), 'description', $container->description, 50, 100, true); $this->fileInputBox(T_('Keywords'), 'keywords', $container->keywords, 50); $this->fileInputBox(T_('Window title'), 'windowtitle', $container->windowtitle, 50); $this->displayIcons($container, $iconList); $this->editFormEnd($container->id); }