Changeset 1505579
- Timestamp:
- 09/30/2016 04:50:17 AM (9 years ago)
- Location:
- ngo-list
- Files:
-
- 12 added
- 2 edited
-
tags/1.3.3 (added)
-
tags/1.3.3/images (added)
-
tags/1.3.3/images/ico_extern.png (added)
-
tags/1.3.3/languages (added)
-
tags/1.3.3/languages/ngo-list-ar_AR.mo (added)
-
tags/1.3.3/languages/ngo-list-ar_AR.po (added)
-
tags/1.3.3/languages/ngo-list-en_US.mo (added)
-
tags/1.3.3/languages/ngo-list-en_US.po (added)
-
tags/1.3.3/languages/ngo-list.pot (added)
-
tags/1.3.3/livesearch.php (added)
-
tags/1.3.3/ngo-list.php (added)
-
tags/1.3.3/readme.txt (added)
-
trunk/ngo-list.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ngo-list/trunk/ngo-list.php
r1501823 r1505579 4 4 * Plugin URI: https://ngo-portal.org 5 5 * Description: Detta tillägg visar en föreningslista på Föreningsportalen, inklusive externa sidor och event-sidor. Ska vara aktiverad på portalen, ej på föreningssidorna. 6 * Version: 1.3. 26 * Version: 1.3.3 7 7 * Author: George Bredberg 8 8 * Author URI: https://datagaraget.se … … 56 56 } 57 57 58 ////////////////////////////////////////////////////////////////////////////// ///////59 // Check to see if mandatory link-categories exists. If not, warn the user. //58 ////////////////////////////////////////////////////////////////////////////// 59 // Check to see if mandatory link-categories exists. If not, warn the user. // 60 60 // Link-categories are created at plugin activation, but could be deleted by user. // 61 ///////////////////////////////////////////////////////////////////////////// ////////61 ///////////////////////////////////////////////////////////////////////////// 62 62 add_action( 'admin_init', 'ngol_check_link_cat' ); 63 63 function ngol_check_link_cat() { … … 122 122 } 123 123 } 124 125 124 xmlhttp.open("GET",pluginUrl+"livesearch.php?q="+str,true); 126 125 xmlhttp.send(); … … 147 146 148 147 echo '<div><ul>'; 149 ?><h2><?php _e(' Hemsidor', 'ngo-list');?>:</h2><?php148 ?><h2><?php _e('Webbplatser', 'ngo-list');?>:</h2><?php 150 149 echo '</ul></div>'; 151 150 … … 208 207 )); 209 208 echo '<div><ul class="sitelist">'; 209 210 if( !empty( $external_links ) ) { 211 ?><h2><?php _e('Externa webbplatser', 'ngo-list');?>:</h2><?php 212 213 foreach ( $external_links as $external_link ) { 214 echo '<li><a class="sitelist" target="_blank" href="'.$external_link->link_url.'">'.$external_link->link_name.' <img style="display: inline; !important" src="'.$ico_extern.'"/></a></li>'; 215 } 216 } 217 218 if( !empty( $event_links ) ) { 219 ?><h2><?php _e('Evenemangssidor', 'ngo-list')?>:</h2><?php 210 220 211 ?><h2><?php _e('Externa hemsidor', 'ngo-list');?>:</h2><?php 212 213 214 foreach ( $external_links as $external_link ) { 215 echo '<li><a class="sitelist" target="_blank" href="'.$external_link->link_url.'">'.$external_link->link_name.' <img style="display: inline; !important" src="'.$ico_extern.'"/></a></li>'; 216 } 217 218 ?><h2><?php _e('Evenemangssidor', 'ngo-list')?>:</h2><?php 219 220 foreach ( $event_links as $event_link ) { 221 printf( '<li><a class="sitelist" href="%s">%s</a></li>', $event_link->link_url, $event_link->link_name ); 222 } 223 221 foreach ( $event_links as $event_link ) { 222 printf( '<li><a class="sitelist" href="%s">%s</a></li>', $event_link->link_url, $event_link->link_name ); 223 } 224 } 224 225 echo '</ul></div>'; 225 226 } -
ngo-list/trunk/readme.txt
r1501823 r1505579 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.6 7 Stable tag: 1.3. 27 Stable tag: 1.3.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 42 42 43 43 == Changelog == 44 = 1.3.3 = 45 * Latest stable release 46 Changed vocabulary (webpage to website) and hide the headlines for category external links and event-page if empty. 47 44 48 = 1.3.2 = 45 * Latest stable release46 49 Changed donation link (important stuff ;) ) 47 50
Note: See TracChangeset
for help on using the changeset viewer.