2011-10-02 15:52:04 +04:00
|
|
|
<?php
|
2012-05-01 11:49:22 +04:00
|
|
|
OCP\Util::addStyle('gallery', 'styles');
|
2011-10-01 13:26:47 +04:00
|
|
|
OC_Util::addScript('gallery', 'albums');
|
2012-03-11 19:49:21 +04:00
|
|
|
OC_Util::addScript('gallery', 'scanner');
|
2011-09-26 00:32:08 +04:00
|
|
|
OC_Util::addScript('gallery', 'album_cover');
|
2012-05-01 11:49:22 +04:00
|
|
|
OCP\Util::addStyle('files', 'files');
|
2012-03-04 21:28:41 +04:00
|
|
|
OC_Util::addScript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
|
|
|
|
OC_Util::addScript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
|
2012-05-01 11:49:22 +04:00
|
|
|
OCP\Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
|
2012-04-14 18:44:15 +04:00
|
|
|
$l = OC_L10N::get('gallery');
|
2011-09-26 00:32:08 +04:00
|
|
|
?>
|
2012-03-31 00:50:57 +04:00
|
|
|
<script type="text/javascript">var gallery_scanning_root='<? echo OC_Preferences::getValue(OC_User::getUser(), 'gallery', 'root', '/'); ?>'; var gallery_default_order = '<? echo OC_Preferences::getValue(OC_User::getUser(), 'gallery', 'order', 'ASC'); ?>';</script>
|
2011-09-26 00:32:08 +04:00
|
|
|
<div id="controls">
|
2012-03-11 19:49:21 +04:00
|
|
|
<div id="scan">
|
|
|
|
<div id="scanprogressbar"></div>
|
|
|
|
<input type="button" class="start" value="<?php echo $l->t('Rescan');?>" onclick="javascript:scanForAlbums();" />
|
2012-03-24 21:35:16 +04:00
|
|
|
<input type="button" class="stop" style="display:none" value="<?php echo $l->t('Stop');?>" onclick="javascript:Scanner.stop();" />
|
|
|
|
<input type="button" id="g-share-button" value="<?php echo $l->t('Share'); ?>" onclick="javascript:shareGallery();" />
|
2012-03-11 19:49:21 +04:00
|
|
|
<input type="button" id="g-settings-button" value="<?php echo $l->t('Settings');?>" onclick="javascript:settings();"/>
|
|
|
|
</div>
|
|
|
|
<div id="g-album-navigation">
|
2012-03-17 16:30:18 +04:00
|
|
|
<div class="crumb last" style="background-image:url('<?php echo OC::$WEBROOT;?>/core/img/breadcrumb.png')">
|
2012-03-11 19:49:21 +04:00
|
|
|
<a href="javascript:returnToElement(0);">main</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="g-album-loading" class="crumb" style="display:none">
|
2012-04-25 23:20:30 +04:00
|
|
|
<img src="<?php echo OC_Helper::linkto('gallery', 'img/loading.gif'); ?>">
|
2012-03-11 19:49:21 +04:00
|
|
|
</div>
|
2011-09-26 00:32:08 +04:00
|
|
|
</div>
|
|
|
|
<div id="gallery_list">
|
|
|
|
</div>
|