Smart Quotes - New Contribution

Author Message

Peter Putzer

Sunday 19 June 2005 12:23:41 pm

Hi!

I've uploaded an extension providing a template operator "ezsmartquotes" which changes the ' and " characters to real typographically correct quotes (among other things). This extension is based on the program "SmartyPants" and can be configured (in the PHP-file at the moment) for languages other than English (in fact, the default at the moment is German as that's what I use).

http://ez.no/community/contribs/template_plugins/ezsmartquotes

Accessible website starting from eZ publish 3.0 (currently: 4.1.0): http://pluspunkt.at

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 15 2025 08:58:30
Script start
Timing: Jan 15 2025 08:58:30
Module start 'layout'
Timing: Jan 15 2025 08:58:30
Module start 'content'
Timing: Jan 15 2025 08:58:32
Module end 'content'
Timing: Jan 15 2025 08:58:32
Script end

Main resources:

Total runtime1.2956 sec
Peak memory usage6,144.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 685.6563183.6875
Module start 'layout' 0.00510.0029 869.343852.5625
Module start 'content' 0.00801.2861 921.90631,721.0703
Module end 'content' 1.29410.0015 2,642.976664.5469
Script end 1.2956  2,707.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00520.4014160.0003
Check MTime0.00130.1009160.0001
Mysql Total
Database connection0.00050.037710.0005
Mysqli_queries1.246296.1868460.0271
Looping result0.00050.0369440.0000
Template Total1.255296.920.6276
Template load0.00440.342520.0022
Template processing1.250896.536620.6254
Template load and register function0.00140.106110.0014
states
state_id_array0.00160.120410.0016
state_identifier_array0.00160.121020.0008
Override
Cache load0.00400.307370.0006
Sytem overhead
Fetch class attribute can translate value0.00050.038210.0005
Fetch class attribute name0.00230.178820.0012
XML
Image XML parsing0.00260.198310.0026
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00330.2551160.0002
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs