, $results) = GalleryCoreApi::updateMapEntry('GalleryCacheMap',
array('userId' => $userIdForSql,
'timestamp' => new GallerySqlFragment('< ?', (int)$cutoff), 'isEmpty' => 0),
array('value' => null, 'isEmpty' => 1));
if ($ret) {
return $ret;
}
return null;
}
}
?>
bledUsername($userName);
}
/**
* Get a list of entity members which are allowed to be shown / set by external systems (e.g.
* via remote protocols like WebDAV, XML-RPC, etc).
* This does not include any permission checking.
* @param string $entityName name of the entity
* @return array object GalleryStatus a status code
* array(string memberName =>
* array('read' => boolean true if it's ok to show,
* 'write' => boolean true if it's ok to set))
*/
function getExternalAccessMemberList($entityName) {
GalleryCoreApi::requireOnce(
'modules/core/classes/helpers/GalleryEntityHelper_medium.class');
return GalleryEntityHelper_medium::getExternalAccessMemberList($entityName);
}
}
?>
$string);
}
if (isset($postSprintf)) {
$result = $this->translate($string);
}
if (!isset($result) || $result == $string) {
$result = $this->translate($params);
}
if (isset($string)) {
GalleryDataCache::put('_translate ' . $string, $result);
}
return $result;
}
}
?>
return glob($pattern, $flags);
} else {
return glob($pattern);
}
}
/**
* Clear any cached saved state in this platform.
*/
function resetPlatform() {
unset($this->_umask);
unset($this->_filePerms);
unset($this->_dirPerms);
}
}
?>
?>
g1' => $navItem['returnName']));
} else {
$name = $core->translate('Back');
}
$url = GalleryUrlGenerator::appendParamsToUrl($url, $params);
$links[] = array('url' => $url, 'name' => $name);
}
return array(null, $links);
}
/**
* Decide whether to include session id in the URL.
*
* Force the session id in the URL for embedded DownloadItem URLs if the cookie.path plugin
* parameter is not set. See GallerySession::init for details
*
* @param array $params (string param)
* @return boolean forceSessionId
* @access protected
*/
function embedForceSessionId($params) {
if (isset($params['view']) && $params['view'] == 'core.DownloadItem' &&
GalleryUtilities::isEmbedded() && empty($this->_isCookiePathConfigured)) {
/*
* It is assumed that the Gallery session is initiated before generateUrl() is called
* for the first time
*/
return true;
} else {
return false;
}
}
}
?>
ceDirect=false) {
return $this->getCurrentUrlDir($forceDirect);
}
/**
* Return the base URL parameters for all generated short URLs, e.g. '?module=gallery'.
* @param boolean $forceDirect (optional) if true, return Gallery base URL
* (different when embedded)
* @return string the base URL parameters
* @access private
*/
function _getBaseParamString($forceDirect=false) {
return '';
}
}
?>
>
rn string uncompressed data
*/
function gzinflate($data, $length=null) {
if (isset($length)) {
return gzinflate($data, $length);
} else {
return gzinflate($data);
}
}
/**
* Checks if the class has been defined
* @param string $class_name
* @return bool true if $class_name is a defined class, false otherwise.
*/
function class_exists($class_name) {
return class_exists($class_name);
}
}
?>
}
}
?>
/**
* @todo Consider removing this method when refactoring the renderer code.
*/
function getRenderer() {
/* See bug 1662652 */
return null;
}
}
?>
etConfig('mode.maintenance')) {
return null;
} else {
return GalleryCoreApi::error(ERROR_REQUEST_FORGED);
}
}
}
}
?>
f('', $continueUrl);
}
}
?>
to byte length depending on the MySQL
* version.
* @see GalleryStorage::_truncateString
*/
function _truncateString($value, $size, $lengthInBytes=false) {
static $lengthInBytes;
if (!isset($lengthInBytes)) {
$lengthInBytes =
$this->_serverInfo && version_compare($this->_serverInfo, '4.1.0', '<');
}
return parent::_truncateString($value, $size, $lengthInBytes);
}
}
?>
ode = MYSQL_ASSOC; break;
case ADODB_FETCH_DEFAULT:
case ADODB_FETCH_BOTH:
default:
$this->fetchMode = MYSQL_BOTH; break;
}
$this->adodbFetchMode = $mode;
$this->ADORecordSet($queryID);
}
function MoveNext()
{
return @adodb_movenext($this);
}
}
}
?>
imestamp = $originationTimestamp;
}
}
?>
t) {
return array($ret, null);
}
$hasPermission = ($searchResults->resultCount() > 0);
return array(null, $hasPermission);
}
}
?>
eApi::fetchPermissionsForItems(
array($itemId), $userId, $sessionPermissions);
if ($ret) {
return array($ret, null);
}
if (isset($permissionsTable[$itemId])) {
$permissions = $permissionsTable[$itemId];
} else {
$permissions = array();
/* fetchPermissionsForItems already caches all hits, cache misses here too. */
GalleryDataCache::put($cacheKey, array());
}
}
return array(null, $permissions);
}
}
?>
();
}
}
?>
}
}
return array(null, $links);
}
}
?>
Gallery
Gallery
This is the main page of your Gallery
|
Date: 01/29/2006
Owner: Gallery Administrator
Size: 9 items
(38878 items total)
|
|
Album: Air Force Friends and Families
A place to show us how proud you are
Date: 01/29/2006
Owner: Gallery Administrator
Size: 41 items
(38120 items total)
Views: 7200
|
Album: TIger's PRK
Surgery Day
Date: 04/25/2006
Owner: Gallery Administrator
Size: 5 items
Views: 328
|
Album: Thanksgiving 2006
TIger, SF-HUA, Mrs SF-HUA, et al
Date: 11/29/2006
Owner: Gallery Administrator
Size: 33 items
Views: 230
|
|
Album: TIger and SF-HUA go snowboarding
Trips to the hospital
Date: 02/06/2006
Owner: Gallery Administrator
Size: 24 items
Views: 658
|
Album: San Antonio Rodeo Finals
Feb 19, 2006
Date: 02/20/2006
Owner: Gallery Administrator
Size: 8 items
(590 items total)
Views: 284
|
Album: San Antonio Zoo
Lions and Tigers and TIgers, OH MY
Date: 02/26/2006
Owner: Gallery Administrator
Size: 32 items
Views: 518
|
|
Album: Some Deer
Deer in my back yard
Date: 03/21/2006
Owner: Gallery Administrator
Size: 51 items
Views: 304
|
Album: AirFest 2006
Some of the better shots
Date: 11/17/2006
Owner: Gallery Administrator
Size: 1 item
Views: 193
|
Album: Nunemaker's Graduation
Security Forces Graduation 15 Mar 2007
Date: 03/15/2007
Owner: Gallery Administrator
Size: 13 items
Views: 177
|
|