Changeset 1618
- Timestamp:
- 10/21/09 21:04:23 (14 years ago)
- Location:
- plugins/cinecturlink2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/cinecturlink2/_define.php
r1592 r1618 23 23 /* Description*/ "Widget about books, musics, films, blogs you are interest in", 24 24 /* Author */ "JC Denis", 25 /* Version */ '0. 1',25 /* Version */ '0.2', 26 26 /* Permissions */ 'content' 27 27 ); 28 /* date */ #200910 1928 /* date */ #20091021 29 29 ?> -
plugins/cinecturlink2/inc/class.cinecturlink2.php
r1592 r1618 144 144 throw $e; 145 145 } 146 //$this->core->triggerBlog();146 $this->trigger(); 147 147 return $cur->link_id; 148 148 } … … 159 159 160 160 $cur->update("WHERE link_id = ".$id." AND blog_id = '".$this->blog."' "); 161 //$this->core->triggerBlog();161 $this->trigger(); 162 162 } 163 163 … … 176 176 ); 177 177 178 //$this->core->triggerBlog();178 $this->trigger(); 179 179 } 180 180 … … 286 286 throw $e; 287 287 } 288 //$this->core->triggerBlog();288 $this->trigger(); 289 289 return $cur->cat_id; 290 290 } … … 301 301 302 302 $cur->update("WHERE cat_id = ".$id." AND blog_id = '".$this->blog."' "); 303 //$this->core->triggerBlog();303 $this->trigger(); 304 304 } 305 305 … … 324 324 $cur->update("WHERE cat_id = ".$id." AND blog_id = '".$this->blog."' "); 325 325 326 //$this->core->triggerBlog();326 $this->trigger(); 327 327 } 328 328 … … 353 353 354 354 $cat_id = is_int($cat_id) ? $cat_id : $cur->cat_id; 355 } 356 357 private function trigger() 358 { 359 $this->core->blog->triggerBlog(); 355 360 } 356 361 -
plugins/cinecturlink2/index.php
r1592 r1618 616 616 $new_author = $upd_rs->link_author; 617 617 $new_url = $upd_rs->link_url; 618 $new_category = $upd_rs-> link_category;618 $new_category = $upd_rs->cat_id; 619 619 $new_lang = $upd_rs->link_lang; 620 620 $new_image = $upd_rs->link_img; -
plugins/cinecturlink2/release.txt
r1592 r1618 1 0.2 20091021 2 * Fixed cat_id in admin 3 * Added trigger to update public side 4 1 5 0.1 20091019 2 6 * First lab release
Note: See TracChangeset
for help on using the changeset viewer.