Changeset 11846
- Timestamp:
- Jul 27, 2011, 8:43:32 PM (13 years ago)
- Location:
- extensions/Extended_author
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Extended_author/main.inc.php
r11845 r11846 1 1 <?php 2 2 /* 3 Plugin Name: Extended _author4 Version: 1.0. 13 Plugin Name: Extended author 4 Version: 1.0.2 5 5 Description: Provide information about authors and default copyright (Copyrights plugin is nescessary). 6 6 Plugin URI: http://piwigo.org/ext/revision_add.php?eid=571 -
extensions/Extended_author/maintain.inc.php
r11845 r11846 66 66 $query = ' 67 67 INSERT INTO '.$prefixeTable.'copyrights_admin 68 VALUES (-1, \'Author\' s default copyright\', \'\', \'This is the default copyright for an author.\', 1)68 VALUES (-1, \'Author\'\'s default copyright\', \'\', \'This is the default copyright for an author.\', 1) 69 69 ON DUPLICATE KEY UPDATE cr_id = -1 70 70 ;'; … … 90 90 $query = ' 91 91 DELETE 92 FROM %s92 FROM '.$prefixeTable.'copyrights_admin 93 93 WHERE cr_id = -1 94 ;', 95 COPYRIGHTS_ADMIN); 94 ;'; 96 95 pwg_query($query); 97 96 … … 99 98 $query = ' 100 99 DELETE 101 FROM %s100 FROM '.$prefixeTable.'copyrights_media 102 101 WHERE cr_id = -1 103 ;', 104 COPYRIGHTS_MEDIA); 102 ;'; 105 103 pwg_query($query); 106 104 }
Note: See TracChangeset
for help on using the changeset viewer.