WordPress.org

Plugin Directory

Changeset 1678270


Ignore:
Timestamp:
06/14/17 11:40:23 (13 days ago)
Author:
petersplugins
Message:

Version 2.0 - unified admin interface and code improvements

Location:
javascript-autoloader
Files:
15 added
1 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • javascript-autoloader/assets/icon.svg

    r1509219 r1678270  
    1717   inkscape:version="0.91 r13725" 
    1818   sodipodi:docname="javascript-autoloader.svg" 
    19    inkscape:export-filename="D:\Eigene Dateien\Google Drive\web\websites\EIGENE\html\petersplugins.com\_RESSOURCEN\plugin-icons\svg\smart-archive-page-remove.png" 
    20    inkscape:export-xdpi="90" 
    21    inkscape:export-ydpi="90"> 
     19   inkscape:export-filename="C:\Users\User\Google Drive\web\websites\EIGENE\html\dev.smartware.cc\wp-content\plugins\javascript-autoloader\assets\pluginicon.png" 
     20   inkscape:export-xdpi="4.3200002" 
     21   inkscape:export-ydpi="4.3200002"> 
    2222  <defs 
    2323     id="defs4" /> 
     
    3030     inkscape:pageshadow="2" 
    3131     inkscape:zoom="0.49497475" 
    32      inkscape:cx="752.8431" 
     32     inkscape:cx="311.40644" 
    3333     inkscape:cy="380.00934" 
    3434     inkscape:document-units="px" 
     
    3636     showgrid="false" 
    3737     units="px" 
    38      inkscape:window-width="1680" 
    39      inkscape:window-height="987" 
     38     inkscape:window-width="1536" 
     39     inkscape:window-height="801" 
    4040     inkscape:window-x="-8" 
    4141     inkscape:window-y="-8" 
     
    5959     transform="translate(0,-52.362161)"> 
    6060    <rect 
    61        style="fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:#333333;stroke-width:74.44760895;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:7;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" 
     61       style="fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:74.44760895;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:7;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" 
    6262       id="rect3036" 
    63        width="925.55237" 
    64        height="925.55237" 
    65        x="37.223816" 
    66        y="89.585976" /> 
     63       width="1000" 
     64       height="1000" 
     65       x="0" 
     66       y="52.362015" /> 
    6767    <g 
    6868       id="g4162" 
    69        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     69       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    7070    <g 
    7171       id="g4164" 
    72        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     72       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    7373    <g 
    7474       id="g4166" 
    75        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     75       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    7676    <g 
    7777       id="g4168" 
    78        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     78       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    7979    <g 
    8080       id="g4170" 
    81        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     81       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    8282    <g 
    8383       id="g4172" 
    84        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     84       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    8585    <g 
    8686       id="g4174" 
    87        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     87       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    8888    <g 
    8989       id="g4176" 
    90        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     90       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    9191    <g 
    9292       id="g4178" 
    93        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     93       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    9494    <g 
    9595       id="g4180" 
    96        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     96       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    9797    <g 
    9898       id="g4182" 
    99        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     99       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    100100    <g 
    101101       id="g4184" 
    102        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     102       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    103103    <g 
    104104       id="g4186" 
    105        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     105       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    106106    <g 
    107107       id="g4188" 
    108        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
     108       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
    109109    <g 
    110110       id="g4190" 
    111        transform="matrix(1.125,0,0,1.125,199.64431,351.62057)" /> 
    112     <g 
    113        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     111       transform="matrix(1.125,0,0,1.125,199.64431,351.62043)" /> 
     112    <g 
     113       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    114114       style="fill:#ffffff" 
    115115       id="g4256-0" /> 
    116116    <g 
    117        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     117       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    118118       style="fill:#ffffff" 
    119119       id="g4258-7" /> 
    120120    <g 
    121        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     121       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    122122       style="fill:#ffffff" 
    123123       id="g4260-7" /> 
    124124    <g 
    125        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     125       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    126126       style="fill:#ffffff" 
    127127       id="g4262-8" /> 
    128128    <g 
    129        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     129       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    130130       style="fill:#ffffff" 
    131131       id="g4264-7" /> 
    132132    <g 
    133        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     133       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    134134       style="fill:#ffffff" 
    135135       id="g4266-8" /> 
    136136    <g 
    137        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     137       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    138138       style="fill:#ffffff" 
    139139       id="g4268-4" /> 
    140140    <g 
    141        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     141       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    142142       style="fill:#ffffff" 
    143143       id="g4270-9" /> 
    144144    <g 
    145        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     145       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    146146       style="fill:#ffffff" 
    147147       id="g4272-7" /> 
    148148    <g 
    149        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     149       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    150150       style="fill:#ffffff" 
    151151       id="g4274-0" /> 
    152152    <g 
    153        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     153       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    154154       style="fill:#ffffff" 
    155155       id="g4276-3" /> 
    156156    <g 
    157        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     157       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    158158       style="fill:#ffffff" 
    159159       id="g4278-5" /> 
    160160    <g 
    161        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     161       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    162162       style="fill:#ffffff" 
    163163       id="g4280-4" /> 
    164164    <g 
    165        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     165       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    166166       style="fill:#ffffff" 
    167167       id="g4282-5" /> 
    168168    <g 
    169        transform="matrix(38.671874,0,0,38.671874,142.23206,140.30857)" 
     169       transform="matrix(38.671874,0,0,38.671874,142.23206,140.30842)" 
    170170       style="fill:#ffffff" 
    171171       id="g4284-3" /> 
    172172    <g 
    173        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     173       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    174174       id="g4516" /> 
    175175    <g 
    176        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     176       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    177177       id="g4518" /> 
    178178    <g 
    179        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     179       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    180180       id="g4520" /> 
    181181    <g 
    182        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     182       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    183183       id="g4522" /> 
    184184    <g 
    185        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     185       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    186186       id="g4524" /> 
    187187    <g 
    188        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     188       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    189189       id="g4526" /> 
    190190    <g 
    191        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     191       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    192192       id="g4528" /> 
    193193    <g 
    194        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     194       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    195195       id="g4530" /> 
    196196    <g 
    197        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     197       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    198198       id="g4532" /> 
    199199    <g 
    200        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     200       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    201201       id="g4534" /> 
    202202    <g 
    203        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     203       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    204204       id="g4536" /> 
    205205    <g 
    206        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     206       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    207207       id="g4538" /> 
    208208    <g 
    209        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     209       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    210210       id="g4540" /> 
    211211    <g 
    212        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     212       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    213213       id="g4542" /> 
    214214    <g 
    215        transform="matrix(1.125,0,0,1.125,-426.17878,52.047465)" 
     215       transform="matrix(1.125,0,0,1.125,-426.17878,52.04732)" 
    216216       id="g4544" /> 
    217     <g 
    218        id="g3422" 
    219        transform="matrix(1.3494962,0,0,1.4365365,100,126.5634)" 
    220        style="fill:#ffffff"> 
    221       <path 
    222          style="fill:#ffffff" 
    223          inkscape:connector-curvature="0" 
    224          d="m 589.173,356.232 -104.756,198.26 c -5.125,9.858 -19.653,20.285 -30.872,20.285 l -420.096,0.077 c -8.875,0 -17.384,-3.518 -23.655,-9.794 C 3.523,558.783 0,550.283 0,541.405 L 0.068,215.196 c 0,-18.448 14.955,-33.417 33.405,-33.435 l 30.715,-0.029 0,28.496 -20.549,0 c -4.022,0 -7.885,1.596 -10.731,4.442 -2.843,2.846 -4.442,6.706 -4.442,10.731 l 0.03,305.796 c 0,8.388 6.797,15.173 15.176,15.173 l 21.045,0 99.28,-200.836 c 5.609,-11.219 16.208,-20.286 27.411,-20.286 l 243.14,0 0.083,-80.823 c 15.876,1.472 28.406,14.641 28.406,30.893 l 0,49.931 111.513,0 c 13.169,0.135 24.258,13.157 14.623,30.983 z m -505.615,89.04 c -0.907,-99.969 0,-399.884 0,-399.884 0,-15.132 12.306,-27.429 27.423,-27.429 l 219.614,0 c 3.518,0 6.874,1.472 9.251,4.061 l 71,77.141 c 2.128,2.323 3.321,5.364 3.321,8.515 l 0,199.839 -23.034,0 0,-182.583 c 0,-3.159 -2.565,-5.725 -5.728,-5.725 l -54.343,0 c -6.36,0 -11.532,-5.163 -11.532,-11.511 l 0,-60.975 c 0,-3.16 -2.565,-5.725 -5.728,-5.725 l -202.807,0 c -2.423,0 -4.395,1.971 -4.395,4.392 l 0,374.739 -17.626,35.66 c 10e-4,-0.006 -5.325,-0.396 -5.416,-10.515 z m 259.03,-349.09 34.212,0 -34.212,-37.188 z" 
    225          id="path3384" 
    226          sodipodi:nodetypes="ccccccccccscccsccsccscccccssccsccssssssssccccccc" /> 
    227       <g 
    228          id="g3386" 
    229          style="fill:#ffffff" /> 
    230       <g 
    231          id="g3388" 
    232          style="fill:#ffffff" /> 
    233       <g 
    234          id="g3390" 
    235          style="fill:#ffffff" /> 
    236       <g 
    237          id="g3392" 
    238          style="fill:#ffffff" /> 
    239       <g 
    240          id="g3394" 
    241          style="fill:#ffffff" /> 
    242       <g 
    243          id="g3396" 
    244          style="fill:#ffffff" /> 
    245       <g 
    246          id="g3398" 
    247          style="fill:#ffffff" /> 
    248       <g 
    249          id="g3400" 
    250          style="fill:#ffffff" /> 
    251       <g 
    252          id="g3402" 
    253          style="fill:#ffffff" /> 
    254       <g 
    255          id="g3404" 
    256          style="fill:#ffffff" /> 
    257       <g 
    258          id="g3406" 
    259          style="fill:#ffffff" /> 
    260       <g 
    261          id="g3408" 
    262          style="fill:#ffffff" /> 
    263       <g 
    264          id="g3410" 
    265          style="fill:#ffffff" /> 
    266       <g 
    267          id="g3412" 
    268          style="fill:#ffffff" /> 
    269       <g 
    270          id="g3414" 
    271          style="fill:#ffffff" /> 
    272     </g> 
     217    <rect 
     218       style="opacity:1;fill:#222222;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.06299996;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" 
     219       id="rect4199" 
     220       width="500" 
     221       height="500" 
     222       x="-227.22903" 
     223       y="641.44263" 
     224       transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,0,0)" /> 
     225    <g 
     226       style="fill:#ffffff" 
     227       id="g3386" 
     228       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     229    <g 
     230       style="fill:#ffffff" 
     231       id="g3388" 
     232       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     233    <g 
     234       style="fill:#ffffff" 
     235       id="g3390" 
     236       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     237    <g 
     238       style="fill:#ffffff" 
     239       id="g3392" 
     240       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     241    <g 
     242       style="fill:#ffffff" 
     243       id="g3394" 
     244       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     245    <g 
     246       style="fill:#ffffff" 
     247       id="g3396" 
     248       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     249    <g 
     250       style="fill:#ffffff" 
     251       id="g3398" 
     252       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     253    <g 
     254       style="fill:#ffffff" 
     255       id="g3400" 
     256       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     257    <g 
     258       style="fill:#ffffff" 
     259       id="g3402" 
     260       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     261    <g 
     262       style="fill:#ffffff" 
     263       id="g3404" 
     264       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     265    <g 
     266       style="fill:#ffffff" 
     267       id="g3406" 
     268       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     269    <g 
     270       style="fill:#ffffff" 
     271       id="g3408" 
     272       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     273    <g 
     274       style="fill:#ffffff" 
     275       id="g3410" 
     276       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     277    <g 
     278       style="fill:#ffffff" 
     279       id="g3412" 
     280       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     281    <g 
     282       style="fill:#ffffff" 
     283       id="g3414" 
     284       transform="matrix(1.3494962,0,0,1.4365365,100,126.56325)" /> 
     285    <rect 
     286       style="opacity:1;fill:#222222;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.06299996;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" 
     287       id="rect4199-4" 
     288       width="162.63457" 
     289       height="162.63457" 
     290       x="-583.48047" 
     291       y="742.1496" 
     292       transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,0,0)" /> 
     293    <rect 
     294       style="opacity:1;fill:#222222;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.06299996;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" 
     295       id="rect4236" 
     296       width="772.46503" 
     297       height="438.245" 
     298       x="227.535" 
     299       y="614.11719" /> 
     300    <rect 
     301       style="opacity:1;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.06299996;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" 
     302       id="rect4238" 
     303       width="436.38589" 
     304       height="555.58392" 
     305       x="216.17264" 
     306       y="270.50394" /> 
     307    <rect 
     308       style="opacity:1;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.06299996;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" 
     309       id="rect4240" 
     310       width="224.25386" 
     311       height="171.72594" 
     312       x="121.21831" 
     313       y="747.29602" /> 
     314    <rect 
     315       style="opacity:1;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.06299996;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" 
     316       id="rect4242" 
     317       width="93.571426" 
     318       height="123.5" 
     319       x="593.57141" 
     320       y="477.8667" /> 
     321    <path 
     322       sodipodi:nodetypes="ccccccccccscccsccsccscccccssccsccssssssssccccccc" 
     323       id="path3384" 
     324       d="M 895.08672,638.30352 753.7189,923.11125 c -6.91617,14.16137 -26.52165,29.14014 -41.66165,29.14014 L 145.1393,952.362 c -11.97678,0 -23.45964,-5.05373 -31.92233,-14.06944 C 104.75428,929.27543 100,917.06486 100,904.31129 l 0.0918,-468.61113 c 0,-26.50123 20.18171,-48.00474 45.07992,-48.0306 l 41.44977,-0.0417 0,40.93555 -27.7308,0 c -5.42767,0 -10.64077,2.29271 -14.48144,6.38109 -3.83662,4.08838 -5.99446,9.63341 -5.99446,15.41547 l 0.0405,439.28712 c 0,12.04967 9.17253,21.79657 20.47996,21.79657 l 28.40015,0 133.97798,-288.50825 c 7.56932,-16.1165 21.87263,-29.14158 36.99104,-29.14158 l 328.1165,0 0.11201,-116.10519 c 21.4246,2.11459 38.33379,21.03233 38.33379,44.37893 l 0,71.7277 150.48637,0 c 17.77152,0.19393 32.73608,18.90051 19.73368,44.50821 z M 212.7612,766.21273 c -1.22399,-143.60912 0,-574.44796 0,-574.44796 0,-21.73767 16.6069,-39.40276 37.00724,-39.40276 l 296.36826,0 c 4.74752,0 9.27643,2.11458 12.48419,5.83377 l 95.81423,110.81587 c 2.87172,3.33707 4.48167,7.70558 4.48167,12.2321 l 0,287.07602 -31.08429,0 0,-262.28714 c 0,-4.53802 -3.46146,-8.22417 -7.72992,-8.22417 l -73.33567,0 c -8.58279,0 -15.56239,-7.41684 -15.56239,-16.53598 l 0,-87.59281 c 0,-4.53945 -3.46146,-8.22417 -7.72991,-8.22417 l -273.68728,0 c -3.26983,0 -5.93104,2.83141 -5.93104,6.30927 l 0,538.32625 -23.78622,51.22689 c 0.001,-0.009 -7.18606,-0.56887 -7.30887,-15.10518 z m 349.56,-501.48053 46.16897,0 -46.16897,-53.42192 z" 
     325       inkscape:connector-curvature="0" 
     326       style="fill:#ffffff" /> 
    273327    <text 
    274328       xml:space="preserve" 
  • javascript-autoloader/trunk/inc/class-js-autoloader.php

    r1509219 r1678270  
    11<?php 
    22 
     3/** 
     4 * The JavaScript AutoLoader core plugin class 
     5 */ 
     6 
     7  
     8// If this file is called directly, abort 
    39if ( ! defined( 'WPINC' ) ) { 
    410    die; 
    511} 
    612 
    7 if ( !class_exists( 'Javascript_Autoloader' ) ) {  
    8  
    9   class Javascript_Autoloader { 
    10     public $_file; 
     13 
     14/** 
     15 * The core plugin class 
     16 */ 
     17if ( !class_exists( 'PP_Javascript_Autoloader' ) ) {  
     18 
     19  class PP_Javascript_Autoloader { 
     20     
     21    private $_file; 
     22    private $_autoloaddir; 
    1123    public $plugin_name; 
    1224    public $plugin_slug; 
     
    1426    private $wp_url; 
    1527    private $my_url; 
    16  
     28    private $admin_handle; 
     29 
     30     
     31    /** 
     32       * here we go 
     33     */ 
    1734    public function __construct( $file ) { 
    1835      $this->_file = $file; 
     36      $this->_autoloaddir = 'jsautoload'; 
    1937      $this->plugin_name = 'JavaScript AutoLoader'; 
    2038      $this->plugin_slug = 'javascript-autoloader'; 
    21       $this->version = '1.4'; 
     39      $this->version = '2.0'; 
    2240      $this->init(); 
    2341    } 
    2442     
     43     
     44    /** 
     45     * do plugin init  
     46     */ 
    2547    function init() { 
    2648      $this->wp_url = 'https://wordpress.org/plugins/' . $this->plugin_slug; 
     
    3052      add_filter( 'plugin_action_links_' . plugin_basename( $this->_file ), array( $this, 'add_links' ) );  
    3153      add_action( 'admin_menu', array( $this, 'adminmenu' ) ); 
    32     } 
    33      
     54      add_action( 'admin_head', array( $this, 'admin_css' ) ); 
     55    } 
     56     
     57     
     58    /** 
     59     * autoload js files on frontend 
     60     */ 
     61    function jsautoloader() { 
     62      $filesarray = $this->getAllFiles();   
     63      foreach ( $filesarray as $file ) { 
     64        $this->add( $file['name'], $file['footer'] ); 
     65      } 
     66    } 
     67     
     68     
     69    /** 
     70     * init backend 
     71     */ 
     72     function adminmenu() { 
     73      $this->admin_handle = add_management_page( 'JavaScript AutoLoader', 'JS AutoLoader', 'activate_plugins', 'wpjsautoloader', array( $this, 'showadmin' ) ); 
     74    } 
     75     
     76     
     77    /** 
     78     * add text domain 
     79     */ 
    3480    function add_text_domain () { 
    3581      load_plugin_textdomain( 'javascript-autoloader' ); 
    3682    } 
    3783     
    38     // add like meta box  
    39     function show_meta_boxes() { 
    40       ?> 
    41       <div id="postbox-container-1" class="postbox-container"> 
    42         <div class="meta-box-sortables"> 
    43           <div class="postbox"> 
    44            <h3><span><?php _e( 'Like this Plugin?', 'javascript-autoloader' ); ?></span></h3> 
    45             <div class="inside"> 
    46               <ul> 
    47                 <li><div class="dashicons dashicons-wordpress"></div>&nbsp;&nbsp;<a href="<?php echo $this->wp_url; ?>"><?php _e( 'Please rate the plugin', 'javascript-autoloader' ); ?></a></li> 
    48                 <li><div class="dashicons dashicons-admin-home"></div>&nbsp;&nbsp;<a href="<?php echo $this->my_url; ?>"><?php _e( 'Plugin homepage', 'javascript-autoloader'); ?></a></li> 
    49                 <li><div class="dashicons dashicons-admin-home"></div>&nbsp;&nbsp;<a href="http://petersplugins.com/"><?php _e( 'Author homepage', 'javascript-autoloader' );?></a></li> 
    50                 <li><div class="dashicons dashicons-googleplus"></div>&nbsp;&nbsp;<a href="http://g.petersplugins.com/"><?php _e( 'Authors Google+ Page', 'javascript-autoloader' ); ?></a></li> 
    51                 <li><div class="dashicons dashicons-facebook-alt"></div>&nbsp;&nbsp;<a href="http://f.petersplugins.com/"><?php _e( 'Authors facebook Page', 'javascript-autoloader' ); ?></a></li> 
    52               </ul> 
    53             </div> 
    54           </div> 
    55           <div class="postbox"> 
    56             <h3><span><?php _e( 'Need help?', 'javascript-autoloader' ); ?></span></h3> 
    57             <div class="inside"> 
    58               <ul> 
    59                 <li><div class="dashicons dashicons-wordpress"></div>&nbsp;&nbsp;<a href="https://wordpress.org/support/plugin/<?php echo $this->plugin_slug; ?>"><?php _e( 'Take a look at the Support section', 'javascript-autoloader'); ?></a></li> 
    60                 <li><div class="dashicons dashicons-admin-comments"></div>&nbsp;&nbsp;<a href="http://petersplugins.com/contact/"><?php _e( 'Feel free to contact the Author', 'javascript-autoloader' ); ?></a></li> 
    61               </ul> 
    62             </div> 
    63           </div> 
    64           <div class="postbox"> 
    65             <h3><span><?php _e( 'Translate this Plugin', 'javascript-autoloader' ); ?></span></h3> 
    66             <div class="inside"> 
    67               <p><?php _e( 'It would be great if you\'d support the JavaScript AutoLoader Plugin by adding a new translation or keeping an existing one up to date!', 'javascript-autoloader' ); ?></p> 
    68               <p><a href="https://translate.wordpress.org/projects/wp-plugins/<?php echo $this->plugin_slug; ?>"><?php _e( 'Translate online', 'javascript-autoloader' ); ?></a></p> 
    69             </div> 
    70           </div> 
    71         </div> 
    72       </div> 
    73       <?php 
    74     } 
    75      
    76     // returns an array of files to add 
     84     
     85    /** 
     86     * get an array of possible directories 
     87     */ 
     88    function getDirs() { 
     89      $possibledirs = array(); 
     90      $possibledirs['general'] = array( 'dir' => WP_CONTENT_DIR . '/' . $this->_autoloaddir, 'url' => content_url() . $this->_autoloaddir, 'source' => 3 ); 
     91      $possibledirs['theme'] = array( 'dir' => get_template_directory() . '/' . $this->_autoloaddir, 'url' => get_template_directory_uri() . '/' . $this->_autoloaddir, 'source' => 2 ); 
     92      if ( is_child_theme() ) { 
     93        $possibledirs['childtheme'] =  array( 'dir' => get_stylesheet_directory() . '/' . $this->_autoloaddir, 'url' => get_stylesheet_directory_uri() . '/' . $this->_autoloaddir, 'source' => 1 ); 
     94      } else { 
     95        $possibledirs['childtheme'] = false; 
     96      } 
     97      return $possibledirs; 
     98    } 
     99     
     100     
     101    /** 
     102     * returns an array of files to add 
     103     */ 
    77104    function getFiles( $dir, $suffix='', $urlprefix='', $prefix='', $depth=0, $footer=0, $source ) { 
    78105      $dir = rtrim( $dir, '\\/' ); 
     
    99126                $file['footer'] = $footer; 
    100127                $file['source'] = $source; 
     128                $file['file'] = $dir .'/' . $f; 
    101129                $result[] = $file; 
    102130              } 
     
    108136    } 
    109137 
    110     // get an sorted array of all *.js files in all possible loactions  
     138     
     139    /** 
     140     * get an sorted array of all *.js files in all possible loactions  
     141     */ 
    111142    function getAllFiles() { 
    112       $dir = 'jsautoload'; 
    113       $filesarray = array(); 
    114       if ( is_child_theme() ) { $filesarray = $this->getFiles( get_stylesheet_directory() . '/' . $dir, '.js', get_stylesheet_directory_uri() . '/' . $dir, '', 0, 0, 1 ); } 
    115       $filesarray = array_merge( $filesarray, $this->getFiles( get_template_directory() . '/' . $dir, '.js', get_template_directory_uri(). '/' . $dir, '', 0, 0, 2 ) ); 
    116       $filesarray = array_merge( $filesarray, $this->getFiles( WP_CONTENT_DIR . '/' . $dir, '.js', content_url() . '/' . $dir, '', 0, 0, 3 ) ); 
     143      $possibledirs = $this->getDirs(); 
    117144      $files = array(); 
    118       $depth = array(); 
    119       $source = array(); 
    120       $footer = array(); 
    121       foreach ( $filesarray as $file ) { 
    122         $files[] = $file['name']; 
    123         $depth[] = $file['depth']; 
    124         $source[] = $file['source']; 
    125         $footer[] = $file['footer']; 
    126       } 
    127       array_multisort( $footer, SORT_NUMERIC, $source, SORT_NUMERIC, $depth, SORT_NUMERIC, $files, SORT_ASC, $filesarray ); 
    128       return $filesarray; 
    129     } 
    130  
    131     // adds an js file to header 
     145      foreach ( $possibledirs as $pdir ) { 
     146        if ( $pdir ) { 
     147          if ( is_dir( $pdir['dir'] ) ) { 
     148            $files = array_merge( $files, $this->getFiles( $pdir['dir'], '.js', $pdir['url'], '', 0, 0, $pdir['source'] ) ); 
     149          } 
     150        } 
     151      } 
     152      if ( count ( $files ) > 0 ) { 
     153        $names = array(); 
     154        $depth = array(); 
     155        $source = array(); 
     156        $footer = array(); 
     157        foreach ( $files as $file ) { 
     158          $names[] = $file['name']; 
     159          $depth[] = $file['depth']; 
     160          $source[] = $file['source']; 
     161          $footer[] = $file['footer']; 
     162        } 
     163        array_multisort( $footer, SORT_NUMERIC, $source, SORT_NUMERIC, $depth, SORT_NUMERIC, $names, SORT_ASC, $files ); 
     164      } 
     165      return $files; 
     166    } 
     167 
     168     
     169    /** 
     170     * enqueue javascript file in header or footer 
     171     */ 
    132172    function add( $jsfile, $footer ) { 
    133173      wp_enqueue_script( 'swcc-js-autoloader-' . basename($jsfile), $jsfile, array(), false, ( $footer==1 ) ); 
    134174    } 
    135175 
    136     // show admin page 
     176     
     177    /** 
     178     * show admin page 
     179     */ 
    137180    function showadmin() { 
    138181      if ( !current_user_can( 'activate_plugins' ) )  { 
    139182        wp_die( ___( 'You do not have sufficient permissions to access this page.' ) ); 
    140183      } 
    141       $dir = 'jsautoload';  
    142184      ?> 
    143185      <div class="wrap"> 
    144         <?php screen_icon(); ?> 
    145         <h2 style="min-height: 32px; line-height: 32px; padding-left: 40px; background-image: url(<?php echo plugins_url( 'pluginicon.png', $this->_file ); ?>); background-repeat: no-repeat; background-position: left center"><a href="<?php echo $this->my_url; ?>"><?php echo $this->plugin_name; ?></a></h2> 
    146         <hr /> 
    147         <p>Plugin Version: <?php echo $this->version; ?> <a class="dashicons dashicons-editor-help" href="https://wordpress.org/plugins/<?php echo $this->plugin_slug; ?>/changelog/"></a></p> 
    148         <div id="poststuff"> 
    149           <div id="post-body" class="metabox-holder columns-2"> 
    150             <div id="post-body-content"> 
    151               <div class="meta-box-sortables ui-sortable"> 
    152                 <div class="postbox"> 
    153                   <h3><span><?php _e( 'Possible paths to store your JavaScript files', 'javascript-autoloader'); ?></span></h3> 
    154                   <div class="inside"> 
    155                     <h4><?php _e( 'Child Theme Directory', 'javascript-autoloader'); ?></h4> 
    156                     <p><?php  
    157                       if ( is_child_theme() ) { 
    158                         echo __( 'Current Path', 'javascript-autoloader' ) . ': <code>' . get_stylesheet_directory() . '/' . $dir . '</code>'; 
    159                       } else { 
    160                         _e( 'You are not using a Child Theme', 'javascript-autoloader' ); 
    161                       } 
    162                     ?></p> 
    163                     <h4><?php _e( 'Theme Directory', 'javascript-autoloader'); ?></h4> 
    164                     <p><?php echo __( 'Current Path', 'javascript-autoloader' ) . ': <code>' . get_template_directory() . '/' . $dir; ?></code></p> 
    165                     <h4><?php _e( 'General Directory', 'javascript-autoloader'); ?></h4> 
    166                     <p><?php echo __( 'Current Path', 'javascript-autoloader' ) . ': <code>' . WP_CONTENT_DIR . '/' . $dir; ?></code></p> 
    167                   </div> 
    168                   <hr /> 
    169                   <h3><span><?php _e( 'Currently loaded JavaScript files (in that order)', 'javascript-autoloader'); ?></span></h3> 
    170                   <div class="inside"> 
    171                     <?php $this->showcurrent(); ?> 
    172                   </div> 
    173                 </div>  
    174               </div> 
    175             </div> 
    176             <?php $this->show_meta_boxes(); ?> 
     186        <h1 id="pp-plugin-info-js-autoloader"><?php echo $this->plugin_name; ?> <?php _e( 'Settings', 'javascript-autoloader' ); ?><span><a class="dashicons dashicons-star-filled" href="https://wordpress.org/support/plugin/<?php echo $this->plugin_slug; ?>/reviews/" title="<?php _e( 'Please rate plugin', 'javascript-autoloader' ); ?>"></a> <a class="dashicons dashicons-wordpress" href="<?php echo $this->wp_url; ?>/" title="<?php _e( 'wordpress.org plugin directory', 'javascript-autoloader' ); ?>"></a> <a class="dashicons dashicons-admin-home" href="http://petersplugins.com/" title="<?php _e( 'Author homepage', 'javascript-autoloader' );?>"></a> <a class="dashicons dashicons-googleplus" href="http://g.petersplugins.com/" title="<?php _e( 'Authors Google+ Page', 'javascript-autoloader' ); ?>"></a> <a class="dashicons dashicons-facebook-alt" href="http://f.petersplugins.com/" title="<?php _e( 'Authors facebook Page', 'javascript-autoloader' ); ?>"></a> <a class="dashicons dashicons-editor-help" href="http://wordpress.org/support/plugin/<?php echo $this->plugin_slug; ?>/" title="<?php _e( 'Support', 'javascript-autoloader'); ?>"></a> <a class="dashicons dashicons-admin-comments" href="http://petersplugins.com/contact/" title="<?php _e( 'Contact Author', 'javascript-autoloader' ); ?>"></a></span></h1> 
     187        <?php settings_errors(); ?> 
     188         
     189        <div class="postbox"> 
     190          <div class="inside"> 
     191            <p><strong><?php _e( 'Currently loaded JavaScript files (in that order)', 'javascript-autoloader'); ?>:</strong></p> 
     192            <?php $this->showcurrent(); ?> 
    177193          </div> 
    178           <br class="clear" /> 
    179         </div>     
     194        </div> 
     195         
     196        <?php $possibledirs = $this->getDirs(); ?> 
     197        <div class="postbox"> 
     198          <div class="inside"> 
     199            <p><strong><?php _e( 'Possible paths to store your JavaScript files', 'javascript-autoloader'); ?>:</strong></p> 
     200            <p><strong><?php _e( 'Child Theme Directory', 'javascript-autoloader'); ?></strong></p> 
     201            <p><?php  
     202              if ( $possibledirs['childtheme'] ) { 
     203                echo __( 'Current Path', 'javascript-autoloader' ) . ': <code>' . $possibledirs['childtheme']['dir'] . '</code>'; 
     204              } else { 
     205                _e( 'You are not using a Child Theme', 'javascript-autoloader' ); 
     206              } 
     207            ?></p> 
     208            <p><strong><?php _e( 'Theme Directory', 'javascript-autoloader'); ?></strong></p> 
     209            <p><?php _e( 'Current Path', 'javascript-autoloader' ); ?>: <code><?php echo $possibledirs['theme']['dir']; ?></code></p> 
     210            <p><strong><?php _e( 'General Directory', 'javascript-autoloader'); ?></strong></p> 
     211            <p><?php _e( 'Current Path', 'javascript-autoloader' ); ?>: <code><?php echo $possibledirs['general']['dir']; ?></code></p> 
     212          </div> 
     213        </div> 
     214         
    180215      </div> 
    181216      <?php 
    182217    } 
    183218 
    184     // list cuurently loaded js files on admin page 
     219    /** 
     220     * list currently loaded js files on admin page 
     221     */ 
    185222    function showcurrent() { 
    186223      $filesarray = $this->getAllFiles();   
     
    188225        echo '<p>' . __( 'no files loaded currently', 'javascript-autoloader' ) . '</p>'; 
    189226      } else { 
    190       $loc = -1; 
     227        echo '<table style="width: 100%"><tbody>'; 
     228        $loc = -1; 
    191229        foreach ( $filesarray as $file ) { 
    192230          if ( $file['footer'] != $loc) { 
    193231            if ( $file['footer'] == 0) { 
    194               echo '<p><strong>' . __('in Header', 'javascript-autoloader' ) . '</strong></p>'; 
    195               echo '<ul>'; 
     232              echo '<tr><td colspan="4"><strong>' . __('in Header', 'javascript-autoloader' ) . '</strong></td></tr>'; 
    196233            } else { 
    197234              if ( $loc != -1 ) { 
    198                 echo '</ul>'; 
    199               } 
    200               echo '<ul>'; 
    201               echo '<p><strong>' . __( 'in Footer (be sure to call wp_footer() in your footer template!)', 'javascript-autoloader' ) . '</strong></p>'; 
     235                echo '<tr><td colspan="4">&nbsp;</td></tr>'; 
     236              } 
     237              echo '<tr><td colspan="4"><strong>' . __('in Footer', 'javascript-autoloader' ) . '</strong></td></tr>'; 
    202238            } 
    203239            $loc = $file['footer']; 
    204240          } 
    205           echo '<li><code>' . $file['name'] . '</code></li>'; 
    206         } 
    207         echo '</ul>'; 
    208       } 
    209     } 
    210  
    211     // init frontend 
    212     function jsautoloader() { 
    213       $filesarray = $this->getAllFiles();   
    214       foreach ( $filesarray as $file ) { 
    215         $this->add( $file['name'], $file['footer'] ); 
    216       } 
    217     } 
    218  
    219     // init backend 
    220     function adminmenu() { 
    221       add_management_page( 'WP JS AutoLoader', 'JS AutoLoader', 'activate_plugins', 'wpjsautoloader', array( $this, 'showadmin' ) ); 
    222     } 
    223      
     241          echo '<tr><td style="width: 20px">&nbsp;</td><td colspan="3"><strong><a href="' . $file['name'] . '">' . $file['name'] . '</a></strong></td></tr><tr><td style="width: 20px">&nbsp;</td><td style="width: 20px">&nbsp;</td><td>' . __( 'File', 'javascript-autoloader' ) . '</td><td><code>' . $file['file'] . '</code></td></tr>'; 
     242        } 
     243        echo '</tbody></table>'; 
     244      } 
     245    } 
     246 
     247 
     248    /** 
     249     * add links to plugins table 
     250     */ 
    224251    function add_links( $links ) { 
    225       return array_merge( $links, array( '<a class="dashicons dashicons-editor-help" href="' . admin_url( 'tools.php?page=wpjsautoloader' ) . '"></a>', '<a href="https://wordpress.org/support/plugin/' . $this->plugin_slug . '/reviews/">' . __( 'Please rate Plugin', 'javascript-autoloader' ) .'</a>' ) ); 
     252      return array_merge( $links, array( '<a class="dashicons dashicons-admin-tools" href="' . admin_url( 'tools.php?page=wpjsautoloader' ) . '" title="' . __( 'Show currently loaded files', 'javascript-autoloader' ) . '"></a>', '<a class="dashicons dashicons-star-filled" href="https://wordpress.org/support/plugin/' . $this->plugin_slug . '/reviews/" title="' . __( 'Please rate plugin', 'javascript-autoloader-autoloader' ) . '"></a>' ) ); 
     253    } 
     254     
     255     
     256    /** 
     257     * add admin css 
     258     */ 
     259    function admin_css() { 
     260      if ( get_current_screen()->id == $this->admin_handle ) { 
     261        echo '<style type="text/css">#pp-plugin-info-js-autoloader{ min-height: 48px; line-height: 48px; vertical-align: middle; padding-left: 60px; background-image: url(' . plugins_url( 'assets/pluginicon.png', $this->_file ) .'); background-repeat: no-repeat; background-position: left center;}#pp-plugin-info-js-autoloader span{float: right; padding-left: 50px;}#pp-plugin-info-js-autoloader .dashicons{ vertical-align: middle; }#pp-plugin-info-js-autoloader + .postbox{margin-top: 20px}</style>'; 
     262      } 
    226263    } 
    227264     
  • javascript-autoloader/trunk/readme.txt

    r1547077 r1678270  
    11=== JavaScript AutoLoader === 
    22Contributors: petersplugins,  smartware.cc 
     3Donate link: http://petersplugins.com/make-a-donation/ 
    34Tags: javascript, jquery, header, footer, wp_enqueue_script, load, autoload 
    45Requires at least: 2.6 
    5 Tested up to: 4.7 
    6 Stable tag: 1.4 
     6Tested up to: 4.8 
     7Stable tag: 2.0 
    78License: GPLv2 or later 
    89License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    1213== Description == 
    1314 
    14 > This Plugin allows you to load additional JavaScript files without the need to change files in the theme directory or to install several plugins to add all the desired functionality. 
     15This Plugin allows you to load additional JavaScript files without the need to change files in the theme directory 
    1516 
    16 See also [Plugin Homepage](http://petersplugins.com/free-wordpress-plugins/javascript-autoloader/) 
     17= Usage = 
    1718 
    1819To load additional JavaScript files just put them into a directory named **jsautoload**. This directory can be placed in three different locations that are loaded in the following order: 
     
    2627To load one ore more JavaScript files at the end of your HTML file just place them into a directory named **footer**. To add the files to the footer of your theme it is required to call wp_footer() in your footer.php. 
    2728 
    28 = Translations = 
     29= Need more information? = 
    2930 
    30 The JavaScript AutoLoader Plugin uses GlotPress - the wordpress.org Translation System - for translations. Translations can be submitted at [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/javascript-autoloader). 
    31  
    32 **Translation are highly appreciated**. It would be great if you'd support the JavaScript AutoLoader Plugin by adding a new translation or keeping an existing one up to date. If you're new to GlotPress take a look at the [Translator Handbook](https://make.wordpress.org/polyglots/handbook/tools/glotpress-translate-wordpress-org/). 
     31See [Plugin Homepage](http://petersplugins.com/free-wordpress-plugins/javascript-autoloader/) 
    3332 
    3433= Do you like the JavaScript AutoLoader Plugin? = 
     
    4039* **[CSS AutoLoader](https://wordpress.org/plugins/css-autoloader/)** - Load CSS files without coding  
    4140* **[hashtagger](https://wordpress.org/plugins/hashtagger/)** - Use hashtags in WordPress 
    42 * **[404page](https://wordpress.org/plugins/404page/)** Define any of your WordPress pages as 404 error page  
     41* **[404page](https://wordpress.org/plugins/404page/)** - Define any of your WordPress pages as 404 error page  
    4342* [See all](https://profiles.wordpress.org/petersplugins/#content-plugins) 
    4443 
    45 == Installation == 
     44== Frequently Asked Questions == 
    4645 
    47 = From your WordPress dashboard = 
    48  
    49 1. Visit 'Plugins' -> 'Add New' 
    50 1. Search for 'JavaScript AutoLoader' 
    51 1. Activate the plugin through the 'Plugins' menu in WordPress 
    52  
    53 = Manually from wordpress.org = 
    54  
    55 1. Download JavaScript AutoLoader from wordpress.org and unzip the archive 
    56 1. Upload the `javascript-autoloader` folder to your `/wp-content/plugins/` directory 
    57 1. Activate the plugin through the 'Plugins' menu in WordPress 
     46None yet 
    5847 
    5948== Screenshots == 
     
    6251 
    6352== Changelog == 
     53 
     54= 2.0 (2017-06-14) = 
     55* redesigned admin interface 
     56* code improvement 
    6457 
    6558= 1.4 (2016-10-06) = 
     
    8376== Upgrade Notice == 
    8477 
     78= 2.0 = 
     79unified admin interface 
     80 
    8581= 1.4 = 
    8682some code redesign, no functional changes 
  • javascript-autoloader/trunk/sw.cc-js-autoloader.php

    r1509219 r1678270  
    11<?php 
    2 /* 
    3 Plugin Name: JavaScript AutoLoader 
    4 Plugin URI: http://petersplugins.com/free-wordpress-plugins/javascript-autoloader/ 
    5 Description: This Plugin allows you to load additional JavaScript files without the need to change files in the Theme directory. To load additional JavaScript files just put them into a directory named jsautoload. 
    6 Version: 1.4 
    7 Author: Peter's Plugins, smartware.cc 
    8 Author URI: http://petersplugins.com 
    9 Text Domain: javascript-autoloader 
    10 License: GPL2+ 
    11 License URI: http://www.gnu.org/licenses/gpl-2.0.txt 
    12 */ 
    132 
     3/** 
     4 * The JavaScript AutoLoader Plugin 
     5 * 
     6 * JavaScript AutoLoader allows you to load additional JS files without the need to change the theme 
     7 * 
     8 * @wordpress-plugin 
     9 * Plugin Name: JavaScript AutoLoader 
     10 * Plugin URI: http://petersplugins.com/free-wordpress-plugins/javascript-autoloader/ 
     11 * Description: This Plugin allows you to load additional JavaScript files without the need to change files in the Theme directory. To load additional JavaScript files just put them into a directory named jsautoload. 
     12 * Version: 2.0 
     13 * Author: Peter Raschendorfer 
     14 * Author URI: http://petersplugins.com 
     15 * Text Domain: javascript-autoloader 
     16 * License: GPL2+ 
     17 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 
     18 */ 
     19  
     20 
     21// If this file is called directly, abort 
    1422if ( ! defined( 'WPINC' ) ) { 
    1523    die; 
    1624} 
    1725 
     26 
     27/** 
     28 * Load core plugin class and run the plugin 
     29 */ 
    1830require_once( plugin_dir_path( __FILE__ ) . '/inc/class-js-autoloader.php' ); 
    19  
    20 $javascript_autoloader = new Javascript_Autoloader( __FILE__ ); 
     31$pp_javascript_autoloader = new PP_Javascript_Autoloader( __FILE__ ); 
    2132 
    2233?> 
Note: See TracChangeset for help on using the changeset viewer.