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 20 2025 08:03:45
Script start
Timing: Jan 20 2025 08:03:45
Module start 'layout'
Timing: Jan 20 2025 08:03:45
Module start 'content'
Timing: Jan 20 2025 08:03:45
Module end 'content'
Timing: Jan 20 2025 08:03:45
Script end

Main resources:

Total runtime0.5194 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1563152.6250
Module start 'layout' 0.00610.0031 741.781339.4453
Module start 'content' 0.00920.5091 781.2266460.7891
Module end 'content' 0.51830.0010 1,242.01568.1641
Script end 0.5193  1,250.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.7129160.0002
Check MTime0.00160.3050160.0001
Mysql Total
Database connection0.00070.144010.0007
Mysqli_queries0.480092.4133460.0104
Looping result0.00040.0749440.0000
Template Total0.487793.920.2439
Template load0.00210.413220.0011
Template processing0.485693.489520.2428
Template load and register function0.00010.020610.0001
states
state_id_array0.00170.321610.0017
state_identifier_array0.00070.132920.0003
Override
Cache load0.00170.327770.0002
Sytem overhead
Fetch class attribute can translate value0.00090.178710.0009
Fetch class attribute name0.00060.120520.0003
XML
Image XML parsing0.00060.105910.0006
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00070.1333160.0000
String conversion0.00000.001940.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