Changeset 2173
- Timestamp:
- 09/09/10 17:25:58 (17 months ago)
- Location:
- plugins/apostrophePlugin/trunk
- Files:
-
- 5 modified
-
modules/aMedia/templates/_edit.php (modified) (2 diffs)
-
modules/aMedia/templates/_mediaItem.php (modified) (1 diff)
-
modules/aMedia/templates/showSuccess.php (modified) (1 diff)
-
web/css/a-engines.css (modified) (2 diffs)
-
web/images/a-media-icon.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/trunk/modules/aMedia/templates/_edit.php
r2169 r2173 21 21 22 22 <?php if ($item): ?> 23 <form method="POST" id="a-media-edit-form" enctype="multipart/form-data" 24 action="<?php echo url_for(aUrl::addParams("aMedia/edit", 25 array("slug" => $item->getSlug())))?>"> 23 <form method="POST" class="a-media-edit-form" id="a-media-edit-form" enctype="multipart/form-data" action="<?php echo url_for(aUrl::addParams("aMedia/edit", array("slug" => $item->getSlug())))?>"> 26 24 <?php endif ?> 27 25 … … 90 88 </div> 91 89 92 <div class="a-form-row replace ">90 <div class="a-form-row replace a-ui"> 93 91 <?php // The label says 'Replace File' now, see BaseaMediaEditForm ?> 94 <div class="a-options-container a-ui">92 <div class="a-options-container"> 95 93 <a href="#replace-image" onclick="return false;" id="a-media-replace-image-<?php echo $i ?>" class="a-btn icon alt no-bg a-replace">Replace File</a> 96 94 <div class="a-options dropshadow"> -
plugins/apostrophePlugin/trunk/modules/aMedia/templates/_mediaItem.php
r2169 r2173 40 40 <?php // We can't render this format on this server but we need a placeholder thumbnail ?> 41 41 <?php $type = $mediaItem->getType() ?> 42 <span class="a-media-type "><b><?php echo $type ?></b></span>42 <span class="a-media-type <?php echo $type ?>" ><b><?php echo $type ?></b></span> 43 43 <?php endif ?> 44 44 </a> -
plugins/apostrophePlugin/trunk/modules/aMedia/templates/showSuccess.php
r2118 r2173 22 22 <?php else: ?> 23 23 <?php $type = $mediaItem->getType() ?> 24 <?php $embedCode = "<img class=\"a-media-icon-as-thumbnail\" src=\"/apostrophePlugin/images/a-$type-icon-tiny.png\" />"?>24 <?php $embedCode = '<span class="a-media-type '.$type.'"><b>'.$type.'</b></span>' ?> 25 25 <?php endif ?> 26 26 -
plugins/apostrophePlugin/trunk/web/css/a-engines.css
r2169 r2173 476 476 } 477 477 478 479 .a-media-item-edit-form .a-options-container, 480 .a-media-edit-form .a-options-container 481 { 482 display: inline; 483 position: relative; 484 float: left; 485 clear:none; 486 margin-right:5px; 487 } 488 489 .a-media-item-edit-form .a-options-container.show-options .a-options, 490 .a-media-edit-form .a-options-container.show-options .a-options 491 { 492 display:inline !important; 493 } 494 478 495 #a-media-plugin .a-form-row.replace 479 496 { … … 647 664 z-index: 0; 648 665 border: 0; 666 } 667 668 /* non-image filetype icon styles ====================================== */ 669 span.a-media-type 670 { 671 display: block; 672 position: relative; 673 float: none; 674 height:50px; 675 width:40px; 676 background-image: url(/apostrophePlugin/images/a-media-icon.png); 677 background-repeat: no-repeat; 678 } 679 680 span.a-media-type b 681 { 682 position:absolute; 683 bottom:7px; 684 right:-5px; 685 width:auto; 686 padding:2px 5px; 687 background-color: #666; 688 text-align: center; 689 font-size: 10px; 690 line-height: 10px; 691 text-transform: uppercase; 692 font-weight: bold; 693 color: #fff; 694 -moz-border-radius: 2px; 695 -webkit-border-top-left-radius: 2px; 696 -webkit-border-top-right-radius: 2px; 697 -webkit-border-bottom-right-radius: 2px; 698 -webkit-border-bottom-left-radius: 2px; 699 border-radius: 2px; 700 } 701 702 span.a-media-type.pdf b 703 { 704 background-color:red; 649 705 } 650 706

