yet.
* did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
*/
+/** Horde_Share */
+require_once 'Horde/Share.php';
+
+/** Need to bring this in explicitly since we extend the object class */
+require_once 'Horde/Share/sql_hierarchical.php';
+
/**
* Ansel Base Class.
*
*/
function getOwner()
{
+ require_once 'Horde/Identity.php';
$identity = Identity::singleton('none', $this->data['share_owner']);
return $identity;
}
}
if (empty($watermark)) {
+ require_once 'Horde/Identity.php';
$identity = Identity::singleton();
$name = $identity->getValue('fullname');
if (empty($name)) {
if (empty($user)) {
$this->addVariable(_("Use the following return address:"), 'ecard_retaddr', 'text', true);
} else {
+ require_once 'Horde/Identity.php';
$identity = Identity::singleton();
$from_addr = $identity->getDefaultFromAddress();
$vars->set('ecard_retaddr', $from_addr);
function _getUserEmail($user = null)
{
// Get user email
+ require_once 'Horde/Identity.php';
$identity = Identity::singleton('none', $user);
return $identity->getValue('from_addr');
}
'ansel', $owner, '', null, false);
$fullname = $uprefs->getValue('grouptitle');
if (!$fullname) {
+ require_once 'Horde/Identity.php';
$identity = &Identity::singleton('none', $owner);
$fullname = $identity->getValue('fullname');
if (!$fullname) {
if (isset($galleries) && count($galleries)) {
$images = $ansel_storage->getRecentImages($galleries);
if (!is_a($images, 'PEAR_Error') && count($images)) {
+ require_once 'Horde/Identity.php';
$owner = Identity::singleton('none', $id);
$name = $owner->getValue('fullname');
$author = $owner->getValue('from_addr');