public function getTitle() { if (isset($this->element->{'video-caption'}) && $this->element->{'video-caption'} != '') { return strip_tags($this->element->{'video-caption'}); } return Sniftr::_('Untitled Video'); }
public function getTitle() { if (isset($this->element->{'regular-title'}) && $this->element->{'regular-title'} != '') { return $this->element->{'regular-title'}; } return Sniftr::_('Untitled'); }
public function getTitle() { if (isset($this->element->{'link-text'}) && $this->element->{'link-text'} != '') { return $this->element->{'link-text'}; } return Sniftr::_('Link'); }
public function getTitle() { if (isset($this->element->{'conversation-title'}) && $this->element->{'conversation-title'} != '') { return $this->element->{'conversation-title'}; } return Sniftr::_('Conversation'); }
public function getTitle() { if (isset($this->element->{'photo-caption'}) && $this->element->{'photo-caption'} != '') { return strip_tags($this->element->{'photo-caption'}); } return Sniftr::_('Photo'); }
/** * Adds configuration definitions to the config module of this application * * @param SiteConfigModule $config the config module of this application to * witch to add the config definitions. */ protected function addConfigDefinitions(SiteConfigModule $config) { parent::addConfigDefinitions($config); $config->addDefinitions(Sniftr::getConfigDefinitions()); }
public function getTitle() { return Sniftr::_('Quote'); }
{ return array('sniftr.tumblr_username' => null); } } // {{{ dummy dngettext() /* * Define a dummy dngettext() for when gettext is not available. */ if (!function_exists("dngettext")) { function dngettext($domain, $messageid1, $messageid2, $n) { if ($n == 1) { return $messageid1; } return $messageid2; } } // }}} // {{{ dummy dgettext() /* * Define a dummy dgettext() for when gettext is not available. */ if (!function_exists("dgettext")) { function dgettext($domain, $messageid) { return $messageid; } } // }}} Sniftr::setupGettext();