]> source.dussan.org Git - nextcloud-server.git/commitdiff
merge master into navigation
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Tue, 15 Jan 2013 13:40:38 +0000 (20:40 +0700)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Tue, 15 Jan 2013 13:40:38 +0000 (20:40 +0700)
1  2 
apps/files/css/files.css
apps/files/templates/part.breadcrumb.php
core/css/styles.css
core/js/js.js

Simple merge
index 876cd19bc1343fe5c555ebc0a05d72dc089026c4,7df2afc1f52ea6b8ef1c0f2f3b9495b418663c53..87442606b00e029b86b6486c7f9e5de2315f86b1
@@@ -1,16 -1,10 +1,17 @@@
-       <?php if(count($_["breadcrumb"])):?>
++<?php if(count($_["breadcrumb"])):?>
 +      <div class="crumb">
 +              <a href="<?php echo $_['baseURL'].urlencode($crumb['dir']); ?>">
 +                      <img src="<?php echo OCP\image_path('core','places/home.svg');?>" />
 +              </a>
 +      </div>
-       <?php endif;?>
-       <?php for($i=0; $i<count($_["breadcrumb"]); $i++):
++<?php endif;?>
+ <?php for($i=0; $i<count($_["breadcrumb"]); $i++):
        $crumb = $_["breadcrumb"][$i];
-       $dir = str_replace('+', '%20', urlencode($crumb["dir"])); ?>
-               <div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg"
-                        data-dir='<?php echo $dir;?>'
-                        style='background-image:url("<?php echo OCP\image_path('core', 'breadcrumb.png');?>")'>
-               <a href="<?php echo $_['baseURL'].$dir; ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
-               </div>
-       <?php endfor;
+       $dir = str_replace('+', '%20', urlencode($crumb["dir"]));
+       $dir = str_replace('%2F', '/', $dir); ?>
+       <div class="crumb <?php if($i == count($_["breadcrumb"])-1) echo 'last';?> svg"
+                data-dir='<?php echo $dir;?>'
+                style='background-image:url("<?php echo OCP\image_path('core', 'breadcrumb.png');?>")'>
+       <a href="<?php echo $_['baseURL'].$dir; ?>"><?php echo OCP\Util::sanitizeHTML($crumb["name"]); ?></a>
+       </div>
 -<?php endfor;
++<?php endfor;
Simple merge
diff --cc core/js/js.js
Simple merge