diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-03-30 22:50:57 +0200 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-03-30 22:50:57 +0200 |
commit | 6b704a780dbe3daa4c13ad49ad4265c1db4a67aa (patch) | |
tree | 07f6053555b696aae2dc67ad208b08b71e5b44e0 /apps/gallery/templates | |
parent | 6abb2cb92edc1edaefea7e37cd46a6c866239c27 (diff) | |
download | nextcloud-server-6b704a780dbe3daa4c13ad49ad4265c1db4a67aa.tar.gz nextcloud-server-6b704a780dbe3daa4c13ad49ad4265c1db4a67aa.zip |
select field added to oc.dialogs.form, gallery ported to use it
Diffstat (limited to 'apps/gallery/templates')
-rw-r--r-- | apps/gallery/templates/index.php | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/apps/gallery/templates/index.php b/apps/gallery/templates/index.php index c6373d3b0a2..9bec5db1b91 100644 --- a/apps/gallery/templates/index.php +++ b/apps/gallery/templates/index.php @@ -9,7 +9,7 @@ OC_Util::addScript('files_imageviewer', 'jquery.fancybox-1.3.4.pack'); OC_Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' ); $l = new OC_L10N('gallery'); ?> - +<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> <div id="controls"> <div id="scan"> <div id="scanprogressbar"></div> @@ -29,40 +29,3 @@ $l = new OC_L10N('gallery'); </div> <div id="gallery_list"> </div> - -<div id="dialog-confirm" title="<?php echo $l->t('Remove confirmation');?>" style="display: none"> - <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span><?php echo $l->t('Do you want to remove album');?> <span id="albumName"></span>?</p> -</div> - -<div id="dialog-form" title="<?php echo $l->t('Change album name');?>" style="display:none"> - <form> - <fieldset> - <label for="name"><?php echo $l->t('New album name');?></label> - <input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" /> - </fieldset> - </form> -</div> - -<div id="g-dialog-settings" title="<?php echo $l->t('Settings');?>" style="display:none"> - <form> - <fieldset><?php $root = OC_Preferences::getValue(OC_User::getUser(), 'gallery', 'root', '/'); $order = OC_Preferences::getValue(OC_User::getUser(), 'gallery', 'order', 'ASC');?> - <label for="name"><?php echo $l->t('Scanning root');?></label> - <input type="text" name="g-scanning-root" id="g-scanning-root" class="text ui-widget-content ui-corner-all" value="<?php echo $root;?>" /><br/> - - <label for="sort"><?php echo $l->t('Default sorting'); ?></label> - <select id="g-display-order"> - <option value="ASC"<?php echo $order=='ASC'?'selected':'';?>><?php echo $l->t('Ascending'); ?></option> - <option value="DESC"<?php echo $order=='DESC'?'selected':'';?>><?php echo $l->t('Descending'); ?></option> - </select><br/> -<!-- - <label for="sort"><?php echo $l->t('Thumbnails size'); ?></label> - <select> - <option value="100">100px</option> - <option value="150">150px</option> - <option value="200">200px</option> - </select> - --> - </fieldset> - </form> -</div> - |