echo JText::_('YAML TITLE DESIGNS'); ?> <small>[ <span class="on createDesign"><?php echo $create_design_button; ?> </span> ]</small></h2> <div id="designlist"> <?php if (!$this->designlist) { $msg = JText::_('YAML NO DESIGNS FOUND'); JYAML::outputMsg($msg); } foreach ($this->designlist as $i => $design) { // Ceck Design Directories $validation = JYAML::checkValideTemplate($design); $copy_design_link = 'index3.php?option=' . $option . '&controller=fileControl&task=createDesign&template=' . $this->selected_template . '&source=' . $design->value; $copy_design_button = $popup->fetchButton('Popup', 'create_html', 'YAML COPY DESIGN', $copy_design_link, 640, 350, 150, 150); if ($validation['noValid']) { $edit_xml_button = '<span class="hasTip off" title="' . JText::_('YAML EDIT DESIGN XML NO VALIDE') . '">' . JText::_('YAML EDIT DESIGN XML') . '</span>'; } else { $edit_xml_url = 'index3.php?option=' . $option . '&controller=designConfig&task=edit&template_name=' . $this->selected_template . '&design=' . $design->value; $edit_xml_button = '<span class="on editButton">' . $popup->fetchButton('Popup', 'xml_edit', 'YAML EDIT DESIGN XML', $edit_xml_url, 640, 480, 150, 150) . '</span>'; } ?> <a name="<?php echo $design->value; ?> " id="<?php echo $design->value; ?>