![]() I've just cloned and uploaded the latest version available.Ī text filter for automatic email obfuscation using the well-established JavaScript and a CSS fallback: The original package was propaganistas/email-obfuscator but the author decided to abandon and delete the GitHub repository, breaking all sites using it. Htag = document.querySelector('.green-h3') Let htag = document.querySelector('.green-h3') If then # SQLQUERY contains an empty string.Įcho "There have been no new documents added to the CMS in the last 7 days." > /root/bin/mailtextĬonst jobContainer = document.querySelector('.job-description') I mean:Įcho "TO:" $RECIPIENTS > /root/bin/mailtextĮcho "SUBJECT:" $SUBJECT $DATE > /root/bin/mailtextĮcho "SELECT name AS NAME,MIN(id) as ID,MIN(created_at) as CREATED,MIN(CONCAT(' as URL from pages WHERE deleted_at IS NULL AND name NOT LIKE 'AO%' AND name NOT LIKE 'KB%' AND name NOT LIKE 'Odoo%' AND name NOT LIKE 'WK%' AND draft=0 AND created_at > DATE_SUB(NOW(), INTERVAL 7 DAY) GROUP BY name \G" | mysql -u root -D bookstack > /root/bin/mailtextĬat /root/bin/mailtext | /usr/sbin/sendmail -tĭATE=$(date DATE_SUB(NOW(), INTERVAL 7 DAY) GROUP BY name \G" | mysql -u root -D bookstack)Įcho "FROM:" $SENDER > /root/bin/mailtext Was this a classic SingleEntityAuthorUsers relationship I would have build it as a ManyToMany item, but here it's different.Īuthor would probably contain two ManyToOne relations (one with the User entity and one with either the Document or the Video entity) plus the entity type field, but I really don't know how to code the "Document orVideo`" part. The problem is that I cannot understand how to build this in Doctrine. entity: is a constant like document or video to know to which entity the relation refer to.author_id: is the user_id who authored the entity. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |