[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/setup/ -> templateview.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  <form method="post" action={concat('/setup/templateview',$template_settings.template)|ezurl}>
   3  
   4  <h1>{"Template view"|i18n("design/standard/setup")}  {$template_settings.template}</h1>
   5  
   6  <p>
   7  {"Default template resource"|i18n("design/standard/setup")} <b>{$template_settings.base_dir}</b>
   8  </p>
   9  
  10  <select name="CurrentSiteAccess">
  11  {section name=SiteAccess loop=ezini('SiteAccessSettings','AvailableSiteAccessList')}
  12      {section show=eq($current_siteaccess,$:item)}
  13          <option value="{$SiteAccess:item}" selected="selected">{$:item}</option>
  14      {section-else}
  15          <option value="{$SiteAccess:item}">{$:item}</option>
  16      {/section}
  17  {/section}    
  18  </select>
  19  <input type="submit" value="{"Set"|i18n("design/standard/setup")}" name="SelectCurrentSiteAccessButton" />
  20  
  21  {section show=$custom_match}
  22  
  23  <table class="list" cellspacing="0" cellpadding="0" border="0">
  24  <tr>
  25      <th>
  26      {"Override"|i18n("design/standard/setup")}
  27      </th>
  28      <th>
  29      {"File"|i18n("design/standard/setup")}
  30      </th>
  31      <th>
  32      {"Match conditions"|i18n("design/standard/setup")}
  33      </th>
  34      <th>
  35      {"Priority"|i18n("design/standard/setup")}
  36      </th>
  37      <th>
  38      {"Edit"|i18n("design/standard/setup")}
  39      </th>
  40      <th>
  41      {"Remove"|i18n("design/standard/setup")}
  42      </th>
  43  </tr>
  44  {section name=CustomMatch loop=$template_settings.custom_match sequence=array(bglight,bgdark)}
  45  <tr class="{$:sequence}">
  46      <td valign="top">
  47          {$CustomMatch:item.override_name} 
  48      </td>
  49      <td valign="top">
  50          {$CustomMatch:item.match_file} 
  51      </td>
  52      <td valign="top">
  53          {section show=is_set($CustomMatch:item.conditions)}
  54              {section name=Condition  loop=$CustomMatch:item.conditions}
  55              {$:key} : {$:item}
  56              {delimiter}
  57              <br />
  58              {/delimiter}
  59              {/section}
  60      {/section}
  61      </td>
  62      <td valign="top">
  63          <input type="text" name="PriorityArray[{$CustomMatch:item.override_name}]" size="2" value="{$CustomMatch:number}" />
  64      </td>
  65      <td valign="top">
  66          <a href={concat('/setup/templateedit/',$CustomMatch:item.match_file)|ezurl}><img src={"edit.gif"|ezimage} alt="Edit" /></a>
  67      </td>
  68      <td valign="top">
  69          <input type="checkbox" name="RemoveOverrideArray[]" value="{$CustomMatch:item.override_name}" />
  70      </td>
  71  </tr>
  72  {/section}
  73  </table>
  74  
  75  {/section}
  76  
  77  <div class="buttonblock">
  78  <input class="button" type="submit" value="{"Create new"|i18n("design/standard/setup")}" name="NewOverrideButton" />
  79  <input class="button" type="submit" value="{"Update"|i18n("design/standard/setup")}" name="UpdateOverrideButton" />
  80  <input class="button" type="submit" value="{"Remove"|i18n("design/standard/setup")}" name="RemoveOverrideButton" />
  81  </div>
  82  
  83  </form>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7