Changeset 1827
- Timestamp:
- Feb 16, 2007, 4:06:41 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/profile.php
r1753 r1827 33 33 34 34 35 save_profile_from_post( $edit_user, $errors); 35 $errors = array(); 36 if ( !is_adviser() ) 37 { 38 save_profile_from_post( $edit_user, $errors); 39 } 36 40 37 41 load_profile_in_template( … … 40 44 $edit_user 41 45 ); 42 $page['errors'] = array_merge( $page['errors'], $errors);46 $page['errors'] = array_merge($page['errors'], $errors ); 43 47 44 48 $template->set_filename('profile', 'admin/profile.tpl'); -
trunk/picture.php
r1825 r1827 749 749 750 750 // tags 751 $query = ' 752 SELECT id, name, url_name 753 FROM '.IMAGE_TAG_TABLE.' 754 INNER JOIN '.TAGS_TABLE.' ON tag_id = id 755 WHERE image_id = '.$page['image_id'].' 756 ;'; 757 $result = pwg_query($query); 758 759 if (mysql_num_rows($result) > 0) 760 { 761 $tags = array(); 762 $tag_names = array(); 763 764 while ($row = mysql_fetch_array($result)) 765 { 766 array_push( 767 $tags, 768 '<a href="' 751 $tags = get_common_tags( array($page['image_id']), -1); 752 if ( count($tags) ) 753 { 754 $infos['INFO_TAGS'] = ''; 755 foreach ($tags as $num => $tag) 756 { 757 $infos['INFO_TAGS'] .= $num ? ' ,' : ''; 758 $infos['INFO_TAGS'] .= '<a href="' 769 759 .make_index_url( 770 760 array( 771 'tags' => array( 772 array( 773 'id' => $row['id'], 774 'url_name' => $row['url_name'], 775 ), 776 ) 761 'tags' => array($tag) 777 762 ) 778 763 ) 779 .'">'.$row['name'].'</a>' 780 ); 781 array_push( $tag_names, $row['name'] ); 782 } 783 784 $infos['INFO_TAGS'] = implode(', ', $tags); 785 $header_infos['INFO_TAGS'] = implode(', ', $tag_names); 764 .'">'.$tag['name'].'</a>'; 765 } 766 $header_infos['INFO_TAGS'] = strip_tags($infos['INFO_TAGS']); 786 767 } 787 768 else -
trunk/template/yoga/admin/element_set_global.tpl
r1780 r1827 165 165 </ul> 166 166 167 <p><input class="submit" type="submit" value="{L_SUBMIT}" name="submit_caddie" {TAG_INPUT_ENABLED}/></p>167 <p><input class="submit" type="submit" value="{L_SUBMIT}" name="submit_caddie" /></p> 168 168 169 169 </fieldset> -
trunk/template/yoga/admin/history.tpl
r1817 r1827 83 83 </label> 84 84 85 <input class="submit" type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED}/>85 <input class="submit" type="submit" name="submit" value="{lang:submit}" /> 86 86 </fieldset> 87 87 </form> -
trunk/template/yoga/admin/user_list.tpl
r1780 r1827 59 59 </label> 60 60 61 <input class="submit" type="submit" name="submit_filter" value="{lang:submit}" {TAG_INPUT_ENABLED}/>61 <input class="submit" type="submit" name="submit_filter" value="{lang:submit}" /> 62 62 63 63 </fieldset> -
trunk/template/yoga/theme/dark/theme.css
r1812 r1827 84 84 } 85 85 86 #content UL.thumbnails SPAN.wrap2:hover { 86 #content UL.thumbnails SPAN.wrap2:hover, 87 #content UL.thumbnailCategories DIV.thumbnailCategory:hover, 88 #content UL.thumbnailCategories DIV.thumbnailCategory:hover A { 87 89 background-color: AntiqueWhite; 88 90 border-color: yellow; /* thumbnails border color when mouse cursor is over it */ … … 90 92 } 91 93 92 #content UL.thumbnailCategories DIV.thumbnailCategory:hover {93 background-color: AntiqueWhite;94 border-color: yellow; /* thumbnails border color when mouse cursor is over it */95 color: black;96 }97 98 #content UL.thumbnailCategories DIV.thumbnailCategory:hover A {99 background-color: AntiqueWhite;100 border-color: yellow; /* thumbnails border color when mouse cursor is over it */101 color: black;102 }103 94 104 95 /* links */ … … 111 102 } 112 103 113 #imageToolBar A, #imageToolBar A:hover { 114 border-bottom: none; 115 } 116 104 #imageToolBar A, #imageToolBar A:hover, 117 105 A.navThumb, A.navThumb:hover { 118 106 border-bottom: none;
Note: See TracChangeset
for help on using the changeset viewer.