Skip to content

Commit

Permalink
Removed the "click to edit" text and link from the manage page. This …
Browse files Browse the repository at this point in the history
…will

need to be implemented differently as with the old module it loaded
a modal in the galleries module from the files module. With v2.2.x we may be able
to embed the files interface into the galleries page
  • Loading branch information
jerel committed Jul 31, 2012
1 parent 69b27ab commit cae79c6
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion css/galleries.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ form.crud ul li div
#gallery_images_list img:hover
{
border: 1px solid #3A4043;
cursor: pointer;
cursor: move;
}

.images-placeholder #gallery_images_list img:hover
Expand Down
2 changes: 1 addition & 1 deletion language/arabic/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
$lang['galleries.thumbnail_label'] = 'مُصغّر';
$lang['galleries.comments_label'] = 'تمكين التعليقات';
$lang['galleries.published_label'] = 'منشور';
$lang['galleries.current_label'] = 'الصّوَر الحاليّة (حرك الصّور لإعادة ترتيبها، واضغط على أي صورة لتعديلها).';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'سرْد معارض الصّور';
Expand Down
2 changes: 1 addition & 1 deletion language/brazilian/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
$lang['galleries.thumbnail_label'] = 'Miniatura';
$lang['galleries.comments_label'] = 'Ativar comentários';
$lang['galleries.published_label'] = 'Publicada';
$lang['galleries.current_label'] = 'Imagens atuais (arraste e solte para organizar, clique para editar)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Listar galerias';
Expand Down
2 changes: 1 addition & 1 deletion language/chinese_traditional/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
$lang['galleries.thumbnail_label'] = '縮圖';
$lang['galleries.comments_label'] = '開啟回應';
$lang['galleries.published_label'] = '已發佈';
$lang['galleries.current_label'] = '目前圖片 (使用拖放排序,點選編輯)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = '畫本列表';
Expand Down
2 changes: 1 addition & 1 deletion language/czech/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
$lang['galleries.thumbnail_label'] = 'Náhled';
$lang['galleries.comments_label'] = 'Povolit komentáře';
$lang['galleries.published_label'] = 'Publikováno';
$lang['galleries.current_label'] = 'Současné obrázky (řazení přetahováním myší, klikněte na obrázek pro úpravy)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Seznam galerií';
Expand Down
2 changes: 1 addition & 1 deletion language/dutch/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
$lang['galleries.thumbnail_label'] = 'Miniatuur';
$lang['galleries.comments_label'] = 'Activeer Reacties';
$lang['galleries.published_label'] = 'Gepubliceerd';
$lang['galleries.current_label'] = 'Huidige Afbeeldingen (sleep om te sorteren, klik om te wijzigen)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Overzicht gallerijen';
Expand Down
2 changes: 1 addition & 1 deletion language/english/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
$lang['galleries.thumbnail_label'] = 'Thumbnail';
$lang['galleries.comments_label'] = 'Enable Comments';
$lang['galleries.published_label'] = 'Published';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort, click to edit)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)';

// Sidebar labels
$lang['galleries.list_label'] = 'List Galleries';
Expand Down
2 changes: 1 addition & 1 deletion language/finnish/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
$lang['galleries.thumbnail_label'] = 'Esikatselu';
$lang['galleries.comments_label'] = 'Kommentit päälle';
$lang['galleries.published_label'] = 'Julkaistu';
$lang['galleries.current_label'] = 'Nykyiset kuvat (raahaa järjestelläksesi, klikkaa muokataksesi)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Listaa galleriat';
Expand Down
2 changes: 1 addition & 1 deletion language/french/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
$lang['galleries.thumbnail_label'] = 'Vignette';
$lang['galleries.comments_label'] = 'Activer les commentaires';
$lang['galleries.published_label'] = 'Publié';
$lang['galleries.current_label'] = 'Images courantes (glisser-déposer pour ordonner, cliquer pour modifier)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Lister les galeries';
Expand Down
2 changes: 1 addition & 1 deletion language/german/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
$lang['galleries.thumbnail_label'] = 'Thumbnail';
$lang['galleries.comments_label'] = 'Kommentare aktivieren';
$lang['galleries.published_label'] = 'Veröffentlicht';
$lang['galleries.current_label'] = 'Aktuelle Bilder (drag & drop um zu Sortieren, Klicken um zu Editieren)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Galerien auflisten';
Expand Down
2 changes: 1 addition & 1 deletion language/greek/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
$lang['galleries.thumbnail_label'] = 'Μικρογραφία';
$lang['galleries.comments_label'] = 'Ενεργοποίηση Σχολίων';
$lang['galleries.published_label'] = 'Δημοσιευμένη';
$lang['galleries.current_label'] = 'Τρέχουσες Εικόνες (σύρτε και αφήστε για να ταξινομήσετε, κάντε κλικ για επεξεργασία)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Λίστα Γκαλερί';
Expand Down
2 changes: 1 addition & 1 deletion language/italian/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
$lang['galleries.thumbnail_label'] = 'Anteprime';
$lang['galleries.comments_label'] = 'Abilita commenti';
$lang['galleries.published_label'] = 'Pubblicata';
$lang['galleries.current_label'] = 'Immagini correnti (drag and drop per ordinare, clicca per modificare)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Elenco gallerie';
Expand Down
2 changes: 1 addition & 1 deletion language/lithuanian/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
$lang['galleries.thumbnail_label'] = 'Miniatiūros';
$lang['galleries.comments_label'] = 'Komentarai įjungti';
$lang['galleries.published_label'] = 'Publikuojama';
$lang['galleries.current_label'] = 'Dabartinis paveikslėlis (drag and drop to sort, click to edit)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Galerijų sąrašas';
Expand Down
2 changes: 1 addition & 1 deletion language/polish/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
$lang['galleries.thumbnail_label'] = 'Miniatura';
$lang['galleries.comments_label'] = 'Włącz komentarze';
$lang['galleries.published_label'] = 'Publiczna';
$lang['galleries.current_label'] = 'Aktualne zdjęcia (przeciągnij i upuść aby posortować, kliknij by edytować)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Lista Galerii';
Expand Down
2 changes: 1 addition & 1 deletion language/russian/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
$lang['galleries.thumbnail_label'] = 'Миниатюра';
$lang['galleries.comments_label'] = 'Разрешить комментарии';
$lang['galleries.published_label'] = 'Опубликована';
$lang['galleries.current_label'] = 'Изображения в галерее (нажмите и перетащите для сортировки, кликните для редактирования)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// подписи в sidebar
$lang['galleries.list_label'] = 'Список галерей';
Expand Down
2 changes: 1 addition & 1 deletion language/slovenian/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
$lang['galleries.thumbnail_label'] = 'Mala slika';
$lang['galleries.comments_label'] = 'Omogoči komentarje';
$lang['galleries.published_label'] = 'Objavljeno';
$lang['galleries.current_label'] = 'Trenutne slike (primi in prestavi za urejanje pozicije, klikni za urejanje)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

// Sidebar labels
$lang['galleries.list_label'] = 'Seznam galerij';
Expand Down
2 changes: 1 addition & 1 deletion language/spanish/galleries_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
$lang['galleries.thumbnail_label'] = 'Miniatura';
$lang['galleries.comments_label'] = 'Habilitar Comentarios';
$lang['galleries.published_label'] = 'Publicado';
$lang['galleries.current_label'] = 'Imágenes (arrastre y suelte para ordenar, click para editar)';
$lang['galleries.current_label'] = 'Current Images (drag and drop to sort)'; #translate

# Sidebar labels
$lang['galleries.list_label'] = 'Lista de Galerías';
Expand Down
6 changes: 2 additions & 4 deletions views/admin/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@
<?php if ( $gallery_images !== FALSE ): ?>
<?php foreach ( $gallery_images as $image ): ?>
<li>
<a href="<?php echo site_url('admin/files/edit/'.$image->file_id); ?>" class="modal">
<?php echo img(array('src' => site_url('files/thumb/'.$image->file_id), 'alt' => $image->name, 'title' => 'Title: ' . $image->name . ' -- Caption: ' . $image->description)); ?>
<?php echo form_hidden('action_to[]', $image->id); ?>
</a>
<?php echo img(array('src' => site_url('files/thumb/'.$image->file_id), 'alt' => $image->name, 'title' => 'Title: ' . $image->name . ' -- Caption: ' . $image->description)); ?>
<?php echo form_hidden('action_to[]', $image->id); ?>
</li>
<?php endforeach; ?>
<?php endif; ?>
Expand Down

0 comments on commit cae79c6

Please sign in to comment.