[textpattern commit] r3239 - New tag: <txp:link_id /> (thanks: Rick Siletti). Fixes issue 8.

0 views
Skip to first unread message

codesite...@google.com

unread,
Jun 30, 2009, 3:08:48 AM6/30/09
to txp...@googlegroups.com
Author: r.wetzlmayr
Date: Mon Jun 29 23:05:52 2009
New Revision: 3239

Modified:
development/4.x/HISTORY.txt
development/4.x/textpattern/publish/taghandlers.php

Log:
New tag: <txp:link_id /> (thanks: Rick Siletti). Fixes issue 8.

Modified: development/4.x/HISTORY.txt
==============================================================================
--- development/4.x/HISTORY.txt (original)
+++ development/4.x/HISTORY.txt Mon Jun 29 23:05:52 2009
@@ -6,20 +6,22 @@
* Feature: Save various pane toggle states
* Feature: Store author of links and files
* Feature: Automatic adjustment for DST (requires PHP 5.1+, fall back to
manual adjustment for servers running older PHPs)
-* Feature: Timezone selector in preferences (requires PHP 5.1+, GMT-based
seelector as a fallback for PHP 4)
+* Feature: Timezone selector in preferences (requires PHP 5.1+, GMT-based
selector as a fallback for PHP 4)
* Fixed: When a user is deleted, reassign her assets
* Fixed: Tag builders for <txp:category /> and <txp:section />
* Fixed: Bogus "Article tags cannot be used outside an article context"
warning in <txp:else />-branch of <txp:if_keywords>
* Fixed: Removed superflous &amp; encoding for article titles in
<txp:recent_comments />
* Fixed: <txp:expires> uses "class" and "wraptag" attributes as intended
+* New tag: <txp:link_id /> (thanks: Rick Siletti)
* New: Default event preference setting (thanks: Mary)
-* Developer: pluggable_ui() serves as a base for custom admin-side user
interface panels
+* Developer: pluggable_ui() serves as a base for custom admin-side user
interface panels, see new '*_ui' events below
+* Developer: New
events 'log_it', 'plugin_lifecycle', 'plugin_prefs', 'txp_die', 'article_ui', 'author_ui', 'category_ui', 'file_ui', 'image_ui', 'link_ui', 'prefs_ui', 'section_ui'
* Developer: Per-user preferences
-* Developer: New events 'log_it', 'plugin_lifecycle', 'plugin_prefs'
* Developer: Increased maximum plugin code size to MEDIUMTEXT (16 MiB)
* Developer: Increased maximum preferences value size to TEXT (64 KiB)
* Developer: Core support for unlimited custom fields (thanks: Gerhard
Lazu)
* Developer: Thumbnail dimensions are stored in the image table
+* Developer: Sending requests to the admin-side with URL
parameter "app_mode" set to "async" suppress any default admin-side output.
Think AJAX.
* jQuery 1.3.2

Changes in 4.1.0

Modified: development/4.x/textpattern/publish/taghandlers.php
==============================================================================
--- development/4.x/textpattern/publish/taghandlers.php (original)
+++ development/4.x/textpattern/publish/taghandlers.php Mon Jun 29 23:05:52
2009
@@ -529,6 +529,15 @@
}

// -------------------------------------------------------------
+
+ function link_id()
+ {
+ global $thislink;
+ assert_link();
+ return $thislink['id'];
+ }
+
+// -------------------------------------------------------------
function eE($txt) // convert email address into unicode entities
{
for ($i=0;$i<strlen($txt);$i++) {

Reply all
Reply to author
Forward
0 new messages