function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false) {
         $this->write('</style>');
     }
 }
예제 #2
0
 function doEndTag()
 {
     parent::doEndTag();
     if (!(strpos($this->preferred_markup, 'wml') !== false && $this->link)) {
         $this->write('</b>');
     }
 }
예제 #3
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false || strpos($this->preferred_markup, 'wml') !== false) {
         $this->write('</p>');
     } else {
         if (strpos($this->preferred_markup, 'chtml') !== false && $this->align) {
             $this->write('</p>');
         }
     }
 }
예제 #4
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false || strpos($this->preferred_markup, 'chtml') !== false) {
         $this->write('</title>');
     } else {
         if (strpos($this->preferred_markup, 'wml') !== false) {
             $this->_wall->skip_body = true;
         }
     }
     $this->document->title = isset($this->cdata) ? $this->cdata : false;
 }
 function doEndTag()
 {
     parent::doEndTag();
     $this->href = TagUtil::normalizeHref($this->href, $this->preferred_markup);
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false || strpos($this->preferred_markup, 'chtml') !== false) {
         $this->write('</h' . $this->level . '>');
     } else {
         if (strpos($this->preferred_markup, 'wml') !== false) {
             $this->write('</b></p>');
             # or should it be: $this->write('</b></p>'); ?
         }
     }
 }
예제 #6
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'wml') !== false) {
         $this->write('<br/>');
     } else {
         if ($this->perform_tabularization) {
             $this->write('</td>');
             if ($this->cool_menu->isLastRowCell()) {
                 $this->write('</tr>');
             }
         } else {
             if (strpos($this->preferred_markup, 'chtml') !== false) {
                 $this->write('<br>');
             } else {
                 $this->write('<br/>');
             }
         }
     }
 }
예제 #7
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false) {
         if ($this->marquee_as_css) {
             $this->write('</div>');
         } else {
             if ($this->nowrap_mode) {
                 $this->write('</div>');
             }
         }
     } else {
         if (strpos($this->preferred_markup, 'chtml') !== false) {
             $this->write('</marquee>');
         } else {
             if (strpos($this->preferred_markup, 'wml') !== false) {
                 //$this->write('');
             }
         }
     }
 }
예제 #8
0
 function doEndTag()
 {
     parent::doEndTag();
 }
예제 #9
0
 function doEndTag()
 {
     parent::doEndTag();
     if ($this->menu) {
         if (strpos($this->preferred_markup, 'xhtmlmp') !== false) {
             if ($this->fancy_ok) {
                 $this->write('</a></td></tr>');
             } else {
                 $this->write('</a></li>');
             }
         } else {
             if (strpos($this->preferred_markup, 'wml') !== false) {
                 if ($this->wml_menu_with_select) {
                     $this->write('</option>');
                 } else {
                     $this->write('</a><br/>');
                 }
             } else {
                 if (strpos($this->preferred_markup, 'chtml') !== false) {
                     $this->write('</a><br>');
                 }
             }
         }
     } else {
         $this->write('</a>');
     }
 }
예제 #10
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'wml') !== false) {
         $this->write('</p>');
     } else {
         if ($this->perform_tabularization) {
             $css_for_xhtml = strpos($this->preferred_markup, 'xhtmlmp') !== false ? ' class="coolmenu"' : '';
             $start = $this->cellnumber % $this->colnum_int;
             if ($start != 1 && $this->colnum_int != 1) {
                 if ($start == 0) {
                     $this->write('<td' . $css_for_xhtml . '></td>');
                 } else {
                     for ($i = $start; $i <= $this->colnum_int; $i++) {
                         $this->write('<td' . $css_for_xhtml . '></td>');
                     }
                 }
                 $this->write('</tr>');
             }
             $this->write('</table>');
         } else {
             if (strpos($this->preferred_markup, 'xhtmlmp') !== false) {
                 $this->write('</p>');
             }
         }
     }
 }
예제 #11
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false) {
         if (strlen($this->style)) {
             $this->write('</span>');
         }
     } else {
         if (strpos($this->preferred_markup, 'chtml') !== false) {
             if (strlen($this->font)) {
                 $this->write('</font>');
             }
         }
     }
 }
예제 #12
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false) {
         $this->write('</p></form>');
     } else {
         if (strpos($this->preferred_markup, 'chtml') !== false) {
             $this->write('</form>');
         } else {
             if (strpos($this->preferred_markup, 'wml') !== false && $this->enable_wml) {
                 $this->write('</p>');
             }
         }
     }
 }
예제 #13
0
 function doEndTag()
 {
     parent::doEndTag();
     $this->write('</head>');
 }
예제 #14
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false || strpos($this->preferred_markup, 'chtml') !== false) {
         $this->write('</body>');
         $this->write('</html>');
     } else {
         if (strpos($this->preferred_markup, 'wml') !== false) {
             $this->write('</card>');
             $this->write('</wml>');
         }
     }
 }
예제 #15
0
 function doEndTag()
 {
     parent::doEndTag();
     //$this->write($this->preferred_markup);
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false) {
         if ($this->_wall->menu_css_tag && $this->table_and_css_background && $this->colorize) {
             $this->write('</table>');
         } else {
             if ($this->autonumber) {
                 $this->write('</ol>');
             } else {
                 $this->write('</ul>');
             }
         }
     } else {
         if (strpos($this->preferred_markup, 'chtml') !== false) {
         } else {
             if (strpos($this->preferred_markup, 'wml') !== false) {
                 if ($this->wml_menu_with_select) {
                     $this->write('</select>');
                     $this->write('</p>');
                 } else {
                     $this->write('</p>');
                 }
             }
         }
     }
 }
예제 #16
0
 function doEndTag()
 {
     parent::doEndTag();
     if (strpos($this->preferred_markup, 'xhtmlmp') !== false) {
         if ($this->render_as == 'image') {
             $this->write('<img' . $this->css_hook . ' src="' . $this->src . '" ');
             if ($this->width) {
                 $this->write('width="' . $this->width . '" ');
             }
             if ($this->height) {
                 $this->write('height="' . $this->height . '" ');
             }
             $this->write('alt="' . $this->alt . '" />' . $this->xhtml_br);
         } else {
             if ($this->render_as == 'icon' && $this->_wall->use_xhtml_extensions) {
                 $this->write('<img src="" alt="' . $this->alt . '" localsrc="' . $this->opwv_icon_localsrc . '"/>' . $this->xhtml_br);
             }
         }
     } else {
         if (strpos($this->preferred_markup, 'wml') !== false) {
             if ($this->render_as == 'image') {
                 $this->write($this->opwv_icon_space . '<img src="' . $this->src . '" ');
                 if ($this->width) {
                     $this->write('width="' . $this->width . '" ');
                 }
                 if ($this->height) {
                     $this->write('height="' . $this->height . '" ');
                 }
                 $this->write('alt="' . $this->alt . '" />');
             } else {
                 if ($this->render_as == 'icon' && $this->_wall->use_wml_extensions) {
                     $this->write($this->opwv_icon_space . '<img src="" alt="' . $this->alt . '" localsrc="' . $this->opwv_icon_localsrc . '"/>');
                 }
             }
         } else {
             if (strpos($this->preferred_markup, 'chtml') !== false) {
                 if ($this->render_as == 'image') {
                     $this->write('<img src="' . $this->src . '" ');
                     if ($this->width) {
                         $this->write('width="' . $this->width . '" ');
                     }
                     if ($this->height) {
                         $this->write('height="' . $this->height . '" ');
                     }
                     $this->write('alt="' . $this->alt . '" />' . $this->chtml_br);
                 } else {
                     if ($this->render_as == 'icon') {
                         $region = $this->_wall->getCapa('imode_region');
                         if ($region == 'ja') {
                             $this->write($this->imode_ja_icon . $this->chtml_br);
                         } else {
                             if ($region == 'eu') {
                                 $this->write($this->imode_eu_icon . $this->chtml_br);
                             }
                         }
                     }
                 }
             }
         }
     }
 }
예제 #17
0
 function doEndTag()
 {
     parent::doEndTag();
     $this->write('</option>');
 }
예제 #18
0
 function doEndTag()
 {
     parent::doEndTag();
     $this->write('</select>');
 }