Exemplo n.º 1
1
 public function getLabel()
 {
     $this->description = $this->_image_thumbnail_mode();
     return parent::getLabel();
 }
Exemplo n.º 2
0
 public function getLabel()
 {
     if (!self::hide_it()) {
         return parent::getLabel();
     }
     return '';
 }
 protected function getLabel()
 {
     if (count($this->getOptions()) == 0) {
         return "<label>There are no Profile Plugins enabled which support Alternative Registration</label>";
     }
     return parent::getLabel();
 }
Exemplo n.º 4
0
Arquivo: theme.php Projeto: JozefAB/qk
 protected function getLabel()
 {
     if (count($this->getOptions()) == 0) {
         return "<label>There are no Themes available</label>";
     }
     return parent::getLabel();
 }
Exemplo n.º 5
0
 protected function getLabel()
 {
     if (!JevJoomlaVersion::isCompatible("3.4")) {
         return "";
     }
     return parent::getLabel();
 }
Exemplo n.º 6
0
 public function getLabel()
 {
     if (SYWK2::exists()) {
         return parent::getLabel();
     }
     return '<div style="clear: both;"></div>';
 }
Exemplo n.º 7
0
 protected function getLabel()
 {
     $folder = JPATH_ROOT . '/components/com_tags';
     if (JFolder::exists($folder)) {
         return parent::getLabel();
     }
     return '<div style="clear: both;"></div>';
 }
Exemplo n.º 8
0
 public function getLabel()
 {
     //$folder = JPATH_ROOT.'/components/com_k2';
     //if (JFolder::exists($folder)) {
     if (SYWK2::exists()) {
         return parent::getLabel();
     }
     return '<div style="clear: both;"></div>';
 }
Exemplo n.º 9
0
 /**
  * Method to get the field label markup
  *
  * @return  string  The field label markup
  * @since   2.0
  */
 protected function getLabel()
 {
     $label = '';
     $cbname = $this->element['cbname'] ? $this->element['cbname'] : 'change[]';
     $cbvalue = $this->element['cbvalue'] ? $this->element['cbvalue'] : $this->name;
     $cbid = str_replace(array('[', ']'), array('', ''), $cbname . $cbvalue);
     $cbhtml = '<input id="' . $cbid . '" type="checkbox" name="' . $cbname . '" value="' . $cbvalue . '" />';
     $label = parent::getLabel();
     $insertpos = strpos($label, '>');
     $label = substr_replace($label, $cbhtml, $insertpos + 1, 0);
     return $label;
 }
Exemplo n.º 10
0
 public function getLabel()
 {
     // code that returns HTML that will be shown as the label
     return parent::getLabel();
 }