diff options
Diffstat (limited to 'modules/gallery/views/upgrader.html.php')
| -rw-r--r-- | modules/gallery/views/upgrader.html.php | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php index 6cf0068d..55731440 100644 --- a/modules/gallery/views/upgrader.html.php +++ b/modules/gallery/views/upgrader.html.php @@ -6,7 +6,7 @@            media="screen,print,projection" />      <script src="<?= url::file("lib/jquery.js") ?>" type="text/javascript"></script>    </head> -  <body> +  <body<? if (locales::is_rtl()) { echo ' class="rtl"'; } ?>>      <div id="outer">        <img src="<?= url::file("modules/gallery/images/gallery.png") ?>" />        <div id="inner"> @@ -59,7 +59,7 @@          </p>          <table>            <tr class="<?= $done ? "muted" : "" ?>"> -            <th> <?= t("Module name") ?> </th> +            <th class="name"> <?= t("Module name") ?> </th>              <th> <?= t("Installed version") ?> </th>              <th> <?= t("Available version") ?> </th>            </tr> @@ -112,7 +112,9 @@          <? else: // can_upgrade ?>          <h1> <?= t("Who are you?") ?> </h1>          <p> -          <?= t("You're not logged in as an administrator, so we have to verify you to make sure it's ok for you to do an upgrade.  To prove you can run an upgrade, create a file called <br/><b>%name</b> in your <b>gallery3/var/tmp</b> directory.", array("name" => "$upgrade_token")) ?> +          <?= t("You're not logged in as an administrator, so we have to verify you to make sure it's ok for you to do an upgrade.  To prove you can run an upgrade, create a file called <b>%name</b> in your <b>%tmp_dir_path</b> directory.", +                array("name" => "$upgrade_token", +                      "tmp_dir_path" => "gallery3/var/tmp")) ?>          </p>          <a href="<?= url::site("upgrader?") ?>"><?= t("Ok, I've done that") ?></a>          <? endif // can_upgrade ?>  | 
